docs.go 1.7 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596385973859838599386003860138602386033860438605386063860738608386093861038611386123861338614386153861638617386183861938620386213862238623386243862538626386273862838629386303863138632386333863438635386363863738638386393864038641386423864338644386453864638647386483864938650386513865238653386543865538656386573865838659386603866138662386633866438665386663866738668386693867038671386723867338674386753867638677386783867938680386813868238683386843868538686386873868838689386903869138692386933869438695386963869738698386993870038701387023870338704387053870638707387083870938710387113871238713387143871538716387173871838719387203872138722387233872438725387263872738728387293873038731387323873338734387353873638737387383873938740387413874238743387443874538746387473874838749387503875138752387533875438755387563875738758387593876038761387623876338764387653876638767387683876938770387713877238773387743877538776387773877838779387803878138782387833878438785387863878738788387893879038791387923879338794387953879638797387983879938800388013880238803388043880538806388073880838809388103881138812388133881438815388163881738818388193882038821388223882338824388253882638827388283882938830388313883238833388343883538836388373883838839388403884138842388433884438845388463884738848388493885038851388523885338854388553885638857388583885938860388613886238863388643886538866388673886838869388703887138872388733887438875388763887738878388793888038881388823888338884388853888638887388883888938890388913889238893388943889538896388973889838899389003890138902389033890438905389063890738908389093891038911389123891338914389153891638917389183891938920389213892238923389243892538926389273892838929389303893138932389333893438935389363893738938389393894038941389423894338944389453894638947389483894938950389513895238953389543895538956389573895838959389603896138962389633896438965389663896738968389693897038971389723897338974389753897638977389783897938980389813898238983389843898538986389873898838989389903899138992389933899438995389963899738998389993900039001390023900339004390053900639007390083900939010390113901239013390143901539016390173901839019390203902139022390233902439025390263902739028390293903039031390323903339034390353903639037390383903939040390413904239043390443904539046390473904839049390503905139052390533905439055390563905739058390593906039061390623906339064390653906639067390683906939070390713907239073390743907539076390773907839079390803908139082390833908439085390863908739088390893909039091390923909339094390953909639097390983909939100391013910239103391043910539106391073910839109391103911139112391133911439115391163911739118391193912039121391223912339124391253912639127391283912939130391313913239133391343913539136391373913839139391403914139142391433914439145391463914739148391493915039151391523915339154391553915639157391583915939160391613916239163391643916539166391673916839169391703917139172391733917439175391763917739178391793918039181391823918339184391853918639187391883918939190391913919239193391943919539196391973919839199392003920139202392033920439205392063920739208392093921039211392123921339214392153921639217392183921939220392213922239223392243922539226392273922839229392303923139232392333923439235392363923739238392393924039241392423924339244392453924639247392483924939250392513925239253392543925539256392573925839259392603926139262392633926439265392663926739268392693927039271392723927339274392753927639277392783927939280392813928239283392843928539286392873928839289392903929139292392933929439295392963929739298392993930039301393023930339304393053930639307393083930939310393113931239313393143931539316393173931839319393203932139322393233932439325393263932739328393293933039331393323933339334393353933639337393383933939340393413934239343393443934539346393473934839349393503935139352393533935439355393563935739358393593936039361393623936339364393653936639367393683936939370393713937239373393743937539376393773937839379393803938139382393833938439385393863938739388393893939039391393923939339394393953939639397393983939939400394013940239403394043940539406394073940839409394103941139412394133941439415394163941739418394193942039421394223942339424394253942639427394283942939430394313943239433394343943539436394373943839439394403944139442394433944439445394463944739448394493945039451394523945339454394553945639457394583945939460394613946239463394643946539466394673946839469394703947139472394733947439475394763947739478394793948039481394823948339484394853948639487394883948939490394913949239493394943949539496394973949839499395003950139502395033950439505395063950739508395093951039511395123951339514395153951639517395183951939520395213952239523395243952539526395273952839529395303953139532395333953439535395363953739538395393954039541395423954339544395453954639547395483954939550395513955239553395543955539556395573955839559395603956139562395633956439565395663956739568395693957039571395723957339574395753957639577395783957939580395813958239583395843958539586395873958839589395903959139592395933959439595395963959739598395993960039601396023960339604396053960639607396083960939610396113961239613396143961539616396173961839619396203962139622396233962439625396263962739628396293963039631396323963339634396353963639637396383963939640396413964239643396443964539646396473964839649396503965139652396533965439655396563965739658396593966039661396623966339664396653966639667396683966939670396713967239673396743967539676396773967839679396803968139682396833968439685396863968739688396893969039691396923969339694396953969639697396983969939700397013970239703397043970539706397073970839709397103971139712397133971439715397163971739718397193972039721397223972339724397253972639727397283972939730397313973239733397343973539736397373973839739397403974139742397433974439745397463974739748397493975039751397523975339754397553975639757397583975939760397613976239763397643976539766397673976839769397703977139772397733977439775397763977739778397793978039781397823978339784397853978639787397883978939790397913979239793397943979539796397973979839799398003980139802398033980439805398063980739808398093981039811398123981339814398153981639817398183981939820398213982239823398243982539826398273982839829398303983139832398333983439835398363983739838398393984039841398423984339844398453984639847398483984939850398513985239853398543985539856398573985839859398603986139862398633986439865398663986739868398693987039871398723987339874398753987639877398783987939880398813988239883398843988539886398873988839889398903989139892398933989439895398963989739898398993990039901399023990339904399053990639907399083990939910399113991239913399143991539916399173991839919399203992139922399233992439925399263992739928399293993039931399323993339934399353993639937399383993939940399413994239943399443994539946399473994839949399503995139952399533995439955399563995739958399593996039961399623996339964399653996639967399683996939970399713997239973399743997539976399773997839979399803998139982399833998439985399863998739988399893999039991399923999339994399953999639997399983999940000400014000240003400044000540006400074000840009400104001140012400134001440015400164001740018400194002040021400224002340024400254002640027400284002940030400314003240033400344003540036400374003840039400404004140042400434004440045400464004740048400494005040051400524005340054400554005640057400584005940060400614006240063400644006540066400674006840069400704007140072400734007440075400764007740078400794008040081400824008340084400854008640087400884008940090400914009240093400944009540096400974009840099401004010140102401034010440105401064010740108401094011040111401124011340114401154011640117401184011940120401214012240123401244012540126401274012840129401304013140132401334013440135401364013740138401394014040141401424014340144401454014640147401484014940150401514015240153401544015540156401574015840159401604016140162401634016440165401664016740168401694017040171401724017340174401754017640177401784017940180401814018240183401844018540186401874018840189401904019140192401934019440195401964019740198401994020040201402024020340204402054020640207402084020940210402114021240213402144021540216402174021840219402204022140222402234022440225402264022740228402294023040231402324023340234402354023640237402384023940240402414024240243402444024540246402474024840249402504025140252402534025440255402564025740258402594026040261402624026340264402654026640267402684026940270402714027240273402744027540276402774027840279402804028140282402834028440285402864028740288402894029040291402924029340294402954029640297402984029940300403014030240303403044030540306403074030840309403104031140312403134031440315403164031740318403194032040321403224032340324403254032640327403284032940330403314033240333403344033540336403374033840339403404034140342403434034440345403464034740348403494035040351403524035340354403554035640357403584035940360403614036240363403644036540366403674036840369403704037140372403734037440375403764037740378403794038040381403824038340384403854038640387403884038940390403914039240393403944039540396403974039840399404004040140402404034040440405404064040740408404094041040411404124041340414404154041640417404184041940420404214042240423404244042540426404274042840429404304043140432404334043440435404364043740438404394044040441404424044340444404454044640447404484044940450404514045240453404544045540456404574045840459404604046140462404634046440465404664046740468404694047040471404724047340474404754047640477404784047940480404814048240483404844048540486404874048840489404904049140492404934049440495404964049740498404994050040501405024050340504405054050640507405084050940510405114051240513405144051540516405174051840519405204052140522405234052440525405264052740528405294053040531405324053340534405354053640537405384053940540405414054240543405444054540546405474054840549405504055140552405534055440555405564055740558405594056040561405624056340564405654056640567405684056940570405714057240573405744057540576405774057840579405804058140582405834058440585405864058740588405894059040591405924059340594405954059640597405984059940600406014060240603406044060540606406074060840609406104061140612406134061440615406164061740618406194062040621406224062340624406254062640627406284062940630406314063240633406344063540636406374063840639406404064140642406434064440645406464064740648406494065040651406524065340654406554065640657406584065940660406614066240663406644066540666406674066840669406704067140672406734067440675406764067740678406794068040681406824068340684406854068640687406884068940690406914069240693406944069540696406974069840699407004070140702407034070440705407064070740708407094071040711407124071340714407154071640717407184071940720407214072240723407244072540726407274072840729407304073140732407334073440735407364073740738407394074040741407424074340744407454074640747407484074940750407514075240753407544075540756407574075840759407604076140762407634076440765407664076740768407694077040771407724077340774407754077640777407784077940780407814078240783407844078540786407874078840789407904079140792407934079440795407964079740798407994080040801408024080340804408054080640807408084080940810408114081240813408144081540816408174081840819408204082140822408234082440825408264082740828408294083040831408324083340834408354083640837408384083940840408414084240843408444084540846408474084840849408504085140852408534085440855408564085740858408594086040861408624086340864408654086640867408684086940870408714087240873408744087540876408774087840879408804088140882408834088440885408864088740888408894089040891408924089340894408954089640897408984089940900409014090240903409044090540906409074090840909409104091140912409134091440915409164091740918409194092040921409224092340924409254092640927409284092940930409314093240933409344093540936409374093840939409404094140942409434094440945409464094740948409494095040951409524095340954409554095640957409584095940960409614096240963409644096540966409674096840969409704097140972409734097440975409764097740978409794098040981409824098340984409854098640987409884098940990409914099240993409944099540996409974099840999410004100141002410034100441005410064100741008410094101041011410124101341014410154101641017410184101941020410214102241023410244102541026410274102841029410304103141032410334103441035410364103741038410394104041041410424104341044410454104641047410484104941050410514105241053410544105541056410574105841059410604106141062410634106441065410664106741068410694107041071410724107341074410754107641077410784107941080410814108241083410844108541086410874108841089410904109141092410934109441095410964109741098410994110041101411024110341104411054110641107411084110941110411114111241113411144111541116411174111841119411204112141122411234112441125411264112741128411294113041131411324113341134411354113641137411384113941140411414114241143411444114541146411474114841149411504115141152411534115441155411564115741158411594116041161411624116341164411654116641167411684116941170411714117241173411744117541176411774117841179411804118141182411834118441185411864118741188411894119041191411924119341194411954119641197411984119941200412014120241203412044120541206412074120841209412104121141212412134121441215412164121741218412194122041221412224122341224412254122641227412284122941230412314123241233412344123541236412374123841239412404124141242412434124441245412464124741248412494125041251412524125341254412554125641257412584125941260412614126241263412644126541266412674126841269412704127141272412734127441275412764127741278412794128041281412824128341284412854128641287412884128941290412914129241293412944129541296412974129841299413004130141302413034130441305413064130741308413094131041311413124131341314413154131641317413184131941320413214132241323413244132541326413274132841329413304133141332413334133441335413364133741338413394134041341413424134341344413454134641347413484134941350413514135241353413544135541356413574135841359413604136141362413634136441365413664136741368413694137041371413724137341374413754137641377413784137941380413814138241383413844138541386413874138841389413904139141392413934139441395413964139741398413994140041401414024140341404414054140641407414084140941410414114141241413414144141541416414174141841419414204142141422414234142441425414264142741428414294143041431414324143341434414354143641437414384143941440414414144241443414444144541446414474144841449414504145141452414534145441455414564145741458414594146041461414624146341464414654146641467414684146941470414714147241473414744147541476414774147841479414804148141482414834148441485414864148741488414894149041491414924149341494414954149641497414984149941500415014150241503415044150541506415074150841509415104151141512415134151441515415164151741518415194152041521415224152341524415254152641527415284152941530415314153241533415344153541536415374153841539415404154141542415434154441545415464154741548415494155041551415524155341554415554155641557415584155941560415614156241563415644156541566415674156841569415704157141572415734157441575415764157741578415794158041581415824158341584415854158641587415884158941590415914159241593415944159541596415974159841599416004160141602416034160441605416064160741608416094161041611416124161341614416154161641617416184161941620416214162241623416244162541626416274162841629416304163141632416334163441635416364163741638416394164041641416424164341644416454164641647416484164941650416514165241653416544165541656416574165841659416604166141662416634166441665416664166741668416694167041671416724167341674416754167641677416784167941680416814168241683416844168541686416874168841689416904169141692416934169441695416964169741698416994170041701417024170341704417054170641707417084170941710417114171241713417144171541716417174171841719417204172141722417234172441725417264172741728417294173041731417324173341734417354173641737417384173941740417414174241743417444174541746417474174841749417504175141752417534175441755417564175741758417594176041761417624176341764417654176641767417684176941770417714177241773417744177541776417774177841779417804178141782417834178441785417864178741788417894179041791417924179341794417954179641797417984179941800418014180241803418044180541806418074180841809418104181141812418134181441815418164181741818418194182041821418224182341824418254182641827418284182941830418314183241833418344183541836418374183841839418404184141842418434184441845418464184741848418494185041851418524185341854418554185641857418584185941860418614186241863418644186541866418674186841869418704187141872418734187441875418764187741878418794188041881418824188341884418854188641887418884188941890418914189241893418944189541896418974189841899419004190141902419034190441905419064190741908419094191041911419124191341914419154191641917419184191941920419214192241923419244192541926419274192841929419304193141932419334193441935419364193741938419394194041941419424194341944419454194641947419484194941950419514195241953419544195541956419574195841959419604196141962419634196441965419664196741968419694197041971419724197341974419754197641977419784197941980419814198241983419844198541986419874198841989419904199141992419934199441995419964199741998419994200042001420024200342004420054200642007420084200942010420114201242013420144201542016420174201842019420204202142022420234202442025420264202742028420294203042031420324203342034420354203642037420384203942040420414204242043420444204542046420474204842049420504205142052420534205442055420564205742058420594206042061420624206342064420654206642067420684206942070420714207242073420744207542076420774207842079420804208142082420834208442085420864208742088420894209042091420924209342094420954209642097420984209942100421014210242103421044210542106421074210842109421104211142112421134211442115421164211742118421194212042121421224212342124421254212642127421284212942130421314213242133421344213542136421374213842139421404214142142421434214442145421464214742148421494215042151421524215342154421554215642157421584215942160421614216242163421644216542166421674216842169421704217142172421734217442175421764217742178421794218042181421824218342184421854218642187421884218942190421914219242193421944219542196421974219842199422004220142202422034220442205422064220742208422094221042211422124221342214422154221642217422184221942220422214222242223422244222542226422274222842229422304223142232422334223442235422364223742238422394224042241422424224342244422454224642247422484224942250422514225242253422544225542256422574225842259422604226142262422634226442265422664226742268422694227042271422724227342274422754227642277422784227942280422814228242283422844228542286422874228842289422904229142292422934229442295422964229742298422994230042301423024230342304423054230642307423084230942310423114231242313423144231542316423174231842319423204232142322423234232442325423264232742328423294233042331423324233342334423354233642337423384233942340423414234242343423444234542346423474234842349423504235142352423534235442355423564235742358423594236042361423624236342364423654236642367423684236942370423714237242373423744237542376423774237842379423804238142382423834238442385423864238742388423894239042391423924239342394423954239642397423984239942400424014240242403424044240542406424074240842409424104241142412424134241442415424164241742418424194242042421424224242342424424254242642427424284242942430424314243242433424344243542436424374243842439424404244142442424434244442445424464244742448424494245042451424524245342454424554245642457424584245942460424614246242463424644246542466424674246842469424704247142472424734247442475424764247742478424794248042481424824248342484424854248642487424884248942490424914249242493424944249542496424974249842499425004250142502425034250442505425064250742508425094251042511425124251342514425154251642517425184251942520425214252242523425244252542526425274252842529425304253142532425334253442535425364253742538425394254042541425424254342544425454254642547425484254942550425514255242553425544255542556425574255842559425604256142562425634256442565425664256742568425694257042571425724257342574425754257642577425784257942580425814258242583425844258542586425874258842589425904259142592425934259442595425964259742598425994260042601426024260342604426054260642607426084260942610426114261242613426144261542616426174261842619426204262142622426234262442625426264262742628426294263042631426324263342634426354263642637426384263942640426414264242643426444264542646426474264842649426504265142652426534265442655426564265742658426594266042661426624266342664426654266642667426684266942670426714267242673426744267542676426774267842679426804268142682426834268442685426864268742688426894269042691426924269342694426954269642697426984269942700427014270242703427044270542706427074270842709427104271142712427134271442715427164271742718427194272042721427224272342724427254272642727427284272942730427314273242733427344273542736427374273842739427404274142742427434274442745427464274742748427494275042751427524275342754427554275642757427584275942760427614276242763427644276542766427674276842769427704277142772427734277442775427764277742778427794278042781427824278342784427854278642787427884278942790427914279242793427944279542796427974279842799428004280142802428034280442805428064280742808428094281042811428124281342814428154281642817428184281942820428214282242823428244282542826428274282842829428304283142832428334283442835428364283742838428394284042841428424284342844428454284642847428484284942850428514285242853428544285542856428574285842859428604286142862428634286442865428664286742868428694287042871428724287342874428754287642877428784287942880428814288242883428844288542886428874288842889428904289142892428934289442895428964289742898428994290042901429024290342904429054290642907429084290942910429114291242913429144291542916429174291842919429204292142922429234292442925429264292742928429294293042931429324293342934429354293642937429384293942940429414294242943429444294542946429474294842949429504295142952429534295442955429564295742958429594296042961429624296342964429654296642967429684296942970429714297242973429744297542976429774297842979429804298142982429834298442985429864298742988429894299042991429924299342994429954299642997429984299943000430014300243003430044300543006430074300843009430104301143012430134301443015430164301743018430194302043021430224302343024430254302643027430284302943030430314303243033430344303543036430374303843039430404304143042430434304443045430464304743048430494305043051430524305343054430554305643057430584305943060430614306243063430644306543066430674306843069430704307143072430734307443075430764307743078430794308043081430824308343084430854308643087430884308943090430914309243093430944309543096430974309843099431004310143102431034310443105431064310743108431094311043111431124311343114431154311643117431184311943120431214312243123431244312543126431274312843129431304313143132431334313443135431364313743138431394314043141431424314343144431454314643147431484314943150431514315243153431544315543156431574315843159431604316143162431634316443165431664316743168431694317043171431724317343174431754317643177431784317943180431814318243183431844318543186431874318843189431904319143192431934319443195431964319743198431994320043201432024320343204432054320643207432084320943210432114321243213432144321543216432174321843219432204322143222432234322443225432264322743228432294323043231432324323343234432354323643237432384323943240432414324243243432444324543246432474324843249432504325143252432534325443255432564325743258432594326043261432624326343264432654326643267432684326943270432714327243273432744327543276432774327843279432804328143282432834328443285432864328743288432894329043291432924329343294432954329643297432984329943300433014330243303433044330543306433074330843309433104331143312433134331443315433164331743318433194332043321433224332343324433254332643327433284332943330433314333243333433344333543336433374333843339433404334143342433434334443345433464334743348433494335043351433524335343354433554335643357433584335943360433614336243363433644336543366433674336843369433704337143372433734337443375433764337743378433794338043381433824338343384433854338643387433884338943390433914339243393433944339543396433974339843399434004340143402434034340443405434064340743408434094341043411434124341343414434154341643417434184341943420434214342243423434244342543426434274342843429434304343143432434334343443435434364343743438434394344043441434424344343444434454344643447434484344943450434514345243453434544345543456434574345843459434604346143462434634346443465434664346743468434694347043471434724347343474434754347643477434784347943480434814348243483434844348543486434874348843489434904349143492434934349443495434964349743498434994350043501435024350343504435054350643507435084350943510435114351243513435144351543516435174351843519435204352143522435234352443525435264352743528435294353043531435324353343534435354353643537435384353943540435414354243543435444354543546435474354843549435504355143552435534355443555435564355743558435594356043561435624356343564435654356643567435684356943570435714357243573435744357543576435774357843579435804358143582435834358443585435864358743588435894359043591435924359343594435954359643597435984359943600436014360243603436044360543606436074360843609436104361143612436134361443615436164361743618436194362043621436224362343624436254362643627436284362943630436314363243633436344363543636436374363843639436404364143642436434364443645436464364743648436494365043651436524365343654436554365643657436584365943660436614366243663436644366543666436674366843669436704367143672436734367443675436764367743678436794368043681436824368343684436854368643687436884368943690436914369243693436944369543696436974369843699437004370143702437034370443705437064370743708437094371043711437124371343714437154371643717437184371943720437214372243723437244372543726437274372843729437304373143732437334373443735437364373743738437394374043741437424374343744437454374643747437484374943750437514375243753437544375543756437574375843759437604376143762437634376443765437664376743768437694377043771437724377343774437754377643777437784377943780437814378243783437844378543786437874378843789437904379143792437934379443795437964379743798437994380043801438024380343804438054380643807438084380943810438114381243813438144381543816438174381843819438204382143822438234382443825438264382743828438294383043831438324383343834438354383643837438384383943840438414384243843438444384543846438474384843849438504385143852438534385443855438564385743858438594386043861438624386343864438654386643867438684386943870438714387243873438744387543876438774387843879438804388143882438834388443885438864388743888438894389043891438924389343894438954389643897438984389943900439014390243903439044390543906439074390843909439104391143912439134391443915439164391743918439194392043921439224392343924439254392643927439284392943930439314393243933439344393543936439374393843939439404394143942439434394443945439464394743948439494395043951439524395343954439554395643957439584395943960439614396243963439644396543966439674396843969439704397143972439734397443975439764397743978439794398043981439824398343984439854398643987439884398943990439914399243993439944399543996439974399843999440004400144002440034400444005440064400744008440094401044011440124401344014440154401644017440184401944020440214402244023440244402544026440274402844029440304403144032440334403444035440364403744038440394404044041440424404344044440454404644047440484404944050440514405244053440544405544056440574405844059440604406144062440634406444065440664406744068440694407044071440724407344074440754407644077440784407944080440814408244083440844408544086440874408844089440904409144092440934409444095440964409744098440994410044101441024410344104441054410644107441084410944110441114411244113441144411544116441174411844119441204412144122441234412444125441264412744128441294413044131441324413344134441354413644137441384413944140441414414244143441444414544146441474414844149441504415144152441534415444155441564415744158441594416044161441624416344164441654416644167441684416944170441714417244173441744417544176441774417844179441804418144182441834418444185441864418744188441894419044191441924419344194441954419644197441984419944200442014420244203442044420544206442074420844209442104421144212442134421444215442164421744218442194422044221442224422344224442254422644227442284422944230442314423244233442344423544236442374423844239442404424144242442434424444245442464424744248442494425044251442524425344254442554425644257442584425944260442614426244263442644426544266442674426844269442704427144272442734427444275442764427744278442794428044281442824428344284442854428644287442884428944290442914429244293442944429544296442974429844299443004430144302443034430444305443064430744308443094431044311443124431344314443154431644317443184431944320443214432244323443244432544326443274432844329443304433144332443334433444335443364433744338443394434044341443424434344344443454434644347443484434944350443514435244353443544435544356443574435844359443604436144362443634436444365443664436744368443694437044371443724437344374443754437644377443784437944380443814438244383443844438544386443874438844389443904439144392443934439444395443964439744398443994440044401444024440344404444054440644407444084440944410444114441244413444144441544416444174441844419444204442144422444234442444425444264442744428444294443044431444324443344434444354443644437444384443944440444414444244443444444444544446444474444844449444504445144452444534445444455444564445744458444594446044461444624446344464444654446644467444684446944470444714447244473444744447544476444774447844479444804448144482444834448444485444864448744488444894449044491444924449344494444954449644497444984449944500445014450244503445044450544506445074450844509445104451144512445134451444515445164451744518445194452044521445224452344524445254452644527445284452944530445314453244533445344453544536445374453844539445404454144542445434454444545445464454744548445494455044551445524455344554445554455644557445584455944560445614456244563445644456544566445674456844569445704457144572445734457444575445764457744578445794458044581445824458344584445854458644587445884458944590445914459244593445944459544596445974459844599446004460144602446034460444605446064460744608446094461044611446124461344614446154461644617446184461944620446214462244623446244462544626446274462844629446304463144632446334463444635446364463744638446394464044641446424464344644446454464644647446484464944650446514465244653446544465544656446574465844659446604466144662446634466444665446664466744668446694467044671446724467344674446754467644677446784467944680446814468244683446844468544686446874468844689446904469144692446934469444695446964469744698446994470044701447024470344704447054470644707447084470944710447114471244713447144471544716447174471844719447204472144722447234472444725447264472744728447294473044731447324473344734447354473644737447384473944740447414474244743447444474544746447474474844749447504475144752447534475444755447564475744758447594476044761447624476344764447654476644767447684476944770447714477244773447744477544776447774477844779447804478144782447834478444785447864478744788447894479044791447924479344794447954479644797447984479944800448014480244803448044480544806448074480844809448104481144812448134481444815448164481744818448194482044821448224482344824448254482644827448284482944830448314483244833448344483544836448374483844839448404484144842448434484444845448464484744848448494485044851448524485344854448554485644857448584485944860448614486244863448644486544866448674486844869448704487144872448734487444875448764487744878448794488044881448824488344884448854488644887448884488944890448914489244893448944489544896448974489844899449004490144902449034490444905449064490744908449094491044911449124491344914449154491644917449184491944920449214492244923449244492544926449274492844929449304493144932449334493444935449364493744938449394494044941449424494344944449454494644947449484494944950449514495244953449544495544956449574495844959449604496144962449634496444965449664496744968449694497044971449724497344974449754497644977449784497944980449814498244983449844498544986449874498844989449904499144992449934499444995449964499744998449994500045001450024500345004450054500645007450084500945010450114501245013450144501545016450174501845019450204502145022450234502445025450264502745028450294503045031450324503345034450354503645037450384503945040450414504245043450444504545046450474504845049450504505145052450534505445055450564505745058450594506045061450624506345064450654506645067450684506945070450714507245073450744507545076450774507845079450804508145082450834508445085450864508745088450894509045091450924509345094450954509645097450984509945100451014510245103451044510545106451074510845109451104511145112451134511445115451164511745118451194512045121451224512345124451254512645127451284512945130451314513245133451344513545136451374513845139451404514145142451434514445145451464514745148451494515045151451524515345154451554515645157451584515945160451614516245163451644516545166451674516845169451704517145172451734517445175451764517745178451794518045181451824518345184451854518645187451884518945190451914519245193451944519545196451974519845199452004520145202452034520445205452064520745208452094521045211452124521345214452154521645217452184521945220452214522245223452244522545226452274522845229452304523145232452334523445235452364523745238452394524045241452424524345244452454524645247452484524945250452514525245253452544525545256452574525845259452604526145262452634526445265452664526745268452694527045271452724527345274452754527645277452784527945280452814528245283452844528545286452874528845289452904529145292452934529445295452964529745298452994530045301453024530345304453054530645307453084530945310453114531245313453144531545316453174531845319453204532145322453234532445325453264532745328453294533045331453324533345334453354533645337453384533945340453414534245343453444534545346453474534845349453504535145352453534535445355453564535745358453594536045361453624536345364453654536645367453684536945370453714537245373453744537545376453774537845379453804538145382453834538445385453864538745388453894539045391453924539345394453954539645397453984539945400454014540245403454044540545406454074540845409454104541145412454134541445415454164541745418454194542045421454224542345424454254542645427454284542945430454314543245433454344543545436454374543845439454404544145442454434544445445454464544745448454494545045451454524545345454454554545645457454584545945460454614546245463454644546545466454674546845469454704547145472454734547445475454764547745478454794548045481454824548345484454854548645487454884548945490454914549245493454944549545496454974549845499455004550145502455034550445505455064550745508455094551045511455124551345514455154551645517455184551945520455214552245523455244552545526455274552845529455304553145532455334553445535455364553745538455394554045541455424554345544455454554645547455484554945550455514555245553455544555545556455574555845559455604556145562455634556445565455664556745568455694557045571455724557345574455754557645577455784557945580455814558245583455844558545586455874558845589455904559145592455934559445595455964559745598455994560045601456024560345604456054560645607456084560945610456114561245613456144561545616456174561845619456204562145622456234562445625456264562745628456294563045631456324563345634456354563645637456384563945640456414564245643456444564545646456474564845649456504565145652456534565445655456564565745658456594566045661456624566345664456654566645667456684566945670456714567245673456744567545676456774567845679456804568145682456834568445685456864568745688456894569045691456924569345694456954569645697456984569945700457014570245703457044570545706457074570845709457104571145712457134571445715457164571745718457194572045721457224572345724457254572645727457284572945730457314573245733457344573545736457374573845739457404574145742457434574445745457464574745748457494575045751457524575345754457554575645757457584575945760457614576245763457644576545766457674576845769457704577145772457734577445775457764577745778457794578045781457824578345784457854578645787457884578945790457914579245793457944579545796457974579845799458004580145802458034580445805458064580745808458094581045811458124581345814458154581645817458184581945820458214582245823458244582545826458274582845829458304583145832458334583445835458364583745838458394584045841458424584345844458454584645847458484584945850458514585245853458544585545856458574585845859458604586145862458634586445865458664586745868458694587045871458724587345874458754587645877458784587945880458814588245883458844588545886458874588845889458904589145892458934589445895458964589745898458994590045901459024590345904459054590645907459084590945910459114591245913459144591545916459174591845919459204592145922459234592445925459264592745928459294593045931459324593345934459354593645937459384593945940459414594245943459444594545946459474594845949459504595145952459534595445955459564595745958459594596045961459624596345964459654596645967459684596945970459714597245973459744597545976459774597845979459804598145982459834598445985459864598745988459894599045991459924599345994459954599645997459984599946000460014600246003460044600546006460074600846009460104601146012460134601446015460164601746018460194602046021460224602346024460254602646027460284602946030460314603246033460344603546036460374603846039460404604146042460434604446045460464604746048460494605046051460524605346054460554605646057460584605946060460614606246063460644606546066460674606846069460704607146072460734607446075460764607746078460794608046081460824608346084460854608646087460884608946090460914609246093460944609546096460974609846099461004610146102461034610446105461064610746108461094611046111461124611346114461154611646117461184611946120461214612246123461244612546126461274612846129461304613146132461334613446135461364613746138461394614046141461424614346144461454614646147461484614946150461514615246153461544615546156461574615846159461604616146162461634616446165461664616746168461694617046171461724617346174461754617646177461784617946180461814618246183461844618546186461874618846189461904619146192461934619446195461964619746198461994620046201462024620346204462054620646207462084620946210462114621246213462144621546216462174621846219462204622146222462234622446225462264622746228462294623046231462324623346234462354623646237462384623946240462414624246243462444624546246462474624846249462504625146252462534625446255462564625746258462594626046261462624626346264462654626646267462684626946270462714627246273462744627546276462774627846279462804628146282462834628446285462864628746288462894629046291462924629346294462954629646297462984629946300463014630246303463044630546306463074630846309463104631146312463134631446315463164631746318463194632046321463224632346324463254632646327463284632946330463314633246333463344633546336463374633846339463404634146342463434634446345463464634746348463494635046351463524635346354463554635646357463584635946360463614636246363463644636546366463674636846369463704637146372463734637446375463764637746378463794638046381463824638346384463854638646387463884638946390463914639246393463944639546396463974639846399464004640146402464034640446405464064640746408464094641046411464124641346414464154641646417464184641946420464214642246423464244642546426464274642846429464304643146432464334643446435464364643746438464394644046441464424644346444464454644646447464484644946450464514645246453464544645546456464574645846459464604646146462464634646446465464664646746468464694647046471464724647346474464754647646477464784647946480464814648246483464844648546486464874648846489464904649146492464934649446495464964649746498464994650046501465024650346504465054650646507465084650946510465114651246513465144651546516465174651846519465204652146522465234652446525465264652746528465294653046531465324653346534465354653646537465384653946540465414654246543465444654546546465474654846549465504655146552465534655446555465564655746558465594656046561465624656346564465654656646567465684656946570465714657246573465744657546576465774657846579465804658146582465834658446585465864658746588465894659046591465924659346594465954659646597465984659946600466014660246603466044660546606466074660846609466104661146612466134661446615466164661746618466194662046621466224662346624466254662646627466284662946630466314663246633466344663546636466374663846639466404664146642466434664446645466464664746648466494665046651466524665346654466554665646657466584665946660466614666246663466644666546666466674666846669466704667146672466734667446675466764667746678466794668046681466824668346684466854668646687466884668946690466914669246693466944669546696466974669846699467004670146702467034670446705467064670746708467094671046711467124671346714467154671646717467184671946720467214672246723467244672546726467274672846729467304673146732467334673446735467364673746738467394674046741467424674346744467454674646747467484674946750467514675246753467544675546756467574675846759467604676146762467634676446765467664676746768467694677046771467724677346774467754677646777467784677946780467814678246783467844678546786467874678846789467904679146792467934679446795467964679746798467994680046801468024680346804468054680646807468084680946810468114681246813468144681546816468174681846819468204682146822468234682446825468264682746828468294683046831468324683346834468354683646837468384683946840468414684246843468444684546846468474684846849468504685146852468534685446855468564685746858468594686046861468624686346864468654686646867468684686946870468714687246873468744687546876468774687846879468804688146882468834688446885468864688746888468894689046891468924689346894468954689646897468984689946900469014690246903469044690546906469074690846909469104691146912469134691446915469164691746918469194692046921469224692346924469254692646927469284692946930469314693246933469344693546936469374693846939469404694146942469434694446945469464694746948469494695046951469524695346954469554695646957469584695946960469614696246963469644696546966469674696846969469704697146972469734697446975469764697746978469794698046981469824698346984469854698646987469884698946990469914699246993469944699546996469974699846999470004700147002470034700447005470064700747008470094701047011470124701347014470154701647017470184701947020470214702247023470244702547026470274702847029470304703147032470334703447035470364703747038470394704047041470424704347044470454704647047470484704947050470514705247053470544705547056470574705847059470604706147062470634706447065470664706747068470694707047071470724707347074470754707647077470784707947080470814708247083470844708547086470874708847089470904709147092470934709447095470964709747098470994710047101471024710347104471054710647107471084710947110471114711247113471144711547116471174711847119471204712147122471234712447125471264712747128471294713047131471324713347134471354713647137471384713947140471414714247143471444714547146471474714847149471504715147152471534715447155471564715747158471594716047161471624716347164471654716647167471684716947170471714717247173471744717547176471774717847179471804718147182471834718447185471864718747188471894719047191471924719347194471954719647197471984719947200472014720247203472044720547206472074720847209472104721147212472134721447215472164721747218472194722047221472224722347224472254722647227472284722947230472314723247233472344723547236472374723847239472404724147242472434724447245472464724747248472494725047251472524725347254472554725647257472584725947260472614726247263472644726547266472674726847269472704727147272472734727447275472764727747278472794728047281472824728347284472854728647287472884728947290472914729247293472944729547296472974729847299473004730147302473034730447305473064730747308473094731047311473124731347314473154731647317473184731947320473214732247323473244732547326473274732847329473304733147332473334733447335473364733747338473394734047341473424734347344473454734647347473484734947350473514735247353473544735547356473574735847359473604736147362473634736447365473664736747368473694737047371473724737347374473754737647377473784737947380473814738247383473844738547386473874738847389473904739147392473934739447395473964739747398473994740047401474024740347404474054740647407474084740947410474114741247413474144741547416474174741847419474204742147422474234742447425474264742747428474294743047431474324743347434474354743647437474384743947440474414744247443474444744547446474474744847449474504745147452474534745447455474564745747458474594746047461474624746347464474654746647467474684746947470474714747247473474744747547476474774747847479474804748147482474834748447485474864748747488474894749047491474924749347494474954749647497474984749947500475014750247503475044750547506475074750847509475104751147512475134751447515475164751747518475194752047521475224752347524475254752647527475284752947530475314753247533475344753547536475374753847539475404754147542475434754447545475464754747548475494755047551475524755347554475554755647557475584755947560475614756247563475644756547566475674756847569475704757147572475734757447575475764757747578475794758047581475824758347584475854758647587475884758947590475914759247593475944759547596475974759847599476004760147602476034760447605476064760747608476094761047611476124761347614476154761647617476184761947620476214762247623476244762547626476274762847629476304763147632476334763447635476364763747638476394764047641476424764347644476454764647647476484764947650476514765247653476544765547656476574765847659476604766147662476634766447665476664766747668476694767047671476724767347674476754767647677476784767947680476814768247683476844768547686476874768847689476904769147692476934769447695476964769747698476994770047701477024770347704477054770647707477084770947710477114771247713477144771547716477174771847719477204772147722477234772447725477264772747728477294773047731477324773347734477354773647737477384773947740477414774247743477444774547746477474774847749477504775147752477534775447755477564775747758477594776047761477624776347764477654776647767477684776947770477714777247773477744777547776477774777847779477804778147782477834778447785477864778747788477894779047791477924779347794477954779647797477984779947800478014780247803478044780547806478074780847809478104781147812478134781447815478164781747818478194782047821478224782347824478254782647827478284782947830478314783247833478344783547836478374783847839478404784147842478434784447845478464784747848478494785047851478524785347854478554785647857478584785947860478614786247863478644786547866478674786847869478704787147872478734787447875478764787747878478794788047881478824788347884478854788647887478884788947890478914789247893478944789547896478974789847899479004790147902479034790447905479064790747908479094791047911479124791347914479154791647917479184791947920479214792247923479244792547926479274792847929479304793147932479334793447935479364793747938479394794047941479424794347944479454794647947479484794947950479514795247953479544795547956479574795847959479604796147962479634796447965479664796747968479694797047971479724797347974479754797647977479784797947980479814798247983479844798547986479874798847989479904799147992479934799447995479964799747998479994800048001480024800348004480054800648007480084800948010480114801248013480144801548016480174801848019480204802148022480234802448025480264802748028480294803048031480324803348034480354803648037480384803948040480414804248043480444804548046480474804848049480504805148052480534805448055480564805748058480594806048061480624806348064480654806648067480684806948070480714807248073480744807548076480774807848079480804808148082480834808448085480864808748088480894809048091480924809348094480954809648097480984809948100481014810248103481044810548106481074810848109481104811148112481134811448115481164811748118481194812048121481224812348124481254812648127481284812948130481314813248133481344813548136481374813848139481404814148142481434814448145481464814748148481494815048151481524815348154481554815648157481584815948160481614816248163481644816548166481674816848169481704817148172481734817448175481764817748178481794818048181481824818348184481854818648187481884818948190481914819248193481944819548196481974819848199482004820148202482034820448205482064820748208482094821048211482124821348214482154821648217482184821948220482214822248223482244822548226482274822848229482304823148232482334823448235482364823748238482394824048241482424824348244482454824648247482484824948250482514825248253482544825548256482574825848259482604826148262482634826448265482664826748268482694827048271482724827348274482754827648277482784827948280482814828248283482844828548286482874828848289482904829148292482934829448295482964829748298482994830048301483024830348304483054830648307483084830948310483114831248313483144831548316483174831848319483204832148322483234832448325483264832748328483294833048331483324833348334483354833648337483384833948340483414834248343483444834548346483474834848349483504835148352483534835448355483564835748358483594836048361483624836348364483654836648367483684836948370483714837248373483744837548376483774837848379483804838148382483834838448385483864838748388483894839048391483924839348394483954839648397483984839948400484014840248403484044840548406484074840848409484104841148412484134841448415484164841748418484194842048421484224842348424484254842648427484284842948430484314843248433484344843548436484374843848439484404844148442484434844448445484464844748448484494845048451484524845348454484554845648457484584845948460484614846248463484644846548466484674846848469484704847148472484734847448475484764847748478484794848048481484824848348484484854848648487484884848948490484914849248493484944849548496484974849848499485004850148502485034850448505485064850748508485094851048511485124851348514485154851648517485184851948520485214852248523485244852548526
  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. "/Ferroalloy/GetSpotGoodsPrice": {
  7551. "get": {
  7552. "security": [
  7553. {
  7554. "ApiKeyAuth": []
  7555. }
  7556. ],
  7557. "produces": [
  7558. "application/json"
  7559. ],
  7560. "tags": [
  7561. "铁合金"
  7562. ],
  7563. "summary": "获取现货行情",
  7564. "parameters": [
  7565. {
  7566. "type": "integer",
  7567. "description": "页码",
  7568. "name": "page",
  7569. "in": "query"
  7570. },
  7571. {
  7572. "type": "integer",
  7573. "description": "每页条数",
  7574. "name": "pagesize",
  7575. "in": "query"
  7576. }
  7577. ],
  7578. "responses": {
  7579. "200": {
  7580. "description": "OK",
  7581. "schema": {
  7582. "type": "array",
  7583. "items": {
  7584. "$ref": "#/definitions/models.GErmcpspotgoodsprice"
  7585. }
  7586. }
  7587. },
  7588. "500": {
  7589. "description": "Internal Server Error",
  7590. "schema": {
  7591. "$ref": "#/definitions/app.Response"
  7592. }
  7593. }
  7594. }
  7595. }
  7596. },
  7597. "/Ferroalloy/QueryMyRefer": {
  7598. "get": {
  7599. "security": [
  7600. {
  7601. "ApiKeyAuth": []
  7602. }
  7603. ],
  7604. "produces": [
  7605. "application/json"
  7606. ],
  7607. "tags": [
  7608. "铁合金"
  7609. ],
  7610. "summary": "查询我的推荐列表",
  7611. "parameters": [
  7612. {
  7613. "type": "integer",
  7614. "description": "用户ID",
  7615. "name": "userid",
  7616. "in": "query",
  7617. "required": true
  7618. },
  7619. {
  7620. "type": "integer",
  7621. "description": "页码",
  7622. "name": "page",
  7623. "in": "query"
  7624. },
  7625. {
  7626. "type": "integer",
  7627. "description": "每页条数",
  7628. "name": "pagesize",
  7629. "in": "query"
  7630. }
  7631. ],
  7632. "responses": {
  7633. "200": {
  7634. "description": "OK",
  7635. "schema": {
  7636. "type": "array",
  7637. "items": {
  7638. "$ref": "#/definitions/models.MyRefer"
  7639. }
  7640. }
  7641. },
  7642. "500": {
  7643. "description": "Internal Server Error",
  7644. "schema": {
  7645. "$ref": "#/definitions/app.Response"
  7646. }
  7647. }
  7648. }
  7649. }
  7650. },
  7651. "/Ferroalloy/QueryUserScoreLog": {
  7652. "get": {
  7653. "security": [
  7654. {
  7655. "ApiKeyAuth": []
  7656. }
  7657. ],
  7658. "produces": [
  7659. "application/json"
  7660. ],
  7661. "tags": [
  7662. "铁合金"
  7663. ],
  7664. "summary": "查询我的积分流水",
  7665. "parameters": [
  7666. {
  7667. "type": "integer",
  7668. "description": "用户ID",
  7669. "name": "userid",
  7670. "in": "query",
  7671. "required": true
  7672. },
  7673. {
  7674. "type": "integer",
  7675. "description": "页码",
  7676. "name": "page",
  7677. "in": "query"
  7678. },
  7679. {
  7680. "type": "integer",
  7681. "description": "每页条数",
  7682. "name": "pagesize",
  7683. "in": "query"
  7684. }
  7685. ],
  7686. "responses": {
  7687. "200": {
  7688. "description": "OK",
  7689. "schema": {
  7690. "type": "array",
  7691. "items": {
  7692. "$ref": "#/definitions/models.GThjuserscorelog"
  7693. }
  7694. }
  7695. },
  7696. "500": {
  7697. "description": "Internal Server Error",
  7698. "schema": {
  7699. "$ref": "#/definitions/app.Response"
  7700. }
  7701. }
  7702. }
  7703. }
  7704. },
  7705. "/Ferroalloy/Signin": {
  7706. "post": {
  7707. "security": [
  7708. {
  7709. "ApiKeyAuth": []
  7710. }
  7711. ],
  7712. "produces": [
  7713. "application/json"
  7714. ],
  7715. "tags": [
  7716. "铁合金"
  7717. ],
  7718. "summary": "用户签到",
  7719. "parameters": [
  7720. {
  7721. "description": "用户签到请求",
  7722. "name": "jsonBody",
  7723. "in": "body",
  7724. "required": true,
  7725. "schema": {
  7726. "$ref": "#/definitions/models.THJSigninReq"
  7727. }
  7728. }
  7729. ],
  7730. "responses": {
  7731. "200": {
  7732. "description": "OK",
  7733. "schema": {
  7734. "$ref": "#/definitions/models.THJSigninRsp"
  7735. }
  7736. },
  7737. "500": {
  7738. "description": "Internal Server Error",
  7739. "schema": {
  7740. "$ref": "#/definitions/app.Response"
  7741. }
  7742. }
  7743. }
  7744. }
  7745. },
  7746. "/Guangzuan/GZBSFWOrderOperate": {
  7747. "get": {
  7748. "security": [
  7749. {
  7750. "ApiKeyAuth": []
  7751. },
  7752. {
  7753. "LoginID": []
  7754. },
  7755. {
  7756. "Group": []
  7757. }
  7758. ],
  7759. "produces": [
  7760. "application/json"
  7761. ],
  7762. "tags": [
  7763. "广钻"
  7764. ],
  7765. "summary": "保税服务单据操作信息",
  7766. "parameters": [
  7767. {
  7768. "type": "integer",
  7769. "description": "单据ID",
  7770. "name": "orderid",
  7771. "in": "query",
  7772. "required": true
  7773. }
  7774. ],
  7775. "responses": {
  7776. "200": {
  7777. "description": "OK",
  7778. "schema": {
  7779. "type": "array",
  7780. "items": {
  7781. "$ref": "#/definitions/models.Gzbsfworderoperate"
  7782. }
  7783. }
  7784. },
  7785. "500": {
  7786. "description": "Internal Server Error",
  7787. "schema": {
  7788. "$ref": "#/definitions/app.Response"
  7789. }
  7790. }
  7791. }
  7792. }
  7793. },
  7794. "/Guangzuan/GetGoods": {
  7795. "get": {
  7796. "security": [
  7797. {
  7798. "ApiKeyAuth": []
  7799. },
  7800. {
  7801. "LoginID": []
  7802. },
  7803. {
  7804. "Group": []
  7805. }
  7806. ],
  7807. "produces": [
  7808. "application/json"
  7809. ],
  7810. "tags": [
  7811. "广钻"
  7812. ],
  7813. "summary": "获取钻石详情",
  7814. "parameters": [
  7815. {
  7816. "type": "string",
  7817. "description": "商品编号",
  7818. "name": "goodsno",
  7819. "in": "query",
  7820. "required": true
  7821. }
  7822. ],
  7823. "responses": {
  7824. "200": {
  7825. "description": "OK",
  7826. "schema": {
  7827. "$ref": "#/definitions/models.GZGoods"
  7828. }
  7829. },
  7830. "500": {
  7831. "description": "Internal Server Error",
  7832. "schema": {
  7833. "$ref": "#/definitions/app.Response"
  7834. }
  7835. }
  7836. }
  7837. }
  7838. },
  7839. "/Guangzuan/GzCertAddressConfig": {
  7840. "get": {
  7841. "security": [
  7842. {
  7843. "ApiKeyAuth": []
  7844. },
  7845. {
  7846. "LoginID": []
  7847. },
  7848. {
  7849. "Group": []
  7850. }
  7851. ],
  7852. "produces": [
  7853. "application/json"
  7854. ],
  7855. "tags": [
  7856. "广钻"
  7857. ],
  7858. "summary": "Rapaport最新报价表(广钻)",
  7859. "responses": {
  7860. "200": {
  7861. "description": "OK",
  7862. "schema": {
  7863. "type": "array",
  7864. "items": {
  7865. "$ref": "#/definitions/models.Gzcertaddressconfig"
  7866. }
  7867. }
  7868. },
  7869. "500": {
  7870. "description": "Internal Server Error",
  7871. "schema": {
  7872. "$ref": "#/definitions/app.Response"
  7873. }
  7874. }
  7875. }
  7876. }
  7877. },
  7878. "/Guangzuan/GzCertAddressParam": {
  7879. "get": {
  7880. "security": [
  7881. {
  7882. "ApiKeyAuth": []
  7883. },
  7884. {
  7885. "LoginID": []
  7886. },
  7887. {
  7888. "Group": []
  7889. }
  7890. ],
  7891. "produces": [
  7892. "application/json"
  7893. ],
  7894. "tags": [
  7895. "广钻"
  7896. ],
  7897. "summary": "钻石证书地址参数",
  7898. "responses": {
  7899. "200": {
  7900. "description": "OK",
  7901. "schema": {
  7902. "type": "array",
  7903. "items": {
  7904. "$ref": "#/definitions/models.Gzcertaddressparam"
  7905. }
  7906. }
  7907. },
  7908. "500": {
  7909. "description": "Internal Server Error",
  7910. "schema": {
  7911. "$ref": "#/definitions/app.Response"
  7912. }
  7913. }
  7914. }
  7915. }
  7916. },
  7917. "/Guangzuan/HomeData": {
  7918. "get": {
  7919. "security": [
  7920. {
  7921. "ApiKeyAuth": []
  7922. },
  7923. {
  7924. "LoginID": []
  7925. },
  7926. {
  7927. "Group": []
  7928. }
  7929. ],
  7930. "produces": [
  7931. "application/json"
  7932. ],
  7933. "tags": [
  7934. "广钻"
  7935. ],
  7936. "summary": "首页统计数据",
  7937. "parameters": [
  7938. {
  7939. "type": "integer",
  7940. "description": "用户ID",
  7941. "name": "userid",
  7942. "in": "query",
  7943. "required": true
  7944. }
  7945. ],
  7946. "responses": {
  7947. "200": {
  7948. "description": "OK",
  7949. "schema": {
  7950. "$ref": "#/definitions/models.GZHomeData"
  7951. }
  7952. },
  7953. "500": {
  7954. "description": "Internal Server Error",
  7955. "schema": {
  7956. "$ref": "#/definitions/app.Response"
  7957. }
  7958. }
  7959. }
  7960. }
  7961. },
  7962. "/Guangzuan/PriceCalc": {
  7963. "get": {
  7964. "security": [
  7965. {
  7966. "ApiKeyAuth": []
  7967. },
  7968. {
  7969. "LoginID": []
  7970. },
  7971. {
  7972. "Group": []
  7973. }
  7974. ],
  7975. "produces": [
  7976. "application/json"
  7977. ],
  7978. "tags": [
  7979. "广钻"
  7980. ],
  7981. "summary": "钻石价格计算器",
  7982. "parameters": [
  7983. {
  7984. "type": "integer",
  7985. "description": "形状 - 1:BR(圆形) 2:PS(异形)",
  7986. "name": "zsshape",
  7987. "in": "query",
  7988. "required": true
  7989. },
  7990. {
  7991. "type": "string",
  7992. "description": "颜色(D-M)",
  7993. "name": "zscolor",
  7994. "in": "query",
  7995. "required": true
  7996. },
  7997. {
  7998. "type": "string",
  7999. "description": "净度",
  8000. "name": "zsclarity",
  8001. "in": "query",
  8002. "required": true
  8003. },
  8004. {
  8005. "type": "number",
  8006. "description": "重量",
  8007. "name": "weight",
  8008. "in": "query",
  8009. "required": true
  8010. },
  8011. {
  8012. "type": "number",
  8013. "description": "汇率",
  8014. "name": "rate",
  8015. "in": "query",
  8016. "required": true
  8017. },
  8018. {
  8019. "type": "number",
  8020. "description": "折扣(%), 方向(加:10, 减:-10 )",
  8021. "name": "discount",
  8022. "in": "query"
  8023. }
  8024. ],
  8025. "responses": {
  8026. "200": {
  8027. "description": "OK",
  8028. "schema": {
  8029. "type": "array",
  8030. "items": {
  8031. "$ref": "#/definitions/models.Gzrapaportprice"
  8032. }
  8033. }
  8034. },
  8035. "500": {
  8036. "description": "Internal Server Error",
  8037. "schema": {
  8038. "$ref": "#/definitions/app.Response"
  8039. }
  8040. }
  8041. }
  8042. }
  8043. },
  8044. "/Guangzuan/QueryBuyOrder": {
  8045. "get": {
  8046. "security": [
  8047. {
  8048. "ApiKeyAuth": []
  8049. },
  8050. {
  8051. "LoginID": []
  8052. },
  8053. {
  8054. "Group": []
  8055. }
  8056. ],
  8057. "produces": [
  8058. "application/json"
  8059. ],
  8060. "tags": [
  8061. "广钻"
  8062. ],
  8063. "summary": "查询求购大厅委托单",
  8064. "parameters": [
  8065. {
  8066. "type": "integer",
  8067. "description": "页码",
  8068. "name": "page",
  8069. "in": "query"
  8070. },
  8071. {
  8072. "type": "integer",
  8073. "description": "每页条数",
  8074. "name": "pagesize",
  8075. "in": "query"
  8076. },
  8077. {
  8078. "type": "string",
  8079. "description": "商品(查询字段-模糊查询)",
  8080. "name": "zsallproperties",
  8081. "in": "query"
  8082. },
  8083. {
  8084. "type": "string",
  8085. "description": "钻石分类, 格式:1,2,3",
  8086. "name": "zscategorys",
  8087. "in": "query"
  8088. },
  8089. {
  8090. "type": "integer",
  8091. "description": "委托单号",
  8092. "name": "wrtradeorderid",
  8093. "in": "query"
  8094. },
  8095. {
  8096. "type": "string",
  8097. "description": "买方(查询字段-模糊查询)",
  8098. "name": "buyusername",
  8099. "in": "query"
  8100. }
  8101. ],
  8102. "responses": {
  8103. "200": {
  8104. "description": "OK",
  8105. "schema": {
  8106. "type": "array",
  8107. "items": {
  8108. "$ref": "#/definitions/models.BuyOrder"
  8109. }
  8110. }
  8111. },
  8112. "500": {
  8113. "description": "Internal Server Error",
  8114. "schema": {
  8115. "$ref": "#/definitions/app.Response"
  8116. }
  8117. }
  8118. }
  8119. }
  8120. },
  8121. "/Guangzuan/QueryDiamond": {
  8122. "post": {
  8123. "security": [
  8124. {
  8125. "ApiKeyAuth": []
  8126. },
  8127. {
  8128. "LoginID": []
  8129. },
  8130. {
  8131. "Group": []
  8132. }
  8133. ],
  8134. "produces": [
  8135. "application/json"
  8136. ],
  8137. "tags": [
  8138. "广钻"
  8139. ],
  8140. "summary": "钻石搜索",
  8141. "parameters": [
  8142. {
  8143. "description": "钻石搜索入参",
  8144. "name": "data",
  8145. "in": "body",
  8146. "required": true,
  8147. "schema": {
  8148. "$ref": "#/definitions/models.SellOrderQueryReq"
  8149. }
  8150. }
  8151. ],
  8152. "responses": {
  8153. "200": {
  8154. "description": "OK",
  8155. "schema": {
  8156. "type": "array",
  8157. "items": {
  8158. "$ref": "#/definitions/models.SellOrder"
  8159. }
  8160. }
  8161. },
  8162. "500": {
  8163. "description": "Internal Server Error",
  8164. "schema": {
  8165. "$ref": "#/definitions/app.Response"
  8166. }
  8167. }
  8168. }
  8169. }
  8170. },
  8171. "/Guangzuan/QueryGZBSFWOrder": {
  8172. "get": {
  8173. "security": [
  8174. {
  8175. "ApiKeyAuth": []
  8176. },
  8177. {
  8178. "LoginID": []
  8179. },
  8180. {
  8181. "Group": []
  8182. }
  8183. ],
  8184. "produces": [
  8185. "application/json"
  8186. ],
  8187. "tags": [
  8188. "广钻"
  8189. ],
  8190. "summary": "查询保税服务单据",
  8191. "parameters": [
  8192. {
  8193. "type": "integer",
  8194. "description": "用户ID",
  8195. "name": "userid",
  8196. "in": "query",
  8197. "required": true
  8198. },
  8199. {
  8200. "type": "integer",
  8201. "description": "页码",
  8202. "name": "page",
  8203. "in": "query"
  8204. },
  8205. {
  8206. "type": "integer",
  8207. "description": "每页条数",
  8208. "name": "pagesize",
  8209. "in": "query"
  8210. }
  8211. ],
  8212. "responses": {
  8213. "200": {
  8214. "description": "OK",
  8215. "schema": {
  8216. "type": "array",
  8217. "items": {
  8218. "$ref": "#/definitions/models.GzbsfworderM"
  8219. }
  8220. }
  8221. },
  8222. "500": {
  8223. "description": "Internal Server Error",
  8224. "schema": {
  8225. "$ref": "#/definitions/app.Response"
  8226. }
  8227. }
  8228. }
  8229. }
  8230. },
  8231. "/Guangzuan/QueryGZBSFWOrderDetail": {
  8232. "get": {
  8233. "security": [
  8234. {
  8235. "ApiKeyAuth": []
  8236. },
  8237. {
  8238. "LoginID": []
  8239. },
  8240. {
  8241. "Group": []
  8242. }
  8243. ],
  8244. "produces": [
  8245. "application/json"
  8246. ],
  8247. "tags": [
  8248. "广钻"
  8249. ],
  8250. "summary": "查询保税服务单据明细",
  8251. "parameters": [
  8252. {
  8253. "type": "integer",
  8254. "description": "用户ID",
  8255. "name": "userid",
  8256. "in": "query",
  8257. "required": true
  8258. },
  8259. {
  8260. "type": "integer",
  8261. "description": "单据ID",
  8262. "name": "orderid",
  8263. "in": "query"
  8264. },
  8265. {
  8266. "type": "integer",
  8267. "description": "页码",
  8268. "name": "page",
  8269. "in": "query"
  8270. },
  8271. {
  8272. "type": "integer",
  8273. "description": "每页条数",
  8274. "name": "pagesize",
  8275. "in": "query"
  8276. }
  8277. ],
  8278. "responses": {
  8279. "200": {
  8280. "description": "OK",
  8281. "schema": {
  8282. "type": "array",
  8283. "items": {
  8284. "$ref": "#/definitions/models.GzbsfworderdetailM"
  8285. }
  8286. }
  8287. },
  8288. "500": {
  8289. "description": "Internal Server Error",
  8290. "schema": {
  8291. "$ref": "#/definitions/app.Response"
  8292. }
  8293. }
  8294. }
  8295. }
  8296. },
  8297. "/Guangzuan/QueryGZCJBSOrderFile": {
  8298. "get": {
  8299. "security": [
  8300. {
  8301. "ApiKeyAuth": []
  8302. },
  8303. {
  8304. "LoginID": []
  8305. },
  8306. {
  8307. "Group": []
  8308. }
  8309. ],
  8310. "produces": [
  8311. "application/json"
  8312. ],
  8313. "tags": [
  8314. "广钻"
  8315. ],
  8316. "summary": "出境保税单据文件",
  8317. "parameters": [
  8318. {
  8319. "type": "integer",
  8320. "description": "单据ID",
  8321. "name": "orderid",
  8322. "in": "query",
  8323. "required": true
  8324. },
  8325. {
  8326. "type": "integer",
  8327. "description": "页码",
  8328. "name": "page",
  8329. "in": "query"
  8330. },
  8331. {
  8332. "type": "integer",
  8333. "description": "每页条数",
  8334. "name": "pagesize",
  8335. "in": "query"
  8336. }
  8337. ],
  8338. "responses": {
  8339. "200": {
  8340. "description": "OK",
  8341. "schema": {
  8342. "type": "array",
  8343. "items": {
  8344. "$ref": "#/definitions/models.GzcjbsorderfileM"
  8345. }
  8346. }
  8347. },
  8348. "500": {
  8349. "description": "Internal Server Error",
  8350. "schema": {
  8351. "$ref": "#/definitions/app.Response"
  8352. }
  8353. }
  8354. }
  8355. }
  8356. },
  8357. "/Guangzuan/QueryGZCJJCOrder": {
  8358. "get": {
  8359. "security": [
  8360. {
  8361. "ApiKeyAuth": []
  8362. },
  8363. {
  8364. "LoginID": []
  8365. },
  8366. {
  8367. "Group": []
  8368. }
  8369. ],
  8370. "produces": [
  8371. "application/json"
  8372. ],
  8373. "tags": [
  8374. "广钻"
  8375. ],
  8376. "summary": "查询出境检测单据",
  8377. "parameters": [
  8378. {
  8379. "type": "integer",
  8380. "description": "用户ID",
  8381. "name": "userid",
  8382. "in": "query",
  8383. "required": true
  8384. },
  8385. {
  8386. "type": "integer",
  8387. "description": "页码",
  8388. "name": "page",
  8389. "in": "query"
  8390. },
  8391. {
  8392. "type": "integer",
  8393. "description": "每页条数",
  8394. "name": "pagesize",
  8395. "in": "query"
  8396. }
  8397. ],
  8398. "responses": {
  8399. "200": {
  8400. "description": "OK",
  8401. "schema": {
  8402. "type": "array",
  8403. "items": {
  8404. "$ref": "#/definitions/models.GzcjjcorderM"
  8405. }
  8406. }
  8407. },
  8408. "500": {
  8409. "description": "Internal Server Error",
  8410. "schema": {
  8411. "$ref": "#/definitions/app.Response"
  8412. }
  8413. }
  8414. }
  8415. }
  8416. },
  8417. "/Guangzuan/QueryGZCJJCOrderDetail": {
  8418. "get": {
  8419. "security": [
  8420. {
  8421. "ApiKeyAuth": []
  8422. },
  8423. {
  8424. "LoginID": []
  8425. },
  8426. {
  8427. "Group": []
  8428. }
  8429. ],
  8430. "produces": [
  8431. "application/json"
  8432. ],
  8433. "tags": [
  8434. "广钻"
  8435. ],
  8436. "summary": "查询出境检测单据明细(批次信息)",
  8437. "parameters": [
  8438. {
  8439. "type": "integer",
  8440. "description": "用户ID",
  8441. "name": "userid",
  8442. "in": "query",
  8443. "required": true
  8444. },
  8445. {
  8446. "type": "integer",
  8447. "description": "单据ID",
  8448. "name": "orderid",
  8449. "in": "query"
  8450. },
  8451. {
  8452. "type": "integer",
  8453. "description": "页码",
  8454. "name": "page",
  8455. "in": "query"
  8456. },
  8457. {
  8458. "type": "integer",
  8459. "description": "每页条数",
  8460. "name": "pagesize",
  8461. "in": "query"
  8462. }
  8463. ],
  8464. "responses": {
  8465. "200": {
  8466. "description": "OK",
  8467. "schema": {
  8468. "type": "array",
  8469. "items": {
  8470. "$ref": "#/definitions/models.GzcjjcorderdetailM"
  8471. }
  8472. }
  8473. },
  8474. "500": {
  8475. "description": "Internal Server Error",
  8476. "schema": {
  8477. "$ref": "#/definitions/app.Response"
  8478. }
  8479. }
  8480. }
  8481. }
  8482. },
  8483. "/Guangzuan/QueryMemberReport": {
  8484. "get": {
  8485. "security": [
  8486. {
  8487. "ApiKeyAuth": []
  8488. },
  8489. {
  8490. "LoginID": []
  8491. },
  8492. {
  8493. "Group": []
  8494. }
  8495. ],
  8496. "produces": [
  8497. "application/json"
  8498. ],
  8499. "tags": [
  8500. "广钻"
  8501. ],
  8502. "summary": "查询会员报表",
  8503. "parameters": [
  8504. {
  8505. "type": "integer",
  8506. "description": "用户ID",
  8507. "name": "userid",
  8508. "in": "query",
  8509. "required": true
  8510. },
  8511. {
  8512. "type": "integer",
  8513. "description": "页码",
  8514. "name": "page",
  8515. "in": "query"
  8516. },
  8517. {
  8518. "type": "integer",
  8519. "description": "每页条数",
  8520. "name": "pagesize",
  8521. "in": "query"
  8522. },
  8523. {
  8524. "type": "string",
  8525. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)",
  8526. "name": "cycletype",
  8527. "in": "query"
  8528. },
  8529. {
  8530. "type": "string",
  8531. "description": "开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)",
  8532. "name": "begindate",
  8533. "in": "query",
  8534. "required": true
  8535. },
  8536. {
  8537. "type": "string",
  8538. "description": "结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)",
  8539. "name": "enddate",
  8540. "in": "query",
  8541. "required": true
  8542. }
  8543. ],
  8544. "responses": {
  8545. "200": {
  8546. "description": "OK",
  8547. "schema": {
  8548. "type": "array",
  8549. "items": {
  8550. "$ref": "#/definitions/models.Reckondaytaaccount"
  8551. }
  8552. }
  8553. },
  8554. "500": {
  8555. "description": "Internal Server Error",
  8556. "schema": {
  8557. "$ref": "#/definitions/app.Response"
  8558. }
  8559. }
  8560. }
  8561. }
  8562. },
  8563. "/Guangzuan/QueryMyBargainApply": {
  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": "wrtradeorderid",
  8619. "in": "query"
  8620. }
  8621. ],
  8622. "responses": {
  8623. "200": {
  8624. "description": "OK",
  8625. "schema": {
  8626. "type": "array",
  8627. "items": {
  8628. "$ref": "#/definitions/models.MyBargainApply"
  8629. }
  8630. }
  8631. },
  8632. "500": {
  8633. "description": "Internal Server Error",
  8634. "schema": {
  8635. "$ref": "#/definitions/app.Response"
  8636. }
  8637. }
  8638. }
  8639. }
  8640. },
  8641. "/Guangzuan/QueryMyBuyOrder": {
  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": "商品(查询字段-模糊查询)",
  8684. "name": "zsallproperties",
  8685. "in": "query"
  8686. },
  8687. {
  8688. "type": "string",
  8689. "description": "钻石分类, 格式:1,2,3",
  8690. "name": "zscategorys",
  8691. "in": "query"
  8692. },
  8693. {
  8694. "type": "integer",
  8695. "description": "委托单号",
  8696. "name": "wrtradeorderid",
  8697. "in": "query"
  8698. },
  8699. {
  8700. "type": "boolean",
  8701. "description": "是否历史查询",
  8702. "name": "ishis",
  8703. "in": "query"
  8704. },
  8705. {
  8706. "type": "string",
  8707. "description": "开始交易日(yyyymmdd)",
  8708. "name": "begindate",
  8709. "in": "query"
  8710. },
  8711. {
  8712. "type": "string",
  8713. "description": "结束交易日(yyyymmdd)",
  8714. "name": "enddate",
  8715. "in": "query"
  8716. }
  8717. ],
  8718. "responses": {
  8719. "200": {
  8720. "description": "OK",
  8721. "schema": {
  8722. "type": "array",
  8723. "items": {
  8724. "$ref": "#/definitions/models.MyBuyOrder"
  8725. }
  8726. }
  8727. },
  8728. "500": {
  8729. "description": "Internal Server Error",
  8730. "schema": {
  8731. "$ref": "#/definitions/app.Response"
  8732. }
  8733. }
  8734. }
  8735. }
  8736. },
  8737. "/Guangzuan/QueryMyDeListing": {
  8738. "get": {
  8739. "security": [
  8740. {
  8741. "ApiKeyAuth": []
  8742. },
  8743. {
  8744. "LoginID": []
  8745. },
  8746. {
  8747. "Group": []
  8748. }
  8749. ],
  8750. "produces": [
  8751. "application/json"
  8752. ],
  8753. "tags": [
  8754. "广钻"
  8755. ],
  8756. "summary": "查询我的摘牌",
  8757. "parameters": [
  8758. {
  8759. "type": "integer",
  8760. "description": "用户ID",
  8761. "name": "userid",
  8762. "in": "query",
  8763. "required": true
  8764. },
  8765. {
  8766. "type": "integer",
  8767. "description": "页码",
  8768. "name": "page",
  8769. "in": "query"
  8770. },
  8771. {
  8772. "type": "integer",
  8773. "description": "每页条数",
  8774. "name": "pagesize",
  8775. "in": "query"
  8776. },
  8777. {
  8778. "type": "string",
  8779. "description": "商品(查询字段-模糊查询)",
  8780. "name": "zsallproperties",
  8781. "in": "query"
  8782. },
  8783. {
  8784. "type": "string",
  8785. "description": "钻石分类, 格式:1,2,3",
  8786. "name": "zscategorys",
  8787. "in": "query"
  8788. },
  8789. {
  8790. "type": "integer",
  8791. "description": "成交单号",
  8792. "name": "wrtradedetailid",
  8793. "in": "query"
  8794. },
  8795. {
  8796. "type": "integer",
  8797. "description": "方向,0-购买 1-出售",
  8798. "name": "buyorsell",
  8799. "in": "query"
  8800. },
  8801. {
  8802. "type": "string",
  8803. "description": "对手方(模糊匹配)",
  8804. "name": "matchusername",
  8805. "in": "query"
  8806. },
  8807. {
  8808. "type": "string",
  8809. "description": "开始交易日(yyyymmdd)",
  8810. "name": "begindate",
  8811. "in": "query"
  8812. },
  8813. {
  8814. "type": "string",
  8815. "description": "结束交易日(yyyymmdd)",
  8816. "name": "enddate",
  8817. "in": "query"
  8818. }
  8819. ],
  8820. "responses": {
  8821. "200": {
  8822. "description": "OK",
  8823. "schema": {
  8824. "type": "array",
  8825. "items": {
  8826. "$ref": "#/definitions/models.MyDeListing"
  8827. }
  8828. }
  8829. },
  8830. "500": {
  8831. "description": "Internal Server Error",
  8832. "schema": {
  8833. "$ref": "#/definitions/app.Response"
  8834. }
  8835. }
  8836. }
  8837. }
  8838. },
  8839. "/Guangzuan/QueryMyDelistingApply": {
  8840. "get": {
  8841. "security": [
  8842. {
  8843. "ApiKeyAuth": []
  8844. },
  8845. {
  8846. "LoginID": []
  8847. },
  8848. {
  8849. "Group": []
  8850. }
  8851. ],
  8852. "produces": [
  8853. "application/json"
  8854. ],
  8855. "tags": [
  8856. "广钻"
  8857. ],
  8858. "summary": "查询询价-出售",
  8859. "parameters": [
  8860. {
  8861. "type": "integer",
  8862. "description": "用户ID",
  8863. "name": "userid",
  8864. "in": "query",
  8865. "required": true
  8866. },
  8867. {
  8868. "type": "integer",
  8869. "description": "页码",
  8870. "name": "page",
  8871. "in": "query"
  8872. },
  8873. {
  8874. "type": "integer",
  8875. "description": "每页条数",
  8876. "name": "pagesize",
  8877. "in": "query"
  8878. },
  8879. {
  8880. "type": "integer",
  8881. "description": "申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  8882. "name": "applystatus",
  8883. "in": "query"
  8884. },
  8885. {
  8886. "type": "integer",
  8887. "description": "查询类型 - 0:我的询价 1:我订单的询价",
  8888. "name": "type",
  8889. "in": "query"
  8890. },
  8891. {
  8892. "type": "string",
  8893. "description": "买委托单ID",
  8894. "name": "buywrtradeorderid",
  8895. "in": "query"
  8896. }
  8897. ],
  8898. "responses": {
  8899. "200": {
  8900. "description": "OK",
  8901. "schema": {
  8902. "type": "array",
  8903. "items": {
  8904. "$ref": "#/definitions/models.MyDelistingApply"
  8905. }
  8906. }
  8907. },
  8908. "500": {
  8909. "description": "Internal Server Error",
  8910. "schema": {
  8911. "$ref": "#/definitions/app.Response"
  8912. }
  8913. }
  8914. }
  8915. }
  8916. },
  8917. "/Guangzuan/QueryMyFavorite": {
  8918. "get": {
  8919. "security": [
  8920. {
  8921. "ApiKeyAuth": []
  8922. },
  8923. {
  8924. "LoginID": []
  8925. },
  8926. {
  8927. "Group": []
  8928. }
  8929. ],
  8930. "produces": [
  8931. "application/json"
  8932. ],
  8933. "tags": [
  8934. "广钻"
  8935. ],
  8936. "summary": "查询我的收藏",
  8937. "parameters": [
  8938. {
  8939. "type": "integer",
  8940. "description": "用户ID",
  8941. "name": "userid",
  8942. "in": "query",
  8943. "required": true
  8944. },
  8945. {
  8946. "type": "integer",
  8947. "description": "页码",
  8948. "name": "page",
  8949. "in": "query"
  8950. },
  8951. {
  8952. "type": "integer",
  8953. "description": "每页条数",
  8954. "name": "pagesize",
  8955. "in": "query"
  8956. },
  8957. {
  8958. "type": "string",
  8959. "description": "钻石分类, 格式:1,2,3",
  8960. "name": "zscategorys",
  8961. "in": "query"
  8962. }
  8963. ],
  8964. "responses": {
  8965. "200": {
  8966. "description": "OK",
  8967. "schema": {
  8968. "type": "array",
  8969. "items": {
  8970. "$ref": "#/definitions/models.MyFavorite"
  8971. }
  8972. }
  8973. },
  8974. "500": {
  8975. "description": "Internal Server Error",
  8976. "schema": {
  8977. "$ref": "#/definitions/app.Response"
  8978. }
  8979. }
  8980. }
  8981. }
  8982. },
  8983. "/Guangzuan/QueryMyPerformanc": {
  8984. "get": {
  8985. "security": [
  8986. {
  8987. "ApiKeyAuth": []
  8988. },
  8989. {
  8990. "LoginID": []
  8991. },
  8992. {
  8993. "Group": []
  8994. }
  8995. ],
  8996. "produces": [
  8997. "application/json"
  8998. ],
  8999. "tags": [
  9000. "广钻"
  9001. ],
  9002. "summary": "查询我的履约",
  9003. "parameters": [
  9004. {
  9005. "type": "integer",
  9006. "description": "用户ID",
  9007. "name": "userid",
  9008. "in": "query",
  9009. "required": true
  9010. },
  9011. {
  9012. "type": "integer",
  9013. "description": "页码",
  9014. "name": "page",
  9015. "in": "query"
  9016. },
  9017. {
  9018. "type": "integer",
  9019. "description": "每页条数",
  9020. "name": "pagesize",
  9021. "in": "query"
  9022. },
  9023. {
  9024. "type": "string",
  9025. "description": "商品(查询字段-模糊查询)",
  9026. "name": "zsallproperties",
  9027. "in": "query"
  9028. },
  9029. {
  9030. "type": "integer",
  9031. "description": "方向,0-买 1-卖",
  9032. "name": "buyorsell",
  9033. "in": "query"
  9034. },
  9035. {
  9036. "type": "boolean",
  9037. "description": "是否历史查询",
  9038. "name": "ishis",
  9039. "in": "query"
  9040. },
  9041. {
  9042. "type": "string",
  9043. "description": "开始交易日(yyyymmdd)",
  9044. "name": "begindate",
  9045. "in": "query"
  9046. },
  9047. {
  9048. "type": "string",
  9049. "description": "结束交易日(yyyymmdd)",
  9050. "name": "enddate",
  9051. "in": "query"
  9052. }
  9053. ],
  9054. "responses": {
  9055. "200": {
  9056. "description": "OK",
  9057. "schema": {
  9058. "type": "array",
  9059. "items": {
  9060. "$ref": "#/definitions/models.MyPerformanc"
  9061. }
  9062. }
  9063. },
  9064. "500": {
  9065. "description": "Internal Server Error",
  9066. "schema": {
  9067. "$ref": "#/definitions/app.Response"
  9068. }
  9069. }
  9070. }
  9071. }
  9072. },
  9073. "/Guangzuan/QueryMySellOrder": {
  9074. "get": {
  9075. "security": [
  9076. {
  9077. "ApiKeyAuth": []
  9078. },
  9079. {
  9080. "LoginID": []
  9081. },
  9082. {
  9083. "Group": []
  9084. }
  9085. ],
  9086. "produces": [
  9087. "application/json"
  9088. ],
  9089. "tags": [
  9090. "广钻"
  9091. ],
  9092. "summary": "查询我的出售",
  9093. "parameters": [
  9094. {
  9095. "type": "integer",
  9096. "description": "用户ID",
  9097. "name": "userid",
  9098. "in": "query",
  9099. "required": true
  9100. },
  9101. {
  9102. "type": "integer",
  9103. "description": "页码",
  9104. "name": "page",
  9105. "in": "query"
  9106. },
  9107. {
  9108. "type": "integer",
  9109. "description": "每页条数",
  9110. "name": "pagesize",
  9111. "in": "query"
  9112. },
  9113. {
  9114. "type": "string",
  9115. "description": "商品(查询字段-模糊查询)",
  9116. "name": "zsallproperties",
  9117. "in": "query"
  9118. },
  9119. {
  9120. "type": "string",
  9121. "description": "钻石分类, 格式:1,2,3",
  9122. "name": "zscategorys",
  9123. "in": "query"
  9124. },
  9125. {
  9126. "type": "integer",
  9127. "description": "委托单号",
  9128. "name": "wrtradeorderid",
  9129. "in": "query"
  9130. },
  9131. {
  9132. "type": "boolean",
  9133. "description": "是否历史查询",
  9134. "name": "ishis",
  9135. "in": "query"
  9136. },
  9137. {
  9138. "type": "string",
  9139. "description": "开始交易日(yyyymmdd)",
  9140. "name": "begindate",
  9141. "in": "query"
  9142. },
  9143. {
  9144. "type": "string",
  9145. "description": "结束交易日(yyyymmdd)",
  9146. "name": "enddate",
  9147. "in": "query"
  9148. }
  9149. ],
  9150. "responses": {
  9151. "200": {
  9152. "description": "OK",
  9153. "schema": {
  9154. "type": "array",
  9155. "items": {
  9156. "$ref": "#/definitions/models.MySellOrder"
  9157. }
  9158. }
  9159. },
  9160. "500": {
  9161. "description": "Internal Server Error",
  9162. "schema": {
  9163. "$ref": "#/definitions/app.Response"
  9164. }
  9165. }
  9166. }
  9167. }
  9168. },
  9169. "/Guangzuan/QueryMyWRPosition": {
  9170. "get": {
  9171. "security": [
  9172. {
  9173. "ApiKeyAuth": []
  9174. },
  9175. {
  9176. "LoginID": []
  9177. },
  9178. {
  9179. "Group": []
  9180. }
  9181. ],
  9182. "produces": [
  9183. "application/json"
  9184. ],
  9185. "tags": [
  9186. "广钻"
  9187. ],
  9188. "summary": "查询我的库存",
  9189. "parameters": [
  9190. {
  9191. "type": "integer",
  9192. "description": "页码",
  9193. "name": "page",
  9194. "in": "query"
  9195. },
  9196. {
  9197. "type": "integer",
  9198. "description": "每页条数",
  9199. "name": "pagesize",
  9200. "in": "query"
  9201. },
  9202. {
  9203. "type": "integer",
  9204. "description": "登录用户ID",
  9205. "name": "wruserid",
  9206. "in": "query",
  9207. "required": true
  9208. },
  9209. {
  9210. "type": "string",
  9211. "description": "商品(查询字段-模糊查询)",
  9212. "name": "zsallproperties",
  9213. "in": "query"
  9214. },
  9215. {
  9216. "type": "string",
  9217. "description": "钻石分类, 格式:1,2,3",
  9218. "name": "zscategorys",
  9219. "in": "query"
  9220. },
  9221. {
  9222. "type": "integer",
  9223. "description": "仓库ID",
  9224. "name": "warehouseid",
  9225. "in": "query"
  9226. },
  9227. {
  9228. "type": "integer",
  9229. "description": "是否上架,0-全部 1-是 2-否",
  9230. "name": "marketflag",
  9231. "in": "query"
  9232. }
  9233. ],
  9234. "responses": {
  9235. "200": {
  9236. "description": "OK",
  9237. "schema": {
  9238. "type": "array",
  9239. "items": {
  9240. "$ref": "#/definitions/models.MyWRPosition"
  9241. }
  9242. }
  9243. },
  9244. "500": {
  9245. "description": "Internal Server Error",
  9246. "schema": {
  9247. "$ref": "#/definitions/app.Response"
  9248. }
  9249. }
  9250. }
  9251. }
  9252. },
  9253. "/Guangzuan/QuerySellOrder": {
  9254. "get": {
  9255. "security": [
  9256. {
  9257. "ApiKeyAuth": []
  9258. },
  9259. {
  9260. "LoginID": []
  9261. },
  9262. {
  9263. "Group": []
  9264. }
  9265. ],
  9266. "produces": [
  9267. "application/json"
  9268. ],
  9269. "tags": [
  9270. "广钻"
  9271. ],
  9272. "summary": "查询出售大厅委托单",
  9273. "parameters": [
  9274. {
  9275. "type": "integer",
  9276. "description": "页码",
  9277. "name": "page",
  9278. "in": "query"
  9279. },
  9280. {
  9281. "type": "integer",
  9282. "description": "每页条数",
  9283. "name": "pagesize",
  9284. "in": "query"
  9285. },
  9286. {
  9287. "type": "string",
  9288. "description": "商品(查询字段-模糊查询)",
  9289. "name": "zsallproperties",
  9290. "in": "query"
  9291. },
  9292. {
  9293. "type": "string",
  9294. "description": "钻石分类, 格式:1,2,3",
  9295. "name": "zscategorys",
  9296. "in": "query"
  9297. },
  9298. {
  9299. "type": "integer",
  9300. "description": "委托单号",
  9301. "name": "wrtradeorderid",
  9302. "in": "query"
  9303. },
  9304. {
  9305. "type": "string",
  9306. "description": "卖方(查询字段-模糊查询)",
  9307. "name": "buyusername",
  9308. "in": "query"
  9309. }
  9310. ],
  9311. "responses": {
  9312. "200": {
  9313. "description": "OK",
  9314. "schema": {
  9315. "type": "array",
  9316. "items": {
  9317. "$ref": "#/definitions/models.SellOrder"
  9318. }
  9319. }
  9320. },
  9321. "500": {
  9322. "description": "Internal Server Error",
  9323. "schema": {
  9324. "$ref": "#/definitions/app.Response"
  9325. }
  9326. }
  9327. }
  9328. }
  9329. },
  9330. "/Guangzuan/QueryTradeReport": {
  9331. "get": {
  9332. "security": [
  9333. {
  9334. "ApiKeyAuth": []
  9335. },
  9336. {
  9337. "LoginID": []
  9338. },
  9339. {
  9340. "Group": []
  9341. }
  9342. ],
  9343. "produces": [
  9344. "application/json"
  9345. ],
  9346. "tags": [
  9347. "广钻"
  9348. ],
  9349. "summary": "查询交易报表",
  9350. "parameters": [
  9351. {
  9352. "type": "integer",
  9353. "description": "用户ID",
  9354. "name": "userid",
  9355. "in": "query",
  9356. "required": true
  9357. },
  9358. {
  9359. "type": "integer",
  9360. "description": "页码",
  9361. "name": "page",
  9362. "in": "query"
  9363. },
  9364. {
  9365. "type": "integer",
  9366. "description": "每页条数",
  9367. "name": "pagesize",
  9368. "in": "query"
  9369. },
  9370. {
  9371. "type": "string",
  9372. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)",
  9373. "name": "cycletype",
  9374. "in": "query"
  9375. },
  9376. {
  9377. "type": "string",
  9378. "description": "开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)",
  9379. "name": "begindate",
  9380. "in": "query",
  9381. "required": true
  9382. },
  9383. {
  9384. "type": "string",
  9385. "description": "结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)",
  9386. "name": "enddate",
  9387. "in": "query",
  9388. "required": true
  9389. },
  9390. {
  9391. "type": "integer",
  9392. "description": "商品分类",
  9393. "name": "zscategory",
  9394. "in": "query"
  9395. },
  9396. {
  9397. "type": "integer",
  9398. "description": "商品币种",
  9399. "name": "zscurrencytype",
  9400. "in": "query"
  9401. }
  9402. ],
  9403. "responses": {
  9404. "200": {
  9405. "description": "OK",
  9406. "schema": {
  9407. "type": "array",
  9408. "items": {
  9409. "$ref": "#/definitions/models.Reckongzmemtradesum"
  9410. }
  9411. }
  9412. },
  9413. "500": {
  9414. "description": "Internal Server Error",
  9415. "schema": {
  9416. "$ref": "#/definitions/app.Response"
  9417. }
  9418. }
  9419. }
  9420. }
  9421. },
  9422. "/Guangzuan/QueryWRPositionReport": {
  9423. "get": {
  9424. "security": [
  9425. {
  9426. "ApiKeyAuth": []
  9427. },
  9428. {
  9429. "LoginID": []
  9430. },
  9431. {
  9432. "Group": []
  9433. }
  9434. ],
  9435. "produces": [
  9436. "application/json"
  9437. ],
  9438. "tags": [
  9439. "广钻"
  9440. ],
  9441. "summary": "查询仓储报表",
  9442. "parameters": [
  9443. {
  9444. "type": "integer",
  9445. "description": "用户ID",
  9446. "name": "userid",
  9447. "in": "query",
  9448. "required": true
  9449. },
  9450. {
  9451. "type": "integer",
  9452. "description": "页码",
  9453. "name": "page",
  9454. "in": "query"
  9455. },
  9456. {
  9457. "type": "integer",
  9458. "description": "每页条数",
  9459. "name": "pagesize",
  9460. "in": "query"
  9461. },
  9462. {
  9463. "type": "string",
  9464. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)",
  9465. "name": "cycletype",
  9466. "in": "query"
  9467. },
  9468. {
  9469. "type": "string",
  9470. "description": "开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)",
  9471. "name": "begindate",
  9472. "in": "query",
  9473. "required": true
  9474. },
  9475. {
  9476. "type": "string",
  9477. "description": "结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)",
  9478. "name": "enddate",
  9479. "in": "query",
  9480. "required": true
  9481. },
  9482. {
  9483. "type": "integer",
  9484. "description": "商品分类",
  9485. "name": "zscategory",
  9486. "in": "query"
  9487. },
  9488. {
  9489. "type": "integer",
  9490. "description": "商品币种",
  9491. "name": "zscurrencytype",
  9492. "in": "query"
  9493. }
  9494. ],
  9495. "responses": {
  9496. "200": {
  9497. "description": "OK",
  9498. "schema": {
  9499. "type": "array",
  9500. "items": {
  9501. "$ref": "#/definitions/models.WRPositionReport"
  9502. }
  9503. }
  9504. },
  9505. "500": {
  9506. "description": "Internal Server Error",
  9507. "schema": {
  9508. "$ref": "#/definitions/app.Response"
  9509. }
  9510. }
  9511. }
  9512. }
  9513. },
  9514. "/Guangzuan/QueryWarehouseInfo": {
  9515. "get": {
  9516. "security": [
  9517. {
  9518. "ApiKeyAuth": []
  9519. },
  9520. {
  9521. "LoginID": []
  9522. },
  9523. {
  9524. "Group": []
  9525. }
  9526. ],
  9527. "produces": [
  9528. "application/json"
  9529. ],
  9530. "tags": [
  9531. "广钻"
  9532. ],
  9533. "summary": "查询仓库信息",
  9534. "parameters": [
  9535. {
  9536. "type": "integer",
  9537. "description": "页码",
  9538. "name": "page",
  9539. "in": "query"
  9540. },
  9541. {
  9542. "type": "integer",
  9543. "description": "每页条数",
  9544. "name": "pagesize",
  9545. "in": "query"
  9546. },
  9547. {
  9548. "type": "integer",
  9549. "description": "用户ID",
  9550. "name": "userid",
  9551. "in": "query",
  9552. "required": true
  9553. },
  9554. {
  9555. "type": "string",
  9556. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  9557. "name": "status",
  9558. "in": "query"
  9559. },
  9560. {
  9561. "type": "boolean",
  9562. "description": "是返回交易所仓库",
  9563. "name": "isincludeexchange",
  9564. "in": "query"
  9565. }
  9566. ],
  9567. "responses": {
  9568. "200": {
  9569. "description": "OK",
  9570. "schema": {
  9571. "type": "array",
  9572. "items": {
  9573. "$ref": "#/definitions/models.GZWarehouseinfo"
  9574. }
  9575. }
  9576. },
  9577. "500": {
  9578. "description": "Internal Server Error",
  9579. "schema": {
  9580. "$ref": "#/definitions/app.Response"
  9581. }
  9582. }
  9583. }
  9584. }
  9585. },
  9586. "/Market/GetAllExExchanges": {
  9587. "get": {
  9588. "security": [
  9589. {
  9590. "ApiKeyAuth": []
  9591. }
  9592. ],
  9593. "produces": [
  9594. "application/json"
  9595. ],
  9596. "tags": [
  9597. "通用市场"
  9598. ],
  9599. "summary": "获取所有外部交易所信息",
  9600. "responses": {
  9601. "200": {
  9602. "description": "OK",
  9603. "schema": {
  9604. "$ref": "#/definitions/models.Goods"
  9605. }
  9606. },
  9607. "500": {
  9608. "description": "Internal Server Error",
  9609. "schema": {
  9610. "$ref": "#/definitions/app.Response"
  9611. }
  9612. }
  9613. }
  9614. }
  9615. },
  9616. "/Market/QueryGoodsesByLoginID": {
  9617. "get": {
  9618. "security": [
  9619. {
  9620. "ApiKeyAuth": []
  9621. }
  9622. ],
  9623. "produces": [
  9624. "application/json"
  9625. ],
  9626. "tags": [
  9627. "通用市场"
  9628. ],
  9629. "summary": "获取登录账号有权限的商品信息",
  9630. "parameters": [
  9631. {
  9632. "type": "integer",
  9633. "description": "登录账号",
  9634. "name": "loginID",
  9635. "in": "query",
  9636. "required": true
  9637. },
  9638. {
  9639. "type": "string",
  9640. "description": "市场ID列表,格式:1,2,3",
  9641. "name": "marketIDs",
  9642. "in": "query"
  9643. }
  9644. ],
  9645. "responses": {
  9646. "200": {
  9647. "description": "OK",
  9648. "schema": {
  9649. "$ref": "#/definitions/models.Goods"
  9650. }
  9651. },
  9652. "500": {
  9653. "description": "Internal Server Error",
  9654. "schema": {
  9655. "$ref": "#/definitions/app.Response"
  9656. }
  9657. }
  9658. }
  9659. }
  9660. },
  9661. "/Market/QueryMarketRun": {
  9662. "get": {
  9663. "security": [
  9664. {
  9665. "ApiKeyAuth": []
  9666. }
  9667. ],
  9668. "produces": [
  9669. "application/json"
  9670. ],
  9671. "tags": [
  9672. "通用市场"
  9673. ],
  9674. "summary": "查询市场运行信息",
  9675. "parameters": [
  9676. {
  9677. "type": "integer",
  9678. "description": "市场ID,不传返回所有",
  9679. "name": "marketID",
  9680. "in": "query"
  9681. }
  9682. ],
  9683. "responses": {
  9684. "200": {
  9685. "description": "OK",
  9686. "schema": {
  9687. "$ref": "#/definitions/models.Marketrun"
  9688. }
  9689. },
  9690. "500": {
  9691. "description": "Internal Server Error",
  9692. "schema": {
  9693. "$ref": "#/definitions/app.Response"
  9694. }
  9695. }
  9696. }
  9697. }
  9698. },
  9699. "/Market/QueryMarketsByLoginID": {
  9700. "get": {
  9701. "security": [
  9702. {
  9703. "ApiKeyAuth": []
  9704. }
  9705. ],
  9706. "produces": [
  9707. "application/json"
  9708. ],
  9709. "tags": [
  9710. "通用市场"
  9711. ],
  9712. "summary": "获取登录账号有权限的市场信息",
  9713. "parameters": [
  9714. {
  9715. "type": "integer",
  9716. "description": "登录账号",
  9717. "name": "loginID",
  9718. "in": "query",
  9719. "required": true
  9720. }
  9721. ],
  9722. "responses": {
  9723. "200": {
  9724. "description": "OK",
  9725. "schema": {
  9726. "$ref": "#/definitions/models.Market"
  9727. }
  9728. },
  9729. "500": {
  9730. "description": "Internal Server Error",
  9731. "schema": {
  9732. "$ref": "#/definitions/app.Response"
  9733. }
  9734. }
  9735. }
  9736. }
  9737. },
  9738. "/Order/QueryHisTradeDetail": {
  9739. "get": {
  9740. "security": [
  9741. {
  9742. "ApiKeyAuth": []
  9743. }
  9744. ],
  9745. "produces": [
  9746. "application/json"
  9747. ],
  9748. "tags": [
  9749. "通用单据"
  9750. ],
  9751. "summary": "历史成交单查询(合约市场)",
  9752. "parameters": [
  9753. {
  9754. "type": "string",
  9755. "description": "资金账户 - 格式:1,2,3",
  9756. "name": "accountID",
  9757. "in": "query",
  9758. "required": true
  9759. },
  9760. {
  9761. "type": "integer",
  9762. "description": "成交单号",
  9763. "name": "tradeID",
  9764. "in": "query"
  9765. },
  9766. {
  9767. "type": "integer",
  9768. "description": "委托单号",
  9769. "name": "orderID",
  9770. "in": "query"
  9771. },
  9772. {
  9773. "type": "integer",
  9774. "description": "商品ID",
  9775. "name": "goodsID",
  9776. "in": "query"
  9777. },
  9778. {
  9779. "type": "string",
  9780. "description": "交易模式 - 格式:1,2,3",
  9781. "name": "tradeMode",
  9782. "in": "query"
  9783. },
  9784. {
  9785. "type": "integer",
  9786. "description": "委托单据类型",
  9787. "name": "buildType",
  9788. "in": "query"
  9789. },
  9790. {
  9791. "type": "string",
  9792. "description": "成交类别 - 格式:1,2,3",
  9793. "name": "tradeType",
  9794. "in": "query"
  9795. },
  9796. {
  9797. "type": "string",
  9798. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  9799. "name": "startDate",
  9800. "in": "query"
  9801. },
  9802. {
  9803. "type": "string",
  9804. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  9805. "name": "endDate",
  9806. "in": "query"
  9807. }
  9808. ],
  9809. "responses": {
  9810. "200": {
  9811. "description": "OK",
  9812. "schema": {
  9813. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  9814. }
  9815. },
  9816. "500": {
  9817. "description": "Internal Server Error",
  9818. "schema": {
  9819. "$ref": "#/definitions/app.Response"
  9820. }
  9821. }
  9822. }
  9823. }
  9824. },
  9825. "/Order/QueryHisTradeOrderDetail": {
  9826. "get": {
  9827. "security": [
  9828. {
  9829. "ApiKeyAuth": []
  9830. }
  9831. ],
  9832. "produces": [
  9833. "application/json"
  9834. ],
  9835. "tags": [
  9836. "通用单据"
  9837. ],
  9838. "summary": "历史委托单查询请求(合约市场)",
  9839. "parameters": [
  9840. {
  9841. "type": "string",
  9842. "description": "资金账户 - 格式:1,2,3",
  9843. "name": "accountID",
  9844. "in": "query",
  9845. "required": true
  9846. },
  9847. {
  9848. "type": "string",
  9849. "description": "交易模式 - 格式:1,2,3",
  9850. "name": "tradeMode",
  9851. "in": "query"
  9852. },
  9853. {
  9854. "type": "string",
  9855. "description": "委托状态 - 格式:1,2,3",
  9856. "name": "orderStatus",
  9857. "in": "query"
  9858. },
  9859. {
  9860. "type": "integer",
  9861. "description": "委托单号",
  9862. "name": "orderID",
  9863. "in": "query"
  9864. },
  9865. {
  9866. "type": "string",
  9867. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  9868. "name": "startDate",
  9869. "in": "query"
  9870. },
  9871. {
  9872. "type": "string",
  9873. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  9874. "name": "endDate",
  9875. "in": "query"
  9876. }
  9877. ],
  9878. "responses": {
  9879. "200": {
  9880. "description": "OK",
  9881. "schema": {
  9882. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  9883. }
  9884. },
  9885. "500": {
  9886. "description": "Internal Server Error",
  9887. "schema": {
  9888. "$ref": "#/definitions/app.Response"
  9889. }
  9890. }
  9891. }
  9892. }
  9893. },
  9894. "/Order/QueryTradeDetail": {
  9895. "get": {
  9896. "security": [
  9897. {
  9898. "ApiKeyAuth": []
  9899. }
  9900. ],
  9901. "produces": [
  9902. "application/json"
  9903. ],
  9904. "tags": [
  9905. "通用单据"
  9906. ],
  9907. "summary": "成交单查询(合约市场)",
  9908. "parameters": [
  9909. {
  9910. "type": "string",
  9911. "description": "资金账户 - 格式:1,2,3",
  9912. "name": "accountID",
  9913. "in": "query",
  9914. "required": true
  9915. },
  9916. {
  9917. "type": "integer",
  9918. "description": "成交单号",
  9919. "name": "tradeID",
  9920. "in": "query"
  9921. },
  9922. {
  9923. "type": "integer",
  9924. "description": "委托单号",
  9925. "name": "orderID",
  9926. "in": "query"
  9927. },
  9928. {
  9929. "type": "string",
  9930. "description": "交易模式 - 格式:1,2,3",
  9931. "name": "tradeMode",
  9932. "in": "query"
  9933. },
  9934. {
  9935. "type": "integer",
  9936. "description": "委托单据类型",
  9937. "name": "buildType",
  9938. "in": "query"
  9939. },
  9940. {
  9941. "type": "string",
  9942. "description": "成交类别 - 格式:1,2,3",
  9943. "name": "tradeType",
  9944. "in": "query"
  9945. },
  9946. {
  9947. "type": "integer",
  9948. "description": "商品ID",
  9949. "name": "goodsID",
  9950. "in": "query"
  9951. }
  9952. ],
  9953. "responses": {
  9954. "200": {
  9955. "description": "OK",
  9956. "schema": {
  9957. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  9958. }
  9959. },
  9960. "500": {
  9961. "description": "Internal Server Error",
  9962. "schema": {
  9963. "$ref": "#/definitions/app.Response"
  9964. }
  9965. }
  9966. }
  9967. }
  9968. },
  9969. "/Order/QueryTradeHolderDetail": {
  9970. "get": {
  9971. "security": [
  9972. {
  9973. "ApiKeyAuth": []
  9974. }
  9975. ],
  9976. "produces": [
  9977. "application/json"
  9978. ],
  9979. "tags": [
  9980. "通用单据"
  9981. ],
  9982. "summary": "查询持仓明细",
  9983. "parameters": [
  9984. {
  9985. "type": "integer",
  9986. "description": "用户id",
  9987. "name": "userid",
  9988. "in": "query"
  9989. },
  9990. {
  9991. "type": "string",
  9992. "description": "资金账号, 格式 1,2,3",
  9993. "name": "accids",
  9994. "in": "query"
  9995. },
  9996. {
  9997. "type": "string",
  9998. "description": "交易模式, 格式 1,2,3",
  9999. "name": "trademodes",
  10000. "in": "query"
  10001. },
  10002. {
  10003. "type": "string",
  10004. "description": "市场id, 格式 1,2,3",
  10005. "name": "marketids",
  10006. "in": "query"
  10007. },
  10008. {
  10009. "type": "integer",
  10010. "description": "商品id",
  10011. "name": "goodsid",
  10012. "in": "query"
  10013. },
  10014. {
  10015. "type": "integer",
  10016. "description": "买卖方向 0-买 1-卖",
  10017. "name": "buyorsell",
  10018. "in": "query"
  10019. }
  10020. ],
  10021. "responses": {
  10022. "200": {
  10023. "description": "OK",
  10024. "schema": {
  10025. "type": "array",
  10026. "items": {
  10027. "$ref": "#/definitions/models.TradeHolderDetail"
  10028. }
  10029. }
  10030. },
  10031. "500": {
  10032. "description": "Internal Server Error",
  10033. "schema": {
  10034. "$ref": "#/definitions/app.Response"
  10035. }
  10036. }
  10037. }
  10038. }
  10039. },
  10040. "/Order/QueryTradeOrderDetail": {
  10041. "get": {
  10042. "security": [
  10043. {
  10044. "ApiKeyAuth": []
  10045. }
  10046. ],
  10047. "produces": [
  10048. "application/json"
  10049. ],
  10050. "tags": [
  10051. "通用单据"
  10052. ],
  10053. "summary": "委托单查询请求(合约市场)",
  10054. "parameters": [
  10055. {
  10056. "type": "string",
  10057. "description": "资金账户 - 格式:1,2,3",
  10058. "name": "accountID",
  10059. "in": "query",
  10060. "required": true
  10061. },
  10062. {
  10063. "type": "string",
  10064. "description": "交易模式 - 格式:1,2,3",
  10065. "name": "tradeMode",
  10066. "in": "query"
  10067. },
  10068. {
  10069. "type": "string",
  10070. "description": "委托状态 - 格式:1,2,3",
  10071. "name": "orderStatus",
  10072. "in": "query"
  10073. },
  10074. {
  10075. "type": "integer",
  10076. "description": "委托单号",
  10077. "name": "orderID",
  10078. "in": "query"
  10079. }
  10080. ],
  10081. "responses": {
  10082. "200": {
  10083. "description": "OK",
  10084. "schema": {
  10085. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  10086. }
  10087. },
  10088. "500": {
  10089. "description": "Internal Server Error",
  10090. "schema": {
  10091. "$ref": "#/definitions/app.Response"
  10092. }
  10093. }
  10094. }
  10095. }
  10096. },
  10097. "/Order/QueryTradePosition": {
  10098. "get": {
  10099. "security": [
  10100. {
  10101. "ApiKeyAuth": []
  10102. }
  10103. ],
  10104. "produces": [
  10105. "application/json"
  10106. ],
  10107. "tags": [
  10108. "通用单据"
  10109. ],
  10110. "summary": "持仓汇总查询(合约市场)",
  10111. "parameters": [
  10112. {
  10113. "type": "string",
  10114. "description": "资金账户 - 格式:1,2,3",
  10115. "name": "accountID",
  10116. "in": "query",
  10117. "required": true
  10118. },
  10119. {
  10120. "type": "string",
  10121. "description": "交易模式 - 格式:1,2,3",
  10122. "name": "tradeMode",
  10123. "in": "query"
  10124. }
  10125. ],
  10126. "responses": {
  10127. "200": {
  10128. "description": "OK",
  10129. "schema": {
  10130. "$ref": "#/definitions/order.QueryTradePositionRsp"
  10131. }
  10132. },
  10133. "500": {
  10134. "description": "Internal Server Error",
  10135. "schema": {
  10136. "$ref": "#/definitions/app.Response"
  10137. }
  10138. }
  10139. }
  10140. }
  10141. },
  10142. "/Qhj/QueryAccountInOutApply": {
  10143. "get": {
  10144. "security": [
  10145. {
  10146. "ApiKeyAuth": []
  10147. }
  10148. ],
  10149. "produces": [
  10150. "application/json"
  10151. ],
  10152. "tags": [
  10153. "大连千海金"
  10154. ],
  10155. "summary": "查询充值提现",
  10156. "parameters": [
  10157. {
  10158. "type": "integer",
  10159. "description": "用户ID",
  10160. "name": "userid",
  10161. "in": "query",
  10162. "required": true
  10163. },
  10164. {
  10165. "type": "string",
  10166. "description": "申请起始日期(格式yyyymmdd)",
  10167. "name": "begindate",
  10168. "in": "query"
  10169. },
  10170. {
  10171. "type": "string",
  10172. "description": "申请截止日期(格式yyyymmdd)",
  10173. "name": "enddate",
  10174. "in": "query"
  10175. },
  10176. {
  10177. "type": "string",
  10178. "description": "模糊搜索名称",
  10179. "name": "likename",
  10180. "in": "query"
  10181. },
  10182. {
  10183. "type": "integer",
  10184. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  10185. "name": "applystatus",
  10186. "in": "query"
  10187. },
  10188. {
  10189. "type": "integer",
  10190. "description": "查询类型 1-提现(出金) 2-充值(入金)",
  10191. "name": "querytype",
  10192. "in": "query"
  10193. }
  10194. ],
  10195. "responses": {
  10196. "200": {
  10197. "description": "OK",
  10198. "schema": {
  10199. "type": "array",
  10200. "items": {
  10201. "$ref": "#/definitions/models.QhjAccountOutInApply"
  10202. }
  10203. }
  10204. },
  10205. "500": {
  10206. "description": "Internal Server Error",
  10207. "schema": {
  10208. "$ref": "#/definitions/app.Response"
  10209. }
  10210. }
  10211. }
  10212. }
  10213. },
  10214. "/Qhj/QueryAreaFinanceConfig": {
  10215. "get": {
  10216. "security": [
  10217. {
  10218. "ApiKeyAuth": []
  10219. }
  10220. ],
  10221. "produces": [
  10222. "application/json"
  10223. ],
  10224. "tags": [
  10225. "大连千海金"
  10226. ],
  10227. "summary": "查询企业配置表",
  10228. "parameters": [
  10229. {
  10230. "type": "integer",
  10231. "description": "机构用户ID 其他做市关系,都设置为 1",
  10232. "name": "userid",
  10233. "in": "query"
  10234. }
  10235. ],
  10236. "responses": {
  10237. "200": {
  10238. "description": "OK",
  10239. "schema": {
  10240. "type": "array",
  10241. "items": {
  10242. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  10243. }
  10244. }
  10245. },
  10246. "500": {
  10247. "description": "Internal Server Error",
  10248. "schema": {
  10249. "$ref": "#/definitions/app.Response"
  10250. }
  10251. }
  10252. }
  10253. }
  10254. },
  10255. "/Qhj/QueryBankAccountSign": {
  10256. "get": {
  10257. "security": [
  10258. {
  10259. "ApiKeyAuth": []
  10260. }
  10261. ],
  10262. "produces": [
  10263. "application/json"
  10264. ],
  10265. "tags": [
  10266. "大连千海金"
  10267. ],
  10268. "summary": "查询签约银行信息(提现账户管理)",
  10269. "parameters": [
  10270. {
  10271. "type": "integer",
  10272. "description": "用户ID",
  10273. "name": "userid",
  10274. "in": "query",
  10275. "required": true
  10276. }
  10277. ],
  10278. "responses": {
  10279. "200": {
  10280. "description": "OK",
  10281. "schema": {
  10282. "type": "array",
  10283. "items": {
  10284. "$ref": "#/definitions/models.QhjBankAccountSign"
  10285. }
  10286. }
  10287. },
  10288. "500": {
  10289. "description": "Internal Server Error",
  10290. "schema": {
  10291. "$ref": "#/definitions/app.Response"
  10292. }
  10293. }
  10294. }
  10295. }
  10296. },
  10297. "/Qhj/QueryBankInfo": {
  10298. "get": {
  10299. "security": [
  10300. {
  10301. "ApiKeyAuth": []
  10302. }
  10303. ],
  10304. "produces": [
  10305. "application/json"
  10306. ],
  10307. "tags": [
  10308. "大连千海金"
  10309. ],
  10310. "summary": "查询开户行",
  10311. "responses": {
  10312. "200": {
  10313. "description": "OK",
  10314. "schema": {
  10315. "type": "array",
  10316. "items": {
  10317. "$ref": "#/definitions/models.QhjBankInfo"
  10318. }
  10319. }
  10320. },
  10321. "500": {
  10322. "description": "Internal Server Error",
  10323. "schema": {
  10324. "$ref": "#/definitions/app.Response"
  10325. }
  10326. }
  10327. }
  10328. }
  10329. },
  10330. "/Qhj/QueryBrokerApply": {
  10331. "get": {
  10332. "security": [
  10333. {
  10334. "ApiKeyAuth": []
  10335. }
  10336. ],
  10337. "produces": [
  10338. "application/json"
  10339. ],
  10340. "tags": [
  10341. "大连千海金"
  10342. ],
  10343. "summary": "查询经纪人申请",
  10344. "parameters": [
  10345. {
  10346. "type": "integer",
  10347. "description": "所属机构ID",
  10348. "name": "userid",
  10349. "in": "query"
  10350. },
  10351. {
  10352. "type": "string",
  10353. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10354. "name": "filterstatus",
  10355. "in": "query"
  10356. }
  10357. ],
  10358. "responses": {
  10359. "200": {
  10360. "description": "OK",
  10361. "schema": {
  10362. "type": "array",
  10363. "items": {
  10364. "$ref": "#/definitions/models.QhjBrokerApply"
  10365. }
  10366. }
  10367. },
  10368. "500": {
  10369. "description": "Internal Server Error",
  10370. "schema": {
  10371. "$ref": "#/definitions/app.Response"
  10372. }
  10373. }
  10374. }
  10375. }
  10376. },
  10377. "/Qhj/QueryBrokerApplyEx": {
  10378. "get": {
  10379. "security": [
  10380. {
  10381. "ApiKeyAuth": []
  10382. }
  10383. ],
  10384. "produces": [
  10385. "application/json"
  10386. ],
  10387. "tags": [
  10388. "大连千海金"
  10389. ],
  10390. "summary": "查询经纪人信息和申请记录",
  10391. "parameters": [
  10392. {
  10393. "type": "integer",
  10394. "description": "所属机构ID",
  10395. "name": "userid",
  10396. "in": "query"
  10397. }
  10398. ],
  10399. "responses": {
  10400. "200": {
  10401. "description": "OK",
  10402. "schema": {
  10403. "type": "array",
  10404. "items": {
  10405. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  10406. }
  10407. }
  10408. },
  10409. "500": {
  10410. "description": "Internal Server Error",
  10411. "schema": {
  10412. "$ref": "#/definitions/app.Response"
  10413. }
  10414. }
  10415. }
  10416. }
  10417. },
  10418. "/Qhj/QueryBrokerRewardLog": {
  10419. "get": {
  10420. "security": [
  10421. {
  10422. "ApiKeyAuth": []
  10423. }
  10424. ],
  10425. "produces": [
  10426. "application/json"
  10427. ],
  10428. "tags": [
  10429. "大连千海金"
  10430. ],
  10431. "summary": "查询奖励流水(我的奖励)",
  10432. "parameters": [
  10433. {
  10434. "type": "integer",
  10435. "description": "用户ID",
  10436. "name": "userid",
  10437. "in": "query",
  10438. "required": true
  10439. },
  10440. {
  10441. "type": "string",
  10442. "description": "开始交易日(yyyymmdd)",
  10443. "name": "begindate",
  10444. "in": "query"
  10445. },
  10446. {
  10447. "type": "string",
  10448. "description": "结束交易日(yyyymmdd)",
  10449. "name": "enddate",
  10450. "in": "query"
  10451. }
  10452. ],
  10453. "responses": {
  10454. "200": {
  10455. "description": "OK",
  10456. "schema": {
  10457. "type": "array",
  10458. "items": {
  10459. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  10460. }
  10461. }
  10462. },
  10463. "500": {
  10464. "description": "Internal Server Error",
  10465. "schema": {
  10466. "$ref": "#/definitions/app.Response"
  10467. }
  10468. }
  10469. }
  10470. }
  10471. },
  10472. "/Qhj/QueryContract": {
  10473. "get": {
  10474. "security": [
  10475. {
  10476. "ApiKeyAuth": []
  10477. }
  10478. ],
  10479. "produces": [
  10480. "application/json"
  10481. ],
  10482. "tags": [
  10483. "大连千海金"
  10484. ],
  10485. "summary": "查询融资明细(合同)",
  10486. "parameters": [
  10487. {
  10488. "type": "integer",
  10489. "description": "用户ID",
  10490. "name": "userid",
  10491. "in": "query"
  10492. },
  10493. {
  10494. "type": "integer",
  10495. "description": "scf合同id",
  10496. "name": "scfcontractid",
  10497. "in": "query"
  10498. }
  10499. ],
  10500. "responses": {
  10501. "200": {
  10502. "description": "OK",
  10503. "schema": {
  10504. "type": "array",
  10505. "items": {
  10506. "$ref": "#/definitions/models.QhjContract"
  10507. }
  10508. }
  10509. },
  10510. "500": {
  10511. "description": "Internal Server Error",
  10512. "schema": {
  10513. "$ref": "#/definitions/app.Response"
  10514. }
  10515. }
  10516. }
  10517. }
  10518. },
  10519. "/Qhj/QueryContractLog": {
  10520. "get": {
  10521. "security": [
  10522. {
  10523. "ApiKeyAuth": []
  10524. }
  10525. ],
  10526. "produces": [
  10527. "application/json"
  10528. ],
  10529. "tags": [
  10530. "大连千海金"
  10531. ],
  10532. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  10533. "parameters": [
  10534. {
  10535. "type": "integer",
  10536. "description": "scf合同id",
  10537. "name": "scfcontractid",
  10538. "in": "query",
  10539. "required": true
  10540. },
  10541. {
  10542. "type": "string",
  10543. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  10544. "name": "amounttype",
  10545. "in": "query"
  10546. }
  10547. ],
  10548. "responses": {
  10549. "200": {
  10550. "description": "OK",
  10551. "schema": {
  10552. "type": "array",
  10553. "items": {
  10554. "$ref": "#/definitions/models.QhjContractLog"
  10555. }
  10556. }
  10557. },
  10558. "500": {
  10559. "description": "Internal Server Error",
  10560. "schema": {
  10561. "$ref": "#/definitions/app.Response"
  10562. }
  10563. }
  10564. }
  10565. }
  10566. },
  10567. "/Qhj/QueryCusBankSignBank": {
  10568. "get": {
  10569. "security": [
  10570. {
  10571. "ApiKeyAuth": []
  10572. }
  10573. ],
  10574. "produces": [
  10575. "application/json"
  10576. ],
  10577. "tags": [
  10578. "大连千海金"
  10579. ],
  10580. "summary": "查询托管银行",
  10581. "responses": {
  10582. "200": {
  10583. "description": "OK",
  10584. "schema": {
  10585. "type": "array",
  10586. "items": {
  10587. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  10588. }
  10589. }
  10590. },
  10591. "500": {
  10592. "description": "Internal Server Error",
  10593. "schema": {
  10594. "$ref": "#/definitions/app.Response"
  10595. }
  10596. }
  10597. }
  10598. }
  10599. },
  10600. "/Qhj/QueryCustomerInfo": {
  10601. "get": {
  10602. "security": [
  10603. {
  10604. "ApiKeyAuth": []
  10605. }
  10606. ],
  10607. "produces": [
  10608. "application/json"
  10609. ],
  10610. "tags": [
  10611. "大连千海金"
  10612. ],
  10613. "summary": "查询客户资料",
  10614. "parameters": [
  10615. {
  10616. "type": "integer",
  10617. "description": "用户ID",
  10618. "name": "userid",
  10619. "in": "query",
  10620. "required": true
  10621. },
  10622. {
  10623. "type": "integer",
  10624. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  10625. "name": "querytype",
  10626. "in": "query",
  10627. "required": true
  10628. },
  10629. {
  10630. "type": "integer",
  10631. "description": "客户类型 1-个人 2-企业",
  10632. "name": "userinfotype",
  10633. "in": "query"
  10634. },
  10635. {
  10636. "type": "string",
  10637. "description": "客户名称(模糊匹配)",
  10638. "name": "customername",
  10639. "in": "query"
  10640. },
  10641. {
  10642. "type": "string",
  10643. "description": "昵称(模糊匹配)",
  10644. "name": "nickname",
  10645. "in": "query"
  10646. },
  10647. {
  10648. "type": "integer",
  10649. "description": "是否包含子级 1-包含",
  10650. "name": "includesub",
  10651. "in": "query"
  10652. }
  10653. ],
  10654. "responses": {
  10655. "200": {
  10656. "description": "OK",
  10657. "schema": {
  10658. "type": "array",
  10659. "items": {
  10660. "$ref": "#/definitions/models.QhjCustomer"
  10661. }
  10662. }
  10663. },
  10664. "500": {
  10665. "description": "Internal Server Error",
  10666. "schema": {
  10667. "$ref": "#/definitions/app.Response"
  10668. }
  10669. }
  10670. }
  10671. }
  10672. },
  10673. "/Qhj/QueryGoodsEx": {
  10674. "get": {
  10675. "security": [
  10676. {
  10677. "ApiKeyAuth": []
  10678. }
  10679. ],
  10680. "produces": [
  10681. "application/json"
  10682. ],
  10683. "tags": [
  10684. "大连千海金"
  10685. ],
  10686. "summary": "交易商品扩展表",
  10687. "parameters": [
  10688. {
  10689. "type": "integer",
  10690. "description": "商品id",
  10691. "name": "goodsid",
  10692. "in": "query"
  10693. }
  10694. ],
  10695. "responses": {
  10696. "200": {
  10697. "description": "OK",
  10698. "schema": {
  10699. "type": "array",
  10700. "items": {
  10701. "$ref": "#/definitions/models.Qhjgoodsex"
  10702. }
  10703. }
  10704. },
  10705. "500": {
  10706. "description": "Internal Server Error",
  10707. "schema": {
  10708. "$ref": "#/definitions/app.Response"
  10709. }
  10710. }
  10711. }
  10712. }
  10713. },
  10714. "/Qhj/QueryMyTeam": {
  10715. "get": {
  10716. "security": [
  10717. {
  10718. "ApiKeyAuth": []
  10719. }
  10720. ],
  10721. "produces": [
  10722. "application/json"
  10723. ],
  10724. "tags": [
  10725. "大连千海金"
  10726. ],
  10727. "summary": "查询我的团队",
  10728. "parameters": [
  10729. {
  10730. "type": "integer",
  10731. "description": "用户ID",
  10732. "name": "userid",
  10733. "in": "query",
  10734. "required": true
  10735. }
  10736. ],
  10737. "responses": {
  10738. "200": {
  10739. "description": "OK",
  10740. "schema": {
  10741. "type": "array",
  10742. "items": {
  10743. "$ref": "#/definitions/models.QhjMyTeamEx"
  10744. }
  10745. }
  10746. },
  10747. "500": {
  10748. "description": "Internal Server Error",
  10749. "schema": {
  10750. "$ref": "#/definitions/app.Response"
  10751. }
  10752. }
  10753. }
  10754. }
  10755. },
  10756. "/Qhj/QueryMyTeamOrder": {
  10757. "get": {
  10758. "security": [
  10759. {
  10760. "ApiKeyAuth": []
  10761. }
  10762. ],
  10763. "produces": [
  10764. "application/json"
  10765. ],
  10766. "tags": [
  10767. "大连千海金"
  10768. ],
  10769. "summary": "查询团队订单(我的团队/团队订单)",
  10770. "parameters": [
  10771. {
  10772. "type": "integer",
  10773. "description": "页码",
  10774. "name": "page",
  10775. "in": "query"
  10776. },
  10777. {
  10778. "type": "integer",
  10779. "description": "每页条数",
  10780. "name": "pagesize",
  10781. "in": "query"
  10782. },
  10783. {
  10784. "type": "integer",
  10785. "description": "用户ID",
  10786. "name": "userid",
  10787. "in": "query",
  10788. "required": true
  10789. },
  10790. {
  10791. "type": "integer",
  10792. "description": "交易模式",
  10793. "name": "trademode",
  10794. "in": "query"
  10795. },
  10796. {
  10797. "type": "string",
  10798. "description": "名称(模糊搜索账户)",
  10799. "name": "filtername",
  10800. "in": "query"
  10801. }
  10802. ],
  10803. "responses": {
  10804. "200": {
  10805. "description": "OK",
  10806. "schema": {
  10807. "type": "array",
  10808. "items": {
  10809. "$ref": "#/definitions/models.QhjTeamOrder"
  10810. }
  10811. }
  10812. },
  10813. "500": {
  10814. "description": "Internal Server Error",
  10815. "schema": {
  10816. "$ref": "#/definitions/app.Response"
  10817. }
  10818. }
  10819. }
  10820. }
  10821. },
  10822. "/Qhj/QueryParentAreaList": {
  10823. "get": {
  10824. "security": [
  10825. {
  10826. "ApiKeyAuth": []
  10827. }
  10828. ],
  10829. "produces": [
  10830. "application/json"
  10831. ],
  10832. "tags": [
  10833. "大连千海金"
  10834. ],
  10835. "summary": "查询所属机构列表",
  10836. "parameters": [
  10837. {
  10838. "type": "integer",
  10839. "description": "用户ID",
  10840. "name": "userid",
  10841. "in": "query",
  10842. "required": true
  10843. }
  10844. ],
  10845. "responses": {
  10846. "200": {
  10847. "description": "OK",
  10848. "schema": {
  10849. "type": "array",
  10850. "items": {
  10851. "$ref": "#/definitions/models.QhjParentAreaList"
  10852. }
  10853. }
  10854. },
  10855. "500": {
  10856. "description": "Internal Server Error",
  10857. "schema": {
  10858. "$ref": "#/definitions/app.Response"
  10859. }
  10860. }
  10861. }
  10862. }
  10863. },
  10864. "/Qhj/QueryPayOrder": {
  10865. "get": {
  10866. "security": [
  10867. {
  10868. "ApiKeyAuth": []
  10869. }
  10870. ],
  10871. "produces": [
  10872. "application/json"
  10873. ],
  10874. "tags": [
  10875. "大连千海金"
  10876. ],
  10877. "summary": "查询待付款单据",
  10878. "parameters": [
  10879. {
  10880. "type": "integer",
  10881. "description": "资金账号id",
  10882. "name": "accountid",
  10883. "in": "query",
  10884. "required": true
  10885. },
  10886. {
  10887. "type": "integer",
  10888. "description": "成交单号",
  10889. "name": "tradeid",
  10890. "in": "query"
  10891. },
  10892. {
  10893. "type": "string",
  10894. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  10895. "name": "payflag",
  10896. "in": "query"
  10897. }
  10898. ],
  10899. "responses": {
  10900. "200": {
  10901. "description": "OK",
  10902. "schema": {
  10903. "type": "array",
  10904. "items": {
  10905. "$ref": "#/definitions/models.QhjPayOrder"
  10906. }
  10907. }
  10908. },
  10909. "500": {
  10910. "description": "Internal Server Error",
  10911. "schema": {
  10912. "$ref": "#/definitions/app.Response"
  10913. }
  10914. }
  10915. }
  10916. }
  10917. },
  10918. "/Qhj/QueryPickArea": {
  10919. "get": {
  10920. "security": [
  10921. {
  10922. "ApiKeyAuth": []
  10923. }
  10924. ],
  10925. "produces": [
  10926. "application/json"
  10927. ],
  10928. "tags": [
  10929. "大连千海金"
  10930. ],
  10931. "summary": "查询提货门店",
  10932. "parameters": [
  10933. {
  10934. "type": "integer",
  10935. "description": "用户ID",
  10936. "name": "userid",
  10937. "in": "query"
  10938. }
  10939. ],
  10940. "responses": {
  10941. "200": {
  10942. "description": "OK",
  10943. "schema": {
  10944. "type": "array",
  10945. "items": {
  10946. "$ref": "#/definitions/models.QhjPickArea"
  10947. }
  10948. }
  10949. },
  10950. "500": {
  10951. "description": "Internal Server Error",
  10952. "schema": {
  10953. "$ref": "#/definitions/app.Response"
  10954. }
  10955. }
  10956. }
  10957. }
  10958. },
  10959. "/Qhj/QueryPickGoods": {
  10960. "get": {
  10961. "security": [
  10962. {
  10963. "ApiKeyAuth": []
  10964. }
  10965. ],
  10966. "produces": [
  10967. "application/json"
  10968. ],
  10969. "tags": [
  10970. "大连千海金"
  10971. ],
  10972. "summary": "查询提货商品",
  10973. "parameters": [
  10974. {
  10975. "type": "integer",
  10976. "description": "交易商品id",
  10977. "name": "goodsid",
  10978. "in": "query",
  10979. "required": true
  10980. },
  10981. {
  10982. "type": "string",
  10983. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  10984. "name": "status",
  10985. "in": "query"
  10986. }
  10987. ],
  10988. "responses": {
  10989. "200": {
  10990. "description": "OK",
  10991. "schema": {
  10992. "type": "array",
  10993. "items": {
  10994. "$ref": "#/definitions/models.QhjPickGoods"
  10995. }
  10996. }
  10997. },
  10998. "500": {
  10999. "description": "Internal Server Error",
  11000. "schema": {
  11001. "$ref": "#/definitions/app.Response"
  11002. }
  11003. }
  11004. }
  11005. }
  11006. },
  11007. "/Qhj/QueryRSTriggerLog": {
  11008. "get": {
  11009. "security": [
  11010. {
  11011. "ApiKeyAuth": []
  11012. }
  11013. ],
  11014. "produces": [
  11015. "application/json"
  11016. ],
  11017. "tags": [
  11018. "大连千海金"
  11019. ],
  11020. "summary": "查询定投记录(定投管理/详情/定投记录)",
  11021. "parameters": [
  11022. {
  11023. "type": "integer",
  11024. "description": "用户ID",
  11025. "name": "userid",
  11026. "in": "query"
  11027. },
  11028. {
  11029. "type": "integer",
  11030. "description": "定投策略id",
  11031. "name": "regularlystrategyid",
  11032. "in": "query"
  11033. },
  11034. {
  11035. "type": "integer",
  11036. "description": "商品id",
  11037. "name": "goodsid",
  11038. "in": "query"
  11039. },
  11040. {
  11041. "type": "string",
  11042. "description": "开始交易日(yyyymmdd)",
  11043. "name": "begindate",
  11044. "in": "query"
  11045. },
  11046. {
  11047. "type": "string",
  11048. "description": "结束交易日(yyyymmdd)",
  11049. "name": "enddate",
  11050. "in": "query"
  11051. },
  11052. {
  11053. "type": "string",
  11054. "description": "名称(模糊搜索账户)",
  11055. "name": "filtername",
  11056. "in": "query"
  11057. }
  11058. ],
  11059. "responses": {
  11060. "200": {
  11061. "description": "OK",
  11062. "schema": {
  11063. "type": "array",
  11064. "items": {
  11065. "$ref": "#/definitions/models.QhjRSTriggerLog"
  11066. }
  11067. }
  11068. },
  11069. "500": {
  11070. "description": "Internal Server Error",
  11071. "schema": {
  11072. "$ref": "#/definitions/app.Response"
  11073. }
  11074. }
  11075. }
  11076. }
  11077. },
  11078. "/Qhj/QueryRStrategy": {
  11079. "get": {
  11080. "security": [
  11081. {
  11082. "ApiKeyAuth": []
  11083. }
  11084. ],
  11085. "produces": [
  11086. "application/json"
  11087. ],
  11088. "tags": [
  11089. "大连千海金"
  11090. ],
  11091. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  11092. "parameters": [
  11093. {
  11094. "type": "integer",
  11095. "description": "用户ID",
  11096. "name": "userid",
  11097. "in": "query"
  11098. },
  11099. {
  11100. "type": "integer",
  11101. "description": "商品id",
  11102. "name": "goodsid",
  11103. "in": "query"
  11104. },
  11105. {
  11106. "type": "string",
  11107. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  11108. "name": "status",
  11109. "in": "query"
  11110. },
  11111. {
  11112. "type": "string",
  11113. "description": "名称(模糊搜索账户)",
  11114. "name": "filtername",
  11115. "in": "query"
  11116. }
  11117. ],
  11118. "responses": {
  11119. "200": {
  11120. "description": "OK",
  11121. "schema": {
  11122. "type": "array",
  11123. "items": {
  11124. "$ref": "#/definitions/models.QhjRStrategy"
  11125. }
  11126. }
  11127. },
  11128. "500": {
  11129. "description": "Internal Server Error",
  11130. "schema": {
  11131. "$ref": "#/definitions/app.Response"
  11132. }
  11133. }
  11134. }
  11135. }
  11136. },
  11137. "/Qhj/QueryReckonPriceLog": {
  11138. "get": {
  11139. "security": [
  11140. {
  11141. "ApiKeyAuth": []
  11142. }
  11143. ],
  11144. "produces": [
  11145. "application/json"
  11146. ],
  11147. "tags": [
  11148. "大连千海金"
  11149. ],
  11150. "summary": "查询定投价(结算价)",
  11151. "parameters": [
  11152. {
  11153. "type": "integer",
  11154. "description": "商品ID",
  11155. "name": "goodsid",
  11156. "in": "query"
  11157. },
  11158. {
  11159. "type": "string",
  11160. "description": "交易日 格式(yyyymmdd)",
  11161. "name": "tradedate",
  11162. "in": "query"
  11163. }
  11164. ],
  11165. "responses": {
  11166. "200": {
  11167. "description": "OK",
  11168. "schema": {
  11169. "type": "array",
  11170. "items": {
  11171. "$ref": "#/definitions/models.QhjReckonPriceLog"
  11172. }
  11173. }
  11174. },
  11175. "500": {
  11176. "description": "Internal Server Error",
  11177. "schema": {
  11178. "$ref": "#/definitions/app.Response"
  11179. }
  11180. }
  11181. }
  11182. }
  11183. },
  11184. "/Qhj/QueryScoreLog": {
  11185. "get": {
  11186. "security": [
  11187. {
  11188. "ApiKeyAuth": []
  11189. }
  11190. ],
  11191. "produces": [
  11192. "application/json"
  11193. ],
  11194. "tags": [
  11195. "大连千海金"
  11196. ],
  11197. "summary": "查询积分流水(我的积分)",
  11198. "parameters": [
  11199. {
  11200. "type": "integer",
  11201. "description": "用户ID",
  11202. "name": "userid",
  11203. "in": "query",
  11204. "required": true
  11205. },
  11206. {
  11207. "type": "string",
  11208. "description": "开始交易日(yyyymmdd)",
  11209. "name": "begindate",
  11210. "in": "query"
  11211. },
  11212. {
  11213. "type": "string",
  11214. "description": "结束交易日(yyyymmdd)",
  11215. "name": "enddate",
  11216. "in": "query"
  11217. },
  11218. {
  11219. "type": "integer",
  11220. "description": "最近多少条",
  11221. "name": "lastnum",
  11222. "in": "query"
  11223. }
  11224. ],
  11225. "responses": {
  11226. "200": {
  11227. "description": "OK",
  11228. "schema": {
  11229. "type": "array",
  11230. "items": {
  11231. "$ref": "#/definitions/models.QhjScoreLog"
  11232. }
  11233. }
  11234. },
  11235. "500": {
  11236. "description": "Internal Server Error",
  11237. "schema": {
  11238. "$ref": "#/definitions/app.Response"
  11239. }
  11240. }
  11241. }
  11242. }
  11243. },
  11244. "/Qhj/QuerySiteColumnDetail": {
  11245. "get": {
  11246. "security": [
  11247. {
  11248. "ApiKeyAuth": []
  11249. }
  11250. ],
  11251. "produces": [
  11252. "application/json"
  11253. ],
  11254. "tags": [
  11255. "大连千海金"
  11256. ],
  11257. "summary": "查询资讯",
  11258. "parameters": [
  11259. {
  11260. "type": "integer",
  11261. "description": "用户ID",
  11262. "name": "userid",
  11263. "in": "query",
  11264. "required": true
  11265. }
  11266. ],
  11267. "responses": {
  11268. "200": {
  11269. "description": "OK",
  11270. "schema": {
  11271. "type": "array",
  11272. "items": {
  11273. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  11274. }
  11275. }
  11276. },
  11277. "500": {
  11278. "description": "Internal Server Error",
  11279. "schema": {
  11280. "$ref": "#/definitions/app.Response"
  11281. }
  11282. }
  11283. }
  11284. }
  11285. },
  11286. "/Qhj/QueryTradeGoodsPickup": {
  11287. "get": {
  11288. "security": [
  11289. {
  11290. "ApiKeyAuth": []
  11291. }
  11292. ],
  11293. "produces": [
  11294. "application/json"
  11295. ],
  11296. "tags": [
  11297. "大连千海金"
  11298. ],
  11299. "summary": "查询提货",
  11300. "parameters": [
  11301. {
  11302. "type": "integer",
  11303. "description": "用户ID",
  11304. "name": "userid",
  11305. "in": "query",
  11306. "required": true
  11307. },
  11308. {
  11309. "type": "integer",
  11310. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  11311. "name": "takeorderstatus",
  11312. "in": "query"
  11313. }
  11314. ],
  11315. "responses": {
  11316. "200": {
  11317. "description": "OK",
  11318. "schema": {
  11319. "type": "array",
  11320. "items": {
  11321. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  11322. }
  11323. }
  11324. },
  11325. "500": {
  11326. "description": "Internal Server Error",
  11327. "schema": {
  11328. "$ref": "#/definitions/app.Response"
  11329. }
  11330. }
  11331. }
  11332. }
  11333. },
  11334. "/Qhj/QueryUserCollectConfig": {
  11335. "get": {
  11336. "security": [
  11337. {
  11338. "ApiKeyAuth": []
  11339. }
  11340. ],
  11341. "produces": [
  11342. "application/json"
  11343. ],
  11344. "tags": [
  11345. "大连千海金"
  11346. ],
  11347. "summary": "查询提现账户设置",
  11348. "parameters": [
  11349. {
  11350. "type": "integer",
  11351. "description": "用户ID",
  11352. "name": "userid",
  11353. "in": "query",
  11354. "required": true
  11355. }
  11356. ],
  11357. "responses": {
  11358. "200": {
  11359. "description": "OK",
  11360. "schema": {
  11361. "type": "array",
  11362. "items": {
  11363. "$ref": "#/definitions/models.UserCollectConfig"
  11364. }
  11365. }
  11366. },
  11367. "500": {
  11368. "description": "Internal Server Error",
  11369. "schema": {
  11370. "$ref": "#/definitions/app.Response"
  11371. }
  11372. }
  11373. }
  11374. }
  11375. },
  11376. "/Qhj/QueryUserReceiveInfo": {
  11377. "get": {
  11378. "security": [
  11379. {
  11380. "ApiKeyAuth": []
  11381. }
  11382. ],
  11383. "produces": [
  11384. "application/json"
  11385. ],
  11386. "tags": [
  11387. "大连千海金"
  11388. ],
  11389. "summary": "查询收货地址信息",
  11390. "parameters": [
  11391. {
  11392. "type": "integer",
  11393. "description": "用户ID",
  11394. "name": "userid",
  11395. "in": "query",
  11396. "required": true
  11397. }
  11398. ],
  11399. "responses": {
  11400. "200": {
  11401. "description": "OK",
  11402. "schema": {
  11403. "type": "array",
  11404. "items": {
  11405. "$ref": "#/definitions/models.UserReceiveInfo"
  11406. }
  11407. }
  11408. },
  11409. "500": {
  11410. "description": "Internal Server Error",
  11411. "schema": {
  11412. "$ref": "#/definitions/app.Response"
  11413. }
  11414. }
  11415. }
  11416. }
  11417. },
  11418. "/QhjMgr/QueryAccountInOutApply": {
  11419. "get": {
  11420. "security": [
  11421. {
  11422. "ApiKeyAuth": []
  11423. }
  11424. ],
  11425. "produces": [
  11426. "application/json"
  11427. ],
  11428. "tags": [
  11429. "大连千海金(PCWeb)"
  11430. ],
  11431. "summary": "查询充值提现",
  11432. "parameters": [
  11433. {
  11434. "type": "integer",
  11435. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  11436. "name": "querytype",
  11437. "in": "query",
  11438. "required": true
  11439. },
  11440. {
  11441. "type": "integer",
  11442. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  11443. "name": "applystatus",
  11444. "in": "query"
  11445. },
  11446. {
  11447. "type": "string",
  11448. "description": "申请起始日期(格式yyyymmdd)",
  11449. "name": "begindate",
  11450. "in": "query"
  11451. },
  11452. {
  11453. "type": "string",
  11454. "description": "申请截止日期(格式yyyymmdd)",
  11455. "name": "enddate",
  11456. "in": "query"
  11457. },
  11458. {
  11459. "type": "string",
  11460. "description": "模糊搜索名称",
  11461. "name": "likename",
  11462. "in": "query"
  11463. }
  11464. ],
  11465. "responses": {
  11466. "200": {
  11467. "description": "OK",
  11468. "schema": {
  11469. "type": "array",
  11470. "items": {
  11471. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  11472. }
  11473. }
  11474. },
  11475. "500": {
  11476. "description": "Internal Server Error",
  11477. "schema": {
  11478. "$ref": "#/definitions/app.Response"
  11479. }
  11480. }
  11481. }
  11482. }
  11483. },
  11484. "/QhjMgr/QueryBrokerApply": {
  11485. "get": {
  11486. "security": [
  11487. {
  11488. "ApiKeyAuth": []
  11489. }
  11490. ],
  11491. "produces": [
  11492. "application/json"
  11493. ],
  11494. "tags": [
  11495. "大连千海金(PCWeb)"
  11496. ],
  11497. "summary": "查询经纪人申请",
  11498. "parameters": [
  11499. {
  11500. "type": "integer",
  11501. "description": "所属机构ID",
  11502. "name": "userid",
  11503. "in": "query"
  11504. },
  11505. {
  11506. "type": "string",
  11507. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11508. "name": "filterstatus",
  11509. "in": "query"
  11510. },
  11511. {
  11512. "type": "string",
  11513. "description": "名称(模糊匹配)",
  11514. "name": "filtername",
  11515. "in": "query"
  11516. },
  11517. {
  11518. "type": "integer",
  11519. "description": "是否包含子级 1-包含",
  11520. "name": "includesub",
  11521. "in": "query"
  11522. }
  11523. ],
  11524. "responses": {
  11525. "200": {
  11526. "description": "OK",
  11527. "schema": {
  11528. "type": "array",
  11529. "items": {
  11530. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  11531. }
  11532. }
  11533. },
  11534. "500": {
  11535. "description": "Internal Server Error",
  11536. "schema": {
  11537. "$ref": "#/definitions/app.Response"
  11538. }
  11539. }
  11540. }
  11541. }
  11542. },
  11543. "/QhjMgr/QueryBrokerRewardReport": {
  11544. "get": {
  11545. "security": [
  11546. {
  11547. "ApiKeyAuth": []
  11548. }
  11549. ],
  11550. "produces": [
  11551. "application/json"
  11552. ],
  11553. "tags": [
  11554. "大连千海金(PCWeb)"
  11555. ],
  11556. "summary": "查询经纪人奖励报表(废弃)",
  11557. "parameters": [
  11558. {
  11559. "type": "integer",
  11560. "description": "所属机构ID",
  11561. "name": "userid",
  11562. "in": "query",
  11563. "required": true
  11564. },
  11565. {
  11566. "type": "integer",
  11567. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  11568. "name": "cycletype",
  11569. "in": "query",
  11570. "required": true
  11571. },
  11572. {
  11573. "type": "string",
  11574. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  11575. "name": "cycletime",
  11576. "in": "query",
  11577. "required": true
  11578. },
  11579. {
  11580. "type": "string",
  11581. "description": "名称(模糊匹配)",
  11582. "name": "filtername",
  11583. "in": "query"
  11584. },
  11585. {
  11586. "type": "integer",
  11587. "description": "是否包含子级 1-包含",
  11588. "name": "includesub",
  11589. "in": "query"
  11590. }
  11591. ],
  11592. "responses": {
  11593. "200": {
  11594. "description": "OK",
  11595. "schema": {
  11596. "type": "array",
  11597. "items": {
  11598. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  11599. }
  11600. }
  11601. },
  11602. "500": {
  11603. "description": "Internal Server Error",
  11604. "schema": {
  11605. "$ref": "#/definitions/app.Response"
  11606. }
  11607. }
  11608. }
  11609. }
  11610. },
  11611. "/QhjMgr/QueryContract": {
  11612. "get": {
  11613. "security": [
  11614. {
  11615. "ApiKeyAuth": []
  11616. }
  11617. ],
  11618. "produces": [
  11619. "application/json"
  11620. ],
  11621. "tags": [
  11622. "大连千海金(PCWeb)"
  11623. ],
  11624. "summary": "查询融资信息(合同)",
  11625. "parameters": [
  11626. {
  11627. "type": "integer",
  11628. "description": "用户ID",
  11629. "name": "userid",
  11630. "in": "query"
  11631. },
  11632. {
  11633. "type": "integer",
  11634. "description": "商品id",
  11635. "name": "goodsid",
  11636. "in": "query"
  11637. },
  11638. {
  11639. "type": "string",
  11640. "description": "名称(模糊搜索账户)",
  11641. "name": "filtername",
  11642. "in": "query"
  11643. },
  11644. {
  11645. "type": "string",
  11646. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  11647. "name": "risklevel",
  11648. "in": "query"
  11649. },
  11650. {
  11651. "type": "string",
  11652. "description": "开始交易日(yyyymmdd)",
  11653. "name": "begindate",
  11654. "in": "query"
  11655. },
  11656. {
  11657. "type": "string",
  11658. "description": "结束交易日(yyyymmdd)",
  11659. "name": "enddate",
  11660. "in": "query"
  11661. }
  11662. ],
  11663. "responses": {
  11664. "200": {
  11665. "description": "OK",
  11666. "schema": {
  11667. "type": "array",
  11668. "items": {
  11669. "$ref": "#/definitions/models.QhjMgrContract"
  11670. }
  11671. }
  11672. },
  11673. "500": {
  11674. "description": "Internal Server Error",
  11675. "schema": {
  11676. "$ref": "#/definitions/app.Response"
  11677. }
  11678. }
  11679. }
  11680. }
  11681. },
  11682. "/QhjMgr/QueryCustomerInfo": {
  11683. "get": {
  11684. "security": [
  11685. {
  11686. "ApiKeyAuth": []
  11687. }
  11688. ],
  11689. "produces": [
  11690. "application/json"
  11691. ],
  11692. "tags": [
  11693. "大连千海金(PCWeb)"
  11694. ],
  11695. "summary": "查询客户资料",
  11696. "parameters": [
  11697. {
  11698. "type": "integer",
  11699. "description": "用户ID",
  11700. "name": "userid",
  11701. "in": "query",
  11702. "required": true
  11703. },
  11704. {
  11705. "type": "integer",
  11706. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  11707. "name": "querytype",
  11708. "in": "query",
  11709. "required": true
  11710. },
  11711. {
  11712. "type": "integer",
  11713. "description": "客户类型 1-个人 2-企业",
  11714. "name": "userinfotype",
  11715. "in": "query"
  11716. },
  11717. {
  11718. "type": "string",
  11719. "description": "客户名称(模糊匹配)",
  11720. "name": "customername",
  11721. "in": "query"
  11722. },
  11723. {
  11724. "type": "string",
  11725. "description": "昵称(模糊匹配)",
  11726. "name": "nickname",
  11727. "in": "query"
  11728. },
  11729. {
  11730. "type": "string",
  11731. "description": "所属客户经理(模糊匹配)",
  11732. "name": "brokername",
  11733. "in": "query"
  11734. },
  11735. {
  11736. "type": "string",
  11737. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  11738. "name": "birthday",
  11739. "in": "query"
  11740. },
  11741. {
  11742. "type": "integer",
  11743. "description": "是否包含子级 1-包含",
  11744. "name": "includesub",
  11745. "in": "query"
  11746. }
  11747. ],
  11748. "responses": {
  11749. "200": {
  11750. "description": "OK",
  11751. "schema": {
  11752. "type": "array",
  11753. "items": {
  11754. "$ref": "#/definitions/models.QhjMgrCustomer"
  11755. }
  11756. }
  11757. },
  11758. "500": {
  11759. "description": "Internal Server Error",
  11760. "schema": {
  11761. "$ref": "#/definitions/app.Response"
  11762. }
  11763. }
  11764. }
  11765. }
  11766. },
  11767. "/QhjMgr/QueryPickGoods": {
  11768. "get": {
  11769. "security": [
  11770. {
  11771. "ApiKeyAuth": []
  11772. }
  11773. ],
  11774. "produces": [
  11775. "application/json"
  11776. ],
  11777. "tags": [
  11778. "大连千海金(PCWeb)"
  11779. ],
  11780. "summary": "查询提货商品",
  11781. "parameters": [
  11782. {
  11783. "type": "string",
  11784. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  11785. "name": "status",
  11786. "in": "query"
  11787. }
  11788. ],
  11789. "responses": {
  11790. "200": {
  11791. "description": "OK",
  11792. "schema": {
  11793. "type": "array",
  11794. "items": {
  11795. "$ref": "#/definitions/models.QhjMgrPickGoods"
  11796. }
  11797. }
  11798. },
  11799. "500": {
  11800. "description": "Internal Server Error",
  11801. "schema": {
  11802. "$ref": "#/definitions/app.Response"
  11803. }
  11804. }
  11805. }
  11806. }
  11807. },
  11808. "/QhjMgr/QuerySubArea": {
  11809. "get": {
  11810. "security": [
  11811. {
  11812. "ApiKeyAuth": []
  11813. }
  11814. ],
  11815. "produces": [
  11816. "application/json"
  11817. ],
  11818. "tags": [
  11819. "大连千海金(PCWeb)"
  11820. ],
  11821. "summary": "查询子机构列表",
  11822. "parameters": [
  11823. {
  11824. "type": "integer",
  11825. "description": "用户ID",
  11826. "name": "userid",
  11827. "in": "query",
  11828. "required": true
  11829. }
  11830. ],
  11831. "responses": {
  11832. "200": {
  11833. "description": "OK",
  11834. "schema": {
  11835. "type": "array",
  11836. "items": {
  11837. "$ref": "#/definitions/models.QhjMgrSubArea"
  11838. }
  11839. }
  11840. },
  11841. "500": {
  11842. "description": "Internal Server Error",
  11843. "schema": {
  11844. "$ref": "#/definitions/app.Response"
  11845. }
  11846. }
  11847. }
  11848. }
  11849. },
  11850. "/QhjMgr/QueryTradeDetail": {
  11851. "get": {
  11852. "security": [
  11853. {
  11854. "ApiKeyAuth": []
  11855. }
  11856. ],
  11857. "produces": [
  11858. "application/json"
  11859. ],
  11860. "tags": [
  11861. "大连千海金(PCWeb)"
  11862. ],
  11863. "summary": "查询成交明细",
  11864. "parameters": [
  11865. {
  11866. "type": "integer",
  11867. "description": "用户ID",
  11868. "name": "userid",
  11869. "in": "query",
  11870. "required": true
  11871. },
  11872. {
  11873. "type": "integer",
  11874. "description": "用户类型 1-个人 2-企业",
  11875. "name": "userinfotype",
  11876. "in": "query"
  11877. },
  11878. {
  11879. "type": "integer",
  11880. "description": "交易模式",
  11881. "name": "trademode",
  11882. "in": "query"
  11883. },
  11884. {
  11885. "type": "integer",
  11886. "description": "商品id",
  11887. "name": "goodsid",
  11888. "in": "query"
  11889. },
  11890. {
  11891. "type": "string",
  11892. "description": "名称(模糊搜索账户)",
  11893. "name": "filtername",
  11894. "in": "query"
  11895. },
  11896. {
  11897. "type": "string",
  11898. "description": "开始交易日(yyyymmdd)",
  11899. "name": "begindate",
  11900. "in": "query"
  11901. },
  11902. {
  11903. "type": "string",
  11904. "description": "结束交易日(yyyymmdd)",
  11905. "name": "enddate",
  11906. "in": "query"
  11907. },
  11908. {
  11909. "type": "integer",
  11910. "description": "是否包含子级 1-包含",
  11911. "name": "includesub",
  11912. "in": "query"
  11913. }
  11914. ],
  11915. "responses": {
  11916. "200": {
  11917. "description": "OK",
  11918. "schema": {
  11919. "type": "array",
  11920. "items": {
  11921. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  11922. }
  11923. }
  11924. },
  11925. "500": {
  11926. "description": "Internal Server Error",
  11927. "schema": {
  11928. "$ref": "#/definitions/app.Response"
  11929. }
  11930. }
  11931. }
  11932. }
  11933. },
  11934. "/QhjMgr/QueryTradeOrderDetail": {
  11935. "get": {
  11936. "security": [
  11937. {
  11938. "ApiKeyAuth": []
  11939. }
  11940. ],
  11941. "produces": [
  11942. "application/json"
  11943. ],
  11944. "tags": [
  11945. "大连千海金(PCWeb)"
  11946. ],
  11947. "summary": "查询委托明细",
  11948. "parameters": [
  11949. {
  11950. "type": "integer",
  11951. "description": "用户ID",
  11952. "name": "userid",
  11953. "in": "query",
  11954. "required": true
  11955. },
  11956. {
  11957. "type": "integer",
  11958. "description": "用户类型 1-个人 2-企业",
  11959. "name": "userinfotype",
  11960. "in": "query"
  11961. },
  11962. {
  11963. "type": "integer",
  11964. "description": "交易模式",
  11965. "name": "trademode",
  11966. "in": "query"
  11967. },
  11968. {
  11969. "type": "integer",
  11970. "description": "商品id",
  11971. "name": "goodsid",
  11972. "in": "query"
  11973. },
  11974. {
  11975. "type": "string",
  11976. "description": "名称(模糊搜索账户)",
  11977. "name": "filtername",
  11978. "in": "query"
  11979. },
  11980. {
  11981. "type": "string",
  11982. "description": "开始交易日(yyyymmdd)",
  11983. "name": "begindate",
  11984. "in": "query"
  11985. },
  11986. {
  11987. "type": "string",
  11988. "description": "结束交易日(yyyymmdd)",
  11989. "name": "enddate",
  11990. "in": "query"
  11991. },
  11992. {
  11993. "type": "integer",
  11994. "description": "是否包含子级 1-包含",
  11995. "name": "includesub",
  11996. "in": "query"
  11997. }
  11998. ],
  11999. "responses": {
  12000. "200": {
  12001. "description": "OK",
  12002. "schema": {
  12003. "type": "array",
  12004. "items": {
  12005. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  12006. }
  12007. }
  12008. },
  12009. "500": {
  12010. "description": "Internal Server Error",
  12011. "schema": {
  12012. "$ref": "#/definitions/app.Response"
  12013. }
  12014. }
  12015. }
  12016. }
  12017. },
  12018. "/QhjMgr/QueryTradePayOrder": {
  12019. "get": {
  12020. "security": [
  12021. {
  12022. "ApiKeyAuth": []
  12023. }
  12024. ],
  12025. "produces": [
  12026. "application/json"
  12027. ],
  12028. "tags": [
  12029. "大连千海金(PCWeb)"
  12030. ],
  12031. "summary": "查询待付款单",
  12032. "parameters": [
  12033. {
  12034. "type": "integer",
  12035. "description": "用户ID",
  12036. "name": "userid",
  12037. "in": "query",
  12038. "required": true
  12039. },
  12040. {
  12041. "type": "string",
  12042. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  12043. "name": "payflag",
  12044. "in": "query"
  12045. },
  12046. {
  12047. "type": "integer",
  12048. "description": "用户类型 1-个人 2-企业",
  12049. "name": "userinfotype",
  12050. "in": "query"
  12051. },
  12052. {
  12053. "type": "integer",
  12054. "description": "交易模式",
  12055. "name": "trademode",
  12056. "in": "query"
  12057. },
  12058. {
  12059. "type": "integer",
  12060. "description": "商品id",
  12061. "name": "goodsid",
  12062. "in": "query"
  12063. },
  12064. {
  12065. "type": "string",
  12066. "description": "名称(模糊搜索账户)",
  12067. "name": "filtername",
  12068. "in": "query"
  12069. },
  12070. {
  12071. "type": "string",
  12072. "description": "开始交易日(yyyymmdd)",
  12073. "name": "begindate",
  12074. "in": "query"
  12075. },
  12076. {
  12077. "type": "string",
  12078. "description": "结束交易日(yyyymmdd)",
  12079. "name": "enddate",
  12080. "in": "query"
  12081. },
  12082. {
  12083. "type": "integer",
  12084. "description": "是否包含子级 1-包含",
  12085. "name": "includesub",
  12086. "in": "query"
  12087. }
  12088. ],
  12089. "responses": {
  12090. "200": {
  12091. "description": "OK",
  12092. "schema": {
  12093. "type": "array",
  12094. "items": {
  12095. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  12096. }
  12097. }
  12098. },
  12099. "500": {
  12100. "description": "Internal Server Error",
  12101. "schema": {
  12102. "$ref": "#/definitions/app.Response"
  12103. }
  12104. }
  12105. }
  12106. }
  12107. },
  12108. "/QhjMgr/QueryTradePosition": {
  12109. "get": {
  12110. "security": [
  12111. {
  12112. "ApiKeyAuth": []
  12113. }
  12114. ],
  12115. "produces": [
  12116. "application/json"
  12117. ],
  12118. "tags": [
  12119. "大连千海金(PCWeb)"
  12120. ],
  12121. "summary": "查询持仓汇总",
  12122. "parameters": [
  12123. {
  12124. "type": "integer",
  12125. "description": "用户ID",
  12126. "name": "userid",
  12127. "in": "query",
  12128. "required": true
  12129. },
  12130. {
  12131. "type": "integer",
  12132. "description": "用户类型 1-个人 2-企业",
  12133. "name": "userinfotype",
  12134. "in": "query"
  12135. },
  12136. {
  12137. "type": "integer",
  12138. "description": "交易模式",
  12139. "name": "trademode",
  12140. "in": "query"
  12141. },
  12142. {
  12143. "type": "integer",
  12144. "description": "商品id",
  12145. "name": "goodsid",
  12146. "in": "query"
  12147. },
  12148. {
  12149. "type": "string",
  12150. "description": "名称(模糊搜索账户)",
  12151. "name": "filtername",
  12152. "in": "query"
  12153. },
  12154. {
  12155. "type": "integer",
  12156. "description": "是否包含子级 1-包含",
  12157. "name": "includesub",
  12158. "in": "query"
  12159. }
  12160. ],
  12161. "responses": {
  12162. "200": {
  12163. "description": "OK",
  12164. "schema": {
  12165. "type": "array",
  12166. "items": {
  12167. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  12168. }
  12169. }
  12170. },
  12171. "500": {
  12172. "description": "Internal Server Error",
  12173. "schema": {
  12174. "$ref": "#/definitions/app.Response"
  12175. }
  12176. }
  12177. }
  12178. }
  12179. },
  12180. "/QhjSys/QueryAgreementChangeLog": {
  12181. "get": {
  12182. "security": [
  12183. {
  12184. "ApiKeyAuth": []
  12185. }
  12186. ],
  12187. "produces": [
  12188. "application/json"
  12189. ],
  12190. "tags": [
  12191. "大连千海金(协议和签约信息)"
  12192. ],
  12193. "summary": "查询协议配置变更流水",
  12194. "parameters": [
  12195. {
  12196. "type": "integer",
  12197. "description": "协议ID",
  12198. "name": "agreementid",
  12199. "in": "query"
  12200. },
  12201. {
  12202. "type": "integer",
  12203. "description": "协议版本号",
  12204. "name": "agreementversion",
  12205. "in": "query"
  12206. },
  12207. {
  12208. "type": "integer",
  12209. "description": "协议类型 - 1:注册 2:登录 3:交易",
  12210. "name": "agreementtype",
  12211. "in": "query"
  12212. },
  12213. {
  12214. "type": "string",
  12215. "description": "协议编号(模糊匹配)",
  12216. "name": "agreementno",
  12217. "in": "query"
  12218. },
  12219. {
  12220. "type": "string",
  12221. "description": "协议名称(模糊匹配)",
  12222. "name": "agreementname",
  12223. "in": "query"
  12224. }
  12225. ],
  12226. "responses": {
  12227. "200": {
  12228. "description": "OK",
  12229. "schema": {
  12230. "type": "array",
  12231. "items": {
  12232. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  12233. }
  12234. }
  12235. },
  12236. "500": {
  12237. "description": "Internal Server Error",
  12238. "schema": {
  12239. "$ref": "#/definitions/app.Response"
  12240. }
  12241. }
  12242. }
  12243. }
  12244. },
  12245. "/QhjSys/QueryAgreementConfig": {
  12246. "get": {
  12247. "security": [
  12248. {
  12249. "ApiKeyAuth": []
  12250. }
  12251. ],
  12252. "produces": [
  12253. "application/json"
  12254. ],
  12255. "tags": [
  12256. "大连千海金(协议和签约信息)"
  12257. ],
  12258. "summary": "查询协议配置",
  12259. "parameters": [
  12260. {
  12261. "type": "integer",
  12262. "description": "协议ID",
  12263. "name": "agreementid",
  12264. "in": "query"
  12265. },
  12266. {
  12267. "type": "integer",
  12268. "description": "协议版本号",
  12269. "name": "agreementversion",
  12270. "in": "query"
  12271. },
  12272. {
  12273. "type": "integer",
  12274. "description": "协议类型 - 1:注册 2:登录 3:交易",
  12275. "name": "agreementtype",
  12276. "in": "query"
  12277. },
  12278. {
  12279. "type": "integer",
  12280. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  12281. "name": "isvalid",
  12282. "in": "query"
  12283. },
  12284. {
  12285. "type": "string",
  12286. "description": "协议编号(模糊匹配)",
  12287. "name": "agreementno",
  12288. "in": "query"
  12289. },
  12290. {
  12291. "type": "string",
  12292. "description": "协议名称(模糊匹配)",
  12293. "name": "agreementname",
  12294. "in": "query"
  12295. }
  12296. ],
  12297. "responses": {
  12298. "200": {
  12299. "description": "OK",
  12300. "schema": {
  12301. "type": "array",
  12302. "items": {
  12303. "$ref": "#/definitions/models.QhjAgreementConfig"
  12304. }
  12305. }
  12306. },
  12307. "500": {
  12308. "description": "Internal Server Error",
  12309. "schema": {
  12310. "$ref": "#/definitions/app.Response"
  12311. }
  12312. }
  12313. }
  12314. }
  12315. },
  12316. "/QhjSys/QueryCustomerSignStatus": {
  12317. "get": {
  12318. "security": [
  12319. {
  12320. "ApiKeyAuth": []
  12321. }
  12322. ],
  12323. "produces": [
  12324. "application/json"
  12325. ],
  12326. "tags": [
  12327. "大连千海金(协议和签约信息)"
  12328. ],
  12329. "summary": "查询客户协议签约状态",
  12330. "parameters": [
  12331. {
  12332. "type": "integer",
  12333. "description": "客户ID",
  12334. "name": "userid",
  12335. "in": "query"
  12336. },
  12337. {
  12338. "type": "integer",
  12339. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  12340. "name": "nodetype",
  12341. "in": "query"
  12342. },
  12343. {
  12344. "type": "integer",
  12345. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  12346. "name": "goodsid",
  12347. "in": "query"
  12348. },
  12349. {
  12350. "type": "string",
  12351. "description": "创建交易日(yyyyMMdd)",
  12352. "name": "tradedate",
  12353. "in": "query"
  12354. },
  12355. {
  12356. "type": "string",
  12357. "description": "用户名称(模糊匹配)",
  12358. "name": "username",
  12359. "in": "query"
  12360. }
  12361. ],
  12362. "responses": {
  12363. "200": {
  12364. "description": "OK",
  12365. "schema": {
  12366. "type": "array",
  12367. "items": {
  12368. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  12369. }
  12370. }
  12371. },
  12372. "500": {
  12373. "description": "Internal Server Error",
  12374. "schema": {
  12375. "$ref": "#/definitions/app.Response"
  12376. }
  12377. }
  12378. }
  12379. }
  12380. },
  12381. "/QhjSys/QueryNodeAgreementConfig": {
  12382. "get": {
  12383. "security": [
  12384. {
  12385. "ApiKeyAuth": []
  12386. }
  12387. ],
  12388. "produces": [
  12389. "application/json"
  12390. ],
  12391. "tags": [
  12392. "大连千海金(协议和签约信息)"
  12393. ],
  12394. "summary": "查询协议节点配置",
  12395. "parameters": [
  12396. {
  12397. "type": "integer",
  12398. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  12399. "name": "configid",
  12400. "in": "query"
  12401. },
  12402. {
  12403. "type": "integer",
  12404. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  12405. "name": "nodetype",
  12406. "in": "query"
  12407. },
  12408. {
  12409. "type": "integer",
  12410. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  12411. "name": "goodsid",
  12412. "in": "query"
  12413. },
  12414. {
  12415. "type": "integer",
  12416. "description": "协议ID",
  12417. "name": "agreementid",
  12418. "in": "query"
  12419. },
  12420. {
  12421. "type": "integer",
  12422. "description": "协议类型 - 1:注册 2:登录 3:交易",
  12423. "name": "agreementtype",
  12424. "in": "query"
  12425. },
  12426. {
  12427. "type": "integer",
  12428. "description": "协议版本号",
  12429. "name": "agreementversion",
  12430. "in": "query"
  12431. },
  12432. {
  12433. "type": "string",
  12434. "description": "协议编号(模糊匹配)",
  12435. "name": "agreementno",
  12436. "in": "query"
  12437. },
  12438. {
  12439. "type": "string",
  12440. "description": "协议名称(模糊匹配)",
  12441. "name": "agreementname",
  12442. "in": "query"
  12443. }
  12444. ],
  12445. "responses": {
  12446. "200": {
  12447. "description": "OK",
  12448. "schema": {
  12449. "type": "array",
  12450. "items": {
  12451. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  12452. }
  12453. }
  12454. },
  12455. "500": {
  12456. "description": "Internal Server Error",
  12457. "schema": {
  12458. "$ref": "#/definitions/app.Response"
  12459. }
  12460. }
  12461. }
  12462. }
  12463. },
  12464. "/QhjSys/QueryQhjCustomerSignLog": {
  12465. "get": {
  12466. "security": [
  12467. {
  12468. "ApiKeyAuth": []
  12469. }
  12470. ],
  12471. "produces": [
  12472. "application/json"
  12473. ],
  12474. "tags": [
  12475. "大连千海金(协议和签约信息)"
  12476. ],
  12477. "summary": "查询客户协议签约流水",
  12478. "parameters": [
  12479. {
  12480. "type": "integer",
  12481. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  12482. "name": "logid",
  12483. "in": "query"
  12484. },
  12485. {
  12486. "type": "integer",
  12487. "description": "客户ID",
  12488. "name": "userid",
  12489. "in": "query"
  12490. },
  12491. {
  12492. "type": "integer",
  12493. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  12494. "name": "nodetype",
  12495. "in": "query"
  12496. },
  12497. {
  12498. "type": "integer",
  12499. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  12500. "name": "goodsid",
  12501. "in": "query"
  12502. },
  12503. {
  12504. "type": "integer",
  12505. "description": "协议ID",
  12506. "name": "agreementid",
  12507. "in": "query"
  12508. },
  12509. {
  12510. "type": "string",
  12511. "description": "用户名称(模糊匹配)",
  12512. "name": "username",
  12513. "in": "query"
  12514. },
  12515. {
  12516. "type": "string",
  12517. "description": "协议编号(模糊匹配)",
  12518. "name": "agreementno",
  12519. "in": "query"
  12520. },
  12521. {
  12522. "type": "string",
  12523. "description": "协议名称(模糊匹配)",
  12524. "name": "agreementname",
  12525. "in": "query"
  12526. }
  12527. ],
  12528. "responses": {
  12529. "200": {
  12530. "description": "OK",
  12531. "schema": {
  12532. "type": "array",
  12533. "items": {
  12534. "$ref": "#/definitions/models.QhjCustomerSignLog"
  12535. }
  12536. }
  12537. },
  12538. "500": {
  12539. "description": "Internal Server Error",
  12540. "schema": {
  12541. "$ref": "#/definitions/app.Response"
  12542. }
  12543. }
  12544. }
  12545. }
  12546. },
  12547. "/QhjSys/QueryUserNodeCfgAndStatus": {
  12548. "get": {
  12549. "security": [
  12550. {
  12551. "ApiKeyAuth": []
  12552. }
  12553. ],
  12554. "produces": [
  12555. "application/json"
  12556. ],
  12557. "tags": [
  12558. "大连千海金(协议和签约信息)"
  12559. ],
  12560. "summary": "查询用户协议节点配置和状态",
  12561. "parameters": [
  12562. {
  12563. "type": "integer",
  12564. "description": "客户ID",
  12565. "name": "userid",
  12566. "in": "query"
  12567. },
  12568. {
  12569. "type": "integer",
  12570. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  12571. "name": "configid",
  12572. "in": "query"
  12573. },
  12574. {
  12575. "type": "string",
  12576. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  12577. "name": "nodetype",
  12578. "in": "query"
  12579. },
  12580. {
  12581. "type": "integer",
  12582. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  12583. "name": "goodsid",
  12584. "in": "query"
  12585. },
  12586. {
  12587. "type": "integer",
  12588. "description": "协议ID",
  12589. "name": "agreementid",
  12590. "in": "query"
  12591. },
  12592. {
  12593. "type": "integer",
  12594. "description": "协议类型 - 1:注册 2:登录 3:交易",
  12595. "name": "agreementtype",
  12596. "in": "query"
  12597. },
  12598. {
  12599. "type": "integer",
  12600. "description": "协议版本号",
  12601. "name": "agreementversion",
  12602. "in": "query"
  12603. },
  12604. {
  12605. "type": "string",
  12606. "description": "协议编号(模糊匹配)",
  12607. "name": "agreementno",
  12608. "in": "query"
  12609. },
  12610. {
  12611. "type": "string",
  12612. "description": "协议名称(模糊匹配)",
  12613. "name": "agreementname",
  12614. "in": "query"
  12615. }
  12616. ],
  12617. "responses": {
  12618. "200": {
  12619. "description": "OK",
  12620. "schema": {
  12621. "type": "array",
  12622. "items": {
  12623. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  12624. }
  12625. }
  12626. },
  12627. "500": {
  12628. "description": "Internal Server Error",
  12629. "schema": {
  12630. "$ref": "#/definitions/app.Response"
  12631. }
  12632. }
  12633. }
  12634. }
  12635. },
  12636. "/Quote/QueryHistoryDatas": {
  12637. "get": {
  12638. "security": [
  12639. {
  12640. "ApiKeyAuth": []
  12641. }
  12642. ],
  12643. "produces": [
  12644. "application/json"
  12645. ],
  12646. "tags": [
  12647. "行情服务"
  12648. ],
  12649. "summary": "查询行情历史数据",
  12650. "parameters": [
  12651. {
  12652. "type": "integer",
  12653. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 12:周线 13:月线 14:年线",
  12654. "name": "cycleType",
  12655. "in": "query",
  12656. "required": true
  12657. },
  12658. {
  12659. "type": "string",
  12660. "description": "商品代码",
  12661. "name": "goodsCode",
  12662. "in": "query",
  12663. "required": true
  12664. },
  12665. {
  12666. "type": "string",
  12667. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  12668. "name": "startTime",
  12669. "in": "query"
  12670. },
  12671. {
  12672. "type": "string",
  12673. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  12674. "name": "endTime",
  12675. "in": "query"
  12676. },
  12677. {
  12678. "type": "integer",
  12679. "description": "条数",
  12680. "name": "count",
  12681. "in": "query"
  12682. },
  12683. {
  12684. "type": "boolean",
  12685. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  12686. "name": "isAsc",
  12687. "in": "query"
  12688. }
  12689. ],
  12690. "responses": {
  12691. "200": {
  12692. "description": "OK",
  12693. "schema": {
  12694. "$ref": "#/definitions/quote.HistoryData"
  12695. }
  12696. },
  12697. "500": {
  12698. "description": "Internal Server Error",
  12699. "schema": {
  12700. "$ref": "#/definitions/app.Response"
  12701. }
  12702. }
  12703. }
  12704. }
  12705. },
  12706. "/Quote/QueryHistoryTikDatas": {
  12707. "get": {
  12708. "security": [
  12709. {
  12710. "ApiKeyAuth": []
  12711. }
  12712. ],
  12713. "produces": [
  12714. "application/json"
  12715. ],
  12716. "tags": [
  12717. "行情服务"
  12718. ],
  12719. "summary": "查询行情Tik数据",
  12720. "parameters": [
  12721. {
  12722. "type": "string",
  12723. "description": "商品代码",
  12724. "name": "goodsCode",
  12725. "in": "query",
  12726. "required": true
  12727. },
  12728. {
  12729. "type": "string",
  12730. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  12731. "name": "startTime",
  12732. "in": "query"
  12733. },
  12734. {
  12735. "type": "string",
  12736. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  12737. "name": "endTime",
  12738. "in": "query"
  12739. },
  12740. {
  12741. "type": "integer",
  12742. "description": "条数",
  12743. "name": "count",
  12744. "in": "query"
  12745. },
  12746. {
  12747. "type": "boolean",
  12748. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  12749. "name": "isAsc",
  12750. "in": "query"
  12751. }
  12752. ],
  12753. "responses": {
  12754. "200": {
  12755. "description": "OK",
  12756. "schema": {
  12757. "$ref": "#/definitions/quote.HistoryTikData"
  12758. }
  12759. },
  12760. "500": {
  12761. "description": "Internal Server Error",
  12762. "schema": {
  12763. "$ref": "#/definitions/app.Response"
  12764. }
  12765. }
  12766. }
  12767. }
  12768. },
  12769. "/Quote/QueryQuoteDay": {
  12770. "get": {
  12771. "security": [
  12772. {
  12773. "ApiKeyAuth": []
  12774. }
  12775. ],
  12776. "produces": [
  12777. "application/json"
  12778. ],
  12779. "tags": [
  12780. "行情服务"
  12781. ],
  12782. "summary": "获取商品盘面信息",
  12783. "parameters": [
  12784. {
  12785. "type": "string",
  12786. "description": "此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107",
  12787. "name": "goodsCodes",
  12788. "in": "query"
  12789. }
  12790. ],
  12791. "responses": {
  12792. "200": {
  12793. "description": "OK",
  12794. "schema": {
  12795. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  12796. }
  12797. },
  12798. "500": {
  12799. "description": "Internal Server Error",
  12800. "schema": {
  12801. "$ref": "#/definitions/app.Response"
  12802. }
  12803. }
  12804. }
  12805. }
  12806. },
  12807. "/Quote/QueryTSData": {
  12808. "get": {
  12809. "security": [
  12810. {
  12811. "ApiKeyAuth": []
  12812. }
  12813. ],
  12814. "produces": [
  12815. "application/json"
  12816. ],
  12817. "tags": [
  12818. "行情服务"
  12819. ],
  12820. "summary": "分时图数据查询",
  12821. "parameters": [
  12822. {
  12823. "type": "string",
  12824. "description": "商品代码",
  12825. "name": "goodsCode",
  12826. "in": "query",
  12827. "required": true
  12828. }
  12829. ],
  12830. "responses": {
  12831. "200": {
  12832. "description": "OK",
  12833. "schema": {
  12834. "$ref": "#/definitions/quote.QueryTSDataRsp"
  12835. }
  12836. },
  12837. "500": {
  12838. "description": "Internal Server Error",
  12839. "schema": {
  12840. "$ref": "#/definitions/app.Response"
  12841. }
  12842. }
  12843. }
  12844. }
  12845. },
  12846. "/SZDZ/QueryConvertConfig": {
  12847. "get": {
  12848. "security": [
  12849. {
  12850. "ApiKeyAuth": []
  12851. }
  12852. ],
  12853. "produces": [
  12854. "application/json"
  12855. ],
  12856. "tags": [
  12857. "定制【尚志大宗】"
  12858. ],
  12859. "summary": "查询交易系统转换设置",
  12860. "parameters": [
  12861. {
  12862. "type": "integer",
  12863. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  12864. "name": "convertType",
  12865. "in": "query"
  12866. },
  12867. {
  12868. "type": "string",
  12869. "description": "外部商品代码[JD\\PD]",
  12870. "name": "outerGoodsCode",
  12871. "in": "query"
  12872. },
  12873. {
  12874. "type": "string",
  12875. "description": "内部商品ID列表[交易],格式:1,2,3",
  12876. "name": "innerGoodsIDs",
  12877. "in": "query"
  12878. }
  12879. ],
  12880. "responses": {
  12881. "200": {
  12882. "description": "OK",
  12883. "schema": {
  12884. "$ref": "#/definitions/models.Szdz3convertconfig"
  12885. }
  12886. },
  12887. "500": {
  12888. "description": "Internal Server Error",
  12889. "schema": {
  12890. "$ref": "#/definitions/app.Response"
  12891. }
  12892. }
  12893. }
  12894. }
  12895. },
  12896. "/SZDZ/QueryConvertLog": {
  12897. "get": {
  12898. "security": [
  12899. {
  12900. "ApiKeyAuth": []
  12901. }
  12902. ],
  12903. "produces": [
  12904. "application/json"
  12905. ],
  12906. "tags": [
  12907. "定制【尚志大宗】"
  12908. ],
  12909. "summary": "交易系统转换流水查询",
  12910. "parameters": [
  12911. {
  12912. "type": "string",
  12913. "description": "资金账户 - 格式:1,2,3",
  12914. "name": "accountID",
  12915. "in": "query",
  12916. "required": true
  12917. },
  12918. {
  12919. "type": "string",
  12920. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  12921. "name": "startDate",
  12922. "in": "query"
  12923. },
  12924. {
  12925. "type": "string",
  12926. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  12927. "name": "endDate",
  12928. "in": "query"
  12929. }
  12930. ],
  12931. "responses": {
  12932. "200": {
  12933. "description": "OK",
  12934. "schema": {
  12935. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  12936. }
  12937. },
  12938. "500": {
  12939. "description": "Internal Server Error",
  12940. "schema": {
  12941. "$ref": "#/definitions/app.Response"
  12942. }
  12943. }
  12944. }
  12945. }
  12946. },
  12947. "/SZDZ/QueryGoodsPickup": {
  12948. "get": {
  12949. "security": [
  12950. {
  12951. "ApiKeyAuth": []
  12952. }
  12953. ],
  12954. "produces": [
  12955. "application/json"
  12956. ],
  12957. "tags": [
  12958. "定制【尚志大宗】"
  12959. ],
  12960. "summary": "商品提货单查询",
  12961. "parameters": [
  12962. {
  12963. "type": "string",
  12964. "description": "资金账户 - 格式:1,2,3",
  12965. "name": "accountID",
  12966. "in": "query",
  12967. "required": true
  12968. },
  12969. {
  12970. "type": "integer",
  12971. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  12972. "name": "takeOrderStatus",
  12973. "in": "query"
  12974. }
  12975. ],
  12976. "responses": {
  12977. "200": {
  12978. "description": "OK",
  12979. "schema": {
  12980. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  12981. }
  12982. },
  12983. "500": {
  12984. "description": "Internal Server Error",
  12985. "schema": {
  12986. "$ref": "#/definitions/app.Response"
  12987. }
  12988. }
  12989. }
  12990. }
  12991. },
  12992. "/SZDZ/QueryRecieptOrder": {
  12993. "get": {
  12994. "security": [
  12995. {
  12996. "ApiKeyAuth": []
  12997. }
  12998. ],
  12999. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  13000. "produces": [
  13001. "application/json"
  13002. ],
  13003. "tags": [
  13004. "定制【尚志大宗】"
  13005. ],
  13006. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  13007. "parameters": [
  13008. {
  13009. "type": "integer",
  13010. "description": "页码",
  13011. "name": "page",
  13012. "in": "query"
  13013. },
  13014. {
  13015. "type": "integer",
  13016. "description": "每页条数",
  13017. "name": "pagesize",
  13018. "in": "query"
  13019. },
  13020. {
  13021. "type": "integer",
  13022. "description": "商品ID",
  13023. "name": "goodsID",
  13024. "in": "query",
  13025. "required": true
  13026. },
  13027. {
  13028. "type": "string",
  13029. "description": "所属账户名称",
  13030. "name": "accountName",
  13031. "in": "query"
  13032. },
  13033. {
  13034. "type": "integer",
  13035. "description": "市场ID",
  13036. "name": "marketID",
  13037. "in": "query"
  13038. },
  13039. {
  13040. "type": "integer",
  13041. "description": "方向 - 0:买 1:卖",
  13042. "name": "buyorsell",
  13043. "in": "query",
  13044. "required": true
  13045. }
  13046. ],
  13047. "responses": {
  13048. "200": {
  13049. "description": "OK",
  13050. "schema": {
  13051. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  13052. }
  13053. },
  13054. "500": {
  13055. "description": "Internal Server Error",
  13056. "schema": {
  13057. "$ref": "#/definitions/app.Response"
  13058. }
  13059. }
  13060. }
  13061. }
  13062. },
  13063. "/SZDZ/QuerySZDZTradePosition": {
  13064. "get": {
  13065. "security": [
  13066. {
  13067. "ApiKeyAuth": []
  13068. }
  13069. ],
  13070. "produces": [
  13071. "application/json"
  13072. ],
  13073. "tags": [
  13074. "定制【尚志大宗】"
  13075. ],
  13076. "summary": "持仓汇总查询(尚志大宗)",
  13077. "parameters": [
  13078. {
  13079. "type": "integer",
  13080. "description": "资金账户",
  13081. "name": "accountID",
  13082. "in": "query",
  13083. "required": true
  13084. }
  13085. ],
  13086. "responses": {
  13087. "200": {
  13088. "description": "OK",
  13089. "schema": {
  13090. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  13091. }
  13092. },
  13093. "500": {
  13094. "description": "Internal Server Error",
  13095. "schema": {
  13096. "$ref": "#/definitions/app.Response"
  13097. }
  13098. }
  13099. }
  13100. }
  13101. },
  13102. "/SZDZ/SearchWhite": {
  13103. "get": {
  13104. "security": [
  13105. {
  13106. "ApiKeyAuth": []
  13107. }
  13108. ],
  13109. "produces": [
  13110. "application/json"
  13111. ],
  13112. "tags": [
  13113. "定制【尚志大宗】"
  13114. ],
  13115. "summary": "搜索白名单",
  13116. "parameters": [
  13117. {
  13118. "type": "integer",
  13119. "description": "用户ID",
  13120. "name": "userID",
  13121. "in": "query",
  13122. "required": true
  13123. }
  13124. ],
  13125. "responses": {
  13126. "200": {
  13127. "description": "OK",
  13128. "schema": {
  13129. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  13130. }
  13131. },
  13132. "500": {
  13133. "description": "Internal Server Error",
  13134. "schema": {
  13135. "$ref": "#/definitions/app.Response"
  13136. }
  13137. }
  13138. }
  13139. }
  13140. },
  13141. "/Search/SearchGoodses": {
  13142. "get": {
  13143. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  13144. "produces": [
  13145. "application/json"
  13146. ],
  13147. "tags": [
  13148. "检索服务"
  13149. ],
  13150. "summary": "检索商品信息",
  13151. "parameters": [
  13152. {
  13153. "type": "string",
  13154. "description": "检索内容",
  13155. "name": "content",
  13156. "in": "query",
  13157. "required": true
  13158. },
  13159. {
  13160. "type": "string",
  13161. "description": "交易模式,格式:1,2,3",
  13162. "name": "tradeModes",
  13163. "in": "query"
  13164. }
  13165. ],
  13166. "responses": {
  13167. "200": {
  13168. "description": "OK",
  13169. "schema": {
  13170. "$ref": "#/definitions/models.SearchGoods"
  13171. }
  13172. },
  13173. "500": {
  13174. "description": "Internal Server Error",
  13175. "schema": {
  13176. "$ref": "#/definitions/app.Response"
  13177. }
  13178. }
  13179. }
  13180. }
  13181. },
  13182. "/TaAccount/GetTaAccounts": {
  13183. "get": {
  13184. "security": [
  13185. {
  13186. "ApiKeyAuth": []
  13187. }
  13188. ],
  13189. "produces": [
  13190. "application/json"
  13191. ],
  13192. "tags": [
  13193. "资金账户"
  13194. ],
  13195. "summary": "获取资金账户信息",
  13196. "parameters": [
  13197. {
  13198. "type": "integer",
  13199. "description": "登录账户",
  13200. "name": "loginID",
  13201. "in": "query",
  13202. "required": true
  13203. },
  13204. {
  13205. "type": "integer",
  13206. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  13207. "name": "taAccountType",
  13208. "in": "query"
  13209. }
  13210. ],
  13211. "responses": {
  13212. "200": {
  13213. "description": "OK",
  13214. "schema": {
  13215. "$ref": "#/definitions/models.Taaccount"
  13216. }
  13217. },
  13218. "500": {
  13219. "description": "Internal Server Error",
  13220. "schema": {
  13221. "$ref": "#/definitions/app.Response"
  13222. }
  13223. }
  13224. }
  13225. }
  13226. },
  13227. "/TaAccount/QueryAmountLog": {
  13228. "get": {
  13229. "security": [
  13230. {
  13231. "ApiKeyAuth": []
  13232. }
  13233. ],
  13234. "produces": [
  13235. "application/json"
  13236. ],
  13237. "tags": [
  13238. "资金账户"
  13239. ],
  13240. "summary": "资金流水查询(当前)",
  13241. "parameters": [
  13242. {
  13243. "type": "integer",
  13244. "description": "页码",
  13245. "name": "page",
  13246. "in": "query"
  13247. },
  13248. {
  13249. "type": "integer",
  13250. "description": "每页条数",
  13251. "name": "pagesize",
  13252. "in": "query"
  13253. },
  13254. {
  13255. "type": "string",
  13256. "description": "资金账户 - 格式:1,2,3",
  13257. "name": "accountID",
  13258. "in": "query",
  13259. "required": true
  13260. },
  13261. {
  13262. "type": "string",
  13263. "description": "资金操作类型 - 格式:1,2,3",
  13264. "name": "OperateType",
  13265. "in": "query"
  13266. }
  13267. ],
  13268. "responses": {
  13269. "200": {
  13270. "description": "OK",
  13271. "schema": {
  13272. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  13273. }
  13274. },
  13275. "500": {
  13276. "description": "Internal Server Error",
  13277. "schema": {
  13278. "$ref": "#/definitions/app.Response"
  13279. }
  13280. }
  13281. }
  13282. }
  13283. },
  13284. "/TaAccount/QueryHisAmountLog": {
  13285. "get": {
  13286. "security": [
  13287. {
  13288. "ApiKeyAuth": []
  13289. }
  13290. ],
  13291. "produces": [
  13292. "application/json"
  13293. ],
  13294. "tags": [
  13295. "资金账户"
  13296. ],
  13297. "summary": "资金流水查询(历史)",
  13298. "parameters": [
  13299. {
  13300. "type": "integer",
  13301. "description": "页码",
  13302. "name": "page",
  13303. "in": "query"
  13304. },
  13305. {
  13306. "type": "integer",
  13307. "description": "每页条数",
  13308. "name": "pagesize",
  13309. "in": "query"
  13310. },
  13311. {
  13312. "type": "string",
  13313. "description": "资金账户 - 格式:1,2,3",
  13314. "name": "accountID",
  13315. "in": "query",
  13316. "required": true
  13317. },
  13318. {
  13319. "type": "string",
  13320. "description": "资金操作类型 - 格式:1,2,3",
  13321. "name": "OperateType",
  13322. "in": "query"
  13323. },
  13324. {
  13325. "type": "string",
  13326. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  13327. "name": "startDate",
  13328. "in": "query"
  13329. },
  13330. {
  13331. "type": "string",
  13332. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  13333. "name": "endDate",
  13334. "in": "query"
  13335. }
  13336. ],
  13337. "responses": {
  13338. "200": {
  13339. "description": "OK",
  13340. "schema": {
  13341. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  13342. }
  13343. },
  13344. "500": {
  13345. "description": "Internal Server Error",
  13346. "schema": {
  13347. "$ref": "#/definitions/app.Response"
  13348. }
  13349. }
  13350. }
  13351. }
  13352. },
  13353. "/TaAccount/QueryRelatedTaAccount": {
  13354. "get": {
  13355. "security": [
  13356. {
  13357. "ApiKeyAuth": []
  13358. }
  13359. ],
  13360. "produces": [
  13361. "application/json"
  13362. ],
  13363. "tags": [
  13364. "资金账户"
  13365. ],
  13366. "summary": "查询关联资金账户信息",
  13367. "parameters": [
  13368. {
  13369. "type": "integer",
  13370. "description": "关联UserID",
  13371. "name": "relateduserid",
  13372. "in": "query",
  13373. "required": true
  13374. }
  13375. ],
  13376. "responses": {
  13377. "200": {
  13378. "description": "OK",
  13379. "schema": {
  13380. "type": "array",
  13381. "items": {
  13382. "$ref": "#/definitions/models.RelatedTaAccount"
  13383. }
  13384. }
  13385. },
  13386. "500": {
  13387. "description": "Internal Server Error",
  13388. "schema": {
  13389. "$ref": "#/definitions/app.Response"
  13390. }
  13391. }
  13392. }
  13393. }
  13394. },
  13395. "/Tjmd/QueryQuoteGoodsList": {
  13396. "get": {
  13397. "security": [
  13398. {
  13399. "ApiKeyAuth": []
  13400. }
  13401. ],
  13402. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  13403. "produces": [
  13404. "application/json"
  13405. ],
  13406. "tags": [
  13407. "天津麦顿"
  13408. ],
  13409. "summary": "查询掉期报价列表",
  13410. "parameters": [
  13411. {
  13412. "type": "integer",
  13413. "description": "用户类型",
  13414. "name": "usertype",
  13415. "in": "query",
  13416. "required": true
  13417. },
  13418. {
  13419. "type": "string",
  13420. "description": "市场id, 格式 1,2,3",
  13421. "name": "marketids",
  13422. "in": "query"
  13423. },
  13424. {
  13425. "type": "integer",
  13426. "description": "商品组id",
  13427. "name": "goodsgroupid",
  13428. "in": "query"
  13429. },
  13430. {
  13431. "type": "integer",
  13432. "description": "商品id",
  13433. "name": "goodsid",
  13434. "in": "query"
  13435. }
  13436. ],
  13437. "responses": {
  13438. "200": {
  13439. "description": "OK",
  13440. "schema": {
  13441. "type": "array",
  13442. "items": {
  13443. "$ref": "#/definitions/models.TjmdQuoteGoods"
  13444. }
  13445. }
  13446. },
  13447. "500": {
  13448. "description": "Internal Server Error",
  13449. "schema": {
  13450. "$ref": "#/definitions/app.Response"
  13451. }
  13452. }
  13453. }
  13454. }
  13455. },
  13456. "/Tjmd/QueryTjmdHolderDetailTradeInfo": {
  13457. "get": {
  13458. "security": [
  13459. {
  13460. "ApiKeyAuth": []
  13461. }
  13462. ],
  13463. "produces": [
  13464. "application/json"
  13465. ],
  13466. "tags": [
  13467. "天津麦顿"
  13468. ],
  13469. "summary": "掉期商品订单详情(交易确认书)",
  13470. "parameters": [
  13471. {
  13472. "type": "string",
  13473. "description": "成交单号",
  13474. "name": "tradeid",
  13475. "in": "query",
  13476. "required": true
  13477. }
  13478. ],
  13479. "responses": {
  13480. "200": {
  13481. "description": "OK",
  13482. "schema": {
  13483. "type": "array",
  13484. "items": {
  13485. "$ref": "#/definitions/models.TjmdHolderDetailTradeInfo"
  13486. }
  13487. }
  13488. },
  13489. "500": {
  13490. "description": "Internal Server Error",
  13491. "schema": {
  13492. "$ref": "#/definitions/app.Response"
  13493. }
  13494. }
  13495. }
  13496. }
  13497. },
  13498. "/Tjmd/QueryTjmdMarketSection": {
  13499. "get": {
  13500. "security": [
  13501. {
  13502. "ApiKeyAuth": []
  13503. }
  13504. ],
  13505. "produces": [
  13506. "application/json"
  13507. ],
  13508. "tags": [
  13509. "天津麦顿"
  13510. ],
  13511. "summary": "查询市场板块",
  13512. "responses": {
  13513. "200": {
  13514. "description": "OK",
  13515. "schema": {
  13516. "type": "array",
  13517. "items": {
  13518. "$ref": "#/definitions/models.TjmdMarketSection"
  13519. }
  13520. }
  13521. },
  13522. "500": {
  13523. "description": "Internal Server Error",
  13524. "schema": {
  13525. "$ref": "#/definitions/app.Response"
  13526. }
  13527. }
  13528. }
  13529. }
  13530. },
  13531. "/Tjmd/QueryTjmdTodayAccountMargin": {
  13532. "get": {
  13533. "security": [
  13534. {
  13535. "ApiKeyAuth": []
  13536. }
  13537. ],
  13538. "produces": [
  13539. "application/json"
  13540. ],
  13541. "tags": [
  13542. "天津麦顿"
  13543. ],
  13544. "summary": "查询今日账户保证金配置",
  13545. "parameters": [
  13546. {
  13547. "type": "string",
  13548. "description": "市场id",
  13549. "name": "marketid",
  13550. "in": "query"
  13551. },
  13552. {
  13553. "type": "string",
  13554. "description": "商品id",
  13555. "name": "goodsid",
  13556. "in": "query"
  13557. },
  13558. {
  13559. "type": "string",
  13560. "description": "资金账号",
  13561. "name": "accountid",
  13562. "in": "query"
  13563. }
  13564. ],
  13565. "responses": {
  13566. "200": {
  13567. "description": "OK",
  13568. "schema": {
  13569. "type": "array",
  13570. "items": {
  13571. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  13572. }
  13573. }
  13574. },
  13575. "500": {
  13576. "description": "Internal Server Error",
  13577. "schema": {
  13578. "$ref": "#/definitions/app.Response"
  13579. }
  13580. }
  13581. }
  13582. }
  13583. },
  13584. "/Tjmd/QueryTjmdTradeOrderDetail": {
  13585. "get": {
  13586. "security": [
  13587. {
  13588. "ApiKeyAuth": []
  13589. }
  13590. ],
  13591. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  13592. "produces": [
  13593. "application/json"
  13594. ],
  13595. "tags": [
  13596. "天津麦顿"
  13597. ],
  13598. "summary": "查询掉期买卖大厅",
  13599. "parameters": [
  13600. {
  13601. "type": "integer",
  13602. "description": "页码",
  13603. "name": "page",
  13604. "in": "query"
  13605. },
  13606. {
  13607. "type": "integer",
  13608. "description": "每页条数",
  13609. "name": "pagesize",
  13610. "in": "query"
  13611. },
  13612. {
  13613. "type": "integer",
  13614. "description": "用户id",
  13615. "name": "userid",
  13616. "in": "query",
  13617. "required": true
  13618. },
  13619. {
  13620. "type": "integer",
  13621. "description": "用户类型",
  13622. "name": "usertype",
  13623. "in": "query",
  13624. "required": true
  13625. },
  13626. {
  13627. "type": "string",
  13628. "description": "市场id, 格式 1,2,3",
  13629. "name": "marketids",
  13630. "in": "query"
  13631. },
  13632. {
  13633. "type": "integer",
  13634. "description": "商品id",
  13635. "name": "goodsid",
  13636. "in": "query",
  13637. "required": true
  13638. },
  13639. {
  13640. "type": "integer",
  13641. "description": "买卖方向 0-买 1-卖",
  13642. "name": "buyorsell",
  13643. "in": "query",
  13644. "required": true
  13645. }
  13646. ],
  13647. "responses": {
  13648. "200": {
  13649. "description": "OK",
  13650. "schema": {
  13651. "type": "array",
  13652. "items": {
  13653. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  13654. }
  13655. }
  13656. },
  13657. "500": {
  13658. "description": "Internal Server Error",
  13659. "schema": {
  13660. "$ref": "#/definitions/app.Response"
  13661. }
  13662. }
  13663. }
  13664. }
  13665. },
  13666. "/Tjmd/QueryTjmdTransferApply": {
  13667. "get": {
  13668. "security": [
  13669. {
  13670. "ApiKeyAuth": []
  13671. }
  13672. ],
  13673. "produces": [
  13674. "application/json"
  13675. ],
  13676. "tags": [
  13677. "天津麦顿"
  13678. ],
  13679. "summary": "查询掉期协议单",
  13680. "parameters": [
  13681. {
  13682. "type": "integer",
  13683. "description": "类型 1-我的申请 2-对方申请",
  13684. "name": "applytype",
  13685. "in": "query",
  13686. "required": true
  13687. },
  13688. {
  13689. "type": "string",
  13690. "description": "市场id, 格式 1,2,3",
  13691. "name": "marketids",
  13692. "in": "query"
  13693. },
  13694. {
  13695. "type": "string",
  13696. "description": "资金账号, 格式 25000000001,25000000003",
  13697. "name": "accountids",
  13698. "in": "query"
  13699. },
  13700. {
  13701. "type": "string",
  13702. "description": "开始交易日(yyyymmdd)",
  13703. "name": "begindate",
  13704. "in": "query"
  13705. },
  13706. {
  13707. "type": "string",
  13708. "description": "结束交易日(yyyymmdd)",
  13709. "name": "enddate",
  13710. "in": "query"
  13711. }
  13712. ],
  13713. "responses": {
  13714. "200": {
  13715. "description": "OK",
  13716. "schema": {
  13717. "type": "array",
  13718. "items": {
  13719. "$ref": "#/definitions/models.TjmdTransferApply"
  13720. }
  13721. }
  13722. },
  13723. "500": {
  13724. "description": "Internal Server Error",
  13725. "schema": {
  13726. "$ref": "#/definitions/app.Response"
  13727. }
  13728. }
  13729. }
  13730. }
  13731. },
  13732. "/Trade/QueryRecieptOrder": {
  13733. "get": {
  13734. "security": [
  13735. {
  13736. "ApiKeyAuth": []
  13737. }
  13738. ],
  13739. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  13740. "produces": [
  13741. "application/json"
  13742. ],
  13743. "tags": [
  13744. "通用交易"
  13745. ],
  13746. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  13747. "parameters": [
  13748. {
  13749. "type": "integer",
  13750. "description": "页码",
  13751. "name": "page",
  13752. "in": "query"
  13753. },
  13754. {
  13755. "type": "integer",
  13756. "description": "每页条数",
  13757. "name": "pagesize",
  13758. "in": "query"
  13759. },
  13760. {
  13761. "type": "integer",
  13762. "description": "商品ID",
  13763. "name": "goodsID",
  13764. "in": "query",
  13765. "required": true
  13766. },
  13767. {
  13768. "type": "string",
  13769. "description": "所属账户名称",
  13770. "name": "accountName",
  13771. "in": "query"
  13772. },
  13773. {
  13774. "type": "integer",
  13775. "description": "市场ID",
  13776. "name": "marketID",
  13777. "in": "query"
  13778. },
  13779. {
  13780. "type": "integer",
  13781. "description": "方向 - 0:买 1:卖",
  13782. "name": "buyorsell",
  13783. "in": "query",
  13784. "required": true
  13785. }
  13786. ],
  13787. "responses": {
  13788. "200": {
  13789. "description": "OK",
  13790. "schema": {
  13791. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  13792. }
  13793. },
  13794. "500": {
  13795. "description": "Internal Server Error",
  13796. "schema": {
  13797. "$ref": "#/definitions/app.Response"
  13798. }
  13799. }
  13800. }
  13801. }
  13802. },
  13803. "/User/AddMessageBoard": {
  13804. "post": {
  13805. "security": [
  13806. {
  13807. "ApiKeyAuth": []
  13808. }
  13809. ],
  13810. "produces": [
  13811. "application/json"
  13812. ],
  13813. "tags": [
  13814. "用户信息"
  13815. ],
  13816. "summary": "添加用户留言板信息",
  13817. "parameters": [
  13818. {
  13819. "type": "integer",
  13820. "description": "用户ID",
  13821. "name": "userID",
  13822. "in": "query",
  13823. "required": true
  13824. },
  13825. {
  13826. "type": "string",
  13827. "description": "留言信息",
  13828. "name": "message",
  13829. "in": "query",
  13830. "required": true
  13831. },
  13832. {
  13833. "type": "string",
  13834. "description": "联系电话",
  13835. "name": "contactNum",
  13836. "in": "query",
  13837. "required": true
  13838. }
  13839. ],
  13840. "responses": {
  13841. "200": {
  13842. "description": "OK",
  13843. "schema": {
  13844. "$ref": "#/definitions/app.Response"
  13845. }
  13846. },
  13847. "500": {
  13848. "description": "Internal Server Error",
  13849. "schema": {
  13850. "$ref": "#/definitions/app.Response"
  13851. }
  13852. }
  13853. }
  13854. }
  13855. },
  13856. "/User/AddUserFavoriteGoods": {
  13857. "post": {
  13858. "security": [
  13859. {
  13860. "ApiKeyAuth": []
  13861. }
  13862. ],
  13863. "produces": [
  13864. "application/json"
  13865. ],
  13866. "tags": [
  13867. "用户信息"
  13868. ],
  13869. "summary": "添加用户商品收藏信息",
  13870. "parameters": [
  13871. {
  13872. "type": "integer",
  13873. "description": "用户ID",
  13874. "name": "userID",
  13875. "in": "query",
  13876. "required": true
  13877. },
  13878. {
  13879. "type": "integer",
  13880. "description": "商品ID",
  13881. "name": "goodsID",
  13882. "in": "query",
  13883. "required": true
  13884. }
  13885. ],
  13886. "responses": {
  13887. "200": {
  13888. "description": "OK",
  13889. "schema": {
  13890. "$ref": "#/definitions/app.Response"
  13891. }
  13892. },
  13893. "500": {
  13894. "description": "Internal Server Error",
  13895. "schema": {
  13896. "$ref": "#/definitions/app.Response"
  13897. }
  13898. }
  13899. }
  13900. }
  13901. },
  13902. "/User/GetLoginID": {
  13903. "get": {
  13904. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  13905. "produces": [
  13906. "application/json"
  13907. ],
  13908. "tags": [
  13909. "用户信息"
  13910. ],
  13911. "summary": "获取登录ID",
  13912. "parameters": [
  13913. {
  13914. "type": "string",
  13915. "description": "登录代码",
  13916. "name": "username",
  13917. "in": "query",
  13918. "required": true
  13919. }
  13920. ],
  13921. "responses": {
  13922. "200": {
  13923. "description": "OK",
  13924. "schema": {
  13925. "$ref": "#/definitions/app.Response"
  13926. }
  13927. },
  13928. "500": {
  13929. "description": "Internal Server Error",
  13930. "schema": {
  13931. "$ref": "#/definitions/app.Response"
  13932. }
  13933. }
  13934. }
  13935. }
  13936. },
  13937. "/User/GetUserAccount": {
  13938. "get": {
  13939. "security": [
  13940. {
  13941. "ApiKeyAuth": []
  13942. }
  13943. ],
  13944. "produces": [
  13945. "application/json"
  13946. ],
  13947. "tags": [
  13948. "用户信息"
  13949. ],
  13950. "summary": "获取用户账号信息",
  13951. "parameters": [
  13952. {
  13953. "type": "integer",
  13954. "description": "用户ID",
  13955. "name": "userID",
  13956. "in": "query",
  13957. "required": true
  13958. }
  13959. ],
  13960. "responses": {
  13961. "200": {
  13962. "description": "OK",
  13963. "schema": {
  13964. "$ref": "#/definitions/models.Useraccount"
  13965. }
  13966. },
  13967. "500": {
  13968. "description": "Internal Server Error",
  13969. "schema": {
  13970. "$ref": "#/definitions/app.Response"
  13971. }
  13972. }
  13973. }
  13974. }
  13975. },
  13976. "/User/GetUserAuthStatus": {
  13977. "get": {
  13978. "security": [
  13979. {
  13980. "ApiKeyAuth": []
  13981. }
  13982. ],
  13983. "produces": [
  13984. "application/json"
  13985. ],
  13986. "tags": [
  13987. "用户信息"
  13988. ],
  13989. "summary": "获取用户实名认证状态",
  13990. "parameters": [
  13991. {
  13992. "type": "integer",
  13993. "description": "用户ID",
  13994. "name": "userID",
  13995. "in": "query",
  13996. "required": true
  13997. }
  13998. ],
  13999. "responses": {
  14000. "200": {
  14001. "description": "OK",
  14002. "schema": {
  14003. "$ref": "#/definitions/app.Response"
  14004. }
  14005. },
  14006. "500": {
  14007. "description": "Internal Server Error",
  14008. "schema": {
  14009. "$ref": "#/definitions/app.Response"
  14010. }
  14011. }
  14012. }
  14013. }
  14014. },
  14015. "/User/LoginQuery": {
  14016. "get": {
  14017. "security": [
  14018. {
  14019. "ApiKeyAuth": []
  14020. }
  14021. ],
  14022. "produces": [
  14023. "application/json"
  14024. ],
  14025. "tags": [
  14026. "用户信息"
  14027. ],
  14028. "summary": "账户登录后信息查询",
  14029. "parameters": [
  14030. {
  14031. "type": "integer",
  14032. "description": "登录账号",
  14033. "name": "loginID",
  14034. "in": "query",
  14035. "required": true
  14036. }
  14037. ],
  14038. "responses": {
  14039. "200": {
  14040. "description": "OK",
  14041. "schema": {
  14042. "$ref": "#/definitions/user.LoginQueryRsp"
  14043. }
  14044. },
  14045. "500": {
  14046. "description": "Internal Server Error",
  14047. "schema": {
  14048. "$ref": "#/definitions/app.Response"
  14049. }
  14050. }
  14051. }
  14052. }
  14053. },
  14054. "/User/QueryMessageBoard": {
  14055. "get": {
  14056. "security": [
  14057. {
  14058. "ApiKeyAuth": []
  14059. }
  14060. ],
  14061. "produces": [
  14062. "application/json"
  14063. ],
  14064. "tags": [
  14065. "用户信息"
  14066. ],
  14067. "summary": "获取用户留言板信息",
  14068. "parameters": [
  14069. {
  14070. "type": "integer",
  14071. "description": "用户ID",
  14072. "name": "userID",
  14073. "in": "query",
  14074. "required": true
  14075. }
  14076. ],
  14077. "responses": {
  14078. "200": {
  14079. "description": "OK",
  14080. "schema": {
  14081. "$ref": "#/definitions/models.Messageboard"
  14082. }
  14083. },
  14084. "500": {
  14085. "description": "Internal Server Error",
  14086. "schema": {
  14087. "$ref": "#/definitions/app.Response"
  14088. }
  14089. }
  14090. }
  14091. }
  14092. },
  14093. "/User/QueryUserFavoriteGoodses": {
  14094. "get": {
  14095. "security": [
  14096. {
  14097. "ApiKeyAuth": []
  14098. }
  14099. ],
  14100. "produces": [
  14101. "application/json"
  14102. ],
  14103. "tags": [
  14104. "用户信息"
  14105. ],
  14106. "summary": "获取用户商品收藏信息",
  14107. "parameters": [
  14108. {
  14109. "type": "integer",
  14110. "description": "用户ID",
  14111. "name": "userID",
  14112. "in": "query",
  14113. "required": true
  14114. }
  14115. ],
  14116. "responses": {
  14117. "200": {
  14118. "description": "OK",
  14119. "schema": {
  14120. "$ref": "#/definitions/models.Userfavoritegoods"
  14121. }
  14122. },
  14123. "500": {
  14124. "description": "Internal Server Error",
  14125. "schema": {
  14126. "$ref": "#/definitions/app.Response"
  14127. }
  14128. }
  14129. }
  14130. }
  14131. },
  14132. "/User/QueryUserInfo": {
  14133. "get": {
  14134. "security": [
  14135. {
  14136. "ApiKeyAuth": []
  14137. }
  14138. ],
  14139. "produces": [
  14140. "application/json"
  14141. ],
  14142. "tags": [
  14143. "用户信息"
  14144. ],
  14145. "summary": "获取用户信息",
  14146. "parameters": [
  14147. {
  14148. "type": "integer",
  14149. "description": "用户ID",
  14150. "name": "userID",
  14151. "in": "query",
  14152. "required": true
  14153. },
  14154. {
  14155. "type": "boolean",
  14156. "description": "是否解密",
  14157. "name": "isDecrypt",
  14158. "in": "query"
  14159. }
  14160. ],
  14161. "responses": {
  14162. "200": {
  14163. "description": "OK",
  14164. "schema": {
  14165. "$ref": "#/definitions/models.Userinfo"
  14166. }
  14167. },
  14168. "500": {
  14169. "description": "Internal Server Error",
  14170. "schema": {
  14171. "$ref": "#/definitions/app.Response"
  14172. }
  14173. }
  14174. }
  14175. }
  14176. },
  14177. "/User/QueryUserReferNum": {
  14178. "get": {
  14179. "produces": [
  14180. "application/json"
  14181. ],
  14182. "tags": [
  14183. "用户信息"
  14184. ],
  14185. "summary": "获取用户邀请码",
  14186. "parameters": [
  14187. {
  14188. "type": "integer",
  14189. "description": "用户ID",
  14190. "name": "userID",
  14191. "in": "query",
  14192. "required": true
  14193. }
  14194. ],
  14195. "responses": {
  14196. "200": {
  14197. "description": "OK",
  14198. "schema": {
  14199. "$ref": "#/definitions/app.Response"
  14200. }
  14201. },
  14202. "500": {
  14203. "description": "Internal Server Error",
  14204. "schema": {
  14205. "$ref": "#/definitions/app.Response"
  14206. }
  14207. }
  14208. }
  14209. }
  14210. },
  14211. "/User/RemoveUserFavoriteGoods": {
  14212. "post": {
  14213. "security": [
  14214. {
  14215. "ApiKeyAuth": []
  14216. }
  14217. ],
  14218. "produces": [
  14219. "application/json"
  14220. ],
  14221. "tags": [
  14222. "用户信息"
  14223. ],
  14224. "summary": "移除用户商品收藏信息",
  14225. "parameters": [
  14226. {
  14227. "type": "integer",
  14228. "description": "用户ID",
  14229. "name": "userID",
  14230. "in": "query",
  14231. "required": true
  14232. },
  14233. {
  14234. "type": "integer",
  14235. "description": "商品ID",
  14236. "name": "goodsID",
  14237. "in": "query",
  14238. "required": true
  14239. }
  14240. ],
  14241. "responses": {
  14242. "200": {
  14243. "description": "OK",
  14244. "schema": {
  14245. "$ref": "#/definitions/app.Response"
  14246. }
  14247. },
  14248. "500": {
  14249. "description": "Internal Server Error",
  14250. "schema": {
  14251. "$ref": "#/definitions/app.Response"
  14252. }
  14253. }
  14254. }
  14255. }
  14256. },
  14257. "/User/UpdateUserAccountStatus": {
  14258. "post": {
  14259. "security": [
  14260. {
  14261. "ApiKeyAuth": []
  14262. }
  14263. ],
  14264. "produces": [
  14265. "application/json"
  14266. ],
  14267. "tags": [
  14268. "用户信息"
  14269. ],
  14270. "summary": "更新用户状态",
  14271. "parameters": [
  14272. {
  14273. "type": "integer",
  14274. "description": "用户ID",
  14275. "name": "userID",
  14276. "in": "query",
  14277. "required": true
  14278. },
  14279. {
  14280. "type": "integer",
  14281. "description": "账户状态 - 4:正常 6:注销(停用)",
  14282. "name": "accountStatus",
  14283. "in": "query",
  14284. "required": true
  14285. }
  14286. ],
  14287. "responses": {
  14288. "200": {
  14289. "description": "OK",
  14290. "schema": {
  14291. "$ref": "#/definitions/app.Response"
  14292. }
  14293. },
  14294. "500": {
  14295. "description": "Internal Server Error",
  14296. "schema": {
  14297. "$ref": "#/definitions/app.Response"
  14298. }
  14299. }
  14300. }
  14301. }
  14302. },
  14303. "/WRTrade/GetAllDeliveryGoods": {
  14304. "get": {
  14305. "security": [
  14306. {
  14307. "ApiKeyAuth": []
  14308. }
  14309. ],
  14310. "produces": [
  14311. "application/json"
  14312. ],
  14313. "tags": [
  14314. "仓单贸易",
  14315. "仓单贸易"
  14316. ],
  14317. "summary": "获取带仓单分类的种类信息",
  14318. "responses": {
  14319. "200": {
  14320. "description": "OK",
  14321. "schema": {
  14322. "$ref": "#/definitions/app.Response"
  14323. }
  14324. },
  14325. "500": {
  14326. "description": "Internal Server Error",
  14327. "schema": {
  14328. "$ref": "#/definitions/app.Response"
  14329. }
  14330. }
  14331. }
  14332. }
  14333. },
  14334. "/WrTrade2/InsertXhcpSellBackApply": {
  14335. "post": {
  14336. "security": [
  14337. {
  14338. "ApiKeyAuth": []
  14339. }
  14340. ],
  14341. "produces": [
  14342. "application/json"
  14343. ],
  14344. "tags": [
  14345. "仓单贸易v2"
  14346. ],
  14347. "summary": "新增回收申请(新会陈皮)",
  14348. "parameters": [
  14349. {
  14350. "description": "回收申请",
  14351. "name": "jsonBody",
  14352. "in": "body",
  14353. "required": true,
  14354. "schema": {
  14355. "$ref": "#/definitions/models.XhcpSellBackApplyEx"
  14356. }
  14357. }
  14358. ],
  14359. "responses": {
  14360. "200": {
  14361. "description": "OK",
  14362. "schema": {
  14363. "$ref": "#/definitions/app.Response"
  14364. }
  14365. },
  14366. "500": {
  14367. "description": "Internal Server Error",
  14368. "schema": {
  14369. "$ref": "#/definitions/app.Response"
  14370. }
  14371. }
  14372. }
  14373. }
  14374. },
  14375. "/WrTrade2/QueryDeliveryGoodsSection": {
  14376. "get": {
  14377. "security": [
  14378. {
  14379. "ApiKeyAuth": []
  14380. }
  14381. ],
  14382. "produces": [
  14383. "application/json"
  14384. ],
  14385. "tags": [
  14386. "仓单贸易v2"
  14387. ],
  14388. "summary": "查询板块(分类)",
  14389. "responses": {
  14390. "200": {
  14391. "description": "OK",
  14392. "schema": {
  14393. "type": "array",
  14394. "items": {
  14395. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  14396. }
  14397. }
  14398. },
  14399. "500": {
  14400. "description": "Internal Server Error",
  14401. "schema": {
  14402. "$ref": "#/definitions/app.Response"
  14403. }
  14404. }
  14405. }
  14406. }
  14407. },
  14408. "/WrTrade2/QueryFaProductDetail": {
  14409. "get": {
  14410. "security": [
  14411. {
  14412. "ApiKeyAuth": []
  14413. }
  14414. ],
  14415. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  14416. "produces": [
  14417. "application/json"
  14418. ],
  14419. "tags": [
  14420. "仓单贸易v2"
  14421. ],
  14422. "summary": "查询融资产品列表",
  14423. "parameters": [
  14424. {
  14425. "type": "integer",
  14426. "description": "仓单要素id",
  14427. "name": "wrfactortypeid",
  14428. "in": "query",
  14429. "required": true
  14430. }
  14431. ],
  14432. "responses": {
  14433. "200": {
  14434. "description": "OK",
  14435. "schema": {
  14436. "type": "array",
  14437. "items": {
  14438. "$ref": "#/definitions/models.WrFAProductDetail"
  14439. }
  14440. }
  14441. },
  14442. "500": {
  14443. "description": "Internal Server Error",
  14444. "schema": {
  14445. "$ref": "#/definitions/app.Response"
  14446. }
  14447. }
  14448. }
  14449. }
  14450. },
  14451. "/WrTrade2/QueryFilterItem": {
  14452. "get": {
  14453. "security": [
  14454. {
  14455. "ApiKeyAuth": []
  14456. }
  14457. ],
  14458. "produces": [
  14459. "application/json"
  14460. ],
  14461. "tags": [
  14462. "仓单贸易v2"
  14463. ],
  14464. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  14465. "parameters": [
  14466. {
  14467. "type": "string",
  14468. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  14469. "name": "itype",
  14470. "in": "query",
  14471. "required": true
  14472. }
  14473. ],
  14474. "responses": {
  14475. "200": {
  14476. "description": "OK",
  14477. "schema": {
  14478. "type": "array",
  14479. "items": {
  14480. "$ref": "#/definitions/models.WrFilterItem"
  14481. }
  14482. }
  14483. },
  14484. "500": {
  14485. "description": "Internal Server Error",
  14486. "schema": {
  14487. "$ref": "#/definitions/app.Response"
  14488. }
  14489. }
  14490. }
  14491. }
  14492. },
  14493. "/WrTrade2/QueryFtDeliveryGoods": {
  14494. "get": {
  14495. "security": [
  14496. {
  14497. "ApiKeyAuth": []
  14498. }
  14499. ],
  14500. "produces": [
  14501. "application/json"
  14502. ],
  14503. "tags": [
  14504. "仓单贸易v2"
  14505. ],
  14506. "summary": "查询品种品类筛选框列表",
  14507. "responses": {
  14508. "200": {
  14509. "description": "OK",
  14510. "schema": {
  14511. "type": "array",
  14512. "items": {
  14513. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  14514. }
  14515. }
  14516. },
  14517. "500": {
  14518. "description": "Internal Server Error",
  14519. "schema": {
  14520. "$ref": "#/definitions/app.Response"
  14521. }
  14522. }
  14523. }
  14524. }
  14525. },
  14526. "/WrTrade2/QueryHoldLB": {
  14527. "get": {
  14528. "security": [
  14529. {
  14530. "ApiKeyAuth": []
  14531. }
  14532. ],
  14533. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  14534. "produces": [
  14535. "application/json"
  14536. ],
  14537. "tags": [
  14538. "仓单贸易v2"
  14539. ],
  14540. "summary": "查询仓单持有记录",
  14541. "parameters": [
  14542. {
  14543. "type": "integer",
  14544. "description": "资金账号",
  14545. "name": "accountid",
  14546. "in": "query",
  14547. "required": true
  14548. },
  14549. {
  14550. "type": "integer",
  14551. "description": "仓库id",
  14552. "name": "warehouseid",
  14553. "in": "query"
  14554. },
  14555. {
  14556. "type": "integer",
  14557. "description": "品种id",
  14558. "name": "deliverygoodsid",
  14559. "in": "query"
  14560. },
  14561. {
  14562. "type": "integer",
  14563. "description": "品类id",
  14564. "name": "wrstandardid",
  14565. "in": "query"
  14566. },
  14567. {
  14568. "type": "integer",
  14569. "description": "仓单要素id",
  14570. "name": "wrfactortypeid",
  14571. "in": "query"
  14572. },
  14573. {
  14574. "type": "string",
  14575. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  14576. "name": "dgitemname",
  14577. "in": "query"
  14578. }
  14579. ],
  14580. "responses": {
  14581. "200": {
  14582. "description": "OK",
  14583. "schema": {
  14584. "type": "array",
  14585. "items": {
  14586. "$ref": "#/definitions/models.WrHoldLB"
  14587. }
  14588. }
  14589. },
  14590. "500": {
  14591. "description": "Internal Server Error",
  14592. "schema": {
  14593. "$ref": "#/definitions/app.Response"
  14594. }
  14595. }
  14596. }
  14597. }
  14598. },
  14599. "/WrTrade2/QueryOrderQuote": {
  14600. "get": {
  14601. "security": [
  14602. {
  14603. "ApiKeyAuth": []
  14604. }
  14605. ],
  14606. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  14607. "produces": [
  14608. "application/json"
  14609. ],
  14610. "tags": [
  14611. "仓单贸易v2"
  14612. ],
  14613. "summary": "查询大厅行情列表",
  14614. "parameters": [
  14615. {
  14616. "type": "integer",
  14617. "description": "页码",
  14618. "name": "page",
  14619. "in": "query"
  14620. },
  14621. {
  14622. "type": "integer",
  14623. "description": "每页条数",
  14624. "name": "pagesize",
  14625. "in": "query"
  14626. },
  14627. {
  14628. "type": "integer",
  14629. "description": "仓单贸易市场id",
  14630. "name": "marketid",
  14631. "in": "query"
  14632. },
  14633. {
  14634. "type": "integer",
  14635. "description": "价格方式 - 1:固定价 2-浮动价",
  14636. "name": "wrpricetype",
  14637. "in": "query",
  14638. "required": true
  14639. },
  14640. {
  14641. "type": "integer",
  14642. "description": "0:仓单预售 1:仓单贸易",
  14643. "name": "haswr",
  14644. "in": "query"
  14645. },
  14646. {
  14647. "type": "string",
  14648. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  14649. "name": "dgitemname",
  14650. "in": "query"
  14651. },
  14652. {
  14653. "type": "integer",
  14654. "description": "仓库id(筛选条件)",
  14655. "name": "warehouseid",
  14656. "in": "query"
  14657. },
  14658. {
  14659. "type": "integer",
  14660. "description": "品种id",
  14661. "name": "deliverygoodsid",
  14662. "in": "query"
  14663. },
  14664. {
  14665. "type": "integer",
  14666. "description": "品类id",
  14667. "name": "wrstandardid",
  14668. "in": "query"
  14669. },
  14670. {
  14671. "type": "integer",
  14672. "description": "品牌id(dgfactoryitemid)",
  14673. "name": "brandid",
  14674. "in": "query"
  14675. },
  14676. {
  14677. "type": "integer",
  14678. "description": "年份id(dgfactoryitemid)",
  14679. "name": "yearsid",
  14680. "in": "query"
  14681. },
  14682. {
  14683. "type": "integer",
  14684. "description": "仓单要素id",
  14685. "name": "wrfactortypeid",
  14686. "in": "query"
  14687. },
  14688. {
  14689. "type": "string",
  14690. "description": "交收月(yyyy-mm) 仓单预售填写",
  14691. "name": "deliverymonth",
  14692. "in": "query"
  14693. }
  14694. ],
  14695. "responses": {
  14696. "200": {
  14697. "description": "OK",
  14698. "schema": {
  14699. "type": "array",
  14700. "items": {
  14701. "$ref": "#/definitions/models.WrOrderQuote"
  14702. }
  14703. }
  14704. },
  14705. "500": {
  14706. "description": "Internal Server Error",
  14707. "schema": {
  14708. "$ref": "#/definitions/app.Response"
  14709. }
  14710. }
  14711. }
  14712. }
  14713. },
  14714. "/WrTrade2/QueryOrderQuoteDetail": {
  14715. "get": {
  14716. "security": [
  14717. {
  14718. "ApiKeyAuth": []
  14719. }
  14720. ],
  14721. "produces": [
  14722. "application/json"
  14723. ],
  14724. "tags": [
  14725. "仓单贸易v2"
  14726. ],
  14727. "summary": "查询买卖大厅",
  14728. "parameters": [
  14729. {
  14730. "type": "integer",
  14731. "description": "页码",
  14732. "name": "page",
  14733. "in": "query"
  14734. },
  14735. {
  14736. "type": "integer",
  14737. "description": "每页条数",
  14738. "name": "pagesize",
  14739. "in": "query"
  14740. },
  14741. {
  14742. "type": "integer",
  14743. "description": "仓单贸易市场id",
  14744. "name": "marketid",
  14745. "in": "query"
  14746. },
  14747. {
  14748. "type": "integer",
  14749. "description": "价格方式 - 1:固定价 2-浮动价",
  14750. "name": "wrpricetype",
  14751. "in": "query",
  14752. "required": true
  14753. },
  14754. {
  14755. "type": "integer",
  14756. "description": "0:仓单预售 1:仓单贸易",
  14757. "name": "haswr",
  14758. "in": "query"
  14759. },
  14760. {
  14761. "type": "integer",
  14762. "description": "仓单要素id",
  14763. "name": "wrfactortypeid",
  14764. "in": "query",
  14765. "required": true
  14766. },
  14767. {
  14768. "type": "integer",
  14769. "description": "期货商品id(浮动价方式时填)",
  14770. "name": "goodsid",
  14771. "in": "query"
  14772. },
  14773. {
  14774. "type": "integer",
  14775. "description": "买卖方向 0-买 1-卖",
  14776. "name": "buyorsell",
  14777. "in": "query",
  14778. "required": true
  14779. },
  14780. {
  14781. "type": "string",
  14782. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  14783. "name": "deliverymonth",
  14784. "in": "query"
  14785. }
  14786. ],
  14787. "responses": {
  14788. "200": {
  14789. "description": "OK",
  14790. "schema": {
  14791. "type": "array",
  14792. "items": {
  14793. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  14794. }
  14795. }
  14796. },
  14797. "500": {
  14798. "description": "Internal Server Error",
  14799. "schema": {
  14800. "$ref": "#/definitions/app.Response"
  14801. }
  14802. }
  14803. }
  14804. }
  14805. },
  14806. "/WrTrade2/QueryOrderQuoteMyq": {
  14807. "get": {
  14808. "security": [
  14809. {
  14810. "ApiKeyAuth": []
  14811. }
  14812. ],
  14813. "produces": [
  14814. "application/json"
  14815. ],
  14816. "tags": [
  14817. "仓单贸易v2"
  14818. ],
  14819. "summary": "查询贸易圈挂牌大厅",
  14820. "parameters": [
  14821. {
  14822. "type": "integer",
  14823. "description": "页码",
  14824. "name": "page",
  14825. "in": "query"
  14826. },
  14827. {
  14828. "type": "integer",
  14829. "description": "每页条数",
  14830. "name": "pagesize",
  14831. "in": "query"
  14832. },
  14833. {
  14834. "type": "integer",
  14835. "description": "用户id",
  14836. "name": "userid",
  14837. "in": "query",
  14838. "required": true
  14839. },
  14840. {
  14841. "type": "integer",
  14842. "description": "仓单贸易市场id",
  14843. "name": "marketid",
  14844. "in": "query"
  14845. },
  14846. {
  14847. "type": "integer",
  14848. "description": "0:仓单预售 1:仓单贸易",
  14849. "name": "haswr",
  14850. "in": "query"
  14851. },
  14852. {
  14853. "type": "integer",
  14854. "description": "买卖方向 0-买 1-卖",
  14855. "name": "buyorsell",
  14856. "in": "query",
  14857. "required": true
  14858. },
  14859. {
  14860. "type": "integer",
  14861. "description": "品种id",
  14862. "name": "deliverygoodsid",
  14863. "in": "query"
  14864. },
  14865. {
  14866. "type": "integer",
  14867. "description": "品类id",
  14868. "name": "wrstandardid",
  14869. "in": "query"
  14870. },
  14871. {
  14872. "type": "string",
  14873. "description": "交收月(yyyy-mm) 仓单预售填写",
  14874. "name": "deliverymonth",
  14875. "in": "query"
  14876. },
  14877. {
  14878. "type": "string",
  14879. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  14880. "name": "dgitemname",
  14881. "in": "query"
  14882. }
  14883. ],
  14884. "responses": {
  14885. "200": {
  14886. "description": "OK",
  14887. "schema": {
  14888. "type": "array",
  14889. "items": {
  14890. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  14891. }
  14892. }
  14893. },
  14894. "500": {
  14895. "description": "Internal Server Error",
  14896. "schema": {
  14897. "$ref": "#/definitions/app.Response"
  14898. }
  14899. }
  14900. }
  14901. }
  14902. },
  14903. "/WrTrade2/QueryPerformancePlan": {
  14904. "get": {
  14905. "security": [
  14906. {
  14907. "ApiKeyAuth": []
  14908. }
  14909. ],
  14910. "produces": [
  14911. "application/json"
  14912. ],
  14913. "tags": [
  14914. "仓单贸易v2"
  14915. ],
  14916. "summary": "查询履约信息",
  14917. "parameters": [
  14918. {
  14919. "type": "integer",
  14920. "description": "用户id",
  14921. "name": "userid",
  14922. "in": "query",
  14923. "required": true
  14924. },
  14925. {
  14926. "type": "integer",
  14927. "description": "买卖方向 0-买 1-卖",
  14928. "name": "buyorsell",
  14929. "in": "query",
  14930. "required": true
  14931. },
  14932. {
  14933. "type": "string",
  14934. "description": "履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  14935. "name": "status",
  14936. "in": "query"
  14937. },
  14938. {
  14939. "type": "string",
  14940. "description": "开始交易日(yyyymmdd)",
  14941. "name": "begindate",
  14942. "in": "query"
  14943. },
  14944. {
  14945. "type": "string",
  14946. "description": "结束交易日(yyyymmdd)",
  14947. "name": "enddate",
  14948. "in": "query"
  14949. }
  14950. ],
  14951. "responses": {
  14952. "200": {
  14953. "description": "OK",
  14954. "schema": {
  14955. "type": "array",
  14956. "items": {
  14957. "$ref": "#/definitions/models.WrPerformancePlan"
  14958. }
  14959. }
  14960. },
  14961. "500": {
  14962. "description": "Internal Server Error",
  14963. "schema": {
  14964. "$ref": "#/definitions/app.Response"
  14965. }
  14966. }
  14967. }
  14968. }
  14969. },
  14970. "/WrTrade2/QueryPermancePlanTmp": {
  14971. "get": {
  14972. "security": [
  14973. {
  14974. "ApiKeyAuth": []
  14975. }
  14976. ],
  14977. "description": "返回指定用户的模板和公共模板(用户id为空)\n注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段",
  14978. "produces": [
  14979. "application/json"
  14980. ],
  14981. "tags": [
  14982. "仓单贸易v2"
  14983. ],
  14984. "summary": "查询履约模板",
  14985. "parameters": [
  14986. {
  14987. "type": "integer",
  14988. "description": "用户id",
  14989. "name": "userid",
  14990. "in": "query"
  14991. },
  14992. {
  14993. "type": "string",
  14994. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  14995. "name": "tmptype",
  14996. "in": "query"
  14997. },
  14998. {
  14999. "type": "integer",
  15000. "description": "是否包含公共模板(用户id为空的) 1-包含",
  15001. "name": "includepub",
  15002. "in": "query"
  15003. },
  15004. {
  15005. "type": "integer",
  15006. "description": "市场id(天津麦顿指定此参数,其它不用)",
  15007. "name": "marketid",
  15008. "in": "query"
  15009. }
  15010. ],
  15011. "responses": {
  15012. "200": {
  15013. "description": "OK",
  15014. "schema": {
  15015. "type": "array",
  15016. "items": {
  15017. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  15018. }
  15019. }
  15020. },
  15021. "500": {
  15022. "description": "Internal Server Error",
  15023. "schema": {
  15024. "$ref": "#/definitions/app.Response"
  15025. }
  15026. }
  15027. }
  15028. }
  15029. },
  15030. "/WrTrade2/QuerySiteColumnDetail": {
  15031. "get": {
  15032. "security": [
  15033. {
  15034. "ApiKeyAuth": []
  15035. }
  15036. ],
  15037. "produces": [
  15038. "application/json"
  15039. ],
  15040. "tags": [
  15041. "仓单贸易v2"
  15042. ],
  15043. "summary": "查询资讯",
  15044. "parameters": [
  15045. {
  15046. "type": "integer",
  15047. "description": "页码",
  15048. "name": "page",
  15049. "in": "query"
  15050. },
  15051. {
  15052. "type": "integer",
  15053. "description": "每页条数",
  15054. "name": "pagesize",
  15055. "in": "query"
  15056. },
  15057. {
  15058. "type": "integer",
  15059. "description": "所属栏目id",
  15060. "name": "columnid",
  15061. "in": "query"
  15062. }
  15063. ],
  15064. "responses": {
  15065. "200": {
  15066. "description": "OK",
  15067. "schema": {
  15068. "type": "array",
  15069. "items": {
  15070. "$ref": "#/definitions/models.WrSiteColumnDetail"
  15071. }
  15072. }
  15073. },
  15074. "500": {
  15075. "description": "Internal Server Error",
  15076. "schema": {
  15077. "$ref": "#/definitions/app.Response"
  15078. }
  15079. }
  15080. }
  15081. }
  15082. },
  15083. "/WrTrade2/QuerySpotGroupTradeSum": {
  15084. "get": {
  15085. "security": [
  15086. {
  15087. "ApiKeyAuth": []
  15088. }
  15089. ],
  15090. "produces": [
  15091. "application/json"
  15092. ],
  15093. "tags": [
  15094. "仓单贸易v2"
  15095. ],
  15096. "summary": "查询指数",
  15097. "responses": {
  15098. "200": {
  15099. "description": "OK",
  15100. "schema": {
  15101. "type": "array",
  15102. "items": {
  15103. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  15104. }
  15105. }
  15106. },
  15107. "500": {
  15108. "description": "Internal Server Error",
  15109. "schema": {
  15110. "$ref": "#/definitions/app.Response"
  15111. }
  15112. }
  15113. }
  15114. }
  15115. },
  15116. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  15117. "get": {
  15118. "security": [
  15119. {
  15120. "ApiKeyAuth": []
  15121. }
  15122. ],
  15123. "description": "查询的结果将会按日期 从小到大 排序",
  15124. "produces": [
  15125. "application/json"
  15126. ],
  15127. "tags": [
  15128. "仓单贸易v2"
  15129. ],
  15130. "summary": "查询指数详细(价格走势图)",
  15131. "parameters": [
  15132. {
  15133. "type": "integer",
  15134. "description": "现货商品id",
  15135. "name": "deliverygoodsid",
  15136. "in": "query",
  15137. "required": true
  15138. },
  15139. {
  15140. "type": "integer",
  15141. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  15142. "name": "lastnum",
  15143. "in": "query"
  15144. }
  15145. ],
  15146. "responses": {
  15147. "200": {
  15148. "description": "OK",
  15149. "schema": {
  15150. "type": "array",
  15151. "items": {
  15152. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  15153. }
  15154. }
  15155. },
  15156. "500": {
  15157. "description": "Internal Server Error",
  15158. "schema": {
  15159. "$ref": "#/definitions/app.Response"
  15160. }
  15161. }
  15162. }
  15163. }
  15164. },
  15165. "/WrTrade2/QueryWrAverageTradePrice": {
  15166. "get": {
  15167. "security": [
  15168. {
  15169. "ApiKeyAuth": []
  15170. }
  15171. ],
  15172. "produces": [
  15173. "application/json"
  15174. ],
  15175. "tags": [
  15176. "仓单贸易v2"
  15177. ],
  15178. "summary": "查询成交价(历史走势)",
  15179. "parameters": [
  15180. {
  15181. "type": "integer",
  15182. "description": "页码",
  15183. "name": "page",
  15184. "in": "query"
  15185. },
  15186. {
  15187. "type": "integer",
  15188. "description": "每页条数",
  15189. "name": "pagesize",
  15190. "in": "query"
  15191. },
  15192. {
  15193. "type": "integer",
  15194. "description": "0:仓单预售 1:仓单贸易",
  15195. "name": "haswr",
  15196. "in": "query",
  15197. "required": true
  15198. },
  15199. {
  15200. "type": "integer",
  15201. "description": "仓单要素id",
  15202. "name": "wrfactortypeid",
  15203. "in": "query",
  15204. "required": true
  15205. }
  15206. ],
  15207. "responses": {
  15208. "200": {
  15209. "description": "OK",
  15210. "schema": {
  15211. "type": "array",
  15212. "items": {
  15213. "$ref": "#/definitions/models.WrAverageTradePrice"
  15214. }
  15215. }
  15216. },
  15217. "500": {
  15218. "description": "Internal Server Error",
  15219. "schema": {
  15220. "$ref": "#/definitions/app.Response"
  15221. }
  15222. }
  15223. }
  15224. }
  15225. },
  15226. "/WrTrade2/QueryWrBrandAndYears": {
  15227. "get": {
  15228. "security": [
  15229. {
  15230. "ApiKeyAuth": []
  15231. }
  15232. ],
  15233. "produces": [
  15234. "application/json"
  15235. ],
  15236. "tags": [
  15237. "仓单贸易v2"
  15238. ],
  15239. "summary": "查询品牌和年份",
  15240. "responses": {
  15241. "200": {
  15242. "description": "OK",
  15243. "schema": {
  15244. "type": "array",
  15245. "items": {
  15246. "$ref": "#/definitions/models.WrBrandAndYears"
  15247. }
  15248. }
  15249. },
  15250. "500": {
  15251. "description": "Internal Server Error",
  15252. "schema": {
  15253. "$ref": "#/definitions/app.Response"
  15254. }
  15255. }
  15256. }
  15257. }
  15258. },
  15259. "/WrTrade2/QueryWrBsGoodsInfo": {
  15260. "get": {
  15261. "security": [
  15262. {
  15263. "ApiKeyAuth": []
  15264. }
  15265. ],
  15266. "description": "合约交易/买卖大厅/详情",
  15267. "produces": [
  15268. "application/json"
  15269. ],
  15270. "tags": [
  15271. "仓单贸易v2"
  15272. ],
  15273. "summary": "查询合约交易买卖大厅详情",
  15274. "parameters": [
  15275. {
  15276. "type": "integer",
  15277. "description": "商品id",
  15278. "name": "goodsid",
  15279. "in": "query",
  15280. "required": true
  15281. }
  15282. ],
  15283. "responses": {
  15284. "200": {
  15285. "description": "OK",
  15286. "schema": {
  15287. "type": "array",
  15288. "items": {
  15289. "$ref": "#/definitions/models.WrBsGoodsInfo"
  15290. }
  15291. }
  15292. },
  15293. "500": {
  15294. "description": "Internal Server Error",
  15295. "schema": {
  15296. "$ref": "#/definitions/app.Response"
  15297. }
  15298. }
  15299. }
  15300. }
  15301. },
  15302. "/WrTrade2/QueryWrBuybackDetail": {
  15303. "get": {
  15304. "security": [
  15305. {
  15306. "ApiKeyAuth": []
  15307. }
  15308. ],
  15309. "produces": [
  15310. "application/json"
  15311. ],
  15312. "tags": [
  15313. "仓单贸易v2"
  15314. ],
  15315. "summary": "查询仓单回购明细",
  15316. "parameters": [
  15317. {
  15318. "type": "integer",
  15319. "description": "融资合同id",
  15320. "name": "scfcontractid",
  15321. "in": "query"
  15322. }
  15323. ],
  15324. "responses": {
  15325. "200": {
  15326. "description": "OK",
  15327. "schema": {
  15328. "type": "array",
  15329. "items": {
  15330. "$ref": "#/definitions/models.WrBuybackDetail"
  15331. }
  15332. }
  15333. },
  15334. "500": {
  15335. "description": "Internal Server Error",
  15336. "schema": {
  15337. "$ref": "#/definitions/app.Response"
  15338. }
  15339. }
  15340. }
  15341. }
  15342. },
  15343. "/WrTrade2/QueryWrClientAdSpaceConfig": {
  15344. "get": {
  15345. "security": [
  15346. {
  15347. "ApiKeyAuth": []
  15348. }
  15349. ],
  15350. "produces": [
  15351. "application/json"
  15352. ],
  15353. "tags": [
  15354. "仓单贸易v2"
  15355. ],
  15356. "summary": "查询固定广告配置",
  15357. "responses": {
  15358. "200": {
  15359. "description": "OK",
  15360. "schema": {
  15361. "type": "array",
  15362. "items": {
  15363. "$ref": "#/definitions/models.WrClientAdSpaceConfig"
  15364. }
  15365. }
  15366. },
  15367. "500": {
  15368. "description": "Internal Server Error",
  15369. "schema": {
  15370. "$ref": "#/definitions/app.Response"
  15371. }
  15372. }
  15373. }
  15374. }
  15375. },
  15376. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  15377. "get": {
  15378. "security": [
  15379. {
  15380. "ApiKeyAuth": []
  15381. }
  15382. ],
  15383. "produces": [
  15384. "application/json"
  15385. ],
  15386. "tags": [
  15387. "仓单贸易v2"
  15388. ],
  15389. "summary": "查询合约交收可点选仓单",
  15390. "parameters": [
  15391. {
  15392. "type": "integer",
  15393. "description": "资金账号",
  15394. "name": "accountid",
  15395. "in": "query",
  15396. "required": true
  15397. },
  15398. {
  15399. "type": "integer",
  15400. "description": "商品id",
  15401. "name": "goodsid",
  15402. "in": "query",
  15403. "required": true
  15404. }
  15405. ],
  15406. "responses": {
  15407. "200": {
  15408. "description": "OK",
  15409. "schema": {
  15410. "type": "array",
  15411. "items": {
  15412. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  15413. }
  15414. }
  15415. },
  15416. "500": {
  15417. "description": "Internal Server Error",
  15418. "schema": {
  15419. "$ref": "#/definitions/app.Response"
  15420. }
  15421. }
  15422. }
  15423. }
  15424. },
  15425. "/WrTrade2/QueryWrDeliveryDetail": {
  15426. "get": {
  15427. "security": [
  15428. {
  15429. "ApiKeyAuth": []
  15430. }
  15431. ],
  15432. "produces": [
  15433. "application/json"
  15434. ],
  15435. "tags": [
  15436. "仓单贸易v2"
  15437. ],
  15438. "summary": "查询交收",
  15439. "parameters": [
  15440. {
  15441. "type": "integer",
  15442. "description": "用户id",
  15443. "name": "userid",
  15444. "in": "query",
  15445. "required": true
  15446. },
  15447. {
  15448. "type": "integer",
  15449. "description": "资金账号id",
  15450. "name": "accountid",
  15451. "in": "query"
  15452. },
  15453. {
  15454. "type": "string",
  15455. "description": "开始交易日(yyyymmdd)",
  15456. "name": "begindate",
  15457. "in": "query"
  15458. },
  15459. {
  15460. "type": "string",
  15461. "description": "结束交易日(yyyymmdd)",
  15462. "name": "enddate",
  15463. "in": "query"
  15464. }
  15465. ],
  15466. "responses": {
  15467. "200": {
  15468. "description": "OK",
  15469. "schema": {
  15470. "type": "array",
  15471. "items": {
  15472. "$ref": "#/definitions/models.WrDeliveryDetail"
  15473. }
  15474. }
  15475. },
  15476. "500": {
  15477. "description": "Internal Server Error",
  15478. "schema": {
  15479. "$ref": "#/definitions/app.Response"
  15480. }
  15481. }
  15482. }
  15483. }
  15484. },
  15485. "/WrTrade2/QueryWrDraftUserInfo": {
  15486. "get": {
  15487. "security": [
  15488. {
  15489. "ApiKeyAuth": []
  15490. }
  15491. ],
  15492. "produces": [
  15493. "application/json"
  15494. ],
  15495. "tags": [
  15496. "仓单贸易v2"
  15497. ],
  15498. "summary": "查询实名认证信息",
  15499. "parameters": [
  15500. {
  15501. "type": "integer",
  15502. "description": "用户ID",
  15503. "name": "userid",
  15504. "in": "query",
  15505. "required": true
  15506. },
  15507. {
  15508. "type": "integer",
  15509. "description": "用户状态 1:正常 2:注销",
  15510. "name": "userstatus",
  15511. "in": "query"
  15512. }
  15513. ],
  15514. "responses": {
  15515. "200": {
  15516. "description": "OK",
  15517. "schema": {
  15518. "type": "array",
  15519. "items": {
  15520. "$ref": "#/definitions/models.WrDraftUserInfo"
  15521. }
  15522. }
  15523. },
  15524. "500": {
  15525. "description": "Internal Server Error",
  15526. "schema": {
  15527. "$ref": "#/definitions/app.Response"
  15528. }
  15529. }
  15530. }
  15531. }
  15532. },
  15533. "/WrTrade2/QueryWrFactorTypeInfo": {
  15534. "get": {
  15535. "security": [
  15536. {
  15537. "ApiKeyAuth": []
  15538. }
  15539. ],
  15540. "produces": [
  15541. "application/json"
  15542. ],
  15543. "tags": [
  15544. "仓单贸易v2"
  15545. ],
  15546. "summary": "查询仓单要素详细信息",
  15547. "parameters": [
  15548. {
  15549. "type": "integer",
  15550. "description": "仓单要素id",
  15551. "name": "wrfactortypeid",
  15552. "in": "query",
  15553. "required": true
  15554. }
  15555. ],
  15556. "responses": {
  15557. "200": {
  15558. "description": "OK",
  15559. "schema": {
  15560. "type": "array",
  15561. "items": {
  15562. "$ref": "#/definitions/models.WrFactorTypeInfo"
  15563. }
  15564. }
  15565. },
  15566. "500": {
  15567. "description": "Internal Server Error",
  15568. "schema": {
  15569. "$ref": "#/definitions/app.Response"
  15570. }
  15571. }
  15572. }
  15573. }
  15574. },
  15575. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  15576. "get": {
  15577. "security": [
  15578. {
  15579. "ApiKeyAuth": []
  15580. }
  15581. ],
  15582. "produces": [
  15583. "application/json"
  15584. ],
  15585. "tags": [
  15586. "仓单贸易v2"
  15587. ],
  15588. "summary": "查询仓单要素详细信息列表项",
  15589. "parameters": [
  15590. {
  15591. "type": "integer",
  15592. "description": "仓单要素id",
  15593. "name": "wrfactortypeid",
  15594. "in": "query",
  15595. "required": true
  15596. }
  15597. ],
  15598. "responses": {
  15599. "200": {
  15600. "description": "OK",
  15601. "schema": {
  15602. "type": "array",
  15603. "items": {
  15604. "$ref": "#/definitions/models.WrTypeItem"
  15605. }
  15606. }
  15607. },
  15608. "500": {
  15609. "description": "Internal Server Error",
  15610. "schema": {
  15611. "$ref": "#/definitions/app.Response"
  15612. }
  15613. }
  15614. }
  15615. }
  15616. },
  15617. "/WrTrade2/QueryWrFinanceBuyApply": {
  15618. "get": {
  15619. "security": [
  15620. {
  15621. "ApiKeyAuth": []
  15622. }
  15623. ],
  15624. "description": "页面 融资信息+ / 申请单",
  15625. "produces": [
  15626. "application/json"
  15627. ],
  15628. "tags": [
  15629. "仓单贸易v2"
  15630. ],
  15631. "summary": "查询融资购买申请",
  15632. "parameters": [
  15633. {
  15634. "type": "integer",
  15635. "description": "用户id",
  15636. "name": "userid",
  15637. "in": "query",
  15638. "required": true
  15639. }
  15640. ],
  15641. "responses": {
  15642. "200": {
  15643. "description": "OK",
  15644. "schema": {
  15645. "type": "array",
  15646. "items": {
  15647. "$ref": "#/definitions/models.WrFinanceBuyApply"
  15648. }
  15649. }
  15650. },
  15651. "500": {
  15652. "description": "Internal Server Error",
  15653. "schema": {
  15654. "$ref": "#/definitions/app.Response"
  15655. }
  15656. }
  15657. }
  15658. }
  15659. },
  15660. "/WrTrade2/QueryWrFriendApply": {
  15661. "get": {
  15662. "security": [
  15663. {
  15664. "ApiKeyAuth": []
  15665. }
  15666. ],
  15667. "produces": [
  15668. "application/json"
  15669. ],
  15670. "tags": [
  15671. "仓单贸易v2"
  15672. ],
  15673. "summary": "查询好友申请记录",
  15674. "parameters": [
  15675. {
  15676. "type": "integer",
  15677. "description": "用户id",
  15678. "name": "userid",
  15679. "in": "query",
  15680. "required": true
  15681. }
  15682. ],
  15683. "responses": {
  15684. "200": {
  15685. "description": "OK",
  15686. "schema": {
  15687. "type": "array",
  15688. "items": {
  15689. "$ref": "#/definitions/models.WrFriendApply"
  15690. }
  15691. }
  15692. },
  15693. "500": {
  15694. "description": "Internal Server Error",
  15695. "schema": {
  15696. "$ref": "#/definitions/app.Response"
  15697. }
  15698. }
  15699. }
  15700. }
  15701. },
  15702. "/WrTrade2/QueryWrGoodsInfo": {
  15703. "get": {
  15704. "security": [
  15705. {
  15706. "ApiKeyAuth": []
  15707. }
  15708. ],
  15709. "produces": [
  15710. "application/json"
  15711. ],
  15712. "tags": [
  15713. "仓单贸易v2"
  15714. ],
  15715. "summary": "查询仓单商品信息",
  15716. "parameters": [
  15717. {
  15718. "type": "integer",
  15719. "description": "仓单贸易市场id",
  15720. "name": "marketid",
  15721. "in": "query"
  15722. },
  15723. {
  15724. "type": "integer",
  15725. "description": "0:仓单预售 1:仓单贸易",
  15726. "name": "haswr",
  15727. "in": "query",
  15728. "required": true
  15729. },
  15730. {
  15731. "type": "integer",
  15732. "description": "仓单要素id",
  15733. "name": "wrfactortypeid",
  15734. "in": "query",
  15735. "required": true
  15736. },
  15737. {
  15738. "type": "integer",
  15739. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  15740. "name": "tmplateid",
  15741. "in": "query"
  15742. }
  15743. ],
  15744. "responses": {
  15745. "200": {
  15746. "description": "OK",
  15747. "schema": {
  15748. "type": "array",
  15749. "items": {
  15750. "$ref": "#/definitions/models.WrGoodsInfo"
  15751. }
  15752. }
  15753. },
  15754. "500": {
  15755. "description": "Internal Server Error",
  15756. "schema": {
  15757. "$ref": "#/definitions/app.Response"
  15758. }
  15759. }
  15760. }
  15761. }
  15762. },
  15763. "/WrTrade2/QueryWrMarketTradeConfig": {
  15764. "get": {
  15765. "security": [
  15766. {
  15767. "ApiKeyAuth": []
  15768. }
  15769. ],
  15770. "produces": [
  15771. "application/json"
  15772. ],
  15773. "tags": [
  15774. "仓单贸易v2"
  15775. ],
  15776. "summary": "查询市场交易参数配置",
  15777. "parameters": [
  15778. {
  15779. "type": "integer",
  15780. "description": "市场id",
  15781. "name": "marketid",
  15782. "in": "query"
  15783. }
  15784. ],
  15785. "responses": {
  15786. "200": {
  15787. "description": "OK",
  15788. "schema": {
  15789. "type": "array",
  15790. "items": {
  15791. "$ref": "#/definitions/models.WrMarketTradeConfig"
  15792. }
  15793. }
  15794. },
  15795. "500": {
  15796. "description": "Internal Server Error",
  15797. "schema": {
  15798. "$ref": "#/definitions/app.Response"
  15799. }
  15800. }
  15801. }
  15802. }
  15803. },
  15804. "/WrTrade2/QueryWrOrderDetail": {
  15805. "get": {
  15806. "security": [
  15807. {
  15808. "ApiKeyAuth": []
  15809. }
  15810. ],
  15811. "description": "页面 现货仓单 | 预售仓单 -\u003e 委托单",
  15812. "produces": [
  15813. "application/json"
  15814. ],
  15815. "tags": [
  15816. "仓单贸易v2"
  15817. ],
  15818. "summary": "查询仓单委托单",
  15819. "parameters": [
  15820. {
  15821. "type": "integer",
  15822. "description": "页码",
  15823. "name": "page",
  15824. "in": "query"
  15825. },
  15826. {
  15827. "type": "integer",
  15828. "description": "每页条数",
  15829. "name": "pagesize",
  15830. "in": "query"
  15831. },
  15832. {
  15833. "type": "integer",
  15834. "description": "用户id",
  15835. "name": "userid",
  15836. "in": "query",
  15837. "required": true
  15838. },
  15839. {
  15840. "type": "integer",
  15841. "description": "仓单贸易市场id",
  15842. "name": "marketid",
  15843. "in": "query"
  15844. },
  15845. {
  15846. "type": "integer",
  15847. "description": "0:仓单预售 1:仓单贸易",
  15848. "name": "haswr",
  15849. "in": "query",
  15850. "required": true
  15851. },
  15852. {
  15853. "type": "integer",
  15854. "description": "是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场",
  15855. "name": "bcancel",
  15856. "in": "query"
  15857. },
  15858. {
  15859. "type": "integer",
  15860. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  15861. "name": "wrtradetype",
  15862. "in": "query"
  15863. },
  15864. {
  15865. "type": "string",
  15866. "description": "开始交易日(yyyymmdd)",
  15867. "name": "begindate",
  15868. "in": "query"
  15869. },
  15870. {
  15871. "type": "string",
  15872. "description": "结束交易日(yyyymmdd)",
  15873. "name": "enddate",
  15874. "in": "query"
  15875. }
  15876. ],
  15877. "responses": {
  15878. "200": {
  15879. "description": "OK",
  15880. "schema": {
  15881. "type": "array",
  15882. "items": {
  15883. "$ref": "#/definitions/models.WrOrderDetail"
  15884. }
  15885. }
  15886. },
  15887. "500": {
  15888. "description": "Internal Server Error",
  15889. "schema": {
  15890. "$ref": "#/definitions/app.Response"
  15891. }
  15892. }
  15893. }
  15894. }
  15895. },
  15896. "/WrTrade2/QueryWrOutInApply": {
  15897. "get": {
  15898. "security": [
  15899. {
  15900. "ApiKeyAuth": []
  15901. }
  15902. ],
  15903. "produces": [
  15904. "application/json"
  15905. ],
  15906. "tags": [
  15907. "仓单贸易v2"
  15908. ],
  15909. "summary": "查询提货申请",
  15910. "parameters": [
  15911. {
  15912. "type": "integer",
  15913. "description": "页码",
  15914. "name": "page",
  15915. "in": "query"
  15916. },
  15917. {
  15918. "type": "integer",
  15919. "description": "每页条数",
  15920. "name": "pagesize",
  15921. "in": "query"
  15922. },
  15923. {
  15924. "type": "integer",
  15925. "description": "用户id",
  15926. "name": "userid",
  15927. "in": "query",
  15928. "required": true
  15929. },
  15930. {
  15931. "type": "string",
  15932. "description": "开始交易日(yyyymmdd)",
  15933. "name": "begindate",
  15934. "in": "query"
  15935. },
  15936. {
  15937. "type": "string",
  15938. "description": "结束交易日(yyyymmdd)",
  15939. "name": "enddate",
  15940. "in": "query"
  15941. }
  15942. ],
  15943. "responses": {
  15944. "200": {
  15945. "description": "OK",
  15946. "schema": {
  15947. "type": "array",
  15948. "items": {
  15949. "$ref": "#/definitions/models.WrOutInApply"
  15950. }
  15951. }
  15952. },
  15953. "500": {
  15954. "description": "Internal Server Error",
  15955. "schema": {
  15956. "$ref": "#/definitions/app.Response"
  15957. }
  15958. }
  15959. }
  15960. }
  15961. },
  15962. "/WrTrade2/QueryWrPerformancePlanStep": {
  15963. "get": {
  15964. "security": [
  15965. {
  15966. "ApiKeyAuth": []
  15967. }
  15968. ],
  15969. "produces": [
  15970. "application/json"
  15971. ],
  15972. "tags": [
  15973. "仓单贸易v2"
  15974. ],
  15975. "summary": "查询履约信息详情",
  15976. "parameters": [
  15977. {
  15978. "type": "integer",
  15979. "description": "履约计划id(performanceplanid)",
  15980. "name": "planid",
  15981. "in": "query",
  15982. "required": true
  15983. },
  15984. {
  15985. "type": "integer",
  15986. "description": "当前步骤id",
  15987. "name": "curstepid",
  15988. "in": "query"
  15989. }
  15990. ],
  15991. "responses": {
  15992. "200": {
  15993. "description": "OK",
  15994. "schema": {
  15995. "type": "array",
  15996. "items": {
  15997. "$ref": "#/definitions/models.WrPerformancePlanStep"
  15998. }
  15999. }
  16000. },
  16001. "500": {
  16002. "description": "Internal Server Error",
  16003. "schema": {
  16004. "$ref": "#/definitions/app.Response"
  16005. }
  16006. }
  16007. }
  16008. }
  16009. },
  16010. "/WrTrade2/QueryWrPerformanceStepType": {
  16011. "get": {
  16012. "security": [
  16013. {
  16014. "ApiKeyAuth": []
  16015. }
  16016. ],
  16017. "produces": [
  16018. "application/json"
  16019. ],
  16020. "tags": [
  16021. "仓单贸易v2"
  16022. ],
  16023. "summary": "查询履约步骤枚举",
  16024. "responses": {
  16025. "200": {
  16026. "description": "OK",
  16027. "schema": {
  16028. "type": "array",
  16029. "items": {
  16030. "$ref": "#/definitions/models.WrPerformanceStepType"
  16031. }
  16032. }
  16033. },
  16034. "500": {
  16035. "description": "Internal Server Error",
  16036. "schema": {
  16037. "$ref": "#/definitions/app.Response"
  16038. }
  16039. }
  16040. }
  16041. }
  16042. },
  16043. "/WrTrade2/QueryWrPosition": {
  16044. "get": {
  16045. "security": [
  16046. {
  16047. "ApiKeyAuth": []
  16048. }
  16049. ],
  16050. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  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. "required": true
  16065. },
  16066. {
  16067. "type": "integer",
  16068. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  16069. "name": "querytype",
  16070. "in": "query",
  16071. "required": true
  16072. },
  16073. {
  16074. "type": "integer",
  16075. "description": "0:仓单预售 1:仓单贸易",
  16076. "name": "haswr",
  16077. "in": "query",
  16078. "required": true
  16079. },
  16080. {
  16081. "type": "string",
  16082. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  16083. "name": "dgitemname",
  16084. "in": "query"
  16085. },
  16086. {
  16087. "type": "integer",
  16088. "description": "仓库id(筛选条件)",
  16089. "name": "warehouseid",
  16090. "in": "query"
  16091. },
  16092. {
  16093. "type": "integer",
  16094. "description": "品种id",
  16095. "name": "deliverygoodsid",
  16096. "in": "query"
  16097. },
  16098. {
  16099. "type": "integer",
  16100. "description": "品类id",
  16101. "name": "wrstandardid",
  16102. "in": "query"
  16103. }
  16104. ],
  16105. "responses": {
  16106. "200": {
  16107. "description": "OK",
  16108. "schema": {
  16109. "type": "array",
  16110. "items": {
  16111. "$ref": "#/definitions/models.WrPosition"
  16112. }
  16113. }
  16114. },
  16115. "500": {
  16116. "description": "Internal Server Error",
  16117. "schema": {
  16118. "$ref": "#/definitions/app.Response"
  16119. }
  16120. }
  16121. }
  16122. }
  16123. },
  16124. "/WrTrade2/QueryWrPreSaleInfo": {
  16125. "get": {
  16126. "security": [
  16127. {
  16128. "ApiKeyAuth": []
  16129. }
  16130. ],
  16131. "produces": [
  16132. "application/json"
  16133. ],
  16134. "tags": [
  16135. "仓单贸易v2"
  16136. ],
  16137. "summary": "查询新品发布",
  16138. "parameters": [
  16139. {
  16140. "type": "integer",
  16141. "description": "市场id",
  16142. "name": "marketid",
  16143. "in": "query"
  16144. },
  16145. {
  16146. "type": "string",
  16147. "description": "预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭",
  16148. "name": "presalestatus",
  16149. "in": "query"
  16150. },
  16151. {
  16152. "type": "integer",
  16153. "description": "摇号标识 - 0:未摇号 1:已摇号",
  16154. "name": "lotteryflag",
  16155. "in": "query"
  16156. },
  16157. {
  16158. "type": "integer",
  16159. "description": "最近多少条记录(按创建时间倒序)",
  16160. "name": "lastnum",
  16161. "in": "query"
  16162. }
  16163. ],
  16164. "responses": {
  16165. "200": {
  16166. "description": "OK",
  16167. "schema": {
  16168. "type": "array",
  16169. "items": {
  16170. "$ref": "#/definitions/models.WrPreSaleInfo"
  16171. }
  16172. }
  16173. },
  16174. "500": {
  16175. "description": "Internal Server Error",
  16176. "schema": {
  16177. "$ref": "#/definitions/app.Response"
  16178. }
  16179. }
  16180. }
  16181. }
  16182. },
  16183. "/WrTrade2/QueryWrReckonSpotGoodsTradeSum": {
  16184. "get": {
  16185. "security": [
  16186. {
  16187. "ApiKeyAuth": []
  16188. }
  16189. ],
  16190. "produces": [
  16191. "application/json"
  16192. ],
  16193. "tags": [
  16194. "仓单贸易v2"
  16195. ],
  16196. "summary": "查询价格走势",
  16197. "parameters": [
  16198. {
  16199. "type": "integer",
  16200. "description": "市场id",
  16201. "name": "marketid",
  16202. "in": "query",
  16203. "required": true
  16204. },
  16205. {
  16206. "type": "integer",
  16207. "description": "现货商品id",
  16208. "name": "wrstandardid",
  16209. "in": "query",
  16210. "required": true
  16211. },
  16212. {
  16213. "type": "string",
  16214. "description": "开始交易日(yyyymmdd)",
  16215. "name": "begindate",
  16216. "in": "query"
  16217. },
  16218. {
  16219. "type": "string",
  16220. "description": "结束交易日(yyyymmdd)",
  16221. "name": "enddate",
  16222. "in": "query"
  16223. },
  16224. {
  16225. "type": "integer",
  16226. "description": "最近多少条记录(按交易日倒序)",
  16227. "name": "lastnum",
  16228. "in": "query"
  16229. },
  16230. {
  16231. "type": "boolean",
  16232. "description": "是否今日",
  16233. "name": "istoday",
  16234. "in": "query"
  16235. }
  16236. ],
  16237. "responses": {
  16238. "200": {
  16239. "description": "OK",
  16240. "schema": {
  16241. "type": "array",
  16242. "items": {
  16243. "$ref": "#/definitions/models.WrReckonSpotGoodsTradeSum"
  16244. }
  16245. }
  16246. },
  16247. "500": {
  16248. "description": "Internal Server Error",
  16249. "schema": {
  16250. "$ref": "#/definitions/app.Response"
  16251. }
  16252. }
  16253. }
  16254. }
  16255. },
  16256. "/WrTrade2/QueryWrScfContract": {
  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": "userid",
  16275. "in": "query",
  16276. "required": true
  16277. },
  16278. {
  16279. "type": "integer",
  16280. "description": "融资合同id",
  16281. "name": "scfcontractid",
  16282. "in": "query"
  16283. }
  16284. ],
  16285. "responses": {
  16286. "200": {
  16287. "description": "OK",
  16288. "schema": {
  16289. "type": "array",
  16290. "items": {
  16291. "$ref": "#/definitions/models.WrScfContract"
  16292. }
  16293. }
  16294. },
  16295. "500": {
  16296. "description": "Internal Server Error",
  16297. "schema": {
  16298. "$ref": "#/definitions/app.Response"
  16299. }
  16300. }
  16301. }
  16302. }
  16303. },
  16304. "/WrTrade2/QueryWrScfContractInterest": {
  16305. "get": {
  16306. "security": [
  16307. {
  16308. "ApiKeyAuth": []
  16309. }
  16310. ],
  16311. "produces": [
  16312. "application/json"
  16313. ],
  16314. "tags": [
  16315. "仓单贸易v2"
  16316. ],
  16317. "summary": "查询融资合同费用明细",
  16318. "parameters": [
  16319. {
  16320. "type": "integer",
  16321. "description": "融资合同id",
  16322. "name": "scfcontractid",
  16323. "in": "query"
  16324. }
  16325. ],
  16326. "responses": {
  16327. "200": {
  16328. "description": "OK",
  16329. "schema": {
  16330. "type": "array",
  16331. "items": {
  16332. "$ref": "#/definitions/models.WrScfContractInterest"
  16333. }
  16334. }
  16335. },
  16336. "500": {
  16337. "description": "Internal Server Error",
  16338. "schema": {
  16339. "$ref": "#/definitions/app.Response"
  16340. }
  16341. }
  16342. }
  16343. }
  16344. },
  16345. "/WrTrade2/QueryWrSearchUser": {
  16346. "get": {
  16347. "security": [
  16348. {
  16349. "ApiKeyAuth": []
  16350. }
  16351. ],
  16352. "produces": [
  16353. "application/json"
  16354. ],
  16355. "tags": [
  16356. "仓单贸易v2"
  16357. ],
  16358. "summary": "查询用户",
  16359. "parameters": [
  16360. {
  16361. "type": "string",
  16362. "description": "用户名称(模糊匹配)",
  16363. "name": "username",
  16364. "in": "query",
  16365. "required": true
  16366. }
  16367. ],
  16368. "responses": {
  16369. "200": {
  16370. "description": "OK",
  16371. "schema": {
  16372. "type": "array",
  16373. "items": {
  16374. "$ref": "#/definitions/models.WrSearchUser"
  16375. }
  16376. }
  16377. },
  16378. "500": {
  16379. "description": "Internal Server Error",
  16380. "schema": {
  16381. "$ref": "#/definitions/app.Response"
  16382. }
  16383. }
  16384. }
  16385. }
  16386. },
  16387. "/WrTrade2/QueryWrSpecialMatchOrder": {
  16388. "get": {
  16389. "security": [
  16390. {
  16391. "ApiKeyAuth": []
  16392. }
  16393. ],
  16394. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  16395. "produces": [
  16396. "application/json"
  16397. ],
  16398. "tags": [
  16399. "仓单贸易v2"
  16400. ],
  16401. "summary": "查询指定成交",
  16402. "parameters": [
  16403. {
  16404. "type": "integer",
  16405. "description": "页码",
  16406. "name": "page",
  16407. "in": "query"
  16408. },
  16409. {
  16410. "type": "integer",
  16411. "description": "每页条数",
  16412. "name": "pagesize",
  16413. "in": "query"
  16414. },
  16415. {
  16416. "type": "integer",
  16417. "description": "用户id",
  16418. "name": "userid",
  16419. "in": "query",
  16420. "required": true
  16421. },
  16422. {
  16423. "type": "integer",
  16424. "description": "仓单贸易市场id",
  16425. "name": "marketid",
  16426. "in": "query"
  16427. },
  16428. {
  16429. "type": "integer",
  16430. "description": "0:仓单预售 1:仓单贸易",
  16431. "name": "haswr",
  16432. "in": "query",
  16433. "required": true
  16434. },
  16435. {
  16436. "type": "integer",
  16437. "description": "1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  16438. "name": "isspecified",
  16439. "in": "query"
  16440. }
  16441. ],
  16442. "responses": {
  16443. "200": {
  16444. "description": "OK",
  16445. "schema": {
  16446. "type": "array",
  16447. "items": {
  16448. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  16449. }
  16450. }
  16451. },
  16452. "500": {
  16453. "description": "Internal Server Error",
  16454. "schema": {
  16455. "$ref": "#/definitions/app.Response"
  16456. }
  16457. }
  16458. }
  16459. }
  16460. },
  16461. "/WrTrade2/QueryWrStandardFactoryItem": {
  16462. "get": {
  16463. "security": [
  16464. {
  16465. "ApiKeyAuth": []
  16466. }
  16467. ],
  16468. "produces": [
  16469. "application/json"
  16470. ],
  16471. "tags": [
  16472. "仓单贸易v2"
  16473. ],
  16474. "summary": "查询品类要素定义项",
  16475. "parameters": [
  16476. {
  16477. "type": "integer",
  16478. "description": "品类id",
  16479. "name": "wrstandardid",
  16480. "in": "query",
  16481. "required": true
  16482. }
  16483. ],
  16484. "responses": {
  16485. "200": {
  16486. "description": "OK",
  16487. "schema": {
  16488. "type": "array",
  16489. "items": {
  16490. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  16491. }
  16492. }
  16493. },
  16494. "500": {
  16495. "description": "Internal Server Error",
  16496. "schema": {
  16497. "$ref": "#/definitions/app.Response"
  16498. }
  16499. }
  16500. }
  16501. }
  16502. },
  16503. "/WrTrade2/QueryWrTradeBargainApply": {
  16504. "get": {
  16505. "security": [
  16506. {
  16507. "ApiKeyAuth": []
  16508. }
  16509. ],
  16510. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  16511. "produces": [
  16512. "application/json"
  16513. ],
  16514. "tags": [
  16515. "仓单贸易v2"
  16516. ],
  16517. "summary": "查询议价单",
  16518. "parameters": [
  16519. {
  16520. "type": "integer",
  16521. "description": "议价人id(摘牌方)",
  16522. "name": "userid",
  16523. "in": "query"
  16524. },
  16525. {
  16526. "type": "integer",
  16527. "description": "挂牌方id(查对方议价时,填写此项)",
  16528. "name": "matchuserid",
  16529. "in": "query"
  16530. },
  16531. {
  16532. "type": "integer",
  16533. "description": "关联委托单id",
  16534. "name": "wrtradeorderid",
  16535. "in": "query"
  16536. },
  16537. {
  16538. "type": "integer",
  16539. "description": "0:仓单预售 1:仓单贸易",
  16540. "name": "haswr",
  16541. "in": "query",
  16542. "required": true
  16543. },
  16544. {
  16545. "type": "string",
  16546. "description": "开始交易日(yyyymmdd)",
  16547. "name": "begindate",
  16548. "in": "query"
  16549. },
  16550. {
  16551. "type": "string",
  16552. "description": "结束交易日(yyyymmdd)",
  16553. "name": "enddate",
  16554. "in": "query"
  16555. }
  16556. ],
  16557. "responses": {
  16558. "200": {
  16559. "description": "OK",
  16560. "schema": {
  16561. "type": "array",
  16562. "items": {
  16563. "$ref": "#/definitions/models.WRTradeBargainApply"
  16564. }
  16565. }
  16566. },
  16567. "500": {
  16568. "description": "Internal Server Error",
  16569. "schema": {
  16570. "$ref": "#/definitions/app.Response"
  16571. }
  16572. }
  16573. }
  16574. }
  16575. },
  16576. "/WrTrade2/QueryWrTradeDetail": {
  16577. "get": {
  16578. "security": [
  16579. {
  16580. "ApiKeyAuth": []
  16581. }
  16582. ],
  16583. "produces": [
  16584. "application/json"
  16585. ],
  16586. "tags": [
  16587. "仓单贸易v2"
  16588. ],
  16589. "summary": "查询仓单成交明细",
  16590. "parameters": [
  16591. {
  16592. "type": "integer",
  16593. "description": "页码",
  16594. "name": "page",
  16595. "in": "query"
  16596. },
  16597. {
  16598. "type": "integer",
  16599. "description": "每页条数",
  16600. "name": "pagesize",
  16601. "in": "query"
  16602. },
  16603. {
  16604. "type": "integer",
  16605. "description": "用户id",
  16606. "name": "userid",
  16607. "in": "query",
  16608. "required": true
  16609. },
  16610. {
  16611. "type": "integer",
  16612. "description": "仓单贸易市场id",
  16613. "name": "marketid",
  16614. "in": "query"
  16615. },
  16616. {
  16617. "type": "integer",
  16618. "description": "0:仓单预售 1:仓单贸易",
  16619. "name": "haswr",
  16620. "in": "query",
  16621. "required": true
  16622. },
  16623. {
  16624. "type": "string",
  16625. "description": "开始交易日(yyyymmdd)",
  16626. "name": "begindate",
  16627. "in": "query"
  16628. },
  16629. {
  16630. "type": "string",
  16631. "description": "结束交易日(yyyymmdd)",
  16632. "name": "enddate",
  16633. "in": "query"
  16634. }
  16635. ],
  16636. "responses": {
  16637. "200": {
  16638. "description": "OK",
  16639. "schema": {
  16640. "type": "array",
  16641. "items": {
  16642. "$ref": "#/definitions/models.WrTradeDetail"
  16643. }
  16644. }
  16645. },
  16646. "500": {
  16647. "description": "Internal Server Error",
  16648. "schema": {
  16649. "$ref": "#/definitions/app.Response"
  16650. }
  16651. }
  16652. }
  16653. }
  16654. },
  16655. "/WrTrade2/QueryWrTradeOrderDetail": {
  16656. "get": {
  16657. "security": [
  16658. {
  16659. "ApiKeyAuth": []
  16660. }
  16661. ],
  16662. "produces": [
  16663. "application/json"
  16664. ],
  16665. "tags": [
  16666. "仓单贸易v2"
  16667. ],
  16668. "summary": "查询合约交易买卖大厅",
  16669. "parameters": [
  16670. {
  16671. "type": "integer",
  16672. "description": "页码",
  16673. "name": "page",
  16674. "in": "query"
  16675. },
  16676. {
  16677. "type": "integer",
  16678. "description": "每页条数",
  16679. "name": "pagesize",
  16680. "in": "query"
  16681. },
  16682. {
  16683. "type": "integer",
  16684. "description": "商品id",
  16685. "name": "goodsid",
  16686. "in": "query",
  16687. "required": true
  16688. },
  16689. {
  16690. "type": "integer",
  16691. "description": "买卖方向 0-买 1-卖",
  16692. "name": "buyorsell",
  16693. "in": "query",
  16694. "required": true
  16695. }
  16696. ],
  16697. "responses": {
  16698. "200": {
  16699. "description": "OK",
  16700. "schema": {
  16701. "type": "array",
  16702. "items": {
  16703. "$ref": "#/definitions/models.WrTradeOrderDetail"
  16704. }
  16705. }
  16706. },
  16707. "500": {
  16708. "description": "Internal Server Error",
  16709. "schema": {
  16710. "$ref": "#/definitions/app.Response"
  16711. }
  16712. }
  16713. }
  16714. }
  16715. },
  16716. "/WrTrade2/QueryWrTradeQuote": {
  16717. "get": {
  16718. "security": [
  16719. {
  16720. "ApiKeyAuth": []
  16721. }
  16722. ],
  16723. "produces": [
  16724. "application/json"
  16725. ],
  16726. "tags": [
  16727. "仓单贸易v2"
  16728. ],
  16729. "summary": "查询仓单贸易成交行情",
  16730. "parameters": [
  16731. {
  16732. "type": "integer",
  16733. "description": "现货商品id",
  16734. "name": "wrstandardid",
  16735. "in": "query",
  16736. "required": true
  16737. },
  16738. {
  16739. "type": "string",
  16740. "description": "开始日期(yyyymmdd)",
  16741. "name": "begindate",
  16742. "in": "query",
  16743. "required": true
  16744. },
  16745. {
  16746. "type": "string",
  16747. "description": "结束日期(yyyymmdd)",
  16748. "name": "enddate",
  16749. "in": "query",
  16750. "required": true
  16751. },
  16752. {
  16753. "type": "integer",
  16754. "description": "市场id",
  16755. "name": "marketid",
  16756. "in": "query"
  16757. }
  16758. ],
  16759. "responses": {
  16760. "200": {
  16761. "description": "OK",
  16762. "schema": {
  16763. "type": "array",
  16764. "items": {
  16765. "$ref": "#/definitions/models.Wrtradetradequote"
  16766. }
  16767. }
  16768. },
  16769. "500": {
  16770. "description": "Internal Server Error",
  16771. "schema": {
  16772. "$ref": "#/definitions/app.Response"
  16773. }
  16774. }
  16775. }
  16776. }
  16777. },
  16778. "/WrTrade2/QueryWrUserFriend": {
  16779. "get": {
  16780. "security": [
  16781. {
  16782. "ApiKeyAuth": []
  16783. }
  16784. ],
  16785. "produces": [
  16786. "application/json"
  16787. ],
  16788. "tags": [
  16789. "仓单贸易v2"
  16790. ],
  16791. "summary": "查询我的朋友",
  16792. "parameters": [
  16793. {
  16794. "type": "integer",
  16795. "description": "用户id",
  16796. "name": "userid",
  16797. "in": "query",
  16798. "required": true
  16799. },
  16800. {
  16801. "type": "integer",
  16802. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  16803. "name": "newuserid",
  16804. "in": "query"
  16805. }
  16806. ],
  16807. "responses": {
  16808. "200": {
  16809. "description": "OK",
  16810. "schema": {
  16811. "type": "array",
  16812. "items": {
  16813. "$ref": "#/definitions/models.WrUserFriend"
  16814. }
  16815. }
  16816. },
  16817. "500": {
  16818. "description": "Internal Server Error",
  16819. "schema": {
  16820. "$ref": "#/definitions/app.Response"
  16821. }
  16822. }
  16823. }
  16824. }
  16825. },
  16826. "/WrTrade2/QueryWrUserReceiptInfo": {
  16827. "get": {
  16828. "security": [
  16829. {
  16830. "ApiKeyAuth": []
  16831. }
  16832. ],
  16833. "produces": [
  16834. "application/json"
  16835. ],
  16836. "tags": [
  16837. "仓单贸易v2"
  16838. ],
  16839. "summary": "查询发票信息",
  16840. "parameters": [
  16841. {
  16842. "type": "integer",
  16843. "description": "用户id",
  16844. "name": "userid",
  16845. "in": "query"
  16846. },
  16847. {
  16848. "type": "integer",
  16849. "description": "发票类型 - 1:个人 2:企业",
  16850. "name": "receipttype",
  16851. "in": "query"
  16852. }
  16853. ],
  16854. "responses": {
  16855. "200": {
  16856. "description": "OK",
  16857. "schema": {
  16858. "type": "array",
  16859. "items": {
  16860. "$ref": "#/definitions/models.WrUserReceiptInfo"
  16861. }
  16862. }
  16863. },
  16864. "500": {
  16865. "description": "Internal Server Error",
  16866. "schema": {
  16867. "$ref": "#/definitions/app.Response"
  16868. }
  16869. }
  16870. }
  16871. }
  16872. },
  16873. "/WrTrade2/QueryXhcpSellBackApply": {
  16874. "get": {
  16875. "security": [
  16876. {
  16877. "ApiKeyAuth": []
  16878. }
  16879. ],
  16880. "produces": [
  16881. "application/json"
  16882. ],
  16883. "tags": [
  16884. "仓单贸易v2"
  16885. ],
  16886. "summary": "查询我的回收申请(新会陈皮)",
  16887. "parameters": [
  16888. {
  16889. "type": "integer",
  16890. "description": "用户ID",
  16891. "name": "userid",
  16892. "in": "query",
  16893. "required": true
  16894. }
  16895. ],
  16896. "responses": {
  16897. "200": {
  16898. "description": "OK",
  16899. "schema": {
  16900. "type": "array",
  16901. "items": {
  16902. "$ref": "#/definitions/models.Xhcpsellbackapply"
  16903. }
  16904. }
  16905. },
  16906. "500": {
  16907. "description": "Internal Server Error",
  16908. "schema": {
  16909. "$ref": "#/definitions/app.Response"
  16910. }
  16911. }
  16912. }
  16913. }
  16914. },
  16915. "/ZJ/GetBankTip": {
  16916. "get": {
  16917. "produces": [
  16918. "application/json"
  16919. ],
  16920. "tags": [
  16921. "中江"
  16922. ],
  16923. "summary": "获取中江网银端出入金提示信息",
  16924. "responses": {
  16925. "200": {
  16926. "description": "OK",
  16927. "schema": {
  16928. "type": "string"
  16929. }
  16930. },
  16931. "500": {
  16932. "description": "Internal Server Error",
  16933. "schema": {
  16934. "$ref": "#/definitions/app.Response"
  16935. }
  16936. }
  16937. }
  16938. }
  16939. },
  16940. "/ZJ/GetCusBankChannels": {
  16941. "get": {
  16942. "produces": [
  16943. "application/json"
  16944. ],
  16945. "tags": [
  16946. "中江"
  16947. ],
  16948. "summary": "获取中江出入金渠道显示列表",
  16949. "responses": {
  16950. "200": {
  16951. "description": "OK",
  16952. "schema": {
  16953. "type": "array",
  16954. "items": {
  16955. "type": "string"
  16956. }
  16957. }
  16958. },
  16959. "500": {
  16960. "description": "Internal Server Error",
  16961. "schema": {
  16962. "$ref": "#/definitions/app.Response"
  16963. }
  16964. }
  16965. }
  16966. }
  16967. }
  16968. },
  16969. "definitions": {
  16970. "app.Response": {
  16971. "type": "object",
  16972. "properties": {
  16973. "code": {
  16974. "type": "integer"
  16975. },
  16976. "data": {},
  16977. "msg": {
  16978. "type": "string"
  16979. },
  16980. "page": {
  16981. "description": "页码",
  16982. "type": "integer"
  16983. },
  16984. "pagesize": {
  16985. "description": "每页条数",
  16986. "type": "integer"
  16987. },
  16988. "total": {
  16989. "description": "总条数",
  16990. "type": "integer"
  16991. }
  16992. }
  16993. },
  16994. "common.ClientMenu": {
  16995. "type": "object",
  16996. "properties": {
  16997. "children": {
  16998. "description": "子菜单列表",
  16999. "type": "array",
  17000. "items": {
  17001. "$ref": "#/definitions/common.ClientMenu"
  17002. }
  17003. },
  17004. "code": {
  17005. "description": "ID",
  17006. "type": "string"
  17007. },
  17008. "isshow": {
  17009. "description": "是否显示",
  17010. "type": "boolean"
  17011. },
  17012. "remark": {
  17013. "description": "备注",
  17014. "type": "string"
  17015. },
  17016. "rulekey": {
  17017. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  17018. "type": "string"
  17019. },
  17020. "sort": {
  17021. "description": "排序",
  17022. "type": "integer"
  17023. },
  17024. "title": {
  17025. "description": "标题",
  17026. "type": "string"
  17027. },
  17028. "type": {
  17029. "description": "类型,1:菜单 2:按钮",
  17030. "type": "integer"
  17031. },
  17032. "url": {
  17033. "description": "URL",
  17034. "type": "string"
  17035. }
  17036. }
  17037. },
  17038. "common.PCWebMenu": {
  17039. "type": "object",
  17040. "properties": {
  17041. "auth": {
  17042. "description": "页面权限列表",
  17043. "type": "array",
  17044. "items": {
  17045. "$ref": "#/definitions/common.PCWebMenuAuth"
  17046. }
  17047. },
  17048. "children": {
  17049. "description": "子菜单列表",
  17050. "type": "array",
  17051. "items": {
  17052. "$ref": "#/definitions/common.PCWebMenu"
  17053. }
  17054. },
  17055. "code": {
  17056. "description": "ID,新版本中权限KEY也是这个字段",
  17057. "type": "string"
  17058. },
  17059. "component": {
  17060. "description": "路由组件",
  17061. "type": "string"
  17062. },
  17063. "isshow": {
  17064. "description": "是否显示",
  17065. "type": "boolean"
  17066. },
  17067. "path": {
  17068. "description": "路由路径",
  17069. "type": "string"
  17070. },
  17071. "remark": {
  17072. "description": "备注",
  17073. "type": "string"
  17074. },
  17075. "rulekey": {
  17076. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  17077. "type": "string"
  17078. },
  17079. "sort": {
  17080. "description": "排序",
  17081. "type": "integer"
  17082. },
  17083. "title": {
  17084. "description": "标题",
  17085. "type": "string"
  17086. },
  17087. "url": {
  17088. "description": "URL",
  17089. "type": "string"
  17090. }
  17091. }
  17092. },
  17093. "common.PCWebMenuAuth": {
  17094. "type": "object",
  17095. "properties": {
  17096. "code": {
  17097. "description": "ID,新版本中权限KEY也是这个字段",
  17098. "type": "string"
  17099. },
  17100. "isshow": {
  17101. "description": "是否显示",
  17102. "type": "boolean"
  17103. },
  17104. "label": {
  17105. "description": "标题",
  17106. "type": "string"
  17107. },
  17108. "remark": {
  17109. "description": "备注",
  17110. "type": "string"
  17111. },
  17112. "rulekey": {
  17113. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  17114. "type": "string"
  17115. }
  17116. }
  17117. },
  17118. "common.QueryImageConfigsRsp": {
  17119. "type": "object",
  17120. "required": [
  17121. "configid"
  17122. ],
  17123. "properties": {
  17124. "areauserid": {
  17125. "description": "所属机构ID",
  17126. "type": "integer"
  17127. },
  17128. "configid": {
  17129. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  17130. "type": "integer"
  17131. },
  17132. "createdate": {
  17133. "description": "创建时间",
  17134. "type": "string"
  17135. },
  17136. "creatorid": {
  17137. "description": "创建人",
  17138. "type": "integer"
  17139. },
  17140. "imagedetailpath": {
  17141. "description": "详情图片 [UrlType = 3时 有且必填,其它类型不需要]",
  17142. "type": "string"
  17143. },
  17144. "imagepath": {
  17145. "description": "图片",
  17146. "type": "string"
  17147. },
  17148. "imagetype": {
  17149. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  17150. "type": "integer"
  17151. },
  17152. "isshow": {
  17153. "description": "是否展示 - 0:不展示 1:展示",
  17154. "type": "integer"
  17155. },
  17156. "marketid": {
  17157. "description": "市场ID",
  17158. "type": "integer"
  17159. },
  17160. "modifierid": {
  17161. "description": "操作人",
  17162. "type": "integer"
  17163. },
  17164. "sort": {
  17165. "description": "排序",
  17166. "type": "integer"
  17167. },
  17168. "title": {
  17169. "description": "标题",
  17170. "type": "string"
  17171. },
  17172. "trademode": {
  17173. "description": "交易模式",
  17174. "type": "integer"
  17175. },
  17176. "updatedate": {
  17177. "description": "修改时间",
  17178. "type": "string"
  17179. },
  17180. "url": {
  17181. "description": "链接(地址或商品ID)",
  17182. "type": "string"
  17183. },
  17184. "urltype": {
  17185. "description": "链接类型 - 1:直接地址 2:商品ID",
  17186. "type": "integer"
  17187. }
  17188. }
  17189. },
  17190. "common.QueryNoticeRsp": {
  17191. "type": "object",
  17192. "required": [
  17193. "autoid"
  17194. ],
  17195. "properties": {
  17196. "auditoruserid": {
  17197. "description": "审核人",
  17198. "type": "integer"
  17199. },
  17200. "auditremark": {
  17201. "description": "审核备注",
  17202. "type": "string"
  17203. },
  17204. "audittime": {
  17205. "description": "审核日期",
  17206. "type": "string"
  17207. },
  17208. "autoid": {
  17209. "description": "自增ID",
  17210. "type": "integer"
  17211. },
  17212. "content": {
  17213. "description": "内容",
  17214. "type": "string"
  17215. },
  17216. "createtime": {
  17217. "description": "创建时间",
  17218. "type": "string"
  17219. },
  17220. "creatorid": {
  17221. "description": "建仓人",
  17222. "type": "integer"
  17223. },
  17224. "endtime": {
  17225. "description": "结束时间",
  17226. "type": "string"
  17227. },
  17228. "istop": {
  17229. "description": "是否置顶 - 0:不置顶 1:置顶",
  17230. "type": "integer"
  17231. },
  17232. "msgiconurl": {
  17233. "description": "消息图标Url",
  17234. "type": "string"
  17235. },
  17236. "msgtype": {
  17237. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  17238. "type": "integer"
  17239. },
  17240. "publisher": {
  17241. "description": "消息发布者",
  17242. "type": "string"
  17243. },
  17244. "readed": {
  17245. "description": "是否已读",
  17246. "type": "boolean"
  17247. },
  17248. "scheduletime": {
  17249. "description": "计划发送时间",
  17250. "type": "string"
  17251. },
  17252. "sendtype": {
  17253. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  17254. "type": "integer"
  17255. },
  17256. "sentstatus": {
  17257. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  17258. "type": "integer"
  17259. },
  17260. "title": {
  17261. "description": "标题",
  17262. "type": "string"
  17263. },
  17264. "userid": {
  17265. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  17266. "type": "integer"
  17267. }
  17268. }
  17269. },
  17270. "common.QueryProvincesAndCitiesRsp": {
  17271. "type": "object",
  17272. "properties": {
  17273. "cities": {
  17274. "description": "市",
  17275. "type": "array",
  17276. "items": {
  17277. "$ref": "#/definitions/models.Division"
  17278. }
  17279. },
  17280. "province": {
  17281. "description": "省",
  17282. "$ref": "#/definitions/models.Division"
  17283. }
  17284. }
  17285. },
  17286. "common.QueryTableDefineRsp": {
  17287. "type": "object",
  17288. "required": [
  17289. "tablekey"
  17290. ],
  17291. "properties": {
  17292. "columns": {
  17293. "description": "列头信息数组",
  17294. "type": "array",
  17295. "items": {
  17296. "$ref": "#/definitions/models.Tablecolumnconfig"
  17297. }
  17298. },
  17299. "remark": {
  17300. "description": "Remark",
  17301. "type": "string"
  17302. },
  17303. "tabelmenu": {
  17304. "description": "列表菜单",
  17305. "type": "string"
  17306. },
  17307. "tablekey": {
  17308. "description": "列表Key",
  17309. "type": "string"
  17310. },
  17311. "tablename": {
  17312. "description": "列表名称",
  17313. "type": "string"
  17314. },
  17315. "tabletype": {
  17316. "description": "列表类型 - 1:管理端 2:终端",
  17317. "type": "integer"
  17318. }
  17319. }
  17320. },
  17321. "common.QueryTraderMenuRsp": {
  17322. "type": "object",
  17323. "properties": {
  17324. "OperationMenu": {
  17325. "description": "功能菜单",
  17326. "type": "array",
  17327. "items": {
  17328. "$ref": "#/definitions/models.OperationPrimaryMenu"
  17329. }
  17330. },
  17331. "QuoteMenu": {
  17332. "description": "报价牌分类菜单",
  17333. "type": "array",
  17334. "items": {
  17335. "$ref": "#/definitions/models.QuotePrimaryMenu"
  17336. }
  17337. }
  17338. }
  17339. },
  17340. "cptrade.Cptradepositioncancel": {
  17341. "type": "object",
  17342. "required": [
  17343. "cancelid"
  17344. ],
  17345. "properties": {
  17346. "accountid": {
  17347. "description": "申请人账户ID",
  17348. "type": "integer"
  17349. },
  17350. "applystatus": {
  17351. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  17352. "type": "integer"
  17353. },
  17354. "applytime": {
  17355. "description": "申请时间",
  17356. "type": "string"
  17357. },
  17358. "cancelid": {
  17359. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  17360. "type": "integer"
  17361. },
  17362. "cancelqty": {
  17363. "description": "注销数量",
  17364. "type": "integer"
  17365. },
  17366. "createtime": {
  17367. "description": "创建时间",
  17368. "type": "string"
  17369. },
  17370. "creatorid": {
  17371. "description": "创建人ID",
  17372. "type": "integer"
  17373. },
  17374. "creatorname": {
  17375. "description": "创建人",
  17376. "type": "string"
  17377. },
  17378. "goodscode": {
  17379. "description": "订单商品代码",
  17380. "type": "string"
  17381. },
  17382. "goodsid": {
  17383. "description": "商品ID",
  17384. "type": "integer"
  17385. },
  17386. "goodsname": {
  17387. "description": "订单商品名称",
  17388. "type": "string"
  17389. },
  17390. "goodunit": {
  17391. "description": "报价单位",
  17392. "type": "string"
  17393. },
  17394. "handlestatus": {
  17395. "description": "处理状态",
  17396. "type": "integer"
  17397. },
  17398. "marketid": {
  17399. "description": "市场ID",
  17400. "type": "integer"
  17401. },
  17402. "marketname": {
  17403. "description": "市场名称",
  17404. "type": "string"
  17405. },
  17406. "tradedate": {
  17407. "description": "交易日(yyyyMMdd)",
  17408. "type": "string"
  17409. },
  17410. "userid": {
  17411. "description": "申请人ID",
  17412. "type": "integer"
  17413. }
  17414. }
  17415. },
  17416. "cptrade.Cptradepresaleapply": {
  17417. "type": "object",
  17418. "required": [
  17419. "applyid"
  17420. ],
  17421. "properties": {
  17422. "accountid": {
  17423. "description": "申请人账户ID",
  17424. "type": "integer"
  17425. },
  17426. "applyid": {
  17427. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  17428. "type": "integer"
  17429. },
  17430. "applyremark": {
  17431. "description": "申请备注",
  17432. "type": "string"
  17433. },
  17434. "applystatus": {
  17435. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  17436. "type": "integer"
  17437. },
  17438. "applytime": {
  17439. "description": "申请时间",
  17440. "type": "string"
  17441. },
  17442. "attachmenturl": {
  17443. "description": "附件地址",
  17444. "type": "string"
  17445. },
  17446. "endtime": {
  17447. "description": "预售结束时间",
  17448. "type": "string"
  17449. },
  17450. "goodscode": {
  17451. "description": "商品代码",
  17452. "type": "string"
  17453. },
  17454. "goodsid": {
  17455. "description": "商品ID",
  17456. "type": "integer"
  17457. },
  17458. "goodsname": {
  17459. "description": "商品名称",
  17460. "type": "string"
  17461. },
  17462. "goodunit": {
  17463. "description": "报价单位",
  17464. "type": "string"
  17465. },
  17466. "handlestatus": {
  17467. "description": "处理状态",
  17468. "type": "integer"
  17469. },
  17470. "marketid": {
  17471. "description": "预售市场ID",
  17472. "type": "integer"
  17473. },
  17474. "marketname": {
  17475. "description": "预售市场名称",
  17476. "type": "string"
  17477. },
  17478. "presaleqty": {
  17479. "description": "预售数量",
  17480. "type": "integer"
  17481. },
  17482. "relatedgoodscode": {
  17483. "description": "关联交易合约代码",
  17484. "type": "string"
  17485. },
  17486. "relatedgoodsid": {
  17487. "description": "关联交易合约ID",
  17488. "type": "integer"
  17489. },
  17490. "relatedgoodsname": {
  17491. "description": "关联交易合约名称",
  17492. "type": "string"
  17493. },
  17494. "starttime": {
  17495. "description": "预售开始时间",
  17496. "type": "string"
  17497. },
  17498. "tradedate": {
  17499. "description": "交易日(yyyyMMdd)",
  17500. "type": "string"
  17501. },
  17502. "trademode": {
  17503. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  17504. "type": "integer"
  17505. },
  17506. "userid": {
  17507. "description": "申请人ID",
  17508. "type": "integer"
  17509. }
  17510. }
  17511. },
  17512. "cptrade.Cptradeusergoodsdata": {
  17513. "type": "object",
  17514. "required": [
  17515. "accountid",
  17516. "goodsid"
  17517. ],
  17518. "properties": {
  17519. "EnabledQty": {
  17520. "description": "可用量",
  17521. "type": "integer"
  17522. },
  17523. "GoodsCode": {
  17524. "description": "订单商品代码",
  17525. "type": "string"
  17526. },
  17527. "GoodsName": {
  17528. "description": "订单商品名称",
  17529. "type": "string"
  17530. },
  17531. "WRStandardCode": {
  17532. "description": "仓单标准代码",
  17533. "type": "string"
  17534. },
  17535. "WRStandardName": {
  17536. "description": "仓单标准名称",
  17537. "type": "string"
  17538. },
  17539. "accountid": {
  17540. "description": "账户ID",
  17541. "type": "integer"
  17542. },
  17543. "cancelqty": {
  17544. "description": "注销量",
  17545. "type": "integer"
  17546. },
  17547. "curpresaleqty": {
  17548. "description": "当前预售量",
  17549. "type": "integer"
  17550. },
  17551. "deliveryqty": {
  17552. "description": "交割量",
  17553. "type": "integer"
  17554. },
  17555. "freezeamount": {
  17556. "description": "冻结金额",
  17557. "type": "number"
  17558. },
  17559. "goodsid": {
  17560. "description": "商品ID",
  17561. "type": "integer"
  17562. },
  17563. "goodunit": {
  17564. "description": "报价单位",
  17565. "type": "string"
  17566. },
  17567. "hasspotfreeze": {
  17568. "description": "是否有现货冻结 - 0:否 1:有",
  17569. "type": "integer"
  17570. },
  17571. "inqty": {
  17572. "description": "转入量(总数量)",
  17573. "type": "integer"
  17574. },
  17575. "marketid": {
  17576. "description": "市场ID",
  17577. "type": "integer"
  17578. },
  17579. "presaledamount": {
  17580. "description": "已预售总金额",
  17581. "type": "integer"
  17582. },
  17583. "presaledqty": {
  17584. "description": "已预售量",
  17585. "type": "integer"
  17586. },
  17587. "userid": {
  17588. "description": "用户ID",
  17589. "type": "integer"
  17590. },
  17591. "wrstandardid": {
  17592. "description": "仓单标准ID",
  17593. "type": "integer"
  17594. }
  17595. }
  17596. },
  17597. "cptrade.QueryCPTradeMyBidRsp": {
  17598. "type": "object",
  17599. "required": [
  17600. "accountid",
  17601. "goodsid",
  17602. "marketid",
  17603. "orderid",
  17604. "orderqty",
  17605. "ordertime",
  17606. "tradeprice",
  17607. "tradeqty"
  17608. ],
  17609. "properties": {
  17610. "accountid": {
  17611. "description": "账户ID[报价币种]",
  17612. "type": "integer"
  17613. },
  17614. "goodsid": {
  17615. "description": "商品ID",
  17616. "type": "integer"
  17617. },
  17618. "goodunit": {
  17619. "description": "报价单位",
  17620. "type": "string"
  17621. },
  17622. "marketid": {
  17623. "description": "市场ID",
  17624. "type": "integer"
  17625. },
  17626. "orderid": {
  17627. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17628. "type": "integer"
  17629. },
  17630. "orderprice": {
  17631. "description": "委托价格",
  17632. "type": "number"
  17633. },
  17634. "orderqty": {
  17635. "description": "委托数量",
  17636. "type": "integer"
  17637. },
  17638. "ordertime": {
  17639. "description": "委托时间",
  17640. "type": "string"
  17641. },
  17642. "ordertotalprice": {
  17643. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  17644. "type": "number"
  17645. },
  17646. "ordertotalweight": {
  17647. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  17648. "type": "integer"
  17649. },
  17650. "totaltotalprice": {
  17651. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  17652. "type": "number"
  17653. },
  17654. "tradeprice": {
  17655. "description": "成交价格",
  17656. "type": "number"
  17657. },
  17658. "tradeqty": {
  17659. "description": "成交数量",
  17660. "type": "integer"
  17661. }
  17662. }
  17663. },
  17664. "cptrade.QueryCPTradeOrderDetailRsq": {
  17665. "type": "object",
  17666. "required": [
  17667. "accountid",
  17668. "buildtype",
  17669. "buyorsell",
  17670. "goodsid",
  17671. "marketid",
  17672. "memberuserid",
  17673. "operatetype",
  17674. "orderqty",
  17675. "ordertime",
  17676. "pricemode",
  17677. "strorderid",
  17678. "tradedate",
  17679. "validtype"
  17680. ],
  17681. "properties": {
  17682. "accountid": {
  17683. "description": "账户ID[报价币种]",
  17684. "type": "integer"
  17685. },
  17686. "buildtype": {
  17687. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  17688. "type": "integer"
  17689. },
  17690. "buyorsell": {
  17691. "description": "买卖 - 0:买 1:卖",
  17692. "type": "integer"
  17693. },
  17694. "cancelorderid": {
  17695. "description": "撤单单号(撤单时填写)",
  17696. "type": "integer"
  17697. },
  17698. "cancelqty": {
  17699. "description": "撤单数量",
  17700. "type": "integer"
  17701. },
  17702. "clientordertime": {
  17703. "description": "客户端委托时间",
  17704. "type": "string"
  17705. },
  17706. "clientticket": {
  17707. "description": "客户端流水号",
  17708. "type": "string"
  17709. },
  17710. "clienttype": {
  17711. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  17712. "type": "integer"
  17713. },
  17714. "closeexchagechargevalue": {
  17715. "description": "平仓交易所手续费设置值",
  17716. "type": "number"
  17717. },
  17718. "closefeealgorithm": {
  17719. "description": "平仓手续费收取方式 1:比率 2:固定",
  17720. "type": "integer"
  17721. },
  17722. "closefreezecharge": {
  17723. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  17724. "type": "number"
  17725. },
  17726. "closememberchargevalue": {
  17727. "description": "平仓会员手续费设置值",
  17728. "type": "number"
  17729. },
  17730. "closeqty": {
  17731. "description": "平仓数量(先建后平操作 需要记录)",
  17732. "type": "integer"
  17733. },
  17734. "closetradeqty": {
  17735. "description": "平仓成交数量(先建后平操作,需要记录)",
  17736. "type": "integer"
  17737. },
  17738. "closeunfreezecharge": {
  17739. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  17740. "type": "number"
  17741. },
  17742. "delistingtype": {
  17743. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  17744. "type": "integer"
  17745. },
  17746. "freezecharge": {
  17747. "description": "冻结手续费",
  17748. "type": "number"
  17749. },
  17750. "freezemargin": {
  17751. "description": "冻结保证金(冻结交易金额)",
  17752. "type": "number"
  17753. },
  17754. "gcaccountid": {
  17755. "description": "账户ID[合约币种]",
  17756. "type": "integer"
  17757. },
  17758. "goodsid": {
  17759. "description": "商品ID",
  17760. "type": "integer"
  17761. },
  17762. "isconfirmexercise": {
  17763. "description": "是否确认行权- 0:否 1:是",
  17764. "type": "integer"
  17765. },
  17766. "ispreexercise": {
  17767. "description": "是否预申报- 0:否 1:是",
  17768. "type": "integer"
  17769. },
  17770. "listingselecttype": {
  17771. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17772. "type": "integer"
  17773. },
  17774. "marginalgorithm": {
  17775. "description": "保证金收取方式 1:比率 2:固定",
  17776. "type": "integer"
  17777. },
  17778. "marginvalue": {
  17779. "description": "即市保证金设置值",
  17780. "type": "number"
  17781. },
  17782. "marketid": {
  17783. "description": "市场ID",
  17784. "type": "integer"
  17785. },
  17786. "marketmaxsub": {
  17787. "description": "市价最大偏移范围",
  17788. "type": "number"
  17789. },
  17790. "memberuserid": {
  17791. "description": "所属会员UserID",
  17792. "type": "integer"
  17793. },
  17794. "openexchagechargevalue": {
  17795. "description": "建仓交易所手续费设置值",
  17796. "type": "number"
  17797. },
  17798. "openfeealgorithm": {
  17799. "description": "建仓手续费收取方式 1:比率 2:固定",
  17800. "type": "integer"
  17801. },
  17802. "openfreezecharge": {
  17803. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  17804. "type": "number"
  17805. },
  17806. "openmemberchargevalue": {
  17807. "description": "建仓会员手续费设置值",
  17808. "type": "number"
  17809. },
  17810. "openqty": {
  17811. "description": "开仓数量(先建后平操作,需要记录)",
  17812. "type": "integer"
  17813. },
  17814. "opentradeqty": {
  17815. "description": "开仓成交数量(先建后平操作,需要记录)",
  17816. "type": "integer"
  17817. },
  17818. "openunfreezecharge": {
  17819. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  17820. "type": "number"
  17821. },
  17822. "operatetype": {
  17823. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  17824. "type": "integer"
  17825. },
  17826. "operatorid": {
  17827. "description": "登录账号(LoginID)",
  17828. "type": "integer"
  17829. },
  17830. "optiontype": {
  17831. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  17832. "type": "integer"
  17833. },
  17834. "orderprice": {
  17835. "description": "委托价格",
  17836. "type": "number"
  17837. },
  17838. "orderqty": {
  17839. "description": "委托数量",
  17840. "type": "integer"
  17841. },
  17842. "ordersrc": {
  17843. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  17844. "type": "integer"
  17845. },
  17846. "orderstatus": {
  17847. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  17848. "type": "integer"
  17849. },
  17850. "ordertime": {
  17851. "description": "委托时间",
  17852. "type": "string"
  17853. },
  17854. "preexerciseprice": {
  17855. "description": "预申报价格",
  17856. "type": "number"
  17857. },
  17858. "premium": {
  17859. "description": "权利金",
  17860. "type": "number"
  17861. },
  17862. "preorderid": {
  17863. "description": "关联预埋单号(止盈止损单时填写)",
  17864. "type": "integer"
  17865. },
  17866. "pricemode": {
  17867. "description": "取价方式 - 1:市价 2: 限价",
  17868. "type": "integer"
  17869. },
  17870. "quoteid": {
  17871. "description": "报价单ID",
  17872. "type": "integer"
  17873. },
  17874. "relatedid": {
  17875. "description": "关联单号(交割单)",
  17876. "type": "integer"
  17877. },
  17878. "retcode": {
  17879. "description": "错误代码",
  17880. "type": "integer"
  17881. },
  17882. "sessionid": {
  17883. "description": "会话ID",
  17884. "type": "integer"
  17885. },
  17886. "strorderid": {
  17887. "description": "委托单号",
  17888. "type": "string"
  17889. },
  17890. "tradedate": {
  17891. "description": "交易日(yyyyMMdd)",
  17892. "type": "string"
  17893. },
  17894. "tradeproperty": {
  17895. "description": "交易属性",
  17896. "type": "integer"
  17897. },
  17898. "tradeqty": {
  17899. "description": "成交数量",
  17900. "type": "integer"
  17901. },
  17902. "unfreezecharge": {
  17903. "description": "解冻手续费",
  17904. "type": "number"
  17905. },
  17906. "unfreezemargin": {
  17907. "description": "解冻保证金",
  17908. "type": "number"
  17909. },
  17910. "updatetime": {
  17911. "description": "更新时间",
  17912. "type": "string"
  17913. },
  17914. "uuid": {
  17915. "description": "发起端唯一id",
  17916. "type": "string"
  17917. },
  17918. "validtime": {
  17919. "description": "有效期限",
  17920. "type": "string"
  17921. },
  17922. "validtype": {
  17923. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  17924. "type": "integer"
  17925. },
  17926. "volumetype": {
  17927. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  17928. "type": "integer"
  17929. }
  17930. }
  17931. },
  17932. "cptrade.QueryMyCPTradeGoodsRsp": {
  17933. "type": "object",
  17934. "required": [
  17935. "goodscode",
  17936. "goodsid",
  17937. "goodsname",
  17938. "marketid",
  17939. "relatedgoodscode",
  17940. "relatedgoodsname"
  17941. ],
  17942. "properties": {
  17943. "accountid": {
  17944. "description": "卖方账户ID",
  17945. "type": "integer"
  17946. },
  17947. "agreeunit": {
  17948. "description": "合约单位",
  17949. "type": "number"
  17950. },
  17951. "applyid": {
  17952. "description": "关联申请ID",
  17953. "type": "integer"
  17954. },
  17955. "attachmenturl": {
  17956. "description": "附件地址",
  17957. "type": "string"
  17958. },
  17959. "createtime": {
  17960. "description": "创建时间",
  17961. "type": "string"
  17962. },
  17963. "currencyid": {
  17964. "description": "报价货币ID",
  17965. "type": "integer"
  17966. },
  17967. "decimalplace": {
  17968. "description": "报价小数位",
  17969. "type": "integer"
  17970. },
  17971. "endtime": {
  17972. "description": "预售结束时间",
  17973. "type": "string"
  17974. },
  17975. "floorprice": {
  17976. "description": "底价[大宗式竞拍]",
  17977. "type": "number"
  17978. },
  17979. "goodscode": {
  17980. "description": "商品代码(预售)",
  17981. "type": "string"
  17982. },
  17983. "goodsdetail": {
  17984. "description": "详情[大宗]",
  17985. "type": "string"
  17986. },
  17987. "goodsid": {
  17988. "description": "商品ID(自增ID SEQ_GOODS)",
  17989. "type": "integer"
  17990. },
  17991. "goodsname": {
  17992. "description": "商品名称(预售)",
  17993. "type": "string"
  17994. },
  17995. "goodunit": {
  17996. "description": "报价单位",
  17997. "type": "string"
  17998. },
  17999. "goodunitid": {
  18000. "description": "报价单位ID",
  18001. "type": "integer"
  18002. },
  18003. "marketid": {
  18004. "description": "所属市场ID",
  18005. "type": "integer"
  18006. },
  18007. "marketname": {
  18008. "description": "预售市场名称",
  18009. "type": "string"
  18010. },
  18011. "presaledamount": {
  18012. "description": "已预售总金额(预售结束时更新)",
  18013. "type": "number"
  18014. },
  18015. "presaledqty": {
  18016. "description": "已预售量(预售结束时更新)",
  18017. "type": "integer"
  18018. },
  18019. "presalemode": {
  18020. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  18021. "type": "integer"
  18022. },
  18023. "presaleqty": {
  18024. "description": "预售数量",
  18025. "type": "integer"
  18026. },
  18027. "refprice": {
  18028. "description": "参考价格[一口价]",
  18029. "type": "number"
  18030. },
  18031. "relatedgoodscode": {
  18032. "description": "商品代码(订单)",
  18033. "type": "string"
  18034. },
  18035. "relatedgoodsid": {
  18036. "description": "关联交易合约ID",
  18037. "type": "integer"
  18038. },
  18039. "relatedgoodsname": {
  18040. "description": "商品名称(订单)",
  18041. "type": "string"
  18042. },
  18043. "relatedmarketid": {
  18044. "description": "关联交易合约市场ID",
  18045. "type": "integer"
  18046. },
  18047. "sellstatus": {
  18048. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  18049. "type": "integer"
  18050. },
  18051. "startprice": {
  18052. "description": "起拍价[大宗式竞拍]",
  18053. "type": "number"
  18054. },
  18055. "starttime": {
  18056. "description": "预售开始时间",
  18057. "type": "string"
  18058. },
  18059. "tradedate": {
  18060. "description": "交易日(yyyyMMdd)",
  18061. "type": "string"
  18062. },
  18063. "tradeprice": {
  18064. "description": "成交价[大宗]",
  18065. "type": "number"
  18066. },
  18067. "userid": {
  18068. "description": "卖方用户ID",
  18069. "type": "integer"
  18070. }
  18071. }
  18072. },
  18073. "cptrade.QueryPresaleGoodsExRsp": {
  18074. "type": "object",
  18075. "required": [
  18076. "goodsid"
  18077. ],
  18078. "properties": {
  18079. "attachmenturl": {
  18080. "description": "附件地址",
  18081. "type": "string"
  18082. },
  18083. "createtime": {
  18084. "description": "创建时间",
  18085. "type": "string"
  18086. },
  18087. "endtime": {
  18088. "description": "预售结束时间",
  18089. "type": "string"
  18090. },
  18091. "floorprice": {
  18092. "description": "底价[大宗式竞拍]",
  18093. "type": "number"
  18094. },
  18095. "goodsdetail": {
  18096. "description": "详情[大宗]",
  18097. "type": "string"
  18098. },
  18099. "goodsid": {
  18100. "description": "商品ID(预售)",
  18101. "type": "integer"
  18102. },
  18103. "goodunit": {
  18104. "description": "报价单位",
  18105. "type": "string"
  18106. },
  18107. "marketid": {
  18108. "description": "预售市场ID - 根据预售模式选择市场",
  18109. "type": "integer"
  18110. },
  18111. "presaledamount": {
  18112. "description": "已预售总金额(预售结束时更新)",
  18113. "type": "number"
  18114. },
  18115. "presaledqty": {
  18116. "description": "已预售量(预售结束时更新)",
  18117. "type": "integer"
  18118. },
  18119. "presalemode": {
  18120. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  18121. "type": "integer"
  18122. },
  18123. "presaleqty": {
  18124. "description": "预售数量",
  18125. "type": "integer"
  18126. },
  18127. "refprice": {
  18128. "description": "参考价格[一口价]",
  18129. "type": "number"
  18130. },
  18131. "relatedgoodsid": {
  18132. "description": "关联交易合约ID",
  18133. "type": "integer"
  18134. },
  18135. "relatedmarketid": {
  18136. "description": "关联交易合约市场ID",
  18137. "type": "integer"
  18138. },
  18139. "sellstatus": {
  18140. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  18141. "type": "integer"
  18142. },
  18143. "startprice": {
  18144. "description": "起拍价[大宗式竞拍]",
  18145. "type": "number"
  18146. },
  18147. "starttime": {
  18148. "description": "预售开始时间",
  18149. "type": "string"
  18150. },
  18151. "tradedate": {
  18152. "description": "交易日(yyyyMMdd)",
  18153. "type": "string"
  18154. },
  18155. "tradeprice": {
  18156. "description": "成交价[大宗]",
  18157. "type": "number"
  18158. }
  18159. }
  18160. },
  18161. "delivery.QueryDeliveryRelationRsp": {
  18162. "type": "object",
  18163. "required": [
  18164. "begindate",
  18165. "enddate",
  18166. "goodsid",
  18167. "mindeliveryqty",
  18168. "xdeliveryratio"
  18169. ],
  18170. "properties": {
  18171. "begindate": {
  18172. "description": "起始日期(yyyyMMdd)",
  18173. "type": "string"
  18174. },
  18175. "buytemplateid": {
  18176. "description": "买履约计划模板ID",
  18177. "type": "integer"
  18178. },
  18179. "deliverygoodscode": {
  18180. "description": "品种代码",
  18181. "type": "string"
  18182. },
  18183. "deliverygoodsid": {
  18184. "description": "交割商品",
  18185. "type": "integer"
  18186. },
  18187. "deliverygoodsname": {
  18188. "description": "品种名称",
  18189. "type": "string"
  18190. },
  18191. "deliverymode": {
  18192. "description": "交割方式 - 1:点选式 2:申报式",
  18193. "type": "integer"
  18194. },
  18195. "deliverypricerule": {
  18196. "description": "交割价规则- 1:行情价 2:建仓价",
  18197. "type": "integer"
  18198. },
  18199. "deliverytype": {
  18200. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  18201. "type": "integer"
  18202. },
  18203. "enddate": {
  18204. "description": "结束日期(yyyyMMdd)",
  18205. "type": "string"
  18206. },
  18207. "enumdicname": {
  18208. "description": "品类单位名称",
  18209. "type": "string"
  18210. },
  18211. "goodscode": {
  18212. "description": "商品代码",
  18213. "type": "string"
  18214. },
  18215. "goodsid": {
  18216. "description": "交易合约ID",
  18217. "type": "integer"
  18218. },
  18219. "goodsname": {
  18220. "description": "商品名称",
  18221. "type": "string"
  18222. },
  18223. "marketid": {
  18224. "description": "市场ID",
  18225. "type": "integer"
  18226. },
  18227. "mindeliveryqty": {
  18228. "description": "最小交割系数(K)",
  18229. "type": "integer"
  18230. },
  18231. "p2deliveryprice": {
  18232. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  18233. "type": "number"
  18234. },
  18235. "p2deliveryratio": {
  18236. "description": "P2合约系数(p)",
  18237. "type": "integer"
  18238. },
  18239. "p2goodsid": {
  18240. "description": "P2合约ID",
  18241. "type": "integer"
  18242. },
  18243. "p2pricemode": {
  18244. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  18245. "type": "integer"
  18246. },
  18247. "pdeliveryprice": {
  18248. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  18249. "type": "number"
  18250. },
  18251. "pdeliveryratio": {
  18252. "description": "P合约系数(n)",
  18253. "type": "integer"
  18254. },
  18255. "pgoodscode": {
  18256. "description": "p合约代码",
  18257. "type": "string"
  18258. },
  18259. "pgoodsid": {
  18260. "description": "P合约ID",
  18261. "type": "integer"
  18262. },
  18263. "ppricemode": {
  18264. "description": "P合约价格方式 - 1:商品价 2:固定值",
  18265. "type": "integer"
  18266. },
  18267. "rratio": {
  18268. "description": "兑换系数(R)",
  18269. "type": "integer"
  18270. },
  18271. "rratio1": {
  18272. "description": "兑换系数(交易合约)(R1)",
  18273. "type": "integer"
  18274. },
  18275. "rratio2": {
  18276. "description": "兑换系数(仓单标准)(R2)",
  18277. "type": "integer"
  18278. },
  18279. "selltemplateid": {
  18280. "description": "卖履约计划模板ID",
  18281. "type": "integer"
  18282. },
  18283. "wrstandardid": {
  18284. "description": "仓单标准ID",
  18285. "type": "integer"
  18286. },
  18287. "xdeliveryratio": {
  18288. "description": "交易合约系数(m)",
  18289. "type": "integer"
  18290. }
  18291. }
  18292. },
  18293. "ermcp.ExposureDetailRsp": {
  18294. "type": "object",
  18295. "properties": {
  18296. "areauserid": {
  18297. "description": "机构ID",
  18298. "type": "integer"
  18299. },
  18300. "changeQty": {
  18301. "description": "套保变动量",
  18302. "type": "number"
  18303. },
  18304. "contracttype": {
  18305. "description": "现货合同类型 - 1:采购 -1:销售",
  18306. "type": "integer"
  18307. },
  18308. "convertfactor": {
  18309. "description": "标仓系数",
  18310. "type": "number"
  18311. },
  18312. "convertratio": {
  18313. "description": "套保系数",
  18314. "type": "number"
  18315. },
  18316. "createtime": {
  18317. "description": "时间",
  18318. "type": "string"
  18319. },
  18320. "enumdicname": {
  18321. "description": "现货商品单位名称",
  18322. "type": "string"
  18323. },
  18324. "logtype": {
  18325. "description": "类型 - 1:套保计划 2:现货合同",
  18326. "type": "integer"
  18327. },
  18328. "middlegoodsId": {
  18329. "description": "套保商品id",
  18330. "type": "integer"
  18331. },
  18332. "middlegoodscode": {
  18333. "description": "套保商品代码",
  18334. "type": "string"
  18335. },
  18336. "middlegoodsname": {
  18337. "description": "套保商品名称",
  18338. "type": "string"
  18339. },
  18340. "qty": {
  18341. "description": "数量",
  18342. "type": "number"
  18343. },
  18344. "relateNo": {
  18345. "description": "现货合同/套保计划编号",
  18346. "type": "string"
  18347. },
  18348. "wrstandardcode": {
  18349. "description": "现货商品代码",
  18350. "type": "string"
  18351. },
  18352. "wrstandardid": {
  18353. "description": "现货商品ID",
  18354. "type": "integer"
  18355. },
  18356. "wrstandardname": {
  18357. "description": "现货商品名称",
  18358. "type": "string"
  18359. }
  18360. }
  18361. },
  18362. "ermcp.ExposureHedgePosDetailRsp": {
  18363. "type": "object",
  18364. "properties": {
  18365. "buyorsell": {
  18366. "description": "买卖方向 0-买 1-卖",
  18367. "type": "integer"
  18368. },
  18369. "channelbuildtype": {
  18370. "description": "开平方向 1-建仓 2-平仓",
  18371. "type": "integer"
  18372. },
  18373. "goodscode": {
  18374. "description": "商品代码",
  18375. "type": "string"
  18376. },
  18377. "goodsname": {
  18378. "description": "商品名称",
  18379. "type": "string"
  18380. },
  18381. "hedgegoodsid": {
  18382. "description": "商品id",
  18383. "type": "integer"
  18384. },
  18385. "tradeqty": {
  18386. "description": "数量(成交数量)",
  18387. "type": "integer"
  18388. },
  18389. "tradetime": {
  18390. "description": "时间(成交时间)",
  18391. "type": "string"
  18392. }
  18393. }
  18394. },
  18395. "ermcp.ExposureHedgePositionRsp": {
  18396. "type": "object",
  18397. "properties": {
  18398. "accountid": {
  18399. "description": "资金账号[外部母账户]",
  18400. "type": "integer"
  18401. },
  18402. "curbuyposition": {
  18403. "description": "期末买头寸",
  18404. "type": "integer"
  18405. },
  18406. "cursellposition": {
  18407. "description": "期末卖头寸",
  18408. "type": "integer"
  18409. },
  18410. "curtdbuyposition": {
  18411. "description": "期末今日买头寸",
  18412. "type": "integer"
  18413. },
  18414. "curtdsellposition": {
  18415. "description": "期末今日卖头寸",
  18416. "type": "integer"
  18417. },
  18418. "curydbuyposition": {
  18419. "description": "期末上日买头寸",
  18420. "type": "integer"
  18421. },
  18422. "curydsellposition": {
  18423. "description": "期末上日卖头寸",
  18424. "type": "integer"
  18425. },
  18426. "decreaseqty": {
  18427. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  18428. "type": "integer"
  18429. },
  18430. "fretdbuyposition": {
  18431. "description": "冻结今日买头寸",
  18432. "type": "integer"
  18433. },
  18434. "fretdsellposition": {
  18435. "description": "冻结今日卖头寸",
  18436. "type": "integer"
  18437. },
  18438. "freydbuyposition": {
  18439. "description": "冻结上日买头寸",
  18440. "type": "integer"
  18441. },
  18442. "freydsellposition": {
  18443. "description": "冻结上日卖头寸",
  18444. "type": "integer"
  18445. },
  18446. "goodscode": {
  18447. "description": "商品代码",
  18448. "type": "string"
  18449. },
  18450. "goodsid": {
  18451. "description": "商品id",
  18452. "type": "integer"
  18453. },
  18454. "goodsname": {
  18455. "description": "商品名称",
  18456. "type": "string"
  18457. },
  18458. "hedgeaccountcode": {
  18459. "description": "对冲账号",
  18460. "type": "string"
  18461. },
  18462. "hedgegoodsid": {
  18463. "description": "对冲合约ID",
  18464. "type": "integer"
  18465. },
  18466. "increaseqty": {
  18467. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  18468. "type": "integer"
  18469. },
  18470. "marketid": {
  18471. "description": "市场ID",
  18472. "type": "integer"
  18473. },
  18474. "relateduserid": {
  18475. "description": "关联用户id",
  18476. "type": "integer"
  18477. },
  18478. "totalcurqty": {
  18479. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  18480. "type": "integer"
  18481. },
  18482. "totalydqty": {
  18483. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  18484. "type": "integer"
  18485. },
  18486. "tradedate": {
  18487. "description": "交易日(yyyyMMdd)",
  18488. "type": "string"
  18489. },
  18490. "ydbuyposition": {
  18491. "description": "期初买头寸",
  18492. "type": "integer"
  18493. },
  18494. "ydsellposition": {
  18495. "description": "期初卖头寸",
  18496. "type": "integer"
  18497. }
  18498. }
  18499. },
  18500. "ermcp.ExposureSpotDetailRsp": {
  18501. "type": "object",
  18502. "properties": {
  18503. "contracttype": {
  18504. "description": "合同类型 1-采购 -1-销售",
  18505. "type": "integer"
  18506. },
  18507. "createtime": {
  18508. "description": "创建时间",
  18509. "type": "string"
  18510. },
  18511. "enumdicname": {
  18512. "description": "现货商品单位名称",
  18513. "type": "string"
  18514. },
  18515. "logtype": {
  18516. "description": "记录类型 1-套保 2-现货合同",
  18517. "type": "integer"
  18518. },
  18519. "qty": {
  18520. "description": "数量",
  18521. "type": "number"
  18522. },
  18523. "recordname": {
  18524. "description": "类型名称",
  18525. "type": "string"
  18526. },
  18527. "relatedid": {
  18528. "description": "套保计划ID/现货合同ID",
  18529. "type": "string"
  18530. },
  18531. "relatedno": {
  18532. "description": "编号",
  18533. "type": "string"
  18534. },
  18535. "strtime": {
  18536. "description": "时间",
  18537. "type": "string"
  18538. },
  18539. "wrstandardcode": {
  18540. "description": "现货商品代码",
  18541. "type": "string"
  18542. },
  18543. "wrstandardname": {
  18544. "description": "现货商品名称",
  18545. "type": "string"
  18546. }
  18547. }
  18548. },
  18549. "ermcp.ExposureSpotRsp": {
  18550. "type": "object",
  18551. "properties": {
  18552. "areauserid": {
  18553. "description": "所属机构",
  18554. "type": "integer"
  18555. },
  18556. "decreaseqty": {
  18557. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  18558. "type": "number"
  18559. },
  18560. "increaseqty": {
  18561. "description": "增加数量=销售计划数量+采购已定价数量",
  18562. "type": "number"
  18563. },
  18564. "oritoalspotqty": {
  18565. "description": "昨日数量",
  18566. "type": "number"
  18567. },
  18568. "totalspotqty": {
  18569. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  18570. "type": "number"
  18571. },
  18572. "updatetime": {
  18573. "description": "更新时间",
  18574. "type": "string"
  18575. },
  18576. "wrstandardcode": {
  18577. "description": "现货品种代码",
  18578. "type": "string"
  18579. },
  18580. "wrstandardid": {
  18581. "description": "现货商品ID",
  18582. "type": "integer"
  18583. },
  18584. "wrstandardname": {
  18585. "description": "现货品种",
  18586. "type": "string"
  18587. }
  18588. }
  18589. },
  18590. "ermcp.HisExposureRsp": {
  18591. "type": "object",
  18592. "properties": {
  18593. "data": {
  18594. "description": "历史敞口",
  18595. "type": "array",
  18596. "items": {
  18597. "$ref": "#/definitions/models.ErmcpHisExposure"
  18598. }
  18599. },
  18600. "enumdicname": {
  18601. "description": "单位名称",
  18602. "type": "string"
  18603. },
  18604. "middlegoodscode": {
  18605. "description": "套保品种代码",
  18606. "type": "string"
  18607. },
  18608. "middlegoodsid": {
  18609. "description": "套保品种ID",
  18610. "type": "integer"
  18611. },
  18612. "middlegoodsname": {
  18613. "description": "套保品种名称",
  18614. "type": "string"
  18615. }
  18616. }
  18617. },
  18618. "ermcp.PendingAuditCntRsp": {
  18619. "type": "object",
  18620. "properties": {
  18621. "areastockqty": {
  18622. "description": "待审核数量: 库存申请",
  18623. "type": "integer"
  18624. },
  18625. "businessdjqty": {
  18626. "description": "待审核数量: 点价",
  18627. "type": "integer"
  18628. },
  18629. "businessfpqty": {
  18630. "description": "待审核数量: 发票",
  18631. "type": "integer"
  18632. },
  18633. "businessjsqty": {
  18634. "description": "待审核数量: 结算",
  18635. "type": "integer"
  18636. },
  18637. "businesskxqty": {
  18638. "description": "待审核数量: 款项",
  18639. "type": "integer"
  18640. },
  18641. "hedgeplanqty": {
  18642. "description": "待审核数量: 套保计划",
  18643. "type": "integer"
  18644. },
  18645. "spotcontractqty": {
  18646. "description": "待审核数量: 现货合同",
  18647. "type": "integer"
  18648. },
  18649. "userqty": {
  18650. "description": "待审核数量: 用户",
  18651. "type": "integer"
  18652. }
  18653. }
  18654. },
  18655. "ermcp.QryAvalidGPRsp": {
  18656. "type": "object",
  18657. "properties": {
  18658. "goodsgroupid": {
  18659. "description": "期货品种id",
  18660. "type": "integer"
  18661. },
  18662. "goodsgroupname": {
  18663. "description": "期货品种名称",
  18664. "type": "string"
  18665. },
  18666. "goodunitid": {
  18667. "description": "品种单位id",
  18668. "type": "integer"
  18669. },
  18670. "goodunitname": {
  18671. "description": "品种单位名称",
  18672. "type": "string"
  18673. },
  18674. "outergroupcode": {
  18675. "description": "期货品种代码",
  18676. "type": "string"
  18677. }
  18678. }
  18679. },
  18680. "ermcp.QryBusinessDjRsp": {
  18681. "type": "object",
  18682. "properties": {
  18683. "amount": {
  18684. "description": "期初均价",
  18685. "type": "number"
  18686. },
  18687. "applyid": {
  18688. "description": "申请人",
  18689. "type": "string"
  18690. },
  18691. "applyname": {
  18692. "description": "申请人名称",
  18693. "type": "string"
  18694. },
  18695. "applystatus": {
  18696. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  18697. "type": "integer"
  18698. },
  18699. "applytime": {
  18700. "description": "申请时间",
  18701. "type": "string"
  18702. },
  18703. "attachurl": {
  18704. "description": "附件",
  18705. "type": "string"
  18706. },
  18707. "auditid": {
  18708. "description": "审核人ID",
  18709. "type": "string"
  18710. },
  18711. "auditname": {
  18712. "description": "审核人名称",
  18713. "type": "string"
  18714. },
  18715. "auditremark": {
  18716. "description": "审核备注",
  18717. "type": "string"
  18718. },
  18719. "audittime": {
  18720. "description": "审核时间",
  18721. "type": "string"
  18722. },
  18723. "buyusername": {
  18724. "description": "采购方名称",
  18725. "type": "string"
  18726. },
  18727. "contractno": {
  18728. "description": "合同编号",
  18729. "type": "string"
  18730. },
  18731. "contractstatus": {
  18732. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18733. "type": "integer"
  18734. },
  18735. "contracttype": {
  18736. "description": "现货合同类型 - 1:采购 -1:销售",
  18737. "type": "integer"
  18738. },
  18739. "deliverygoodscode": {
  18740. "description": "现货品种代码",
  18741. "type": "string"
  18742. },
  18743. "deliverygoodsid": {
  18744. "description": "现货商品ID",
  18745. "type": "integer"
  18746. },
  18747. "deliverygoodsname": {
  18748. "description": "现货品种名称",
  18749. "type": "string"
  18750. },
  18751. "enumdicname": {
  18752. "description": "单位名称",
  18753. "type": "string"
  18754. },
  18755. "goodscode": {
  18756. "description": "点价合约",
  18757. "type": "string"
  18758. },
  18759. "goodsname": {
  18760. "description": "商品名称",
  18761. "type": "string"
  18762. },
  18763. "operateapplyid": {
  18764. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  18765. "type": "string"
  18766. },
  18767. "operateapplytype": {
  18768. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  18769. "type": "integer"
  18770. },
  18771. "pricedPrice": {
  18772. "description": "点价价格(非必填)",
  18773. "type": "number"
  18774. },
  18775. "pricedQty": {
  18776. "description": "点价数量(非必填)",
  18777. "type": "number"
  18778. },
  18779. "pricemove": {
  18780. "description": "升贴水",
  18781. "type": "number"
  18782. },
  18783. "pricetype": {
  18784. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18785. "type": "integer"
  18786. },
  18787. "relatedid": {
  18788. "description": "现货合同ID",
  18789. "type": "string"
  18790. },
  18791. "sellusername": {
  18792. "description": "销售方名字",
  18793. "type": "string"
  18794. },
  18795. "userid": {
  18796. "description": "用户ID",
  18797. "type": "integer"
  18798. },
  18799. "wrstandardcode": {
  18800. "description": "品类代码",
  18801. "type": "string"
  18802. },
  18803. "wrstandardid": {
  18804. "description": "品类id",
  18805. "type": "integer"
  18806. },
  18807. "wrstandardname": {
  18808. "description": "品类名称",
  18809. "type": "string"
  18810. }
  18811. }
  18812. },
  18813. "ermcp.QryBussinessFpRsp": {
  18814. "type": "object",
  18815. "properties": {
  18816. "applyid": {
  18817. "description": "申请人",
  18818. "type": "string"
  18819. },
  18820. "applyname": {
  18821. "description": "申请人名称",
  18822. "type": "string"
  18823. },
  18824. "applystatus": {
  18825. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  18826. "type": "integer"
  18827. },
  18828. "applytime": {
  18829. "description": "申请时间",
  18830. "type": "string"
  18831. },
  18832. "attachurl": {
  18833. "description": "附件",
  18834. "type": "string"
  18835. },
  18836. "auditid": {
  18837. "description": "审核人ID",
  18838. "type": "string"
  18839. },
  18840. "auditname": {
  18841. "description": "审核人名称",
  18842. "type": "string"
  18843. },
  18844. "auditremark": {
  18845. "description": "审核备注",
  18846. "type": "string"
  18847. },
  18848. "audittime": {
  18849. "description": "审核时间",
  18850. "type": "string"
  18851. },
  18852. "buyusername": {
  18853. "description": "采购方名称",
  18854. "type": "string"
  18855. },
  18856. "contractno": {
  18857. "description": "合同编号",
  18858. "type": "string"
  18859. },
  18860. "contractstatus": {
  18861. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18862. "type": "integer"
  18863. },
  18864. "contracttype": {
  18865. "description": "现货合同类型 - 1:采购 -1:销售",
  18866. "type": "integer"
  18867. },
  18868. "deliverygoodscode": {
  18869. "description": "现货品种代码",
  18870. "type": "string"
  18871. },
  18872. "deliverygoodsid": {
  18873. "description": "现货商品ID",
  18874. "type": "integer"
  18875. },
  18876. "deliverygoodsname": {
  18877. "description": "现货品种名称",
  18878. "type": "string"
  18879. },
  18880. "enumdicname": {
  18881. "description": "单位名称",
  18882. "type": "string"
  18883. },
  18884. "goodscode": {
  18885. "description": "点价合约",
  18886. "type": "string"
  18887. },
  18888. "goodsname": {
  18889. "description": "商品名称",
  18890. "type": "string"
  18891. },
  18892. "invoiceamount": {
  18893. "description": "已开收票金额(销售为开票,采购为收票)",
  18894. "type": "number"
  18895. },
  18896. "operateapplyid": {
  18897. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  18898. "type": "string"
  18899. },
  18900. "operateapplytype": {
  18901. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  18902. "type": "integer"
  18903. },
  18904. "pricemove": {
  18905. "description": "升贴水",
  18906. "type": "number"
  18907. },
  18908. "pricetype": {
  18909. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18910. "type": "integer"
  18911. },
  18912. "relatedid": {
  18913. "description": "现货合同ID",
  18914. "type": "string"
  18915. },
  18916. "sellusername": {
  18917. "description": "销售方名字",
  18918. "type": "string"
  18919. },
  18920. "userid": {
  18921. "description": "用户ID",
  18922. "type": "integer"
  18923. },
  18924. "wrstandardcode": {
  18925. "description": "品类代码",
  18926. "type": "string"
  18927. },
  18928. "wrstandardid": {
  18929. "description": "品类id",
  18930. "type": "integer"
  18931. },
  18932. "wrstandardname": {
  18933. "description": "品类名称",
  18934. "type": "string"
  18935. }
  18936. }
  18937. },
  18938. "ermcp.QryBussinessJsExRsp": {
  18939. "type": "object",
  18940. "properties": {
  18941. "applyid": {
  18942. "description": "申请人",
  18943. "type": "string"
  18944. },
  18945. "applyname": {
  18946. "description": "申请人名称",
  18947. "type": "string"
  18948. },
  18949. "applystatus": {
  18950. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  18951. "type": "integer"
  18952. },
  18953. "applytime": {
  18954. "description": "申请时间",
  18955. "type": "string"
  18956. },
  18957. "attachurl": {
  18958. "description": "附件",
  18959. "type": "string"
  18960. },
  18961. "auditid": {
  18962. "description": "审核人ID",
  18963. "type": "string"
  18964. },
  18965. "auditname": {
  18966. "description": "审核人名称",
  18967. "type": "string"
  18968. },
  18969. "auditremark": {
  18970. "description": "审核备注",
  18971. "type": "string"
  18972. },
  18973. "audittime": {
  18974. "description": "审核时间",
  18975. "type": "string"
  18976. },
  18977. "buyusername": {
  18978. "description": "采购方名称",
  18979. "type": "string"
  18980. },
  18981. "contractno": {
  18982. "description": "合同编号",
  18983. "type": "string"
  18984. },
  18985. "contractstatus": {
  18986. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18987. "type": "integer"
  18988. },
  18989. "contracttype": {
  18990. "description": "现货合同类型 - 1:采购 -1:销售",
  18991. "type": "integer"
  18992. },
  18993. "deliverygoodscode": {
  18994. "description": "现货品种代码",
  18995. "type": "string"
  18996. },
  18997. "deliverygoodsid": {
  18998. "description": "现货商品ID",
  18999. "type": "integer"
  19000. },
  19001. "deliverygoodsname": {
  19002. "description": "现货品种名称",
  19003. "type": "string"
  19004. },
  19005. "enumdicname": {
  19006. "description": "单位名称",
  19007. "type": "string"
  19008. },
  19009. "goodscode": {
  19010. "description": "点价合约",
  19011. "type": "string"
  19012. },
  19013. "goodsname": {
  19014. "description": "商品名称",
  19015. "type": "string"
  19016. },
  19017. "operateapplyid": {
  19018. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  19019. "type": "string"
  19020. },
  19021. "operateapplytype": {
  19022. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  19023. "type": "integer"
  19024. },
  19025. "pricemove": {
  19026. "description": "升贴水",
  19027. "type": "number"
  19028. },
  19029. "pricetype": {
  19030. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19031. "type": "integer"
  19032. },
  19033. "reckontype": {
  19034. "description": "结算类型",
  19035. "type": "string"
  19036. },
  19037. "reckonvalue": {
  19038. "description": "值",
  19039. "type": "number"
  19040. },
  19041. "relatedid": {
  19042. "description": "现货合同ID",
  19043. "type": "string"
  19044. },
  19045. "sellusername": {
  19046. "description": "销售方名字",
  19047. "type": "string"
  19048. },
  19049. "userid": {
  19050. "description": "用户ID",
  19051. "type": "integer"
  19052. },
  19053. "wrstandardcode": {
  19054. "description": "品类代码",
  19055. "type": "string"
  19056. },
  19057. "wrstandardid": {
  19058. "description": "品类id",
  19059. "type": "integer"
  19060. },
  19061. "wrstandardname": {
  19062. "description": "品类名称",
  19063. "type": "string"
  19064. }
  19065. }
  19066. },
  19067. "ermcp.QryBussinessJsRsp": {
  19068. "type": "object",
  19069. "properties": {
  19070. "addmargin": {
  19071. "description": "追加保证金(非必填)",
  19072. "type": "number"
  19073. },
  19074. "applyid": {
  19075. "description": "申请人",
  19076. "type": "string"
  19077. },
  19078. "applyname": {
  19079. "description": "申请人名称",
  19080. "type": "string"
  19081. },
  19082. "applystatus": {
  19083. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  19084. "type": "integer"
  19085. },
  19086. "applytime": {
  19087. "description": "申请时间",
  19088. "type": "string"
  19089. },
  19090. "attachurl": {
  19091. "description": "附件",
  19092. "type": "string"
  19093. },
  19094. "auditid": {
  19095. "description": "审核人ID",
  19096. "type": "string"
  19097. },
  19098. "auditname": {
  19099. "description": "审核人名称",
  19100. "type": "string"
  19101. },
  19102. "auditremark": {
  19103. "description": "审核备注",
  19104. "type": "string"
  19105. },
  19106. "audittime": {
  19107. "description": "审核时间",
  19108. "type": "string"
  19109. },
  19110. "buyusername": {
  19111. "description": "采购方名称",
  19112. "type": "string"
  19113. },
  19114. "contractno": {
  19115. "description": "合同编号",
  19116. "type": "string"
  19117. },
  19118. "contractstatus": {
  19119. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19120. "type": "integer"
  19121. },
  19122. "contracttype": {
  19123. "description": "现货合同类型 - 1:采购 -1:销售",
  19124. "type": "integer"
  19125. },
  19126. "decmargin": {
  19127. "description": "减少保证金(非必填)",
  19128. "type": "number"
  19129. },
  19130. "deliverygoodscode": {
  19131. "description": "现货品种代码",
  19132. "type": "string"
  19133. },
  19134. "deliverygoodsid": {
  19135. "description": "现货商品ID",
  19136. "type": "integer"
  19137. },
  19138. "deliverygoodsname": {
  19139. "description": "现货品种名称",
  19140. "type": "string"
  19141. },
  19142. "enumdicname": {
  19143. "description": "单位名称",
  19144. "type": "string"
  19145. },
  19146. "goodscode": {
  19147. "description": "点价合约",
  19148. "type": "string"
  19149. },
  19150. "goodsname": {
  19151. "description": "商品名称",
  19152. "type": "string"
  19153. },
  19154. "operateapplyid": {
  19155. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  19156. "type": "string"
  19157. },
  19158. "operateapplytype": {
  19159. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  19160. "type": "integer"
  19161. },
  19162. "pricemove": {
  19163. "description": "升贴水",
  19164. "type": "number"
  19165. },
  19166. "pricetype": {
  19167. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19168. "type": "integer"
  19169. },
  19170. "reckonadjustamount": {
  19171. "description": "结算调整金额(非必填)",
  19172. "type": "number"
  19173. },
  19174. "reckonosamount": {
  19175. "description": "结算溢短金额(非必填)",
  19176. "type": "number"
  19177. },
  19178. "reckonotheramount": {
  19179. "description": "结算其他费用(非必填)",
  19180. "type": "number"
  19181. },
  19182. "reckonrealqty": {
  19183. "description": "结算实际数量(非必填)",
  19184. "type": "number"
  19185. },
  19186. "relatedid": {
  19187. "description": "现货合同ID",
  19188. "type": "string"
  19189. },
  19190. "sellusername": {
  19191. "description": "销售方名字",
  19192. "type": "string"
  19193. },
  19194. "userid": {
  19195. "description": "用户ID",
  19196. "type": "integer"
  19197. },
  19198. "wrstandardcode": {
  19199. "description": "品类代码",
  19200. "type": "string"
  19201. },
  19202. "wrstandardid": {
  19203. "description": "品类id",
  19204. "type": "integer"
  19205. },
  19206. "wrstandardname": {
  19207. "description": "品类名称",
  19208. "type": "string"
  19209. }
  19210. }
  19211. },
  19212. "ermcp.QryBussinessKxRsp": {
  19213. "type": "object",
  19214. "properties": {
  19215. "applyid": {
  19216. "description": "申请人",
  19217. "type": "string"
  19218. },
  19219. "applyname": {
  19220. "description": "申请人名称",
  19221. "type": "string"
  19222. },
  19223. "applystatus": {
  19224. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  19225. "type": "integer"
  19226. },
  19227. "applytime": {
  19228. "description": "申请时间",
  19229. "type": "string"
  19230. },
  19231. "attachurl": {
  19232. "description": "附件",
  19233. "type": "string"
  19234. },
  19235. "auditid": {
  19236. "description": "审核人ID",
  19237. "type": "string"
  19238. },
  19239. "auditname": {
  19240. "description": "审核人名称",
  19241. "type": "string"
  19242. },
  19243. "auditremark": {
  19244. "description": "审核备注",
  19245. "type": "string"
  19246. },
  19247. "audittime": {
  19248. "description": "审核时间",
  19249. "type": "string"
  19250. },
  19251. "buyusername": {
  19252. "description": "采购方名称",
  19253. "type": "string"
  19254. },
  19255. "contractno": {
  19256. "description": "合同编号",
  19257. "type": "string"
  19258. },
  19259. "contractstatus": {
  19260. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19261. "type": "integer"
  19262. },
  19263. "contracttype": {
  19264. "description": "现货合同类型 - 1:采购 -1:销售",
  19265. "type": "integer"
  19266. },
  19267. "deductamount": {
  19268. "description": "期初均价",
  19269. "type": "number"
  19270. },
  19271. "deliverygoodscode": {
  19272. "description": "现货品种代码",
  19273. "type": "string"
  19274. },
  19275. "deliverygoodsid": {
  19276. "description": "现货商品ID",
  19277. "type": "integer"
  19278. },
  19279. "deliverygoodsname": {
  19280. "description": "现货品种名称",
  19281. "type": "string"
  19282. },
  19283. "enumdicname": {
  19284. "description": "单位名称",
  19285. "type": "string"
  19286. },
  19287. "goodscode": {
  19288. "description": "点价合约",
  19289. "type": "string"
  19290. },
  19291. "goodsname": {
  19292. "description": "商品名称",
  19293. "type": "string"
  19294. },
  19295. "kxtype": {
  19296. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  19297. "type": "integer"
  19298. },
  19299. "operateapplyid": {
  19300. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  19301. "type": "string"
  19302. },
  19303. "operateapplytype": {
  19304. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  19305. "type": "integer"
  19306. },
  19307. "payamount": {
  19308. "description": "期初均价",
  19309. "type": "number"
  19310. },
  19311. "pricemove": {
  19312. "description": "升贴水",
  19313. "type": "number"
  19314. },
  19315. "pricetype": {
  19316. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19317. "type": "integer"
  19318. },
  19319. "relatedid": {
  19320. "description": "现货合同ID",
  19321. "type": "string"
  19322. },
  19323. "sellusername": {
  19324. "description": "销售方名字",
  19325. "type": "string"
  19326. },
  19327. "userid": {
  19328. "description": "用户ID",
  19329. "type": "integer"
  19330. },
  19331. "wrstandardcode": {
  19332. "description": "品类代码",
  19333. "type": "string"
  19334. },
  19335. "wrstandardid": {
  19336. "description": "品类id",
  19337. "type": "integer"
  19338. },
  19339. "wrstandardname": {
  19340. "description": "品类名称",
  19341. "type": "string"
  19342. }
  19343. }
  19344. },
  19345. "ermcp.QryGGCovertCfgRsp": {
  19346. "type": "object",
  19347. "properties": {
  19348. "convertratio": {
  19349. "description": "折算系数",
  19350. "type": "number"
  19351. },
  19352. "destgoodsgroupid": {
  19353. "description": "目标品种ID",
  19354. "type": "integer"
  19355. },
  19356. "dstcode": {
  19357. "description": "目录品种代码",
  19358. "type": "string"
  19359. },
  19360. "dstexchangecode": {
  19361. "description": "目标期货交易所",
  19362. "type": "string"
  19363. },
  19364. "dstname": {
  19365. "description": "目标品种名称",
  19366. "type": "string"
  19367. },
  19368. "dstunitid": {
  19369. "description": "目标品种单位ID",
  19370. "type": "integer"
  19371. },
  19372. "dstunitidname": {
  19373. "description": "目标品种单位名称",
  19374. "type": "string"
  19375. },
  19376. "modifytime": {
  19377. "description": "修改时间",
  19378. "type": "string"
  19379. },
  19380. "srccode": {
  19381. "description": "源品种代码",
  19382. "type": "string"
  19383. },
  19384. "srcexchangecode": {
  19385. "description": "源期货交易所",
  19386. "type": "string"
  19387. },
  19388. "srcgoodsgroupid": {
  19389. "description": "源品种ID",
  19390. "type": "integer"
  19391. },
  19392. "srcname": {
  19393. "description": "源品种名称",
  19394. "type": "string"
  19395. },
  19396. "srcunitid": {
  19397. "description": "源品种单位ID",
  19398. "type": "integer"
  19399. },
  19400. "srcunitidname": {
  19401. "description": "源品种单位名称",
  19402. "type": "string"
  19403. }
  19404. }
  19405. },
  19406. "ermcp.QryMGChangeLogRsp": {
  19407. "type": "object",
  19408. "properties": {
  19409. "aftervalue": {
  19410. "description": "变更后",
  19411. "type": "number"
  19412. },
  19413. "applyid": {
  19414. "description": "操作人",
  19415. "type": "integer"
  19416. },
  19417. "applyname": {
  19418. "description": "操作人名称",
  19419. "type": "string"
  19420. },
  19421. "applysrc": {
  19422. "description": "操作来源 - 1:管理端 2:终端",
  19423. "type": "integer"
  19424. },
  19425. "beforevalue": {
  19426. "description": "变更前",
  19427. "type": "number"
  19428. },
  19429. "changelogtype": {
  19430. "description": "变更流水类型 - 1:套保比率变更",
  19431. "type": "integer"
  19432. },
  19433. "handlestatus": {
  19434. "description": "处理状态",
  19435. "type": "integer"
  19436. },
  19437. "logdatetime": {
  19438. "description": "流水日期",
  19439. "type": "string"
  19440. },
  19441. "logid": {
  19442. "description": "流水ID",
  19443. "type": "integer"
  19444. },
  19445. "logremark": {
  19446. "description": "流水备注",
  19447. "type": "string"
  19448. },
  19449. "middlegoodsid": {
  19450. "description": "套保品种ID",
  19451. "type": "integer"
  19452. },
  19453. "tradedate": {
  19454. "description": "交易日(yyyyMMdd)",
  19455. "type": "string"
  19456. },
  19457. "updatetime": {
  19458. "description": "更新时间",
  19459. "type": "string"
  19460. }
  19461. }
  19462. },
  19463. "ermcp.QryMiddleGoodsDetailRsp": {
  19464. "type": "object",
  19465. "properties": {
  19466. "cvList": {
  19467. "description": "期货品种折算列表",
  19468. "type": "array",
  19469. "items": {
  19470. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  19471. }
  19472. },
  19473. "mg": {
  19474. "description": "套保品种基本信息",
  19475. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  19476. },
  19477. "wrcList": {
  19478. "description": "现货品种列表(现货商品折算配置)",
  19479. "type": "array",
  19480. "items": {
  19481. "$ref": "#/definitions/models.WRSConverTDetail"
  19482. }
  19483. }
  19484. }
  19485. },
  19486. "ermcp.QryMiddleGoodsRsp": {
  19487. "type": "object",
  19488. "properties": {
  19489. "areauserid": {
  19490. "description": "机构用户ID",
  19491. "type": "integer"
  19492. },
  19493. "createtime": {
  19494. "description": "修改时间",
  19495. "type": "string"
  19496. },
  19497. "enumdicname": {
  19498. "description": "单位名称",
  19499. "type": "string"
  19500. },
  19501. "evaluateratio": {
  19502. "description": "估价系数",
  19503. "type": "number"
  19504. },
  19505. "goodsgroupid": {
  19506. "description": "关联期货品种ID",
  19507. "type": "integer"
  19508. },
  19509. "goodsunitid": {
  19510. "description": "单位ID",
  19511. "type": "integer"
  19512. },
  19513. "isvalid": {
  19514. "description": "状态 0-无效(停用) 1-有效(正常)",
  19515. "type": "integer"
  19516. },
  19517. "middlegoodscode": {
  19518. "description": "套保品种代码",
  19519. "type": "string"
  19520. },
  19521. "middlegoodsid": {
  19522. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  19523. "type": "integer"
  19524. },
  19525. "middlegoodsname": {
  19526. "description": "套保品种名称",
  19527. "type": "string"
  19528. },
  19529. "modifytime": {
  19530. "description": "修改时间",
  19531. "type": "string"
  19532. },
  19533. "needarbitrageratio": {
  19534. "description": "套利比例",
  19535. "type": "number"
  19536. },
  19537. "needhedgeratio": {
  19538. "description": "套保比率",
  19539. "type": "number"
  19540. },
  19541. "qtydecimalplace": {
  19542. "description": "数量小数位",
  19543. "type": "integer"
  19544. },
  19545. "relatedgoodsid": {
  19546. "description": "关联交易商品ID",
  19547. "type": "integer"
  19548. },
  19549. "relatedgoodstype": {
  19550. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  19551. "type": "integer"
  19552. },
  19553. "remark": {
  19554. "description": "备注",
  19555. "type": "string"
  19556. }
  19557. }
  19558. },
  19559. "ermcp.QryOPLogRsp": {
  19560. "type": "object",
  19561. "properties": {
  19562. "aftervalue": {
  19563. "description": "变更后",
  19564. "type": "number"
  19565. },
  19566. "applyid": {
  19567. "description": "操作人ID",
  19568. "type": "string"
  19569. },
  19570. "applyname": {
  19571. "description": "操作人名称",
  19572. "type": "string"
  19573. },
  19574. "beforevalue": {
  19575. "description": "变更前",
  19576. "type": "number"
  19577. },
  19578. "biztype": {
  19579. "description": "业务类型 - 1:套保计划 2:现货合同",
  19580. "type": "integer"
  19581. },
  19582. "contracttype": {
  19583. "description": "现货合同类型 - 1:采购 -1:销售",
  19584. "type": "integer"
  19585. },
  19586. "logvalue": {
  19587. "description": "数值",
  19588. "type": "number"
  19589. },
  19590. "operatelogtype": {
  19591. "description": "操作流水类型",
  19592. "type": "integer"
  19593. },
  19594. "operatelogtypedesc": {
  19595. "description": "操作流水类型名称",
  19596. "type": "string"
  19597. },
  19598. "relatedid": {
  19599. "description": "现货合同ID\\套保计划",
  19600. "type": "string"
  19601. },
  19602. "updatetime": {
  19603. "description": "更新时间",
  19604. "type": "string"
  19605. }
  19606. }
  19607. },
  19608. "ermcp.QryUserInfoRsp": {
  19609. "type": "object",
  19610. "properties": {
  19611. "address": {
  19612. "description": "通讯地址",
  19613. "type": "string"
  19614. },
  19615. "attachment1": {
  19616. "description": "附件1",
  19617. "type": "string"
  19618. },
  19619. "audittime": {
  19620. "description": "审核时间",
  19621. "type": "string"
  19622. },
  19623. "cardbackphotourl": {
  19624. "description": "证件反面图片地址",
  19625. "type": "string"
  19626. },
  19627. "cardfrontphotourl": {
  19628. "description": "证件正面图片地址",
  19629. "type": "string"
  19630. },
  19631. "cardnum": {
  19632. "description": "证件号码",
  19633. "type": "string"
  19634. },
  19635. "cardtype": {
  19636. "description": "证件类型",
  19637. "type": "integer"
  19638. },
  19639. "cardtypename": {
  19640. "description": "证件类型名称",
  19641. "type": "string"
  19642. },
  19643. "cityid": {
  19644. "description": "市",
  19645. "type": "integer"
  19646. },
  19647. "contactname": {
  19648. "description": "联系人",
  19649. "type": "string"
  19650. },
  19651. "countryid": {
  19652. "description": "国家",
  19653. "type": "integer"
  19654. },
  19655. "createtime": {
  19656. "description": "创建时间",
  19657. "type": "string"
  19658. },
  19659. "customername": {
  19660. "description": "企业名称",
  19661. "type": "string"
  19662. },
  19663. "districtid": {
  19664. "description": "区域",
  19665. "type": "integer"
  19666. },
  19667. "email": {
  19668. "description": "邮件",
  19669. "type": "string"
  19670. },
  19671. "legalpersonname": {
  19672. "description": "法人姓名(企业)",
  19673. "type": "string"
  19674. },
  19675. "memberuserid": {
  19676. "description": "所属机构ID",
  19677. "type": "integer"
  19678. },
  19679. "mobile": {
  19680. "description": "手机号码",
  19681. "type": "string"
  19682. },
  19683. "modifytime": {
  19684. "description": "修改时间",
  19685. "type": "string"
  19686. },
  19687. "nickname": {
  19688. "description": "昵称",
  19689. "type": "string"
  19690. },
  19691. "provinceid": {
  19692. "description": "省",
  19693. "type": "integer"
  19694. },
  19695. "remark": {
  19696. "description": "备注",
  19697. "type": "string"
  19698. },
  19699. "status": {
  19700. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  19701. "type": "integer"
  19702. },
  19703. "statusdesc": {
  19704. "description": "账户状态中文描述",
  19705. "type": "string"
  19706. },
  19707. "taxpayernum": {
  19708. "description": "纳税人识别号",
  19709. "type": "string"
  19710. },
  19711. "telphone": {
  19712. "description": "联系电话",
  19713. "type": "string"
  19714. },
  19715. "userid": {
  19716. "description": "用户ID",
  19717. "type": "integer"
  19718. },
  19719. "userinfotype": {
  19720. "description": "客户类型",
  19721. "type": "string"
  19722. }
  19723. }
  19724. },
  19725. "ermcp.QryWarehouseRsp": {
  19726. "type": "object",
  19727. "properties": {
  19728. "address": {
  19729. "description": "详细地址",
  19730. "type": "string"
  19731. },
  19732. "areauserid": {
  19733. "description": "所属机构",
  19734. "type": "integer"
  19735. },
  19736. "autoid": {
  19737. "description": "自增ID(仓库ID)",
  19738. "type": "integer"
  19739. },
  19740. "cityid": {
  19741. "description": "市",
  19742. "type": "integer"
  19743. },
  19744. "contactname": {
  19745. "description": "联系人",
  19746. "type": "string"
  19747. },
  19748. "contactnum": {
  19749. "description": "联系电话",
  19750. "type": "string"
  19751. },
  19752. "countryid": {
  19753. "description": "国家",
  19754. "type": "integer"
  19755. },
  19756. "createtime": {
  19757. "description": "创建时间",
  19758. "type": "string"
  19759. },
  19760. "districtid": {
  19761. "description": "区",
  19762. "type": "integer"
  19763. },
  19764. "hasvideo": {
  19765. "description": "是否有视频 - 0:无 1:有",
  19766. "type": "integer"
  19767. },
  19768. "provinceid": {
  19769. "description": "省",
  19770. "type": "integer"
  19771. },
  19772. "remark": {
  19773. "description": "审核备注",
  19774. "type": "string"
  19775. },
  19776. "videourl": {
  19777. "description": "视频地址",
  19778. "type": "string"
  19779. },
  19780. "warehousecode": {
  19781. "description": "仓库代码",
  19782. "type": "string"
  19783. },
  19784. "warehousename": {
  19785. "description": "仓库名称",
  19786. "type": "string"
  19787. },
  19788. "warehousestatus": {
  19789. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  19790. "type": "integer"
  19791. },
  19792. "warehousetype": {
  19793. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19794. "type": "integer"
  19795. }
  19796. }
  19797. },
  19798. "ermcp.QueryErmcpTradePositionRsp": {
  19799. "type": "object",
  19800. "properties": {
  19801. "agreeunit": {
  19802. "description": "合约单位",
  19803. "type": "number"
  19804. },
  19805. "buyorsell": {
  19806. "description": "方向 - 0:买 1:卖",
  19807. "type": "integer"
  19808. },
  19809. "curpositionqty": {
  19810. "description": "持仓(总仓数量, 期末头寸)",
  19811. "type": "integer"
  19812. },
  19813. "curtdposition": {
  19814. "description": "今仓数量(期末今日头寸)",
  19815. "type": "integer"
  19816. },
  19817. "curtdpositionenabled": {
  19818. "description": "今仓可用",
  19819. "type": "integer"
  19820. },
  19821. "decimalplace": {
  19822. "description": "报价小数位",
  19823. "type": "integer"
  19824. },
  19825. "enableqty": {
  19826. "description": "可用(总仓可用)",
  19827. "type": "integer"
  19828. },
  19829. "exexchangename": {
  19830. "description": "外部交易所名称",
  19831. "type": "string"
  19832. },
  19833. "exexehangecode": {
  19834. "description": "外部交易所代码",
  19835. "type": "string"
  19836. },
  19837. "exexehangeid": {
  19838. "description": "外部交易所id",
  19839. "type": "integer"
  19840. },
  19841. "goodscode": {
  19842. "description": "商品代码(内部)",
  19843. "type": "string"
  19844. },
  19845. "goodsid": {
  19846. "description": "商品ID(自增ID SEQ_GOODS)",
  19847. "type": "integer"
  19848. },
  19849. "goodsname": {
  19850. "description": "商品名称",
  19851. "type": "string"
  19852. },
  19853. "last": {
  19854. "description": "现价",
  19855. "type": "number"
  19856. },
  19857. "marketid": {
  19858. "description": "所属市场ID",
  19859. "type": "integer"
  19860. },
  19861. "openaverageprice": {
  19862. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  19863. "type": "number"
  19864. },
  19865. "opencost": {
  19866. "description": "开仓成本",
  19867. "type": "number"
  19868. },
  19869. "openpl": {
  19870. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  19871. "type": "number"
  19872. },
  19873. "outgoodscode": {
  19874. "description": "商品代码(外部)",
  19875. "type": "string"
  19876. },
  19877. "positionaverageprice": {
  19878. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  19879. "type": "number"
  19880. },
  19881. "positioncost": {
  19882. "description": "持仓成本",
  19883. "type": "number"
  19884. },
  19885. "positionpl": {
  19886. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  19887. "type": "number"
  19888. },
  19889. "positionplrate": {
  19890. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  19891. "type": "number"
  19892. },
  19893. "usedmargin": {
  19894. "description": "占用保证金",
  19895. "type": "number"
  19896. }
  19897. }
  19898. },
  19899. "ermcp.RealtimeExposurePositionRsp": {
  19900. "type": "object",
  19901. "properties": {
  19902. "agreeunit": {
  19903. "description": "合约单位",
  19904. "type": "string"
  19905. },
  19906. "areauserid": {
  19907. "description": "所属机构id",
  19908. "type": "integer"
  19909. },
  19910. "convertratio": {
  19911. "description": "期货品种系数(折算系数)",
  19912. "type": "number"
  19913. },
  19914. "curhedgeqty": {
  19915. "description": "期货套期量 = 当前持仓*期货合约单位*期货品种系数",
  19916. "type": "number"
  19917. },
  19918. "curqty": {
  19919. "description": "当前持仓",
  19920. "type": "integer"
  19921. },
  19922. "diffhedgeqty": {
  19923. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  19924. "type": "number"
  19925. },
  19926. "diffqty": {
  19927. "description": "持仓变动量=当前持仓-昨日持仓",
  19928. "type": "integer"
  19929. },
  19930. "goodscode": {
  19931. "description": "商品代码",
  19932. "type": "string"
  19933. },
  19934. "goodsid": {
  19935. "description": "商品id",
  19936. "type": "integer"
  19937. },
  19938. "goodsname": {
  19939. "description": "商品名称",
  19940. "type": "string"
  19941. },
  19942. "hedgeaccountcode": {
  19943. "description": "对冲账号(只有外部账号才有值)",
  19944. "type": "string"
  19945. },
  19946. "middlegoodscode": {
  19947. "description": "套保商品代码",
  19948. "type": "string"
  19949. },
  19950. "middlegoodsid": {
  19951. "description": "套保商品id",
  19952. "type": "integer"
  19953. },
  19954. "middlegoodsname": {
  19955. "description": "套保商品名称",
  19956. "type": "string"
  19957. },
  19958. "ydqty": {
  19959. "description": "昨日持仓",
  19960. "type": "integer"
  19961. }
  19962. }
  19963. },
  19964. "ermcp.RealtimeExposureRsp": {
  19965. "type": "object",
  19966. "properties": {
  19967. "AreaUserID": {
  19968. "description": "所属机构",
  19969. "type": "integer"
  19970. },
  19971. "BuyFutureQty": {
  19972. "description": "买入期货数量",
  19973. "type": "number"
  19974. },
  19975. "BuyPlanQty": {
  19976. "description": "采购计划数量",
  19977. "type": "number"
  19978. },
  19979. "BuyPricedQty": {
  19980. "description": "采购合同已定价数量",
  19981. "type": "number"
  19982. },
  19983. "MiddleGoodsCode": {
  19984. "description": "套保品种代码",
  19985. "type": "string"
  19986. },
  19987. "MiddleGoodsHedgeRatio": {
  19988. "description": "套保比例",
  19989. "type": "number"
  19990. },
  19991. "MiddleGoodsID": {
  19992. "description": "套保品种",
  19993. "type": "integer"
  19994. },
  19995. "MiddleGoodsName": {
  19996. "description": "套保品种名称",
  19997. "type": "string"
  19998. },
  19999. "NeedHedgeExposoure": {
  20000. "description": "应套保敞口(套保敞口)",
  20001. "type": "number"
  20002. },
  20003. "NeedHedgeRatio": {
  20004. "description": "应套保敞口比例",
  20005. "type": "number"
  20006. },
  20007. "OriBuyFutureQty": {
  20008. "description": "期初买入期货数量",
  20009. "type": "number"
  20010. },
  20011. "OriBuyPlanQty": {
  20012. "description": "期初采购计划数量",
  20013. "type": "number"
  20014. },
  20015. "OriBuyPricedQty": {
  20016. "description": "期初采购合同已定价数量",
  20017. "type": "number"
  20018. },
  20019. "OriSellFutureQty": {
  20020. "description": "期初卖出期货数量",
  20021. "type": "number"
  20022. },
  20023. "OriSellPlanQty": {
  20024. "description": "期初销售计划数量",
  20025. "type": "number"
  20026. },
  20027. "OriSellPricedQty": {
  20028. "description": "期初销售合同已定价数量",
  20029. "type": "number"
  20030. },
  20031. "OriTotalSpotQty": {
  20032. "description": "期初现货总量",
  20033. "type": "number"
  20034. },
  20035. "SellFutureQty": {
  20036. "description": "卖出期货数量",
  20037. "type": "number"
  20038. },
  20039. "SellPlanQty": {
  20040. "description": "销售计划数量",
  20041. "type": "number"
  20042. },
  20043. "SellPricedQty": {
  20044. "description": "销售合同已定价数量",
  20045. "type": "number"
  20046. },
  20047. "TotalExposure": {
  20048. "description": "总敞口 平安:净敞口",
  20049. "type": "number"
  20050. },
  20051. "TotalFutureQty": {
  20052. "description": "期货总量 平安:保值净持仓量",
  20053. "type": "number"
  20054. },
  20055. "TotalHedgeRatio": {
  20056. "description": "敞口比例",
  20057. "type": "number"
  20058. },
  20059. "TotalNeedHedgeQty": {
  20060. "description": "应套保总量(现货应套保总量)",
  20061. "type": "number"
  20062. },
  20063. "TotalSpotQty": {
  20064. "description": "现货总量 平安:采销定价净值",
  20065. "type": "number"
  20066. },
  20067. "arbitrageqty": {
  20068. "description": "套利量",
  20069. "type": "number"
  20070. },
  20071. "diffArbitrageQty": {
  20072. "description": "期初均价",
  20073. "type": "number"
  20074. },
  20075. "diffExposoureQty": {
  20076. "description": "期初均价",
  20077. "type": "number"
  20078. },
  20079. "diffFutuQty": {
  20080. "description": "期初均价",
  20081. "type": "number"
  20082. },
  20083. "diffHedgeQty": {
  20084. "description": "期初均价",
  20085. "type": "number"
  20086. },
  20087. "diffQty": {
  20088. "description": "期初均价",
  20089. "type": "number"
  20090. },
  20091. "diffSpotHedgeQty": {
  20092. "description": "期初均价",
  20093. "type": "number"
  20094. },
  20095. "diffSpotQty": {
  20096. "description": "期初均价",
  20097. "type": "number"
  20098. },
  20099. "enumdicname": {
  20100. "description": "单位名称",
  20101. "type": "string"
  20102. },
  20103. "hedgeqty": {
  20104. "description": "套保量",
  20105. "type": "number"
  20106. },
  20107. "needarbitrageqty": {
  20108. "description": "应套利量",
  20109. "type": "number"
  20110. },
  20111. "needarbitrageratio": {
  20112. "description": "套利比例",
  20113. "type": "number"
  20114. },
  20115. "needhedgeqty": {
  20116. "description": "应套保量",
  20117. "type": "number"
  20118. },
  20119. "oriarbitrageqty": {
  20120. "description": "期初套利量",
  20121. "type": "number"
  20122. },
  20123. "orihedgeqty": {
  20124. "description": "期初套保量",
  20125. "type": "number"
  20126. },
  20127. "orineedhedgeexposoure": {
  20128. "description": "期初套保敞口",
  20129. "type": "number"
  20130. },
  20131. "oritotalexposure": {
  20132. "description": "期初总敞口",
  20133. "type": "number"
  20134. },
  20135. "oritotalfutureqty": {
  20136. "description": "期初期货总量",
  20137. "type": "number"
  20138. },
  20139. "oritotalneedhedgeqty": {
  20140. "description": "期初现货应套保量",
  20141. "type": "number"
  20142. }
  20143. }
  20144. },
  20145. "erms2.QueryArbitrageStrategyRsp": {
  20146. "type": "object",
  20147. "required": [
  20148. "asapplyid"
  20149. ],
  20150. "properties": {
  20151. "applybasis": {
  20152. "description": "申请基差",
  20153. "type": "number"
  20154. },
  20155. "asapplyid": {
  20156. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  20157. "type": "string"
  20158. },
  20159. "asname": {
  20160. "description": "策略名称",
  20161. "type": "string"
  20162. },
  20163. "asno": {
  20164. "description": "策略编号",
  20165. "type": "string"
  20166. },
  20167. "basischangepl": {
  20168. "description": "基差变动损益[结算更新]",
  20169. "type": "number"
  20170. },
  20171. "biztype": {
  20172. "description": "业务类型 - 1:正向套利 -1:反向套利",
  20173. "type": "integer"
  20174. },
  20175. "closetradedate": {
  20176. "description": "完结交易日(yyyyMMdd)",
  20177. "type": "string"
  20178. },
  20179. "curbasis": {
  20180. "description": "当前基差[结算更新]",
  20181. "type": "number"
  20182. },
  20183. "deliverygoodsid": {
  20184. "description": "现货品种ID",
  20185. "type": "integer"
  20186. },
  20187. "futureavgprice": {
  20188. "description": "期货建仓均价",
  20189. "type": "number"
  20190. },
  20191. "futurecloseamount": {
  20192. "description": "期货平仓金额",
  20193. "type": "number"
  20194. },
  20195. "futurecloseqty": {
  20196. "description": "期货平仓数量",
  20197. "type": "number"
  20198. },
  20199. "futureopenamount": {
  20200. "description": "期货开仓金额",
  20201. "type": "number"
  20202. },
  20203. "futureopenqty": {
  20204. "description": "期货开仓数量",
  20205. "type": "number"
  20206. },
  20207. "futurepl": {
  20208. "description": "期货总盈亏[结算更新]",
  20209. "type": "number"
  20210. },
  20211. "futureqty": {
  20212. "description": "期货持仓数量",
  20213. "type": "number"
  20214. },
  20215. "futurequote": {
  20216. "description": "期货额度",
  20217. "type": "number"
  20218. },
  20219. "goodsgroupid": {
  20220. "description": "期货品种ID",
  20221. "type": "integer"
  20222. },
  20223. "marketid": {
  20224. "description": "市场ID",
  20225. "type": "integer"
  20226. },
  20227. "netexposure": {
  20228. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  20229. "type": "number"
  20230. },
  20231. "netexposurepl": {
  20232. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  20233. "type": "number"
  20234. },
  20235. "netexposurerate": {
  20236. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  20237. "type": "number"
  20238. },
  20239. "openbasis": {
  20240. "description": "建仓基差",
  20241. "type": "number"
  20242. },
  20243. "pricedspotqty": {
  20244. "description": "已定价现货数量",
  20245. "type": "number"
  20246. },
  20247. "pricedspotqtynotax": {
  20248. "description": "已定价现货不含税数量",
  20249. "type": "number"
  20250. },
  20251. "remark": {
  20252. "description": "备注",
  20253. "type": "string"
  20254. },
  20255. "spotavgprice": {
  20256. "description": "现货均价",
  20257. "type": "number"
  20258. },
  20259. "spotbuyamount": {
  20260. "description": "现货采购金额",
  20261. "type": "number"
  20262. },
  20263. "spotbuyqty": {
  20264. "description": "现货采购数量",
  20265. "type": "number"
  20266. },
  20267. "spotpl": {
  20268. "description": "现货总盈亏[结算更新]",
  20269. "type": "number"
  20270. },
  20271. "spotquota": {
  20272. "description": "现货额度",
  20273. "type": "number"
  20274. },
  20275. "spotsellamount": {
  20276. "description": "现货销售金额",
  20277. "type": "number"
  20278. },
  20279. "spotsellqty": {
  20280. "description": "现货销售数量",
  20281. "type": "number"
  20282. },
  20283. "spotusedquota": {
  20284. "description": "现货占用资金",
  20285. "type": "number"
  20286. },
  20287. "strategystatus": {
  20288. "description": "策略状态 - 0:未结束 1:已结束",
  20289. "type": "integer"
  20290. },
  20291. "totalpl": {
  20292. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  20293. "type": "number"
  20294. },
  20295. "tradedate": {
  20296. "description": "交易日(yyyyMMdd)",
  20297. "type": "string"
  20298. },
  20299. "updatetime": {
  20300. "description": "更新时间",
  20301. "type": "string"
  20302. },
  20303. "usedquota": {
  20304. "description": "已占用资金",
  20305. "type": "number"
  20306. },
  20307. "userid": {
  20308. "description": "所属机构",
  20309. "type": "integer"
  20310. }
  20311. }
  20312. },
  20313. "erms2.QueryInnerTradeDetailRsp": {
  20314. "type": "object",
  20315. "required": [
  20316. "asapplyid",
  20317. "buyorsell",
  20318. "goodscode",
  20319. "goodsgroupid",
  20320. "goodsgroupname",
  20321. "goodsname",
  20322. "tradeid"
  20323. ],
  20324. "properties": {
  20325. "accountid": {
  20326. "description": "账号ID",
  20327. "type": "integer"
  20328. },
  20329. "agreeunit": {
  20330. "description": "合约单位",
  20331. "type": "number"
  20332. },
  20333. "asapplyid": {
  20334. "description": "策略申请ID",
  20335. "type": "integer"
  20336. },
  20337. "asname": {
  20338. "description": "策略名称",
  20339. "type": "string"
  20340. },
  20341. "asno": {
  20342. "description": "策略编号",
  20343. "type": "string"
  20344. },
  20345. "buyorsell": {
  20346. "description": "方向 - 0:买 1:卖",
  20347. "type": "integer"
  20348. },
  20349. "channelbuildtype": {
  20350. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  20351. "type": "integer"
  20352. },
  20353. "closetype": {
  20354. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  20355. "type": "integer"
  20356. },
  20357. "decimalplace": {
  20358. "description": "报价小数位",
  20359. "type": "integer"
  20360. },
  20361. "detailtype": {
  20362. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  20363. "type": "integer"
  20364. },
  20365. "exexchangecode": {
  20366. "description": "外部交易所代码",
  20367. "type": "string"
  20368. },
  20369. "exexchangename": {
  20370. "description": "外部交易所名称",
  20371. "type": "string"
  20372. },
  20373. "goodscode": {
  20374. "description": "商品代码(合约)",
  20375. "type": "string"
  20376. },
  20377. "goodsgroupid": {
  20378. "description": "商品组ID(品种ID)",
  20379. "type": "integer"
  20380. },
  20381. "goodsgroupname": {
  20382. "description": "商品组名称(品种)",
  20383. "type": "string"
  20384. },
  20385. "goodsid": {
  20386. "description": "商品ID",
  20387. "type": "integer"
  20388. },
  20389. "goodsname": {
  20390. "description": "商品名称(合约)",
  20391. "type": "string"
  20392. },
  20393. "goodunit": {
  20394. "description": "报价单位",
  20395. "type": "string"
  20396. },
  20397. "marketid": {
  20398. "description": "市场ID",
  20399. "type": "integer"
  20400. },
  20401. "orderid": {
  20402. "description": "委托单号",
  20403. "type": "string"
  20404. },
  20405. "outgoodscode": {
  20406. "description": "商品代码(外部)",
  20407. "type": "string"
  20408. },
  20409. "relatedouttradeid": {
  20410. "description": "关联外部成交单ID",
  20411. "type": "string"
  20412. },
  20413. "remark": {
  20414. "description": "备注",
  20415. "type": "string"
  20416. },
  20417. "spotcontractid": {
  20418. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  20419. "type": "integer"
  20420. },
  20421. "spotcontractno": {
  20422. "description": "现货合同编号",
  20423. "type": "string"
  20424. },
  20425. "tradeid": {
  20426. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20427. "type": "string"
  20428. },
  20429. "tradeprice": {
  20430. "description": "成交价格",
  20431. "type": "number"
  20432. },
  20433. "tradeqty": {
  20434. "description": "成交数量",
  20435. "type": "integer"
  20436. },
  20437. "tradetime": {
  20438. "description": "成交时间",
  20439. "type": "string"
  20440. },
  20441. "updatetime": {
  20442. "description": "更新时间",
  20443. "type": "string"
  20444. }
  20445. }
  20446. },
  20447. "erms2.QuerySpotContractRsp": {
  20448. "type": "object",
  20449. "required": [
  20450. "spotcontractid"
  20451. ],
  20452. "properties": {
  20453. "accountid": {
  20454. "description": "资金账户ID",
  20455. "type": "integer"
  20456. },
  20457. "areauserid": {
  20458. "description": "所属机构",
  20459. "type": "integer"
  20460. },
  20461. "closedate": {
  20462. "description": "终止日期",
  20463. "type": "string"
  20464. },
  20465. "closeremark": {
  20466. "description": "结束备注",
  20467. "type": "string"
  20468. },
  20469. "closetradedate": {
  20470. "description": "完结交易日(yyyyMMdd)",
  20471. "type": "string"
  20472. },
  20473. "closetype": {
  20474. "description": "终止类型 - 1:违约 2:提前终止",
  20475. "type": "integer"
  20476. },
  20477. "contractamount": {
  20478. "description": "合同金额",
  20479. "type": "number"
  20480. },
  20481. "contractattachment": {
  20482. "description": "合同附件",
  20483. "type": "string"
  20484. },
  20485. "contractno": {
  20486. "description": "现货合同编号",
  20487. "type": "string"
  20488. },
  20489. "contractqty": {
  20490. "description": "合同数量(数值) (用于计算)",
  20491. "type": "number"
  20492. },
  20493. "contractqtychar": {
  20494. "description": "合同数量\\已订价数量 (用于显示)",
  20495. "type": "string"
  20496. },
  20497. "contractstatus": {
  20498. "description": "合同状态 - 0:未结束 1:已结束",
  20499. "type": "integer"
  20500. },
  20501. "contracttype": {
  20502. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  20503. "type": "integer"
  20504. },
  20505. "customeraccountid": {
  20506. "description": "客户资金账户ID",
  20507. "type": "integer"
  20508. },
  20509. "customeruserid": {
  20510. "description": "客户ID",
  20511. "type": "integer"
  20512. },
  20513. "deliverygoodsdesc": {
  20514. "description": "品种说明",
  20515. "type": "string"
  20516. },
  20517. "deliverygoodsid": {
  20518. "description": "现货品种ID",
  20519. "type": "integer"
  20520. },
  20521. "handlestatus": {
  20522. "description": "处理状态",
  20523. "type": "integer"
  20524. },
  20525. "invoiceatt": {
  20526. "description": "发票附件",
  20527. "type": "string"
  20528. },
  20529. "invoicedatetime": {
  20530. "description": "开收票更新时间",
  20531. "type": "string"
  20532. },
  20533. "invoiceopentime": {
  20534. "description": "开票时间",
  20535. "type": "string"
  20536. },
  20537. "invoiceremark": {
  20538. "description": "发票备注",
  20539. "type": "string"
  20540. },
  20541. "invoicestatus": {
  20542. "description": "开收票状态 - 0:未开票 1:已开票",
  20543. "type": "integer"
  20544. },
  20545. "lastdate": {
  20546. "description": "交货时间",
  20547. "type": "string"
  20548. },
  20549. "marketid": {
  20550. "description": "市场ID",
  20551. "type": "integer"
  20552. },
  20553. "paydatetime": {
  20554. "description": "收付款更新时间",
  20555. "type": "string"
  20556. },
  20557. "payremark": {
  20558. "description": "收付款备注",
  20559. "type": "string"
  20560. },
  20561. "paystatus": {
  20562. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  20563. "type": "integer"
  20564. },
  20565. "positionqty": {
  20566. "description": "头寸数量 - 合同数量去小数部分",
  20567. "type": "integer"
  20568. },
  20569. "producttype": {
  20570. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  20571. "type": "integer"
  20572. },
  20573. "relatedqty": {
  20574. "description": "已关联数量",
  20575. "type": "number"
  20576. },
  20577. "relatedstatus": {
  20578. "description": "关联完结状态 - 0:未结束 1:已结束",
  20579. "type": "integer"
  20580. },
  20581. "remark": {
  20582. "description": "备注",
  20583. "type": "string"
  20584. },
  20585. "signdate": {
  20586. "description": "签订日期",
  20587. "type": "string"
  20588. },
  20589. "spotcontractid": {
  20590. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  20591. "type": "string"
  20592. },
  20593. "spotdatetime": {
  20594. "description": "收发货更新时间",
  20595. "type": "string"
  20596. },
  20597. "spotprice": {
  20598. "description": "价格",
  20599. "type": "number"
  20600. },
  20601. "spotremark": {
  20602. "description": "收发货备注",
  20603. "type": "string"
  20604. },
  20605. "spotstatus": {
  20606. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  20607. "type": "integer"
  20608. },
  20609. "tradedate": {
  20610. "description": "交易日(yyyyMMdd)",
  20611. "type": "string"
  20612. },
  20613. "userid": {
  20614. "description": "业务员用户ID",
  20615. "type": "integer"
  20616. },
  20617. "warehouseid": {
  20618. "description": "仓库ID",
  20619. "type": "integer"
  20620. },
  20621. "wrfactortypeid": {
  20622. "description": "仓单要素类型ID",
  20623. "type": "integer"
  20624. },
  20625. "wrstandardid": {
  20626. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  20627. "type": "integer"
  20628. }
  20629. }
  20630. },
  20631. "erms3.AddErms2ASApplyReq": {
  20632. "type": "object",
  20633. "required": [
  20634. "asapplyid"
  20635. ],
  20636. "properties": {
  20637. "applybasis": {
  20638. "description": "申请基差",
  20639. "type": "number"
  20640. },
  20641. "applystatus": {
  20642. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20643. "type": "integer"
  20644. },
  20645. "asapplyid": {
  20646. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  20647. "type": "integer"
  20648. },
  20649. "asname": {
  20650. "description": "策略名称",
  20651. "type": "string"
  20652. },
  20653. "asno": {
  20654. "description": "策略编号",
  20655. "type": "string"
  20656. },
  20657. "auditid": {
  20658. "description": "审核人",
  20659. "type": "integer"
  20660. },
  20661. "auditremark": {
  20662. "description": "审核备注",
  20663. "type": "string"
  20664. },
  20665. "audittime": {
  20666. "description": "审核时间",
  20667. "type": "string"
  20668. },
  20669. "biztype": {
  20670. "description": "业务类型 - 1:正向套利 2:反向套利",
  20671. "type": "integer"
  20672. },
  20673. "createtime": {
  20674. "description": "创建时间",
  20675. "type": "string"
  20676. },
  20677. "creatorid": {
  20678. "description": "创建人",
  20679. "type": "integer"
  20680. },
  20681. "deliverygoodsid": {
  20682. "description": "现货品种ID",
  20683. "type": "integer"
  20684. },
  20685. "futurequote": {
  20686. "description": "期货额度",
  20687. "type": "number"
  20688. },
  20689. "goodsgroupid": {
  20690. "description": "期货品种ID",
  20691. "type": "integer"
  20692. },
  20693. "marketid": {
  20694. "description": "市场ID",
  20695. "type": "integer"
  20696. },
  20697. "remark": {
  20698. "description": "备注",
  20699. "type": "string"
  20700. },
  20701. "spotquota": {
  20702. "description": "现货额度",
  20703. "type": "number"
  20704. },
  20705. "tradedate": {
  20706. "description": "交易日(yyyyMMdd)",
  20707. "type": "string"
  20708. },
  20709. "userid": {
  20710. "description": "所属机构",
  20711. "type": "integer"
  20712. }
  20713. }
  20714. },
  20715. "erms3.AddErms2SpotTradeApplyReq": {
  20716. "type": "object",
  20717. "required": [
  20718. "spottradeid"
  20719. ],
  20720. "properties": {
  20721. "applyjsondetail": {
  20722. "description": "申请明细(JSON)",
  20723. "type": "string"
  20724. },
  20725. "applystatus": {
  20726. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20727. "type": "integer"
  20728. },
  20729. "areauserid": {
  20730. "description": "所属机构",
  20731. "type": "integer"
  20732. },
  20733. "auditid": {
  20734. "description": "审核人",
  20735. "type": "integer"
  20736. },
  20737. "auditremark": {
  20738. "description": "审核备注",
  20739. "type": "string"
  20740. },
  20741. "audittime": {
  20742. "description": "审核时间",
  20743. "type": "string"
  20744. },
  20745. "createtime": {
  20746. "description": "创建时间",
  20747. "type": "string"
  20748. },
  20749. "creatorid": {
  20750. "description": "创建人",
  20751. "type": "integer"
  20752. },
  20753. "deliverygoodsid": {
  20754. "description": "现货品种ID",
  20755. "type": "integer"
  20756. },
  20757. "futureaccountid": {
  20758. "description": "期货资金账户",
  20759. "type": "integer"
  20760. },
  20761. "goodsgroupid": {
  20762. "description": "期货品种",
  20763. "type": "integer"
  20764. },
  20765. "marketid": {
  20766. "description": "市场ID",
  20767. "type": "integer"
  20768. },
  20769. "remark": {
  20770. "description": "备注",
  20771. "type": "string"
  20772. },
  20773. "spotaccountid": {
  20774. "description": "现货资金账户",
  20775. "type": "integer"
  20776. },
  20777. "spottradeid": {
  20778. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  20779. "type": "integer"
  20780. },
  20781. "spottradename": {
  20782. "description": "业务名称",
  20783. "type": "string"
  20784. },
  20785. "spottradeno": {
  20786. "description": "业务编号",
  20787. "type": "string"
  20788. },
  20789. "tradedate": {
  20790. "description": "交易日(yyyyMMdd)",
  20791. "type": "string"
  20792. },
  20793. "wrstandardid": {
  20794. "description": "仓单标准ID",
  20795. "type": "integer"
  20796. }
  20797. }
  20798. },
  20799. "erms3.AddSpotContractApplyReq": {
  20800. "type": "object",
  20801. "required": [
  20802. "accountid",
  20803. "areauserid",
  20804. "contractno",
  20805. "contracttype",
  20806. "customeraccountid",
  20807. "customeruserid",
  20808. "details",
  20809. "orimargin",
  20810. "signdate"
  20811. ],
  20812. "properties": {
  20813. "accountid": {
  20814. "description": "资金账户ID",
  20815. "type": "integer"
  20816. },
  20817. "areauserid": {
  20818. "description": "所属机构",
  20819. "type": "integer"
  20820. },
  20821. "contractattachment": {
  20822. "description": "合同附件",
  20823. "type": "string"
  20824. },
  20825. "contractno": {
  20826. "description": "现货合同编号",
  20827. "type": "string"
  20828. },
  20829. "contracttype": {
  20830. "description": "现货合同类型 - 1:采购 -1:销售",
  20831. "type": "integer"
  20832. },
  20833. "creatorid": {
  20834. "description": "申请人",
  20835. "type": "integer"
  20836. },
  20837. "customeraccountid": {
  20838. "description": "客户资金账户ID",
  20839. "type": "integer"
  20840. },
  20841. "customeruserid": {
  20842. "description": "客户ID",
  20843. "type": "integer"
  20844. },
  20845. "details": {
  20846. "description": "明细",
  20847. "type": "array",
  20848. "items": {
  20849. "$ref": "#/definitions/erms3.SoptContractDetail"
  20850. }
  20851. },
  20852. "orimargin": {
  20853. "description": "初始保证金",
  20854. "type": "number"
  20855. },
  20856. "remark": {
  20857. "description": "备注",
  20858. "type": "string"
  20859. },
  20860. "signdate": {
  20861. "description": "签订日期",
  20862. "type": "string"
  20863. }
  20864. }
  20865. },
  20866. "erms3.AddSpotContractApplyRsp": {
  20867. "type": "object",
  20868. "required": [
  20869. "contractno"
  20870. ],
  20871. "properties": {
  20872. "contractno": {
  20873. "description": "现货合同编号",
  20874. "type": "string"
  20875. },
  20876. "spotcontractid": {
  20877. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  20878. "type": "integer"
  20879. }
  20880. }
  20881. },
  20882. "erms3.AddUserInfoApplyReq": {
  20883. "type": "object",
  20884. "required": [
  20885. "userid"
  20886. ],
  20887. "properties": {
  20888. "accountid": {
  20889. "description": "交易系统帐号Id (加密存储)",
  20890. "type": "integer"
  20891. },
  20892. "areacode": {
  20893. "description": "机构代码",
  20894. "type": "string"
  20895. },
  20896. "areaid": {
  20897. "description": "机构Id",
  20898. "type": "integer"
  20899. },
  20900. "attachment1": {
  20901. "description": "附件1",
  20902. "type": "string"
  20903. },
  20904. "attachment2": {
  20905. "description": "附件2",
  20906. "type": "string"
  20907. },
  20908. "attachment3": {
  20909. "description": "附件3",
  20910. "type": "string"
  20911. },
  20912. "attachment4": {
  20913. "description": "附件4",
  20914. "type": "string"
  20915. },
  20916. "attachment5": {
  20917. "description": "附件5",
  20918. "type": "string"
  20919. },
  20920. "auditedby": {
  20921. "description": "审核人",
  20922. "type": "string"
  20923. },
  20924. "auditime": {
  20925. "description": "审核时间",
  20926. "type": "string"
  20927. },
  20928. "auditsrc": {
  20929. "description": "审核来源 - 1:管理端 2:终端",
  20930. "type": "integer"
  20931. },
  20932. "bankaccount": {
  20933. "description": "银行帐号 (加密存储)",
  20934. "type": "string"
  20935. },
  20936. "bankaccountname": {
  20937. "description": "收款人名称",
  20938. "type": "string"
  20939. },
  20940. "bankcardbackphotourl": {
  20941. "description": "银行卡背面照地址",
  20942. "type": "string"
  20943. },
  20944. "bankcardfrontphotourl": {
  20945. "description": "银行卡正面照地址",
  20946. "type": "string"
  20947. },
  20948. "bankid": {
  20949. "description": "银行编码",
  20950. "type": "string"
  20951. },
  20952. "bankname": {
  20953. "description": "银行名称",
  20954. "type": "string"
  20955. },
  20956. "bankpictureurl": {
  20957. "description": "银行卡正面地址",
  20958. "type": "string"
  20959. },
  20960. "biznature": {
  20961. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20962. "type": "integer"
  20963. },
  20964. "bizscope": {
  20965. "description": "企业经营范围(企业)",
  20966. "type": "string"
  20967. },
  20968. "biztype": {
  20969. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  20970. "type": "integer"
  20971. },
  20972. "brokerid": {
  20973. "description": "经纪人ID(加密存储)",
  20974. "type": "string"
  20975. },
  20976. "cardaddress": {
  20977. "description": "证件地址 (加密存储)",
  20978. "type": "string"
  20979. },
  20980. "cardbackphotourl": {
  20981. "description": "背面证件照地址",
  20982. "type": "string"
  20983. },
  20984. "cardfrontphotourl": {
  20985. "description": "正面证件照地址",
  20986. "type": "string"
  20987. },
  20988. "cardnum": {
  20989. "description": "证件号码 (加密存储)",
  20990. "type": "string"
  20991. },
  20992. "cardtype": {
  20993. "description": "证件类型",
  20994. "type": "integer"
  20995. },
  20996. "cityid": {
  20997. "description": "市",
  20998. "type": "integer"
  20999. },
  21000. "company": {
  21001. "description": "公司(个人)",
  21002. "type": "string"
  21003. },
  21004. "contactcardbackphotourl": {
  21005. "description": "联系人证件背面图片地址",
  21006. "type": "string"
  21007. },
  21008. "contactcardfrontphotourl": {
  21009. "description": "联系人证件正面图片地址",
  21010. "type": "string"
  21011. },
  21012. "contactname": {
  21013. "description": "联系人",
  21014. "type": "string"
  21015. },
  21016. "countryid": {
  21017. "description": "国家",
  21018. "type": "integer"
  21019. },
  21020. "createtime": {
  21021. "description": "开户申请时间",
  21022. "type": "string"
  21023. },
  21024. "cusbankid": {
  21025. "description": "签约类型",
  21026. "type": "string"
  21027. },
  21028. "cusbankname": {
  21029. "description": "签约类型名称",
  21030. "type": "string"
  21031. },
  21032. "customername": {
  21033. "description": "客户名称(企业名称)",
  21034. "type": "string"
  21035. },
  21036. "districtid": {
  21037. "description": "地区",
  21038. "type": "integer"
  21039. },
  21040. "email": {
  21041. "description": "Email地址(加密存储)",
  21042. "type": "string"
  21043. },
  21044. "halfbodyphotourl": {
  21045. "description": "半身照地址",
  21046. "type": "string"
  21047. },
  21048. "headurl": {
  21049. "description": "头像地址",
  21050. "type": "string"
  21051. },
  21052. "ipaddress": {
  21053. "description": "IP地址",
  21054. "type": "string"
  21055. },
  21056. "isvalidate": {
  21057. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  21058. "type": "string"
  21059. },
  21060. "legalcardbackphotourl": {
  21061. "description": "法人身份证背面照地址",
  21062. "type": "string"
  21063. },
  21064. "legalcardfrontphotourl": {
  21065. "description": "法人身份证正面照地址",
  21066. "type": "string"
  21067. },
  21068. "legalpersonname": {
  21069. "description": "法人姓名(企业)",
  21070. "type": "string"
  21071. },
  21072. "logincode": {
  21073. "description": "登录帐号 (加密存储)",
  21074. "type": "string"
  21075. },
  21076. "memberareaid": {
  21077. "description": "所属会员ID",
  21078. "type": "integer"
  21079. },
  21080. "mobile2": {
  21081. "description": "手机号码[明文-尚志]",
  21082. "type": "string"
  21083. },
  21084. "mobilephone": {
  21085. "description": "手机号码 (加密存储)",
  21086. "type": "string"
  21087. },
  21088. "modifiedby": {
  21089. "description": "修改人帐号",
  21090. "type": "integer"
  21091. },
  21092. "modifiedtime": {
  21093. "description": "修改时间",
  21094. "type": "string"
  21095. },
  21096. "nickname": {
  21097. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  21098. "type": "string"
  21099. },
  21100. "openmode": {
  21101. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  21102. "type": "integer"
  21103. },
  21104. "otherurl": {
  21105. "description": "其它图片地址[使用分号分隔]",
  21106. "type": "string"
  21107. },
  21108. "postalcode": {
  21109. "description": "邮政编码",
  21110. "type": "string"
  21111. },
  21112. "provinceid": {
  21113. "description": "省",
  21114. "type": "integer"
  21115. },
  21116. "proxystatementurl": {
  21117. "description": "授权委托书",
  21118. "type": "string"
  21119. },
  21120. "qq": {
  21121. "description": "QQ(加密存储",
  21122. "type": "string"
  21123. },
  21124. "referral": {
  21125. "description": "推荐人编码",
  21126. "type": "string"
  21127. },
  21128. "remark": {
  21129. "description": "备注",
  21130. "type": "string"
  21131. },
  21132. "removebeforestatus": {
  21133. "description": "REMOVEBEFORESTATUS",
  21134. "type": "integer"
  21135. },
  21136. "sex": {
  21137. "description": "性别 - 0:女 1:男",
  21138. "type": "integer"
  21139. },
  21140. "signedstatus": {
  21141. "description": "账户一号签签约状态",
  21142. "type": "integer"
  21143. },
  21144. "signpdfurl": {
  21145. "description": "签约pdf文件",
  21146. "type": "string"
  21147. },
  21148. "subbranch": {
  21149. "description": "开户支行",
  21150. "type": "string"
  21151. },
  21152. "taxpayernum": {
  21153. "description": "纳税人识别号",
  21154. "type": "string"
  21155. },
  21156. "telphone": {
  21157. "description": "联系电话(加密存储)",
  21158. "type": "string"
  21159. },
  21160. "userid": {
  21161. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  21162. "type": "integer"
  21163. },
  21164. "userinfotype": {
  21165. "description": "用户信息类型 - 1:个人 2:企业",
  21166. "type": "integer"
  21167. },
  21168. "username": {
  21169. "description": "用户姓名",
  21170. "type": "string"
  21171. },
  21172. "userstate": {
  21173. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  21174. "type": "integer"
  21175. },
  21176. "usertype": {
  21177. "description": "用户类型 - 1:投资者 2:机构",
  21178. "type": "integer"
  21179. },
  21180. "videourl": {
  21181. "description": "视频地址",
  21182. "type": "string"
  21183. },
  21184. "wechat": {
  21185. "description": "微信号 (加密存储)",
  21186. "type": "string"
  21187. }
  21188. }
  21189. },
  21190. "erms3.CustomerInfo": {
  21191. "type": "object",
  21192. "required": [
  21193. "userid"
  21194. ],
  21195. "properties": {
  21196. "accountids": {
  21197. "description": "资金账户ID列表",
  21198. "type": "array",
  21199. "items": {
  21200. "type": "integer"
  21201. }
  21202. },
  21203. "customername": {
  21204. "description": "名称(企业名称)",
  21205. "type": "string"
  21206. },
  21207. "mobile": {
  21208. "description": "手机号码",
  21209. "type": "string"
  21210. },
  21211. "userid": {
  21212. "description": "用户ID",
  21213. "type": "integer"
  21214. }
  21215. }
  21216. },
  21217. "erms3.ModifyUserInfoApplyReq": {
  21218. "type": "object",
  21219. "required": [
  21220. "userid"
  21221. ],
  21222. "properties": {
  21223. "accountid": {
  21224. "description": "交易系统帐号Id (加密存储)",
  21225. "type": "integer"
  21226. },
  21227. "areacode": {
  21228. "description": "机构代码",
  21229. "type": "string"
  21230. },
  21231. "areaid": {
  21232. "description": "机构Id",
  21233. "type": "integer"
  21234. },
  21235. "attachment1": {
  21236. "description": "附件1",
  21237. "type": "string"
  21238. },
  21239. "attachment2": {
  21240. "description": "附件2",
  21241. "type": "string"
  21242. },
  21243. "attachment3": {
  21244. "description": "附件3",
  21245. "type": "string"
  21246. },
  21247. "attachment4": {
  21248. "description": "附件4",
  21249. "type": "string"
  21250. },
  21251. "attachment5": {
  21252. "description": "附件5",
  21253. "type": "string"
  21254. },
  21255. "auditedby": {
  21256. "description": "审核人",
  21257. "type": "string"
  21258. },
  21259. "auditime": {
  21260. "description": "审核时间",
  21261. "type": "string"
  21262. },
  21263. "auditsrc": {
  21264. "description": "审核来源 - 1:管理端 2:终端",
  21265. "type": "integer"
  21266. },
  21267. "bankaccount": {
  21268. "description": "银行帐号 (加密存储)",
  21269. "type": "string"
  21270. },
  21271. "bankaccountname": {
  21272. "description": "收款人名称",
  21273. "type": "string"
  21274. },
  21275. "bankcardbackphotourl": {
  21276. "description": "银行卡背面照地址",
  21277. "type": "string"
  21278. },
  21279. "bankcardfrontphotourl": {
  21280. "description": "银行卡正面照地址",
  21281. "type": "string"
  21282. },
  21283. "bankid": {
  21284. "description": "银行编码",
  21285. "type": "string"
  21286. },
  21287. "bankname": {
  21288. "description": "银行名称",
  21289. "type": "string"
  21290. },
  21291. "bankpictureurl": {
  21292. "description": "银行卡正面地址",
  21293. "type": "string"
  21294. },
  21295. "biznature": {
  21296. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  21297. "type": "integer"
  21298. },
  21299. "bizscope": {
  21300. "description": "企业经营范围(企业)",
  21301. "type": "string"
  21302. },
  21303. "biztype": {
  21304. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  21305. "type": "integer"
  21306. },
  21307. "brokerid": {
  21308. "description": "经纪人ID(加密存储)",
  21309. "type": "string"
  21310. },
  21311. "cardaddress": {
  21312. "description": "证件地址 (加密存储)",
  21313. "type": "string"
  21314. },
  21315. "cardbackphotourl": {
  21316. "description": "背面证件照地址",
  21317. "type": "string"
  21318. },
  21319. "cardfrontphotourl": {
  21320. "description": "正面证件照地址",
  21321. "type": "string"
  21322. },
  21323. "cardnum": {
  21324. "description": "证件号码 (加密存储)",
  21325. "type": "string"
  21326. },
  21327. "cardtype": {
  21328. "description": "证件类型",
  21329. "type": "integer"
  21330. },
  21331. "cityid": {
  21332. "description": "市",
  21333. "type": "integer"
  21334. },
  21335. "company": {
  21336. "description": "公司(个人)",
  21337. "type": "string"
  21338. },
  21339. "contactcardbackphotourl": {
  21340. "description": "联系人证件背面图片地址",
  21341. "type": "string"
  21342. },
  21343. "contactcardfrontphotourl": {
  21344. "description": "联系人证件正面图片地址",
  21345. "type": "string"
  21346. },
  21347. "contactname": {
  21348. "description": "联系人",
  21349. "type": "string"
  21350. },
  21351. "countryid": {
  21352. "description": "国家",
  21353. "type": "integer"
  21354. },
  21355. "createtime": {
  21356. "description": "开户申请时间",
  21357. "type": "string"
  21358. },
  21359. "cusbankid": {
  21360. "description": "签约类型",
  21361. "type": "string"
  21362. },
  21363. "cusbankname": {
  21364. "description": "签约类型名称",
  21365. "type": "string"
  21366. },
  21367. "customername": {
  21368. "description": "客户名称(企业名称)",
  21369. "type": "string"
  21370. },
  21371. "districtid": {
  21372. "description": "地区",
  21373. "type": "integer"
  21374. },
  21375. "email": {
  21376. "description": "Email地址(加密存储)",
  21377. "type": "string"
  21378. },
  21379. "halfbodyphotourl": {
  21380. "description": "半身照地址",
  21381. "type": "string"
  21382. },
  21383. "headurl": {
  21384. "description": "头像地址",
  21385. "type": "string"
  21386. },
  21387. "ipaddress": {
  21388. "description": "IP地址",
  21389. "type": "string"
  21390. },
  21391. "isvalidate": {
  21392. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  21393. "type": "string"
  21394. },
  21395. "legalcardbackphotourl": {
  21396. "description": "法人身份证背面照地址",
  21397. "type": "string"
  21398. },
  21399. "legalcardfrontphotourl": {
  21400. "description": "法人身份证正面照地址",
  21401. "type": "string"
  21402. },
  21403. "legalpersonname": {
  21404. "description": "法人姓名(企业)",
  21405. "type": "string"
  21406. },
  21407. "logincode": {
  21408. "description": "登录帐号 (加密存储)",
  21409. "type": "string"
  21410. },
  21411. "memberareaid": {
  21412. "description": "所属会员ID",
  21413. "type": "integer"
  21414. },
  21415. "mobile2": {
  21416. "description": "手机号码[明文-尚志]",
  21417. "type": "string"
  21418. },
  21419. "mobilephone": {
  21420. "description": "手机号码 (加密存储)",
  21421. "type": "string"
  21422. },
  21423. "modifiedby": {
  21424. "description": "修改人帐号",
  21425. "type": "integer"
  21426. },
  21427. "modifiedtime": {
  21428. "description": "修改时间",
  21429. "type": "string"
  21430. },
  21431. "nickname": {
  21432. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  21433. "type": "string"
  21434. },
  21435. "openmode": {
  21436. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  21437. "type": "integer"
  21438. },
  21439. "otherurl": {
  21440. "description": "其它图片地址[使用分号分隔]",
  21441. "type": "string"
  21442. },
  21443. "postalcode": {
  21444. "description": "邮政编码",
  21445. "type": "string"
  21446. },
  21447. "provinceid": {
  21448. "description": "省",
  21449. "type": "integer"
  21450. },
  21451. "proxystatementurl": {
  21452. "description": "授权委托书",
  21453. "type": "string"
  21454. },
  21455. "qq": {
  21456. "description": "QQ(加密存储",
  21457. "type": "string"
  21458. },
  21459. "referral": {
  21460. "description": "推荐人编码",
  21461. "type": "string"
  21462. },
  21463. "remark": {
  21464. "description": "备注",
  21465. "type": "string"
  21466. },
  21467. "removebeforestatus": {
  21468. "description": "REMOVEBEFORESTATUS",
  21469. "type": "integer"
  21470. },
  21471. "sex": {
  21472. "description": "性别 - 0:女 1:男",
  21473. "type": "integer"
  21474. },
  21475. "signedstatus": {
  21476. "description": "账户一号签签约状态",
  21477. "type": "integer"
  21478. },
  21479. "signpdfurl": {
  21480. "description": "签约pdf文件",
  21481. "type": "string"
  21482. },
  21483. "subbranch": {
  21484. "description": "开户支行",
  21485. "type": "string"
  21486. },
  21487. "taxpayernum": {
  21488. "description": "纳税人识别号",
  21489. "type": "string"
  21490. },
  21491. "telphone": {
  21492. "description": "联系电话(加密存储)",
  21493. "type": "string"
  21494. },
  21495. "userid": {
  21496. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  21497. "type": "integer"
  21498. },
  21499. "userinfotype": {
  21500. "description": "用户信息类型 - 1:个人 2:企业",
  21501. "type": "integer"
  21502. },
  21503. "username": {
  21504. "description": "用户姓名",
  21505. "type": "string"
  21506. },
  21507. "userstate": {
  21508. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  21509. "type": "integer"
  21510. },
  21511. "usertype": {
  21512. "description": "用户类型 - 1:投资者 2:机构",
  21513. "type": "integer"
  21514. },
  21515. "videourl": {
  21516. "description": "视频地址",
  21517. "type": "string"
  21518. },
  21519. "wechat": {
  21520. "description": "微信号 (加密存储)",
  21521. "type": "string"
  21522. }
  21523. }
  21524. },
  21525. "erms3.QryAuditContractRsp": {
  21526. "type": "object",
  21527. "required": [
  21528. "matchcustomername",
  21529. "spotcontractid"
  21530. ],
  21531. "properties": {
  21532. "accountid": {
  21533. "description": "交易员ID",
  21534. "type": "string"
  21535. },
  21536. "applystatus": {
  21537. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  21538. "type": "integer"
  21539. },
  21540. "curdeliveryqty": {
  21541. "description": "未交收量",
  21542. "type": "integer"
  21543. },
  21544. "customername": {
  21545. "description": "采购方ID",
  21546. "type": "string"
  21547. },
  21548. "deliverygoodsid": {
  21549. "description": "品种ID",
  21550. "type": "string"
  21551. },
  21552. "deliveryqty": {
  21553. "description": "交收量",
  21554. "type": "integer"
  21555. },
  21556. "enumdicname": {
  21557. "description": "单位名称",
  21558. "type": "string"
  21559. },
  21560. "matchaccountid": {
  21561. "description": "业务员ID",
  21562. "type": "string"
  21563. },
  21564. "matchcustomername": {
  21565. "description": "销售方ID",
  21566. "type": "string"
  21567. },
  21568. "pricedqty": {
  21569. "description": "定价量",
  21570. "type": "number"
  21571. },
  21572. "signdate": {
  21573. "description": "签订日期",
  21574. "type": "string"
  21575. },
  21576. "spotcontractid": {
  21577. "description": "合同ID",
  21578. "type": "string"
  21579. },
  21580. "totaldqty": {
  21581. "description": "合同量",
  21582. "type": "number"
  21583. },
  21584. "unpricedqty": {
  21585. "description": "未定价量",
  21586. "type": "number"
  21587. },
  21588. "wrstandardname": {
  21589. "description": "商品名称",
  21590. "type": "string"
  21591. }
  21592. }
  21593. },
  21594. "erms3.QryPendingBizRsp": {
  21595. "type": "object",
  21596. "properties": {
  21597. "accountid": {
  21598. "description": "现货账户",
  21599. "type": "string"
  21600. },
  21601. "areaname": {
  21602. "description": "所属部门",
  21603. "type": "string"
  21604. },
  21605. "bizid": {
  21606. "description": "业务ID",
  21607. "type": "string"
  21608. },
  21609. "bizname": {
  21610. "description": "业务名称",
  21611. "type": "string"
  21612. },
  21613. "status": {
  21614. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  21615. "type": "integer"
  21616. },
  21617. "type": {
  21618. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  21619. "type": "integer"
  21620. }
  21621. }
  21622. },
  21623. "erms3.QueryBusinessInfoRsp": {
  21624. "type": "object",
  21625. "properties": {
  21626. "businessid": {
  21627. "description": "业务ID.",
  21628. "type": "integer"
  21629. },
  21630. "buyamount": {
  21631. "description": "采购额.",
  21632. "type": "number"
  21633. },
  21634. "buyqty": {
  21635. "description": "采购量.",
  21636. "type": "string"
  21637. },
  21638. "futurepl": {
  21639. "description": "期货盈亏.",
  21640. "type": "number"
  21641. },
  21642. "futureqty": {
  21643. "description": "期货敞口.",
  21644. "type": "string"
  21645. },
  21646. "goodsid": {
  21647. "description": "商品名称/商品代码.",
  21648. "type": "string"
  21649. },
  21650. "hedgingqty": {
  21651. "description": "套保量.",
  21652. "type": "string"
  21653. },
  21654. "sellamount": {
  21655. "description": "销售额.",
  21656. "type": "number"
  21657. },
  21658. "sellqty": {
  21659. "description": "销售量.",
  21660. "type": "string"
  21661. },
  21662. "spotmarketvalue": {
  21663. "description": "现货市值.",
  21664. "type": "number"
  21665. },
  21666. "spotpl": {
  21667. "description": "浮动权益.",
  21668. "type": "number"
  21669. },
  21670. "spotqty": {
  21671. "description": "现货量.",
  21672. "type": "string"
  21673. },
  21674. "statu": {
  21675. "description": "状态,0-未结束 1-已结束.",
  21676. "type": "integer"
  21677. },
  21678. "totalpl": {
  21679. "description": "总盈亏.",
  21680. "type": "number"
  21681. },
  21682. "totalqty": {
  21683. "description": "总敞口.",
  21684. "type": "string"
  21685. },
  21686. "type": {
  21687. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  21688. "type": "integer"
  21689. }
  21690. }
  21691. },
  21692. "erms3.QuerySpotContractAppleFormRsp": {
  21693. "type": "object",
  21694. "properties": {
  21695. "goodses": {
  21696. "description": "合约列表",
  21697. "type": "array",
  21698. "items": {
  21699. "$ref": "#/definitions/models.GoodsIDAndName"
  21700. }
  21701. },
  21702. "oppositeusers": {
  21703. "description": "对方账号列表",
  21704. "type": "array",
  21705. "items": {
  21706. "$ref": "#/definitions/erms3.CustomerInfo"
  21707. }
  21708. },
  21709. "ouruser": {
  21710. "description": "我方账号",
  21711. "$ref": "#/definitions/erms3.CustomerInfo"
  21712. },
  21713. "warehouseinfos": {
  21714. "description": "仓库信息列表",
  21715. "type": "array",
  21716. "items": {
  21717. "$ref": "#/definitions/models.Warehouseinfo"
  21718. }
  21719. },
  21720. "wrstandards": {
  21721. "description": "仓单标准列表",
  21722. "type": "array",
  21723. "items": {
  21724. "$ref": "#/definitions/models.WRStandardInfo"
  21725. }
  21726. }
  21727. }
  21728. },
  21729. "erms3.QuerySpotContractInfoRsp": {
  21730. "type": "object",
  21731. "properties": {
  21732. "accountid": {
  21733. "description": "表示交易员ID.",
  21734. "type": "integer"
  21735. },
  21736. "curdeliveryqty": {
  21737. "description": "表示未交收量.",
  21738. "type": "number"
  21739. },
  21740. "customername": {
  21741. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  21742. "type": "string"
  21743. },
  21744. "deliverygoodsid": {
  21745. "description": "表示品种ID.",
  21746. "type": "string"
  21747. },
  21748. "deliveryqty": {
  21749. "description": "表示交收量.",
  21750. "type": "number"
  21751. },
  21752. "matchaccountid": {
  21753. "description": "表示业务员ID.",
  21754. "type": "integer"
  21755. },
  21756. "matchcustomername": {
  21757. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  21758. "type": "string"
  21759. },
  21760. "priceqty": {
  21761. "description": "表示定价量.",
  21762. "type": "number"
  21763. },
  21764. "relatedbizid": {
  21765. "description": "表示业务ID.",
  21766. "type": "string"
  21767. },
  21768. "signdate": {
  21769. "description": "表示签订日期.",
  21770. "type": "string"
  21771. },
  21772. "spotcontractid": {
  21773. "description": "合同ID",
  21774. "type": "string"
  21775. },
  21776. "status": {
  21777. "description": "表示状态,0-履约中 1-已完成.",
  21778. "type": "integer"
  21779. },
  21780. "totalqty": {
  21781. "description": "表示合同量.",
  21782. "type": "number"
  21783. },
  21784. "unpricedqty": {
  21785. "description": "表示未定价量.",
  21786. "type": "number"
  21787. },
  21788. "wrstandardname": {
  21789. "description": "表示商品ID.",
  21790. "type": "string"
  21791. }
  21792. }
  21793. },
  21794. "erms3.QueryUserInfoAppliesRsp": {
  21795. "type": "object",
  21796. "required": [
  21797. "userid"
  21798. ],
  21799. "properties": {
  21800. "biznature": {
  21801. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  21802. "type": "integer"
  21803. },
  21804. "contactname": {
  21805. "description": "联系人",
  21806. "type": "string"
  21807. },
  21808. "createtime": {
  21809. "description": "开户申请时间",
  21810. "type": "string"
  21811. },
  21812. "userid": {
  21813. "description": "用户ID(自增ID)",
  21814. "type": "integer"
  21815. },
  21816. "userinfotype": {
  21817. "description": "用户信息类型 - 1:个人 2:企业",
  21818. "type": "integer"
  21819. },
  21820. "username": {
  21821. "description": "用户姓名",
  21822. "type": "string"
  21823. },
  21824. "userstate": {
  21825. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  21826. "type": "integer"
  21827. }
  21828. }
  21829. },
  21830. "erms3.QueryUserInfosRsp": {
  21831. "type": "object",
  21832. "required": [
  21833. "userid"
  21834. ],
  21835. "properties": {
  21836. "biznature": {
  21837. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  21838. "type": "integer"
  21839. },
  21840. "contactname": {
  21841. "description": "联系人",
  21842. "type": "string"
  21843. },
  21844. "customername": {
  21845. "description": "客户名称(企业名称)",
  21846. "type": "string"
  21847. },
  21848. "userid": {
  21849. "description": "用户ID",
  21850. "type": "integer"
  21851. },
  21852. "userinfotype": {
  21853. "description": "用户信息类型 - 1:个人 2:企业",
  21854. "type": "integer"
  21855. },
  21856. "userstatus": {
  21857. "description": "用户状态 - 1:正常 2:注销",
  21858. "type": "integer"
  21859. }
  21860. }
  21861. },
  21862. "erms3.SoptContractDetail": {
  21863. "type": "object",
  21864. "required": [
  21865. "deliverygoodsid",
  21866. "producttype",
  21867. "unitname",
  21868. "warehouseid",
  21869. "wrstandardid",
  21870. "wrstandardname"
  21871. ],
  21872. "properties": {
  21873. "deliverygoodsdesc": {
  21874. "description": "现货品种说明",
  21875. "type": "string"
  21876. },
  21877. "deliverygoodsid": {
  21878. "description": "现货品种ID",
  21879. "type": "integer"
  21880. },
  21881. "deliverygoodsname": {
  21882. "description": "现货品种名称",
  21883. "type": "string"
  21884. },
  21885. "pointdesc": {
  21886. "description": "点价描述",
  21887. "type": "string"
  21888. },
  21889. "producttype": {
  21890. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  21891. "type": "integer"
  21892. },
  21893. "producttypename": {
  21894. "description": "产品类型名称",
  21895. "type": "string"
  21896. },
  21897. "spotPointOrderVoList": {
  21898. "description": "点价列表",
  21899. "type": "array",
  21900. "items": {
  21901. "$ref": "#/definitions/erms3.SpotPointOrder"
  21902. }
  21903. },
  21904. "spotPriceOrderList": {
  21905. "description": "定价列表",
  21906. "type": "array",
  21907. "items": {
  21908. "$ref": "#/definitions/erms3.SpotPriceOrder"
  21909. }
  21910. },
  21911. "unitname": {
  21912. "description": "单位名称",
  21913. "type": "string"
  21914. },
  21915. "warehouseid": {
  21916. "description": "仓库ID",
  21917. "type": "integer"
  21918. },
  21919. "warehousename": {
  21920. "description": "仓库名称",
  21921. "type": "string"
  21922. },
  21923. "wrstandardid": {
  21924. "description": "交易标的ID",
  21925. "type": "integer"
  21926. },
  21927. "wrstandardname": {
  21928. "description": "交易标的名称",
  21929. "type": "string"
  21930. }
  21931. }
  21932. },
  21933. "erms3.SpotPointOrder": {
  21934. "type": "object",
  21935. "required": [
  21936. "basic",
  21937. "goodsid",
  21938. "qty"
  21939. ],
  21940. "properties": {
  21941. "basic": {
  21942. "description": "基差",
  21943. "type": "number"
  21944. },
  21945. "deliveryenddate": {
  21946. "description": "交收结束日期",
  21947. "type": "string"
  21948. },
  21949. "deliverystartdate": {
  21950. "description": "交收开始日期",
  21951. "type": "string"
  21952. },
  21953. "enddate": {
  21954. "description": "点价结束日期",
  21955. "type": "string"
  21956. },
  21957. "goodsid": {
  21958. "description": "商品ID",
  21959. "type": "integer"
  21960. },
  21961. "goodsname": {
  21962. "description": "商品名称",
  21963. "type": "string"
  21964. },
  21965. "qty": {
  21966. "description": "数量",
  21967. "type": "number"
  21968. },
  21969. "startdate": {
  21970. "description": "点价开始日期",
  21971. "type": "string"
  21972. }
  21973. }
  21974. },
  21975. "erms3.SpotPriceOrder": {
  21976. "type": "object",
  21977. "required": [
  21978. "amount",
  21979. "price",
  21980. "qty"
  21981. ],
  21982. "properties": {
  21983. "amount": {
  21984. "description": "金额",
  21985. "type": "number"
  21986. },
  21987. "deliveryenddate": {
  21988. "description": "交收结束日期",
  21989. "type": "string"
  21990. },
  21991. "deliverystartdate": {
  21992. "description": "交收开始日期",
  21993. "type": "string"
  21994. },
  21995. "price": {
  21996. "description": "价格",
  21997. "type": "number"
  21998. },
  21999. "qty": {
  22000. "description": "数量",
  22001. "type": "number"
  22002. }
  22003. }
  22004. },
  22005. "models.Arearole": {
  22006. "type": "object",
  22007. "required": [
  22008. "roletype",
  22009. "userid"
  22010. ],
  22011. "properties": {
  22012. "createtime": {
  22013. "description": "创建时间",
  22014. "type": "string"
  22015. },
  22016. "creatorid": {
  22017. "description": "创建人ID",
  22018. "type": "integer"
  22019. },
  22020. "fromuserid": {
  22021. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  22022. "type": "integer"
  22023. },
  22024. "isreturnscore": {
  22025. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  22026. "type": "integer"
  22027. },
  22028. "modifierid": {
  22029. "description": "修改人ID",
  22030. "type": "integer"
  22031. },
  22032. "modifytime": {
  22033. "description": "修改时间",
  22034. "type": "string"
  22035. },
  22036. "orgtype": {
  22037. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  22038. "type": "integer"
  22039. },
  22040. "outuserid": {
  22041. "description": "外部账户[场外期权做市商]",
  22042. "type": "string"
  22043. },
  22044. "parentuserid": {
  22045. "description": "上级组织机构(组织机构)",
  22046. "type": "integer"
  22047. },
  22048. "roletype": {
  22049. "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:门店",
  22050. "type": "integer"
  22051. },
  22052. "rootuserid": {
  22053. "description": "顶级组织机构用户ID(组织机构)",
  22054. "type": "integer"
  22055. },
  22056. "shoppassword": {
  22057. "description": "商城店铺登陆密码(商城店铺角色使用)",
  22058. "type": "string"
  22059. },
  22060. "sublevelpath": {
  22061. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  22062. "type": "string"
  22063. },
  22064. "suborgtype": {
  22065. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  22066. "type": "integer"
  22067. },
  22068. "tradeaccountid": {
  22069. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  22070. "type": "integer"
  22071. },
  22072. "transurl": {
  22073. "description": "物流地址(物流机构)",
  22074. "type": "string"
  22075. },
  22076. "userid": {
  22077. "description": "机构用户ID其他做市关系,都设置为 1",
  22078. "type": "integer"
  22079. }
  22080. }
  22081. },
  22082. "models.BuyOrder": {
  22083. "type": "object",
  22084. "properties": {
  22085. "accountid": {
  22086. "description": "资金账户ID",
  22087. "type": "integer"
  22088. },
  22089. "buyusername": {
  22090. "description": "买方",
  22091. "type": "string"
  22092. },
  22093. "marketid": {
  22094. "description": "市场ID",
  22095. "type": "integer"
  22096. },
  22097. "ordertime": {
  22098. "description": "委托时间",
  22099. "type": "string"
  22100. },
  22101. "origin": {
  22102. "description": "原产地",
  22103. "type": "string"
  22104. },
  22105. "performancetemplateid": {
  22106. "description": "履约计划模板ID",
  22107. "type": "integer"
  22108. },
  22109. "remark": {
  22110. "description": "备注",
  22111. "type": "string"
  22112. },
  22113. "userid": {
  22114. "description": "用户ID",
  22115. "type": "integer"
  22116. },
  22117. "validtime": {
  22118. "description": "有效期限",
  22119. "type": "string"
  22120. },
  22121. "warehouseids": {
  22122. "description": "仓库ID - 多个, 逗号分隔",
  22123. "type": "string"
  22124. },
  22125. "warehouseinfosdisplay": {
  22126. "type": "string"
  22127. },
  22128. "wrtradeorderid": {
  22129. "description": "[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  22130. "type": "string"
  22131. },
  22132. "wrtradeorderstatus": {
  22133. "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、",
  22134. "type": "integer"
  22135. },
  22136. "zscategory": {
  22137. "description": "钻石分类 - 枚举”ZSCategory“",
  22138. "type": "integer"
  22139. },
  22140. "zscategorydisplay": {
  22141. "type": "string"
  22142. },
  22143. "zsclaritytype": {
  22144. "description": "净度 - 两个, 逗号分隔",
  22145. "type": "string"
  22146. },
  22147. "zsclaritytypedisplay": {
  22148. "type": "string"
  22149. },
  22150. "zscolortype": {
  22151. "description": "颜色 - 两个, 逗号分隔",
  22152. "type": "string"
  22153. },
  22154. "zscolortypedisplay": {
  22155. "type": "string"
  22156. },
  22157. "zscrystaltype": {
  22158. "description": "晶型 - 多个,逗号分隔",
  22159. "type": "string"
  22160. },
  22161. "zscrystaltypedisplay": {
  22162. "type": "string"
  22163. },
  22164. "zscurrencytype": {
  22165. "description": "货币类型 - 多个, 逗号分隔",
  22166. "type": "string"
  22167. },
  22168. "zscurrencytypedisplay": {
  22169. "type": "string"
  22170. },
  22171. "zscuttype": {
  22172. "description": "切工 - 两个, 逗号分隔",
  22173. "type": "string"
  22174. },
  22175. "zscuttypedisplay": {
  22176. "type": "string"
  22177. },
  22178. "zsczcolor1type": {
  22179. "description": "彩钻颜色1, 逗号分隔",
  22180. "type": "string"
  22181. },
  22182. "zsczcolor1typedisplay": {
  22183. "type": "string"
  22184. },
  22185. "zsczcolor2type": {
  22186. "description": "彩钻颜色2, 逗号分隔",
  22187. "type": "string"
  22188. },
  22189. "zsczcolor2typedisplay": {
  22190. "type": "string"
  22191. },
  22192. "zsczcolor3type": {
  22193. "description": "彩钻颜色3, 逗号分隔",
  22194. "type": "string"
  22195. },
  22196. "zsczcolor3typedisplay": {
  22197. "type": "string"
  22198. },
  22199. "zsfluorescencetype": {
  22200. "description": "荧光 - 多个, 逗号分隔",
  22201. "type": "string"
  22202. },
  22203. "zsfluorescencetypedisplay": {
  22204. "type": "string"
  22205. },
  22206. "zspolishtype": {
  22207. "description": "抛光度 - 两个, 逗号分隔",
  22208. "type": "string"
  22209. },
  22210. "zspolishtypedisplay": {
  22211. "type": "string"
  22212. },
  22213. "zsshapetype": {
  22214. "description": "形状 - 多个, 逗号分隔",
  22215. "type": "string"
  22216. },
  22217. "zsshapetypedisplay": {
  22218. "type": "string"
  22219. },
  22220. "zssize": {
  22221. "description": "尺寸 - 两个小数, 逗号分隔",
  22222. "type": "string"
  22223. },
  22224. "zsstyletype": {
  22225. "description": "款式 - 多个, 逗号分隔",
  22226. "type": "string"
  22227. },
  22228. "zsstyletypedisplay": {
  22229. "type": "string"
  22230. },
  22231. "zssymmetrytype": {
  22232. "description": "对称度 - 两个, 逗号分隔",
  22233. "type": "string"
  22234. },
  22235. "zssymmetrytypedisplay": {
  22236. "type": "string"
  22237. },
  22238. "zstabledisplay": {
  22239. "description": "求购信息",
  22240. "type": "string"
  22241. }
  22242. }
  22243. },
  22244. "models.DgFactoryItem": {
  22245. "type": "object",
  22246. "properties": {
  22247. "dgfactoryitemid": {
  22248. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  22249. "type": "integer"
  22250. },
  22251. "dgfactoryitemtypeid": {
  22252. "description": "要素项类型",
  22253. "type": "integer"
  22254. },
  22255. "dgfactoryitemvalue": {
  22256. "description": "要素项值(类型为仓库时填写仓库名称)",
  22257. "type": "string"
  22258. },
  22259. "orderindex": {
  22260. "description": "顺序",
  22261. "type": "integer"
  22262. }
  22263. }
  22264. },
  22265. "models.Division": {
  22266. "type": "object",
  22267. "required": [
  22268. "autoid",
  22269. "divisioncode"
  22270. ],
  22271. "properties": {
  22272. "autoid": {
  22273. "description": "自增ID",
  22274. "type": "integer"
  22275. },
  22276. "divisioncode": {
  22277. "description": "行政代码",
  22278. "type": "string"
  22279. },
  22280. "divisionlevel": {
  22281. "description": "行政级别",
  22282. "type": "string"
  22283. },
  22284. "divisionname": {
  22285. "description": "行政名称",
  22286. "type": "string"
  22287. },
  22288. "modifierid": {
  22289. "description": "修改人",
  22290. "type": "integer"
  22291. },
  22292. "modifytime": {
  22293. "description": "修改时间",
  22294. "type": "string"
  22295. },
  22296. "parentcode": {
  22297. "description": "上级行政代码",
  22298. "type": "string"
  22299. },
  22300. "pathname": {
  22301. "description": "路径名称",
  22302. "type": "string"
  22303. },
  22304. "postcode": {
  22305. "description": "邮政编码",
  22306. "type": "string"
  22307. },
  22308. "separablename": {
  22309. "description": "可拆分的全称",
  22310. "type": "string"
  22311. },
  22312. "shortcode": {
  22313. "description": "地区简码",
  22314. "type": "string"
  22315. }
  22316. }
  22317. },
  22318. "models.Enumdicitem": {
  22319. "type": "object",
  22320. "required": [
  22321. "autoid",
  22322. "enumdiccode",
  22323. "enumdicid",
  22324. "enumitemname"
  22325. ],
  22326. "properties": {
  22327. "autoid": {
  22328. "description": "自增ID",
  22329. "type": "integer"
  22330. },
  22331. "bankmappedvalue": {
  22332. "description": "银行服务对应值",
  22333. "type": "string"
  22334. },
  22335. "enumdiccode": {
  22336. "description": "所属枚举代码",
  22337. "type": "string"
  22338. },
  22339. "enumdicid": {
  22340. "description": "所属枚举ID",
  22341. "type": "integer"
  22342. },
  22343. "enumdicname": {
  22344. "description": "枚举项名称",
  22345. "type": "string"
  22346. },
  22347. "enumitemname": {
  22348. "description": "枚举项值",
  22349. "type": "integer"
  22350. },
  22351. "enumitemstatus": {
  22352. "description": "枚举项状态 - 1.启用 2.不启用",
  22353. "type": "integer"
  22354. },
  22355. "enumitemvalue": {
  22356. "description": "通用值 - [币种通用简写]",
  22357. "type": "string"
  22358. },
  22359. "param1": {
  22360. "description": "参数1[币种:币种小数位]",
  22361. "type": "string"
  22362. },
  22363. "param2": {
  22364. "description": "参数1[币种:币种显示单位]",
  22365. "type": "string"
  22366. },
  22367. "remark": {
  22368. "description": "备注",
  22369. "type": "string"
  22370. }
  22371. }
  22372. },
  22373. "models.Ermcp2AreaExposure": {
  22374. "type": "object",
  22375. "properties": {
  22376. "areauserid": {
  22377. "description": "所属机构",
  22378. "type": "integer"
  22379. },
  22380. "enumdicname": {
  22381. "description": "单位",
  22382. "type": "string"
  22383. },
  22384. "futureqty": {
  22385. "description": "期货套期量",
  22386. "type": "number"
  22387. },
  22388. "futureqtychange": {
  22389. "description": "期货变动量 = FutureQty - OriFutureQty",
  22390. "type": "number"
  22391. },
  22392. "goodsunitid": {
  22393. "description": "单位ID",
  22394. "type": "integer"
  22395. },
  22396. "hedgedspotexposure": {
  22397. "description": "被套期现货敞口量",
  22398. "type": "number"
  22399. },
  22400. "hedgedspratio": {
  22401. "description": "套期期现比例 = 期货套期量/被套期现货敞口量",
  22402. "type": "number"
  22403. },
  22404. "hedgedtotalexposourechange": {
  22405. "description": "被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure",
  22406. "type": "number"
  22407. },
  22408. "hedgedtotalexposure": {
  22409. "description": "套期敞口量 = 被套期现货敞口量+期货套期量",
  22410. "type": "number"
  22411. },
  22412. "hedgeplanqty": {
  22413. "description": "套期计划量",
  22414. "type": "number"
  22415. },
  22416. "hedgeplanqtychange": {
  22417. "description": "计划变动量 = HedgePlanQty - OriHedgePlanQty",
  22418. "type": "number"
  22419. },
  22420. "hedgespotqty": {
  22421. "description": "被套期现货量",
  22422. "type": "number"
  22423. },
  22424. "middlegoodsid": {
  22425. "description": "套保品种",
  22426. "type": "integer"
  22427. },
  22428. "middlegoodsname": {
  22429. "description": "套保品种名称",
  22430. "type": "string"
  22431. },
  22432. "orifutureqty": {
  22433. "description": "期初期货套期量",
  22434. "type": "number"
  22435. },
  22436. "orihedgedspotexposure": {
  22437. "description": "期初被套期现货敞口量",
  22438. "type": "number"
  22439. },
  22440. "orihedgedtotalexposure": {
  22441. "description": "期初套期敞口量",
  22442. "type": "number"
  22443. },
  22444. "orihedgeplanqty": {
  22445. "description": "期初套期计划量",
  22446. "type": "number"
  22447. },
  22448. "orihedgespotqty": {
  22449. "description": "期初被套期现货量",
  22450. "type": "number"
  22451. },
  22452. "orispotexposure": {
  22453. "description": "期初现货敞口量",
  22454. "type": "number"
  22455. },
  22456. "orispotqty": {
  22457. "description": "期初现货总量",
  22458. "type": "number"
  22459. },
  22460. "oritotalexposure": {
  22461. "description": "期初总敞口量",
  22462. "type": "number"
  22463. },
  22464. "spotexposure": {
  22465. "description": "现货敞口量",
  22466. "type": "number"
  22467. },
  22468. "spotqty": {
  22469. "description": "现货总量",
  22470. "type": "number"
  22471. },
  22472. "spotqtychange": {
  22473. "description": "现货变动量 = SpotQty - OriSpotQty",
  22474. "type": "number"
  22475. },
  22476. "spratio": {
  22477. "description": "总期现比例 = 期货套期量/现货敞口量",
  22478. "type": "number"
  22479. },
  22480. "totalexposure": {
  22481. "description": "总敞口量 = 现货敞口量 + 期货套期量",
  22482. "type": "number"
  22483. },
  22484. "totalexposurechange": {
  22485. "description": "总敞口变动量 = TotalExposure - OriTotalExposure",
  22486. "type": "number"
  22487. },
  22488. "updatetime": {
  22489. "description": "更新时间 --DATE",
  22490. "type": "string"
  22491. }
  22492. }
  22493. },
  22494. "models.Ermcp2hedgeditem": {
  22495. "type": "object",
  22496. "properties": {
  22497. "accountname": {
  22498. "description": "套期主体",
  22499. "type": "string"
  22500. },
  22501. "applyid": {
  22502. "description": "申请人",
  22503. "type": "integer"
  22504. },
  22505. "applysrc": {
  22506. "description": "申请来源 - 1:管理端 2:终端",
  22507. "type": "integer"
  22508. },
  22509. "areauserid": {
  22510. "description": "企业ID",
  22511. "type": "integer"
  22512. },
  22513. "auditid": {
  22514. "description": "审核人",
  22515. "type": "integer"
  22516. },
  22517. "auditremark": {
  22518. "description": "审核备注",
  22519. "type": "string"
  22520. },
  22521. "auditsrc": {
  22522. "description": "审核来源 - 1:管理端 2:终端",
  22523. "type": "integer"
  22524. },
  22525. "audittime": {
  22526. "description": "审核时间",
  22527. "type": "string"
  22528. },
  22529. "audittradedate": {
  22530. "description": "审核交易日(yyyyMMdd)",
  22531. "type": "string"
  22532. },
  22533. "createtime": {
  22534. "description": "申请时间",
  22535. "type": "string"
  22536. },
  22537. "curprice": {
  22538. "description": "当前市场价",
  22539. "type": "number"
  22540. },
  22541. "curstock": {
  22542. "description": "期末库存量 = 采购总量 - 销售总量",
  22543. "type": "number"
  22544. },
  22545. "deliverygoodsid": {
  22546. "description": "现货品种ID",
  22547. "type": "integer"
  22548. },
  22549. "enddate": {
  22550. "description": "完成日期",
  22551. "type": "string"
  22552. },
  22553. "endtradedate": {
  22554. "description": "完成交易日",
  22555. "type": "string"
  22556. },
  22557. "enumdicname": {
  22558. "description": "单位",
  22559. "type": "string"
  22560. },
  22561. "exeamount": {
  22562. "description": "执行市价总额",
  22563. "type": "number"
  22564. },
  22565. "exeavgprice": {
  22566. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  22567. "type": "number"
  22568. },
  22569. "execontractamount": {
  22570. "description": "执行定价总额",
  22571. "type": "number"
  22572. },
  22573. "exeqty": {
  22574. "description": "执行现货量",
  22575. "type": "number"
  22576. },
  22577. "exerestamount": {
  22578. "description": "执行剩余市价总额【现货贸易】",
  22579. "type": "number"
  22580. },
  22581. "futurefloatpl": {
  22582. "description": "期货浮动损益",
  22583. "type": "number"
  22584. },
  22585. "futurehedgepl": {
  22586. "description": "期货实际损益",
  22587. "type": "number"
  22588. },
  22589. "futurehedgeplchange": {
  22590. "description": "期货实际损益变动",
  22591. "type": "number"
  22592. },
  22593. "futurepl": {
  22594. "description": "期货套期损益",
  22595. "type": "number"
  22596. },
  22597. "futureplchange": {
  22598. "description": "期货套期损益变动",
  22599. "type": "number"
  22600. },
  22601. "hedgeamount": {
  22602. "description": "套期市价总额",
  22603. "type": "number"
  22604. },
  22605. "hedgecontractamount": {
  22606. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  22607. "type": "number"
  22608. },
  22609. "hedgeditemid": {
  22610. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  22611. "type": "string"
  22612. },
  22613. "hedgeditemname": {
  22614. "description": "项目名称",
  22615. "type": "string"
  22616. },
  22617. "hedgeditemnum": {
  22618. "description": "项目编号",
  22619. "type": "string"
  22620. },
  22621. "hedgeditemstatus": {
  22622. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22623. "type": "integer"
  22624. },
  22625. "hedgedtype": {
  22626. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  22627. "type": "integer"
  22628. },
  22629. "hedgeqty": {
  22630. "description": "套期现货量",
  22631. "type": "number"
  22632. },
  22633. "hedgerate": {
  22634. "description": "套保比率",
  22635. "type": "number"
  22636. },
  22637. "hedgerestamount": {
  22638. "description": "套期剩余市价总额【现货贸易】",
  22639. "type": "number"
  22640. },
  22641. "hedgesumpl": {
  22642. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  22643. "type": "number"
  22644. },
  22645. "middlegoodslist": {
  22646. "description": "套期商品列表",
  22647. "type": "array",
  22648. "items": {
  22649. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  22650. }
  22651. },
  22652. "oriavgprice": {
  22653. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  22654. "type": "number"
  22655. },
  22656. "orifuturehedgepl": {
  22657. "description": "期初期货实际损益",
  22658. "type": "number"
  22659. },
  22660. "orifuturepl": {
  22661. "description": "期初期货套期损益",
  22662. "type": "number"
  22663. },
  22664. "orispothedgepl": {
  22665. "description": "期初现货实际损益",
  22666. "type": "number"
  22667. },
  22668. "orispotpl": {
  22669. "description": "期初现货套期损益",
  22670. "type": "number"
  22671. },
  22672. "planenddate": {
  22673. "description": "计划结束日期",
  22674. "type": "string"
  22675. },
  22676. "planstartdate": {
  22677. "description": "计划开始日期",
  22678. "type": "string"
  22679. },
  22680. "remark": {
  22681. "description": "备注",
  22682. "type": "string"
  22683. },
  22684. "spotbookamount": {
  22685. "description": "现货账面总额",
  22686. "type": "number"
  22687. },
  22688. "spotfloatpl": {
  22689. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  22690. "type": "number"
  22691. },
  22692. "spothedgepl": {
  22693. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  22694. "type": "number"
  22695. },
  22696. "spothedgeplchange": {
  22697. "description": "现货实际损益变动",
  22698. "type": "number"
  22699. },
  22700. "spotpl": {
  22701. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  22702. "type": "number"
  22703. },
  22704. "spotplchange": {
  22705. "description": "现货套期损益变动",
  22706. "type": "number"
  22707. },
  22708. "spottradepl": {
  22709. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  22710. "type": "number"
  22711. },
  22712. "sumobspl": {
  22713. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  22714. "type": "number"
  22715. },
  22716. "tradeuserid": {
  22717. "description": "交易用户ID",
  22718. "type": "integer"
  22719. },
  22720. "unexeqty": {
  22721. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  22722. "type": "number"
  22723. },
  22724. "updatetime": {
  22725. "description": "更新时间",
  22726. "type": "string"
  22727. },
  22728. "vatpl": {
  22729. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  22730. "type": "number"
  22731. },
  22732. "vatrate": {
  22733. "description": "增值税",
  22734. "type": "number"
  22735. },
  22736. "wrstandardid": {
  22737. "description": "现货商品ID",
  22738. "type": "integer"
  22739. },
  22740. "wrstandardname": {
  22741. "description": "商品名称",
  22742. "type": "string"
  22743. }
  22744. }
  22745. },
  22746. "models.Ermcp2hedgeditemlink": {
  22747. "type": "object",
  22748. "required": [
  22749. "relatedspotcontractid"
  22750. ],
  22751. "properties": {
  22752. "areauserid": {
  22753. "description": "企业ID",
  22754. "type": "integer"
  22755. },
  22756. "createtime": {
  22757. "description": "[关联时间]创建时间",
  22758. "type": "string"
  22759. },
  22760. "customeruserid": {
  22761. "description": "对手方 【3:采购合同 4:销售合同】",
  22762. "type": "integer"
  22763. },
  22764. "deliverygoodsid": {
  22765. "description": "现货品种ID",
  22766. "type": "integer"
  22767. },
  22768. "enumdicname": {
  22769. "description": "单位",
  22770. "type": "string"
  22771. },
  22772. "hedgeditemid": {
  22773. "description": "被套期项目ID",
  22774. "type": "integer"
  22775. },
  22776. "hedgeditemlinkid": {
  22777. "description": "现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)",
  22778. "type": "integer"
  22779. },
  22780. "hedgeditemnum": {
  22781. "description": "项目编号",
  22782. "type": "string"
  22783. },
  22784. "hedgedtype": {
  22785. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  22786. "type": "integer"
  22787. },
  22788. "relatedamount": {
  22789. "description": "市价总额 = 关联数量 * 期初市场价",
  22790. "type": "number"
  22791. },
  22792. "relatedhedgeplanid": {
  22793. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  22794. "type": "integer"
  22795. },
  22796. "relatedqty": {
  22797. "description": "关联数量",
  22798. "type": "number"
  22799. },
  22800. "relatedspotcontractid": {
  22801. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  22802. "type": "integer"
  22803. },
  22804. "relatedtype": {
  22805. "description": "关联类型 - 1:套期关联 2:执行关联",
  22806. "type": "integer"
  22807. },
  22808. "spotgoodsbrandid": {
  22809. "description": "现货品牌ID",
  22810. "type": "integer"
  22811. },
  22812. "spotpricedamount": {
  22813. "description": "[关联定价总额]定价总额",
  22814. "type": "number"
  22815. },
  22816. "spotpricedavgprice": {
  22817. "description": "[关联现货均价]现货均价 = 定价总额 / 关联数量",
  22818. "type": "number"
  22819. },
  22820. "spottype": {
  22821. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  22822. "type": "integer"
  22823. },
  22824. "tradeuserid": {
  22825. "description": "交易用户ID",
  22826. "type": "integer"
  22827. },
  22828. "unexeqty": {
  22829. "description": "未执行现货量【项目关联时值】",
  22830. "type": "number"
  22831. },
  22832. "wrstandardid": {
  22833. "description": "现货商品ID",
  22834. "type": "integer"
  22835. },
  22836. "wrstandardname": {
  22837. "description": "现货商品",
  22838. "type": "string"
  22839. }
  22840. }
  22841. },
  22842. "models.Ermcp2hedgeditemsDetail": {
  22843. "type": "object",
  22844. "properties": {
  22845. "accountname": {
  22846. "description": "套期主体",
  22847. "type": "string"
  22848. },
  22849. "areauserid": {
  22850. "description": "企业ID",
  22851. "type": "integer"
  22852. },
  22853. "createtime": {
  22854. "description": "[日期时间]创建时间",
  22855. "type": "string"
  22856. },
  22857. "customeruserid": {
  22858. "description": "对手方 【3:采购合同 4:销售合同】",
  22859. "type": "integer"
  22860. },
  22861. "deliverygoodsid": {
  22862. "description": "现货品种ID",
  22863. "type": "integer"
  22864. },
  22865. "enumdicname": {
  22866. "description": "单位",
  22867. "type": "string"
  22868. },
  22869. "hedgeditemid": {
  22870. "description": "被套期项目ID",
  22871. "type": "string"
  22872. },
  22873. "hedgeditemspotid": {
  22874. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  22875. "type": "string"
  22876. },
  22877. "hedgedtype": {
  22878. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  22879. "type": "integer"
  22880. },
  22881. "hedgeplanno": {
  22882. "description": "计划编号",
  22883. "type": "string"
  22884. },
  22885. "middlegoodschange": {
  22886. "description": "套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))",
  22887. "type": "number"
  22888. },
  22889. "oriavgprice": {
  22890. "description": "期初市场价[当初市场价]",
  22891. "type": "number"
  22892. },
  22893. "relatedamount": {
  22894. "description": "市价总额 = 关联数量 * 期初市场价",
  22895. "type": "number"
  22896. },
  22897. "relatedhedgeplanid": {
  22898. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  22899. "type": "integer"
  22900. },
  22901. "relatedqty": {
  22902. "description": "[期间变化量]关联数量",
  22903. "type": "number"
  22904. },
  22905. "relatedspotcontractid": {
  22906. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  22907. "type": "integer"
  22908. },
  22909. "relatedtype": {
  22910. "description": "关联类型 - 1:套期关联 2:执行关联",
  22911. "type": "integer"
  22912. },
  22913. "spotgoodsbrandid": {
  22914. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  22915. "type": "integer"
  22916. },
  22917. "spotpricedamount": {
  22918. "description": "定价总额",
  22919. "type": "number"
  22920. },
  22921. "spotpricedavgprice": {
  22922. "description": "现货均价 = 定价总额 / 关联数量",
  22923. "type": "number"
  22924. },
  22925. "spottype": {
  22926. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  22927. "type": "integer"
  22928. },
  22929. "tradeuserid": {
  22930. "description": "交易用户ID",
  22931. "type": "integer"
  22932. },
  22933. "unexeqty": {
  22934. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  22935. "type": "number"
  22936. },
  22937. "wrstandardid": {
  22938. "description": "现货商品ID",
  22939. "type": "integer"
  22940. },
  22941. "wrstandardname": {
  22942. "description": "现货商品",
  22943. "type": "string"
  22944. }
  22945. }
  22946. },
  22947. "models.Ermcp2hedgeditemspot": {
  22948. "type": "object",
  22949. "required": [
  22950. "hedgeditemid"
  22951. ],
  22952. "properties": {
  22953. "areauserid": {
  22954. "description": "企业ID",
  22955. "type": "integer"
  22956. },
  22957. "createtime": {
  22958. "description": "创建时间",
  22959. "type": "string"
  22960. },
  22961. "customeruserid": {
  22962. "description": "对手方 【3:采购合同 4:销售合同】",
  22963. "type": "integer"
  22964. },
  22965. "deliverygoodsid": {
  22966. "description": "现货品种ID",
  22967. "type": "integer"
  22968. },
  22969. "enumdicname": {
  22970. "description": "单位",
  22971. "type": "string"
  22972. },
  22973. "hedgeditemid": {
  22974. "description": "被套期项目ID",
  22975. "type": "string"
  22976. },
  22977. "hedgeditemspotid": {
  22978. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  22979. "type": "string"
  22980. },
  22981. "hedgedtype": {
  22982. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  22983. "type": "integer"
  22984. },
  22985. "hedgeplanno": {
  22986. "description": "计划编号",
  22987. "type": "string"
  22988. },
  22989. "oriavgprice": {
  22990. "description": "期初市场价[当初市场价]",
  22991. "type": "number"
  22992. },
  22993. "relatedamount": {
  22994. "description": "市价总额 = 关联数量 * 期初市场价",
  22995. "type": "number"
  22996. },
  22997. "relatedhedgeplanid": {
  22998. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  22999. "type": "integer"
  23000. },
  23001. "relatedqty": {
  23002. "description": "关联数量[数量]",
  23003. "type": "number"
  23004. },
  23005. "relatedspotcontractid": {
  23006. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  23007. "type": "integer"
  23008. },
  23009. "relatedtype": {
  23010. "description": "关联类型 - 1:套期关联 2:执行关联",
  23011. "type": "integer"
  23012. },
  23013. "spotgoodsbrandid": {
  23014. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  23015. "type": "integer"
  23016. },
  23017. "spotpricedamount": {
  23018. "description": "定价总额",
  23019. "type": "number"
  23020. },
  23021. "spotpricedavgprice": {
  23022. "description": "现货均价 = 定价总额 / 关联数量",
  23023. "type": "number"
  23024. },
  23025. "spottype": {
  23026. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  23027. "type": "integer"
  23028. },
  23029. "tradeuserid": {
  23030. "description": "交易用户ID",
  23031. "type": "integer"
  23032. },
  23033. "wrstandardid": {
  23034. "description": "现货商品ID",
  23035. "type": "integer"
  23036. },
  23037. "wrstandardname": {
  23038. "description": "现货商品",
  23039. "type": "string"
  23040. }
  23041. }
  23042. },
  23043. "models.Ermcp2hedgeditemspotDetail": {
  23044. "type": "object",
  23045. "required": [
  23046. "hedgeditemid"
  23047. ],
  23048. "properties": {
  23049. "accountname": {
  23050. "description": "对手方",
  23051. "type": "string"
  23052. },
  23053. "areauserid": {
  23054. "description": "企业ID",
  23055. "type": "integer"
  23056. },
  23057. "brandname": {
  23058. "description": "品牌",
  23059. "type": "string"
  23060. },
  23061. "contractno": {
  23062. "description": "合同编号",
  23063. "type": "string"
  23064. },
  23065. "createtime": {
  23066. "description": "创建时间",
  23067. "type": "string"
  23068. },
  23069. "customeruserid": {
  23070. "description": "对手方 【3:采购合同 4:销售合同】",
  23071. "type": "integer"
  23072. },
  23073. "deliverygoodsid": {
  23074. "description": "现货品种ID",
  23075. "type": "integer"
  23076. },
  23077. "enumdicname": {
  23078. "description": "单位",
  23079. "type": "string"
  23080. },
  23081. "hedgeditemid": {
  23082. "description": "被套期项目ID",
  23083. "type": "string"
  23084. },
  23085. "hedgeditemspotid": {
  23086. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  23087. "type": "string"
  23088. },
  23089. "hedgedtype": {
  23090. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  23091. "type": "integer"
  23092. },
  23093. "oriavgprice": {
  23094. "description": "期初市场价[当初市场价]",
  23095. "type": "number"
  23096. },
  23097. "relatedamount": {
  23098. "description": "市价总额 = 关联数量 * 期初市场价",
  23099. "type": "number"
  23100. },
  23101. "relatedhedgeplanid": {
  23102. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  23103. "type": "integer"
  23104. },
  23105. "relatedqty": {
  23106. "description": "关联数量[数量]",
  23107. "type": "number"
  23108. },
  23109. "relatedspotcontractid": {
  23110. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  23111. "type": "integer"
  23112. },
  23113. "relatedtype": {
  23114. "description": "关联类型 - 1:套期关联 2:执行关联",
  23115. "type": "integer"
  23116. },
  23117. "spotgoodsbrandid": {
  23118. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  23119. "type": "integer"
  23120. },
  23121. "spotpricedamount": {
  23122. "description": "定价总额[金额]",
  23123. "type": "number"
  23124. },
  23125. "spotpricedavgprice": {
  23126. "description": "现货均价 = 定价总额 / 关联数量",
  23127. "type": "number"
  23128. },
  23129. "spottype": {
  23130. "description": "现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  23131. "type": "integer"
  23132. },
  23133. "tradeuserid": {
  23134. "description": "交易用户ID",
  23135. "type": "integer"
  23136. },
  23137. "wrstandardid": {
  23138. "description": "现货商品ID",
  23139. "type": "integer"
  23140. },
  23141. "wrstandardname": {
  23142. "description": "现货商品",
  23143. "type": "string"
  23144. }
  23145. }
  23146. },
  23147. "models.Ermcp2himiddlegoods": {
  23148. "type": "object",
  23149. "required": [
  23150. "hedgeditemid",
  23151. "middlegoodsid"
  23152. ],
  23153. "properties": {
  23154. "futurehedgeqty": {
  23155. "description": "期货持仓套期量",
  23156. "type": "number"
  23157. },
  23158. "hedgeditemid": {
  23159. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  23160. "type": "integer"
  23161. },
  23162. "hiexpsoure": {
  23163. "description": "期现敞口量 = 未执行套期量 + 期货持仓套期量",
  23164. "type": "number"
  23165. },
  23166. "middlegoodscode": {
  23167. "description": "套保商品代码",
  23168. "type": "string"
  23169. },
  23170. "middlegoodsid": {
  23171. "description": "套保品种ID",
  23172. "type": "integer"
  23173. },
  23174. "middlegoodsname": {
  23175. "description": "套保商品名称",
  23176. "type": "string"
  23177. },
  23178. "unexehedgeqty": {
  23179. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  23180. "type": "number"
  23181. }
  23182. }
  23183. },
  23184. "models.Ermcp2stockspotchangelog": {
  23185. "type": "object",
  23186. "properties": {
  23187. "accountname": {
  23188. "description": "套期主体",
  23189. "type": "string"
  23190. },
  23191. "aftervalue": {
  23192. "description": "现货量",
  23193. "type": "number"
  23194. },
  23195. "beforevalue": {
  23196. "description": "变更前现货量",
  23197. "type": "number"
  23198. },
  23199. "contractno": {
  23200. "description": "[编号]现货合同编号",
  23201. "type": "string"
  23202. },
  23203. "contracttype": {
  23204. "description": "现货合同类型 - 1:采购 -1:销售",
  23205. "type": "integer"
  23206. },
  23207. "createtime": {
  23208. "description": "创建时间",
  23209. "type": "string"
  23210. },
  23211. "customerusername": {
  23212. "description": "对手方",
  23213. "type": "string"
  23214. },
  23215. "deliverygoodsid": {
  23216. "description": "现货品种ID",
  23217. "type": "integer"
  23218. },
  23219. "exetype": {
  23220. "description": "执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库",
  23221. "type": "integer"
  23222. },
  23223. "logid": {
  23224. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  23225. "type": "string"
  23226. },
  23227. "logvalue": {
  23228. "description": "[期间变化量]现货量变更值",
  23229. "type": "number"
  23230. },
  23231. "middlegoodschange": {
  23232. "description": "套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))",
  23233. "type": "number"
  23234. },
  23235. "operatelogtype": {
  23236. "description": "操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库 27:生产出库",
  23237. "type": "integer"
  23238. },
  23239. "relatedid": {
  23240. "description": "现货合同ID",
  23241. "type": "integer"
  23242. },
  23243. "spotgoodsbrandid": {
  23244. "description": "现货品牌ID",
  23245. "type": "integer"
  23246. },
  23247. "tradedate": {
  23248. "description": "交易日(yyyyMMdd)",
  23249. "type": "string"
  23250. },
  23251. "userid": {
  23252. "description": "机构ID",
  23253. "type": "integer"
  23254. },
  23255. "warehouseinfoid": {
  23256. "description": "仓库ID",
  23257. "type": "integer"
  23258. },
  23259. "wrfactortypeid": {
  23260. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  23261. "type": "integer"
  23262. },
  23263. "wrstandardid": {
  23264. "description": "现货商品ID",
  23265. "type": "integer"
  23266. },
  23267. "wrstandardname": {
  23268. "description": "商品名称",
  23269. "type": "string"
  23270. }
  23271. }
  23272. },
  23273. "models.Ermcp3AreaSpot": {
  23274. "type": "object",
  23275. "properties": {
  23276. "areauserid": {
  23277. "description": "所属机构",
  23278. "type": "integer"
  23279. },
  23280. "convertratio": {
  23281. "description": "套保系数",
  23282. "type": "number"
  23283. },
  23284. "decreaseqty": {
  23285. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  23286. "type": "number"
  23287. },
  23288. "enumdicname": {
  23289. "description": "单位名称",
  23290. "type": "string"
  23291. },
  23292. "increaseqty": {
  23293. "description": "增加数量=销售计划数量+采购已定价数量",
  23294. "type": "number"
  23295. },
  23296. "oritoalspotqty": {
  23297. "description": "昨日数量",
  23298. "type": "number"
  23299. },
  23300. "totalspotqty": {
  23301. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  23302. "type": "number"
  23303. },
  23304. "unitid": {
  23305. "description": "现货商品单位id",
  23306. "type": "integer"
  23307. },
  23308. "updatetime": {
  23309. "description": "更新时间",
  23310. "type": "string"
  23311. },
  23312. "wrstandardcode": {
  23313. "description": "现货商品代码",
  23314. "type": "string"
  23315. },
  23316. "wrstandardid": {
  23317. "description": "现货商品ID(SEQ_WRSTANDARD)",
  23318. "type": "integer"
  23319. },
  23320. "wrstandardname": {
  23321. "description": "现货商品名称",
  23322. "type": "string"
  23323. }
  23324. }
  23325. },
  23326. "models.Ermcp3AreaSpotDetail": {
  23327. "type": "object",
  23328. "properties": {
  23329. "contracttype": {
  23330. "description": "合同类型 1-采购 -1-销售",
  23331. "type": "integer"
  23332. },
  23333. "createtime": {
  23334. "description": "创建时间",
  23335. "type": "string"
  23336. },
  23337. "enumdicname": {
  23338. "description": "现货商品单位名称",
  23339. "type": "string"
  23340. },
  23341. "logtype": {
  23342. "description": "记录类型 1-套保 2-现货合同",
  23343. "type": "integer"
  23344. },
  23345. "qty": {
  23346. "description": "数量",
  23347. "type": "number"
  23348. },
  23349. "recordname": {
  23350. "description": "类型名称",
  23351. "type": "string"
  23352. },
  23353. "relatedid": {
  23354. "description": "套保计划ID/现货合同ID",
  23355. "type": "string"
  23356. },
  23357. "relatedno": {
  23358. "description": "编号",
  23359. "type": "string"
  23360. },
  23361. "strtime": {
  23362. "description": "时间",
  23363. "type": "string"
  23364. },
  23365. "wrstandardcode": {
  23366. "description": "现货商品代码",
  23367. "type": "string"
  23368. },
  23369. "wrstandardid": {
  23370. "description": "现货商品ID(SEQ_WRSTANDARD)",
  23371. "type": "integer"
  23372. },
  23373. "wrstandardname": {
  23374. "description": "现货商品名称",
  23375. "type": "string"
  23376. }
  23377. }
  23378. },
  23379. "models.Ermcp3AreaSpotPLReport": {
  23380. "type": "object",
  23381. "properties": {
  23382. "accountid": {
  23383. "description": "期货账户ID (作废, 默认为0)",
  23384. "type": "integer"
  23385. },
  23386. "accountname": {
  23387. "description": "机构名称",
  23388. "type": "string"
  23389. },
  23390. "actualpl": {
  23391. "description": "现货损益",
  23392. "type": "number"
  23393. },
  23394. "areauserid": {
  23395. "description": "所属机构\\交易用户ID",
  23396. "type": "integer"
  23397. },
  23398. "begindate": {
  23399. "description": "开始交易日",
  23400. "type": "string"
  23401. },
  23402. "biztype": {
  23403. "description": "业务类型 - 1:套保 2:套利",
  23404. "type": "integer"
  23405. },
  23406. "brandname": {
  23407. "description": "品牌名称",
  23408. "type": "string"
  23409. },
  23410. "curamount": {
  23411. "description": "期末额",
  23412. "type": "number"
  23413. },
  23414. "curaverageprice": {
  23415. "description": "期初均价",
  23416. "type": "number"
  23417. },
  23418. "curbuyamount": {
  23419. "description": "期末采购总额",
  23420. "type": "number"
  23421. },
  23422. "curbuyqty": {
  23423. "description": "期末采购总量",
  23424. "type": "number"
  23425. },
  23426. "curmarketvalue": {
  23427. "description": "期初均价",
  23428. "type": "number"
  23429. },
  23430. "curqty": {
  23431. "description": "期末量",
  23432. "type": "number"
  23433. },
  23434. "currencyid": {
  23435. "description": "结算币种ID【原值】",
  23436. "type": "integer"
  23437. },
  23438. "currencyname": {
  23439. "description": "币种名称",
  23440. "type": "string"
  23441. },
  23442. "cursellamount": {
  23443. "description": "期末销售总额",
  23444. "type": "number"
  23445. },
  23446. "cursellqty": {
  23447. "description": "期末销售总量",
  23448. "type": "number"
  23449. },
  23450. "curspotprice": {
  23451. "description": "期初均价",
  23452. "type": "number"
  23453. },
  23454. "cycletime": {
  23455. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23456. "type": "string"
  23457. },
  23458. "cycletype": {
  23459. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23460. "type": "integer"
  23461. },
  23462. "deliverygoodscode": {
  23463. "description": "现货品种代码",
  23464. "type": "string"
  23465. },
  23466. "deliverygoodsid": {
  23467. "description": "现货品种ID",
  23468. "type": "integer"
  23469. },
  23470. "deliverygoodsname": {
  23471. "description": "现货品种名称",
  23472. "type": "string"
  23473. },
  23474. "enddate": {
  23475. "description": "结束交易日",
  23476. "type": "string"
  23477. },
  23478. "enumdicname": {
  23479. "description": "现货品种单位名称(作废)",
  23480. "type": "string"
  23481. },
  23482. "floatpl": {
  23483. "description": "期初均价",
  23484. "type": "number"
  23485. },
  23486. "goodsunitid": {
  23487. "description": "现货品种单位id(作废)",
  23488. "type": "integer"
  23489. },
  23490. "oriamount": {
  23491. "description": "期初额",
  23492. "type": "number"
  23493. },
  23494. "oriaverageprice": {
  23495. "description": "期初均价",
  23496. "type": "number"
  23497. },
  23498. "oribuyamount": {
  23499. "description": "期初采购总额",
  23500. "type": "number"
  23501. },
  23502. "oribuyqty": {
  23503. "description": "期初采购总量",
  23504. "type": "number"
  23505. },
  23506. "oriqty": {
  23507. "description": "期初量",
  23508. "type": "number"
  23509. },
  23510. "orisellamount": {
  23511. "description": "期初销售总额",
  23512. "type": "number"
  23513. },
  23514. "orisellqty": {
  23515. "description": "期初销售总量",
  23516. "type": "number"
  23517. },
  23518. "reckondate": {
  23519. "description": "日照时期(yyyyMMdd)",
  23520. "type": "string"
  23521. },
  23522. "spotgoodsbrandid": {
  23523. "description": "现货品牌ID",
  23524. "type": "integer"
  23525. },
  23526. "todaybuyamount": {
  23527. "description": "今日采购额(今采购额)",
  23528. "type": "number"
  23529. },
  23530. "todaybuyaverageprice": {
  23531. "description": "期初均价",
  23532. "type": "number"
  23533. },
  23534. "todaybuyqty": {
  23535. "description": "今日采购量(今采购量)",
  23536. "type": "number"
  23537. },
  23538. "todayinqty": {
  23539. "description": "今日入库量(今入库量)",
  23540. "type": "number"
  23541. },
  23542. "todayoutqty": {
  23543. "description": "今日出库量(今出库量)",
  23544. "type": "number"
  23545. },
  23546. "todaysellamount": {
  23547. "description": "今日销售额(今销售额)",
  23548. "type": "number"
  23549. },
  23550. "todaysellaverageprice": {
  23551. "description": "期初均价",
  23552. "type": "number"
  23553. },
  23554. "todaysellqty": {
  23555. "description": "今日销售量(今销售量)",
  23556. "type": "number"
  23557. },
  23558. "unitid": {
  23559. "description": "品类单位id",
  23560. "type": "integer"
  23561. },
  23562. "unitidname": {
  23563. "description": "品类单位名称",
  23564. "type": "string"
  23565. },
  23566. "updatetime": {
  23567. "description": "更新时间",
  23568. "type": "string"
  23569. },
  23570. "wrfactortypeid": {
  23571. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  23572. "type": "integer"
  23573. },
  23574. "wrstandardcode": {
  23575. "description": "现货商品(品类)代码",
  23576. "type": "string"
  23577. },
  23578. "wrstandardid": {
  23579. "description": "现货品类ID",
  23580. "type": "integer"
  23581. },
  23582. "wrstandardname": {
  23583. "description": "现货商品(品类)名称",
  23584. "type": "string"
  23585. }
  23586. }
  23587. },
  23588. "models.Ermcp3AreaStock": {
  23589. "type": "object",
  23590. "required": [
  23591. "userid"
  23592. ],
  23593. "properties": {
  23594. "brandname": {
  23595. "description": "品牌名称",
  23596. "type": "string"
  23597. },
  23598. "curstock": {
  23599. "description": "期末库存量(今日量)",
  23600. "type": "number"
  23601. },
  23602. "deliverygoodscode": {
  23603. "description": "现货品种代码",
  23604. "type": "string"
  23605. },
  23606. "deliverygoodsid": {
  23607. "description": "现货品种id",
  23608. "type": "integer"
  23609. },
  23610. "deliverygoodsname": {
  23611. "description": "现货品种名称",
  23612. "type": "string"
  23613. },
  23614. "enumdicname": {
  23615. "description": "单位名称",
  23616. "type": "string"
  23617. },
  23618. "goodsunitid": {
  23619. "description": "现货商品单位id",
  23620. "type": "integer"
  23621. },
  23622. "oristock": {
  23623. "description": "期初库存量(昨日量)",
  23624. "type": "number"
  23625. },
  23626. "spotgoodsbrandid": {
  23627. "description": "现货品牌ID",
  23628. "type": "integer"
  23629. },
  23630. "todaybuyinqty": {
  23631. "description": "今日采购入库量",
  23632. "type": "number"
  23633. },
  23634. "todayproduceinqty": {
  23635. "description": "今日生产入库量",
  23636. "type": "number"
  23637. },
  23638. "todayproduceoutqty": {
  23639. "description": "今日生产出库量",
  23640. "type": "number"
  23641. },
  23642. "todayselloutqty": {
  23643. "description": "今日销售出库量",
  23644. "type": "number"
  23645. },
  23646. "unitid": {
  23647. "description": "单位id",
  23648. "type": "integer"
  23649. },
  23650. "updatetime": {
  23651. "description": "更新时间",
  23652. "type": "string"
  23653. },
  23654. "userid": {
  23655. "description": "机构ID",
  23656. "type": "integer"
  23657. },
  23658. "username": {
  23659. "description": "机构名称",
  23660. "type": "string"
  23661. },
  23662. "warehousecode": {
  23663. "description": "仓库代码",
  23664. "type": "string"
  23665. },
  23666. "warehouseinfoid": {
  23667. "description": "仓库ID",
  23668. "type": "string"
  23669. },
  23670. "warehousename": {
  23671. "description": "仓库名称",
  23672. "type": "string"
  23673. },
  23674. "warehousetype": {
  23675. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  23676. "type": "integer"
  23677. },
  23678. "wrstandardcode": {
  23679. "description": "品类代码",
  23680. "type": "string"
  23681. },
  23682. "wrstandardid": {
  23683. "description": "品类ID",
  23684. "type": "string"
  23685. },
  23686. "wrstandardname": {
  23687. "description": "品类名称",
  23688. "type": "string"
  23689. }
  23690. }
  23691. },
  23692. "models.Ermcp3AreaStockApply": {
  23693. "type": "object",
  23694. "properties": {
  23695. "applyid": {
  23696. "description": "申请人",
  23697. "type": "integer"
  23698. },
  23699. "applyname": {
  23700. "description": "申请人名称",
  23701. "type": "string"
  23702. },
  23703. "applyremark": {
  23704. "description": "申请备注",
  23705. "type": "string"
  23706. },
  23707. "applysrc": {
  23708. "description": "申请来源 - 1:管理端 2:终端",
  23709. "type": "integer"
  23710. },
  23711. "applystatus": {
  23712. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  23713. "type": "integer"
  23714. },
  23715. "applytime": {
  23716. "description": "申请时间",
  23717. "type": "string"
  23718. },
  23719. "auditid": {
  23720. "description": "审核人",
  23721. "type": "integer"
  23722. },
  23723. "auditname": {
  23724. "description": "审核人名称",
  23725. "type": "string"
  23726. },
  23727. "auditremark": {
  23728. "description": "审核备注",
  23729. "type": "string"
  23730. },
  23731. "auditsrc": {
  23732. "description": "审核来源 - 1:管理端 2:终端",
  23733. "type": "integer"
  23734. },
  23735. "audittime": {
  23736. "description": "审核时间",
  23737. "type": "string"
  23738. },
  23739. "audittradedate": {
  23740. "description": "审核交易日(yyyyMMdd)",
  23741. "type": "string"
  23742. },
  23743. "brandname": {
  23744. "description": "品牌名称",
  23745. "type": "string"
  23746. },
  23747. "buynickname": {
  23748. "description": "采购方昵称",
  23749. "type": "string"
  23750. },
  23751. "buyuserid": {
  23752. "description": "采购方userid",
  23753. "type": "integer"
  23754. },
  23755. "buyusername": {
  23756. "description": "采购方名称",
  23757. "type": "string"
  23758. },
  23759. "contractno": {
  23760. "description": "合同编号",
  23761. "type": "string"
  23762. },
  23763. "contractqty": {
  23764. "description": "合同量",
  23765. "type": "number"
  23766. },
  23767. "contracttype": {
  23768. "description": "现货合同类型 - 1:采购 -1:销售",
  23769. "type": "integer"
  23770. },
  23771. "deliverygoodscode": {
  23772. "description": "现货品种代码",
  23773. "type": "string"
  23774. },
  23775. "deliverygoodsid": {
  23776. "description": "现货品种id",
  23777. "type": "integer"
  23778. },
  23779. "deliverygoodsname": {
  23780. "description": "现货品种名称",
  23781. "type": "string"
  23782. },
  23783. "detailjson": {
  23784. "description": "明细数据",
  23785. "type": "string"
  23786. },
  23787. "enumdicname": {
  23788. "description": "现货商品单位名称",
  23789. "type": "string"
  23790. },
  23791. "inoutapplyid": {
  23792. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  23793. "type": "string"
  23794. },
  23795. "inouttype": {
  23796. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  23797. "type": "integer"
  23798. },
  23799. "pricetype": {
  23800. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  23801. "type": "integer"
  23802. },
  23803. "qty": {
  23804. "description": "数量",
  23805. "type": "number"
  23806. },
  23807. "sellnickname": {
  23808. "description": "销售方昵称",
  23809. "type": "string"
  23810. },
  23811. "selluserid": {
  23812. "description": "销售方userid",
  23813. "type": "integer"
  23814. },
  23815. "sellusername": {
  23816. "description": "销售方名称",
  23817. "type": "string"
  23818. },
  23819. "spotcontractid": {
  23820. "description": "关联现货合同ID",
  23821. "type": "string"
  23822. },
  23823. "spotgoodsbrandid": {
  23824. "description": "现货品牌ID",
  23825. "type": "integer"
  23826. },
  23827. "unitid": {
  23828. "description": "单位id",
  23829. "type": "integer"
  23830. },
  23831. "userid": {
  23832. "description": "机构ID",
  23833. "type": "integer"
  23834. },
  23835. "warehousecode": {
  23836. "description": "仓库代码",
  23837. "type": "string"
  23838. },
  23839. "warehouseinfoid": {
  23840. "description": "现货仓库ID",
  23841. "type": "string"
  23842. },
  23843. "warehousename": {
  23844. "description": "仓库名称",
  23845. "type": "string"
  23846. },
  23847. "warehousetype": {
  23848. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  23849. "type": "integer"
  23850. },
  23851. "wrstandardcode": {
  23852. "description": "品类代码",
  23853. "type": "string"
  23854. },
  23855. "wrstandardid": {
  23856. "description": "品类ID",
  23857. "type": "integer"
  23858. },
  23859. "wrstandardname": {
  23860. "description": "品类名称",
  23861. "type": "string"
  23862. }
  23863. }
  23864. },
  23865. "models.Ermcp3AreaStockApplySum": {
  23866. "type": "object",
  23867. "properties": {
  23868. "brandname": {
  23869. "description": "品牌名称",
  23870. "type": "string"
  23871. },
  23872. "inouttype": {
  23873. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  23874. "type": "integer"
  23875. },
  23876. "spotcontractid": {
  23877. "description": "关联现货合同ID",
  23878. "type": "string"
  23879. },
  23880. "spotgoodsbrandid": {
  23881. "description": "品牌id",
  23882. "type": "integer"
  23883. },
  23884. "totalqty": {
  23885. "description": "总数量",
  23886. "type": "number"
  23887. },
  23888. "wrstandardid": {
  23889. "description": "品类id",
  23890. "type": "integer"
  23891. },
  23892. "wrstandardname": {
  23893. "description": "品类名称",
  23894. "type": "string"
  23895. }
  23896. }
  23897. },
  23898. "models.Ermcp3AreaStockReportEx": {
  23899. "type": "object",
  23900. "properties": {
  23901. "begindate": {
  23902. "description": "开始交易日",
  23903. "type": "string"
  23904. },
  23905. "brandname": {
  23906. "description": "品牌名称",
  23907. "type": "string"
  23908. },
  23909. "curstock": {
  23910. "description": "期末库存量",
  23911. "type": "number"
  23912. },
  23913. "cycletime": {
  23914. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23915. "type": "string"
  23916. },
  23917. "cycletype": {
  23918. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23919. "type": "integer"
  23920. },
  23921. "deliverygoodscode": {
  23922. "description": "现货品种代码",
  23923. "type": "string"
  23924. },
  23925. "deliverygoodsid": {
  23926. "description": "现货品种id",
  23927. "type": "integer"
  23928. },
  23929. "deliverygoodsname": {
  23930. "description": "现货品种名称",
  23931. "type": "string"
  23932. },
  23933. "diffqty": {
  23934. "description": "库存变化量 = 期末 - 期初",
  23935. "type": "number"
  23936. },
  23937. "enddate": {
  23938. "description": "结束交易日",
  23939. "type": "string"
  23940. },
  23941. "enumdicname": {
  23942. "description": "单位名称",
  23943. "type": "string"
  23944. },
  23945. "goodsunitid": {
  23946. "description": "现货单位id",
  23947. "type": "integer"
  23948. },
  23949. "oristock": {
  23950. "description": "期初库存量",
  23951. "type": "number"
  23952. },
  23953. "reckondate": {
  23954. "description": "日照时期(yyyyMMdd)",
  23955. "type": "string"
  23956. },
  23957. "spotgoodsbrandid": {
  23958. "description": "现货品牌ID",
  23959. "type": "integer"
  23960. },
  23961. "todaybuyinqty": {
  23962. "description": "今采购入库量",
  23963. "type": "number"
  23964. },
  23965. "todayproduceinqty": {
  23966. "description": "今内部入库量",
  23967. "type": "number"
  23968. },
  23969. "todayproduceoutqty": {
  23970. "description": "今内部出库量",
  23971. "type": "number"
  23972. },
  23973. "todayselloutqty": {
  23974. "description": "今销售出库量",
  23975. "type": "number"
  23976. },
  23977. "unbuyinqty": {
  23978. "description": "采购未入库量(数据库未找到相关字段?)",
  23979. "type": "number"
  23980. },
  23981. "unitid": {
  23982. "description": "品类单位id",
  23983. "type": "integer"
  23984. },
  23985. "unselloutqty": {
  23986. "description": "销售未出库量(数据库未找到相关字段?)",
  23987. "type": "number"
  23988. },
  23989. "updatetime": {
  23990. "description": "更新时间",
  23991. "type": "string"
  23992. },
  23993. "userid": {
  23994. "description": "机构ID",
  23995. "type": "integer"
  23996. },
  23997. "username": {
  23998. "description": "机构名称",
  23999. "type": "string"
  24000. },
  24001. "warehousecode": {
  24002. "description": "仓库代码",
  24003. "type": "string"
  24004. },
  24005. "warehouseinfoid": {
  24006. "description": "仓库ID",
  24007. "type": "string"
  24008. },
  24009. "warehousename": {
  24010. "description": "仓库名称",
  24011. "type": "string"
  24012. },
  24013. "warehousetype": {
  24014. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  24015. "type": "integer"
  24016. },
  24017. "wrstandardcode": {
  24018. "description": "品类代码",
  24019. "type": "string"
  24020. },
  24021. "wrstandardid": {
  24022. "description": "品类ID",
  24023. "type": "integer"
  24024. },
  24025. "wrstandardname": {
  24026. "description": "品类名称",
  24027. "type": "string"
  24028. }
  24029. }
  24030. },
  24031. "models.Ermcp3ArealSumPL": {
  24032. "type": "object",
  24033. "properties": {
  24034. "accountname": {
  24035. "description": "机构名称",
  24036. "type": "string"
  24037. },
  24038. "areauserid": {
  24039. "description": "所属机构\\交易用户ID",
  24040. "type": "integer"
  24041. },
  24042. "begindate": {
  24043. "description": "开始交易日",
  24044. "type": "string"
  24045. },
  24046. "currencyid": {
  24047. "description": "结算币种ID",
  24048. "type": "integer"
  24049. },
  24050. "currencyname": {
  24051. "description": "币种名称",
  24052. "type": "string"
  24053. },
  24054. "cycletime": {
  24055. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  24056. "type": "string"
  24057. },
  24058. "cycletype": {
  24059. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  24060. "type": "integer"
  24061. },
  24062. "enddate": {
  24063. "description": "结束交易日",
  24064. "type": "string"
  24065. },
  24066. "enumdicname": {
  24067. "description": "单位名称(套保品种)",
  24068. "type": "string"
  24069. },
  24070. "futureactualpl": {
  24071. "description": "期货损益",
  24072. "type": "number"
  24073. },
  24074. "futurefloatpl": {
  24075. "description": "期货浮动损益",
  24076. "type": "number"
  24077. },
  24078. "futurespotratio": {
  24079. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  24080. "type": "number"
  24081. },
  24082. "goodsunitid": {
  24083. "description": "套保品种单位id",
  24084. "type": "integer"
  24085. },
  24086. "hedgeexposurepl": {
  24087. "description": "套保敞口损益",
  24088. "type": "number"
  24089. },
  24090. "middlegoodscode": {
  24091. "description": "套保品种代码",
  24092. "type": "string"
  24093. },
  24094. "middlegoodsid": {
  24095. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  24096. "type": "integer"
  24097. },
  24098. "middlegoodsname": {
  24099. "description": "套保品种名称",
  24100. "type": "string"
  24101. },
  24102. "reckondate": {
  24103. "description": "日照时期(yyyyMMdd)",
  24104. "type": "string"
  24105. },
  24106. "spotactualpl": {
  24107. "description": "现货损益",
  24108. "type": "number"
  24109. },
  24110. "spotfloatpl": {
  24111. "description": "现货浮动损益",
  24112. "type": "number"
  24113. },
  24114. "sumactualpl": {
  24115. "description": "实际损益 = (ActualPL + FutureActualPL)",
  24116. "type": "number"
  24117. },
  24118. "sumpl": {
  24119. "description": "总敞口损益 | 汇总损益",
  24120. "type": "number"
  24121. },
  24122. "totalfutureqty": {
  24123. "description": "期货头寸总量",
  24124. "type": "number"
  24125. },
  24126. "totalneedhedgeqty": {
  24127. "description": "应套保总量",
  24128. "type": "number"
  24129. },
  24130. "totalspotqty": {
  24131. "description": "现货头寸总量",
  24132. "type": "number"
  24133. },
  24134. "updatetime": {
  24135. "description": "更新时间",
  24136. "type": "string"
  24137. }
  24138. }
  24139. },
  24140. "models.Ermcp3Brand": {
  24141. "type": "object",
  24142. "properties": {
  24143. "areauserid": {
  24144. "description": "用户id",
  24145. "type": "integer"
  24146. },
  24147. "brandid": {
  24148. "description": "品牌id",
  24149. "type": "integer"
  24150. },
  24151. "brandname": {
  24152. "description": "品牌名称",
  24153. "type": "string"
  24154. },
  24155. "deliverygoodsid": {
  24156. "description": "品种ID",
  24157. "type": "integer"
  24158. },
  24159. "isvalid": {
  24160. "description": "是否有效",
  24161. "type": "integer"
  24162. }
  24163. }
  24164. },
  24165. "models.Ermcp3Contract": {
  24166. "type": "object",
  24167. "properties": {
  24168. "accountid": {
  24169. "description": "期货账户id",
  24170. "type": "string"
  24171. },
  24172. "amount": {
  24173. "description": "金额 [1:一口价、3:暂定价]",
  24174. "type": "number"
  24175. },
  24176. "attachment": {
  24177. "description": "附件",
  24178. "type": "string"
  24179. },
  24180. "auditremark": {
  24181. "description": "审核意见",
  24182. "type": "string"
  24183. },
  24184. "audittime": {
  24185. "description": "审核时间",
  24186. "type": "string"
  24187. },
  24188. "biztype": {
  24189. "description": "业务类型 1-套保 2-套利",
  24190. "type": "integer"
  24191. },
  24192. "brandname": {
  24193. "description": "品牌名称",
  24194. "type": "string"
  24195. },
  24196. "buynickname": {
  24197. "description": "销售方昵称",
  24198. "type": "string"
  24199. },
  24200. "buyuserid": {
  24201. "description": "采购方ID",
  24202. "type": "integer"
  24203. },
  24204. "buyusername": {
  24205. "description": "采购方名称",
  24206. "type": "string"
  24207. },
  24208. "contracctstatus": {
  24209. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  24210. "type": "integer"
  24211. },
  24212. "contractmargin": {
  24213. "description": "合同保证金",
  24214. "type": "number"
  24215. },
  24216. "contractno": {
  24217. "description": "现货合同编号",
  24218. "type": "string"
  24219. },
  24220. "contracttype": {
  24221. "description": "现货合同类型 - 1:采购 -1:销售",
  24222. "type": "integer"
  24223. },
  24224. "convertfactor": {
  24225. "description": "标仓系数(品类)",
  24226. "type": "number"
  24227. },
  24228. "createtime": {
  24229. "description": "创建时间",
  24230. "type": "string"
  24231. },
  24232. "currencyid": {
  24233. "description": "币种id",
  24234. "type": "integer"
  24235. },
  24236. "currencyname": {
  24237. "description": "币种名称",
  24238. "type": "string"
  24239. },
  24240. "deliveryenddate": {
  24241. "description": "交收期(结束)",
  24242. "type": "string"
  24243. },
  24244. "deliverygoodscode": {
  24245. "description": "现货品种代码",
  24246. "type": "string"
  24247. },
  24248. "deliverygoodsid": {
  24249. "description": "现货品种ID",
  24250. "type": "integer"
  24251. },
  24252. "deliverygoodsname": {
  24253. "description": "现货品种名称",
  24254. "type": "string"
  24255. },
  24256. "deliverystartdate": {
  24257. "description": "交收期(开始)",
  24258. "type": "string"
  24259. },
  24260. "enddate": {
  24261. "description": "点价结束日期 [2:点价 3:暂定价]",
  24262. "type": "string"
  24263. },
  24264. "enumdicname": {
  24265. "description": "单位名称",
  24266. "type": "string"
  24267. },
  24268. "goodscode": {
  24269. "description": "点价合约代码",
  24270. "type": "string"
  24271. },
  24272. "goodsid": {
  24273. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  24274. "type": "integer"
  24275. },
  24276. "goodsname": {
  24277. "description": "点价商品名称",
  24278. "type": "string"
  24279. },
  24280. "margin": {
  24281. "description": "当前保证金",
  24282. "type": "number"
  24283. },
  24284. "meruserid": {
  24285. "description": "跟单员id",
  24286. "type": "integer"
  24287. },
  24288. "meruserlogincode": {
  24289. "description": "跟单员登录代码",
  24290. "type": "string"
  24291. },
  24292. "merusername": {
  24293. "description": "跟单员名称",
  24294. "type": "string"
  24295. },
  24296. "pointdesc": {
  24297. "description": "点价备注",
  24298. "type": "string"
  24299. },
  24300. "price": {
  24301. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  24302. "type": "number"
  24303. },
  24304. "pricemove": {
  24305. "description": "升贴水 [2:点价 3:暂定价]",
  24306. "type": "number"
  24307. },
  24308. "pricetype": {
  24309. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  24310. "type": "integer"
  24311. },
  24312. "producttype": {
  24313. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  24314. "type": "integer"
  24315. },
  24316. "qty": {
  24317. "description": "数量",
  24318. "type": "number"
  24319. },
  24320. "remark": {
  24321. "description": "备注",
  24322. "type": "string"
  24323. },
  24324. "saleuserid": {
  24325. "description": "业务员id",
  24326. "type": "integer"
  24327. },
  24328. "saleuserlogincode": {
  24329. "description": "业务员登录代码",
  24330. "type": "string"
  24331. },
  24332. "saleusername": {
  24333. "description": "业务员名称",
  24334. "type": "string"
  24335. },
  24336. "sellnickname": {
  24337. "description": "采购方昵称",
  24338. "type": "string"
  24339. },
  24340. "selluserid": {
  24341. "description": "销售方ID",
  24342. "type": "integer"
  24343. },
  24344. "sellusername": {
  24345. "description": "销售方名称",
  24346. "type": "string"
  24347. },
  24348. "spotcontractid": {
  24349. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  24350. "type": "string"
  24351. },
  24352. "spotgoodsbrandid": {
  24353. "description": "现货品牌ID(DGFactoryItem表的ID)",
  24354. "type": "integer"
  24355. },
  24356. "spotgoodsdesc": {
  24357. "description": "商品型号",
  24358. "type": "string"
  24359. },
  24360. "startdate": {
  24361. "description": "点价开始日期 [2:点价 3:暂定价]",
  24362. "type": "string"
  24363. },
  24364. "subjectid": {
  24365. "description": "交易主体ID",
  24366. "type": "integer"
  24367. },
  24368. "subjectname": {
  24369. "description": "交易主体名称",
  24370. "type": "string"
  24371. },
  24372. "tradeuserid": {
  24373. "description": "交易员id",
  24374. "type": "integer"
  24375. },
  24376. "tradeuserlogincode": {
  24377. "description": "交易员登录代码",
  24378. "type": "string"
  24379. },
  24380. "tradeusername": {
  24381. "description": "交易员名称",
  24382. "type": "string"
  24383. },
  24384. "unitid": {
  24385. "description": "单位id(取品类上的单位id)",
  24386. "type": "integer"
  24387. },
  24388. "updatetime": {
  24389. "description": "更新时间",
  24390. "type": "string"
  24391. },
  24392. "userid": {
  24393. "description": "所属机构ID",
  24394. "type": "integer"
  24395. },
  24396. "vatrate": {
  24397. "description": "增值税率",
  24398. "type": "number"
  24399. },
  24400. "wrstandardcode": {
  24401. "description": "品类代码",
  24402. "type": "string"
  24403. },
  24404. "wrstandardid": {
  24405. "description": "品类ID",
  24406. "type": "integer"
  24407. },
  24408. "wrstandardname": {
  24409. "description": "品类名称",
  24410. "type": "string"
  24411. }
  24412. }
  24413. },
  24414. "models.Ermcp3ContractMiddleGoodsCfg": {
  24415. "type": "object",
  24416. "properties": {
  24417. "agreeunit": {
  24418. "description": "合约乘数",
  24419. "type": "number"
  24420. },
  24421. "convertratio": {
  24422. "description": "期货品种系数",
  24423. "type": "number"
  24424. },
  24425. "covertqty": {
  24426. "description": "折算手数 =【待点价量 / (合约乘数*期货品种系数) 】",
  24427. "type": "integer"
  24428. },
  24429. "middlegoodsid": {
  24430. "description": "套保品种ID",
  24431. "type": "integer"
  24432. },
  24433. "middlegoodspricedqty3": {
  24434. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  24435. "type": "string",
  24436. "example": "0"
  24437. },
  24438. "pendingpricedqty": {
  24439. "description": "待点价量",
  24440. "type": "string",
  24441. "example": "0"
  24442. },
  24443. "relatedmiddlegoodsqty": {
  24444. "description": "已关联量(套保品种-期货)",
  24445. "type": "string",
  24446. "example": "0"
  24447. },
  24448. "spotcontractid": {
  24449. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  24450. "type": "string"
  24451. }
  24452. }
  24453. },
  24454. "models.Ermcp3ExposureContractDetail": {
  24455. "type": "object",
  24456. "properties": {
  24457. "biztype": {
  24458. "description": "业务类型 1-套保 2-套利",
  24459. "type": "integer"
  24460. },
  24461. "brandname": {
  24462. "description": "品牌名称",
  24463. "type": "string"
  24464. },
  24465. "buyuserid": {
  24466. "description": "采购方id",
  24467. "type": "integer"
  24468. },
  24469. "buyusername": {
  24470. "description": "采购方名称",
  24471. "type": "string"
  24472. },
  24473. "contractno": {
  24474. "description": "合同编号",
  24475. "type": "string"
  24476. },
  24477. "contracttype": {
  24478. "description": "现货合同类型 - 1:采购 -1:销售",
  24479. "type": "integer"
  24480. },
  24481. "convertfactor": {
  24482. "description": "标仓系数",
  24483. "type": "number"
  24484. },
  24485. "convertratio": {
  24486. "description": "折算系数(套保品种)",
  24487. "type": "number"
  24488. },
  24489. "curqty": {
  24490. "description": "今定价量",
  24491. "type": "number"
  24492. },
  24493. "deliverygoodscode": {
  24494. "description": "现货品种代码",
  24495. "type": "string"
  24496. },
  24497. "deliverygoodsid": {
  24498. "description": "现货品种id",
  24499. "type": "integer"
  24500. },
  24501. "deliverygoodsname": {
  24502. "description": "现货品种名称",
  24503. "type": "string"
  24504. },
  24505. "diffhedgeqty": {
  24506. "description": "套保变动量",
  24507. "type": "number"
  24508. },
  24509. "diffneedhedgeqty": {
  24510. "description": "应套保变动量",
  24511. "type": "number"
  24512. },
  24513. "diffqty": {
  24514. "description": "套保品种今变动量",
  24515. "type": "number"
  24516. },
  24517. "enumdicname": {
  24518. "description": "单位名称",
  24519. "type": "string"
  24520. },
  24521. "mgunitname": {
  24522. "description": "套保品种单位名称",
  24523. "type": "string"
  24524. },
  24525. "middlegoodscode": {
  24526. "description": "套保品种代码",
  24527. "type": "string"
  24528. },
  24529. "middlegoodsid": {
  24530. "description": "套保品种id",
  24531. "type": "integer"
  24532. },
  24533. "middlegoodsname": {
  24534. "description": "套保品种名称",
  24535. "type": "string"
  24536. },
  24537. "needarbitrageratio": {
  24538. "description": "应套利比例",
  24539. "type": "number"
  24540. },
  24541. "needhedgeratio": {
  24542. "description": "应套保比例",
  24543. "type": "number"
  24544. },
  24545. "pricedqty": {
  24546. "description": "已定价量",
  24547. "type": "number"
  24548. },
  24549. "qty": {
  24550. "description": "合同量",
  24551. "type": "number"
  24552. },
  24553. "reckondate": {
  24554. "description": "交易日(reckondate)",
  24555. "type": "string"
  24556. },
  24557. "selluserid": {
  24558. "description": "销售方id",
  24559. "type": "integer"
  24560. },
  24561. "sellusername": {
  24562. "description": "销售方名称",
  24563. "type": "string"
  24564. },
  24565. "spotcontractid": {
  24566. "description": "合同id",
  24567. "type": "string"
  24568. },
  24569. "todaypricedqty": {
  24570. "description": "今定价量",
  24571. "type": "number"
  24572. },
  24573. "tradedate": {
  24574. "description": "交易日",
  24575. "type": "string"
  24576. },
  24577. "unitid": {
  24578. "description": "品类单位id",
  24579. "type": "integer"
  24580. },
  24581. "userid": {
  24582. "description": "机构id",
  24583. "type": "integer"
  24584. },
  24585. "username": {
  24586. "description": "交易用户",
  24587. "type": "string"
  24588. },
  24589. "wrstandardcode": {
  24590. "description": "现货商品代码",
  24591. "type": "string"
  24592. },
  24593. "wrstandardid": {
  24594. "description": "现货商品id",
  24595. "type": "integer"
  24596. },
  24597. "wrstandardname": {
  24598. "description": "现货商品名称",
  24599. "type": "string"
  24600. }
  24601. }
  24602. },
  24603. "models.Ermcp3ExposureDetail": {
  24604. "type": "object",
  24605. "properties": {
  24606. "areauserid": {
  24607. "description": "机构ID",
  24608. "type": "integer"
  24609. },
  24610. "changeQty": {
  24611. "description": "套保变动量",
  24612. "type": "number"
  24613. },
  24614. "contracttype": {
  24615. "description": "现货合同类型 - 1:采购 -1:销售",
  24616. "type": "integer"
  24617. },
  24618. "convertfactor": {
  24619. "description": "标仓系数",
  24620. "type": "number"
  24621. },
  24622. "convertratio": {
  24623. "description": "折算系数",
  24624. "type": "number"
  24625. },
  24626. "createtime": {
  24627. "description": "时间",
  24628. "type": "string"
  24629. },
  24630. "enumdicname": {
  24631. "description": "现货商品单位名称",
  24632. "type": "string"
  24633. },
  24634. "logtype": {
  24635. "description": "类型 - 1:套保计划 2:现货合同",
  24636. "type": "integer"
  24637. },
  24638. "mgunitid": {
  24639. "description": "套保品种单位id",
  24640. "type": "integer"
  24641. },
  24642. "mgunitidname": {
  24643. "description": "套保品种单位名称",
  24644. "type": "string"
  24645. },
  24646. "middlegoodsId": {
  24647. "description": "套保商品id",
  24648. "type": "integer"
  24649. },
  24650. "middlegoodscode": {
  24651. "description": "套保商品代码",
  24652. "type": "string"
  24653. },
  24654. "middlegoodsname": {
  24655. "description": "套保商品名称",
  24656. "type": "string"
  24657. },
  24658. "qty": {
  24659. "description": "数量",
  24660. "type": "number"
  24661. },
  24662. "relateNo": {
  24663. "description": "现货合同/套保计划编号",
  24664. "type": "string"
  24665. },
  24666. "unitid": {
  24667. "description": "现货商品单位id",
  24668. "type": "integer"
  24669. },
  24670. "wrstandardcode": {
  24671. "description": "现货商品代码",
  24672. "type": "string"
  24673. },
  24674. "wrstandardid": {
  24675. "description": "现货商品ID(SEQ_WRSTANDARD)",
  24676. "type": "integer"
  24677. },
  24678. "wrstandardname": {
  24679. "description": "现货商品名称",
  24680. "type": "string"
  24681. }
  24682. }
  24683. },
  24684. "models.Ermcp3ExposureFutuDetail": {
  24685. "type": "object",
  24686. "properties": {
  24687. "accountid": {
  24688. "description": "交易账户id",
  24689. "type": "integer"
  24690. },
  24691. "accountname": {
  24692. "description": "交易账户",
  24693. "type": "string"
  24694. },
  24695. "begindate": {
  24696. "description": "开始交易日",
  24697. "type": "string"
  24698. },
  24699. "buyorsell": {
  24700. "description": "方向 0-买 1-卖",
  24701. "type": "integer"
  24702. },
  24703. "diffmgqty": {
  24704. "description": "套保品种今变化量",
  24705. "type": "number"
  24706. },
  24707. "diffneedqty": {
  24708. "description": "应套保总量变化量",
  24709. "type": "number"
  24710. },
  24711. "difftradeqty": {
  24712. "description": "交易品种今变化量",
  24713. "type": "number"
  24714. },
  24715. "enddate": {
  24716. "description": "结束交易日",
  24717. "type": "string"
  24718. },
  24719. "enumdicname": {
  24720. "description": "单位名称",
  24721. "type": "string"
  24722. },
  24723. "goodscode": {
  24724. "description": "商品代码",
  24725. "type": "string"
  24726. },
  24727. "goodsid": {
  24728. "description": "商品id",
  24729. "type": "integer"
  24730. },
  24731. "goodsname": {
  24732. "description": "商品名称",
  24733. "type": "string"
  24734. },
  24735. "holdqty": {
  24736. "description": "期末持仓量",
  24737. "type": "number"
  24738. },
  24739. "middlegoodscode": {
  24740. "description": "套保商品代码",
  24741. "type": "string"
  24742. },
  24743. "middlegoodsid": {
  24744. "description": "套保商品id",
  24745. "type": "integer"
  24746. },
  24747. "middlegoodsname": {
  24748. "description": "套保商品名称",
  24749. "type": "string"
  24750. },
  24751. "oriholdqty": {
  24752. "description": "期初持仓量",
  24753. "type": "number"
  24754. },
  24755. "reckondate": {
  24756. "description": "交易日(RECKONDATE)",
  24757. "type": "string"
  24758. },
  24759. "todaycloseqty": {
  24760. "description": "今平仓量",
  24761. "type": "number"
  24762. },
  24763. "todayopenqty": {
  24764. "description": "今开仓量",
  24765. "type": "number"
  24766. },
  24767. "tradedate": {
  24768. "description": "交易日(RECKONDATE)",
  24769. "type": "string"
  24770. },
  24771. "username": {
  24772. "description": "用户名称(交易用户)",
  24773. "type": "string"
  24774. }
  24775. }
  24776. },
  24777. "models.Ermcp3ExposureHedgeplanDetail": {
  24778. "type": "object",
  24779. "properties": {
  24780. "biztype": {
  24781. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  24782. "type": "integer"
  24783. },
  24784. "changqty": {
  24785. "description": "应套保总量变化量",
  24786. "type": "number"
  24787. },
  24788. "contracttype": {
  24789. "description": "计划类型 - 1:采购 -1:销售",
  24790. "type": "integer"
  24791. },
  24792. "convertratio": {
  24793. "description": "折算系数(套保品种)",
  24794. "type": "number"
  24795. },
  24796. "deliverygoodscode": {
  24797. "description": "现货商品代码",
  24798. "type": "string"
  24799. },
  24800. "deliverygoodsid": {
  24801. "description": "现货商品id",
  24802. "type": "integer"
  24803. },
  24804. "deliverygoodsname": {
  24805. "description": "现货商吕名称",
  24806. "type": "string"
  24807. },
  24808. "dgunitid": {
  24809. "description": "现货商品单位id",
  24810. "type": "integer"
  24811. },
  24812. "dgunitidname": {
  24813. "description": "单位名称(现货商品)",
  24814. "type": "string"
  24815. },
  24816. "diffqty": {
  24817. "description": "套保品种今变动量",
  24818. "type": "number"
  24819. },
  24820. "enumdicname": {
  24821. "description": "单位名称(品类)",
  24822. "type": "string"
  24823. },
  24824. "hedgeplanid": {
  24825. "description": "套保计划id",
  24826. "type": "string"
  24827. },
  24828. "hedgeplanno": {
  24829. "description": "套保计划名称",
  24830. "type": "string"
  24831. },
  24832. "hedgeplanstatus": {
  24833. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  24834. "type": "integer"
  24835. },
  24836. "mgunitidname": {
  24837. "description": "单位名称(套保商品)",
  24838. "type": "string"
  24839. },
  24840. "middlegoodscode": {
  24841. "description": "套保品种代码",
  24842. "type": "string"
  24843. },
  24844. "middlegoodsid": {
  24845. "description": "套保品种id",
  24846. "type": "integer"
  24847. },
  24848. "middlegoodsname": {
  24849. "description": "套保品种名称",
  24850. "type": "string"
  24851. },
  24852. "needarbitrageratio": {
  24853. "description": "应套利比例",
  24854. "type": "number"
  24855. },
  24856. "needhedgeratio": {
  24857. "description": "应套保比例",
  24858. "type": "number"
  24859. },
  24860. "pricedqty": {
  24861. "description": "已定价量",
  24862. "type": "number"
  24863. },
  24864. "qty": {
  24865. "description": "合同量",
  24866. "type": "number"
  24867. },
  24868. "reckondate": {
  24869. "description": "交易日(reckondate)",
  24870. "type": "string"
  24871. },
  24872. "tradedate": {
  24873. "description": "交易日(登记日)",
  24874. "type": "string"
  24875. },
  24876. "unitid": {
  24877. "description": "品类单位id",
  24878. "type": "integer"
  24879. },
  24880. "userid": {
  24881. "description": "机构id",
  24882. "type": "integer"
  24883. },
  24884. "wrstandardcode": {
  24885. "description": "品类代码",
  24886. "type": "string"
  24887. },
  24888. "wrstandardid": {
  24889. "description": "品类id",
  24890. "type": "integer"
  24891. },
  24892. "wrstandardname": {
  24893. "description": "品类名称",
  24894. "type": "string"
  24895. }
  24896. }
  24897. },
  24898. "models.Ermcp3ExposureParamChLog": {
  24899. "type": "object",
  24900. "properties": {
  24901. "accountid": {
  24902. "description": "期货账户ID (作废, 默认为0)",
  24903. "type": "integer"
  24904. },
  24905. "aftervalue": {
  24906. "description": "应套保\\套利量变更后(调整后应套保总量)",
  24907. "type": "number"
  24908. },
  24909. "areauserid": {
  24910. "description": "所属机构\\交易用户ID",
  24911. "type": "integer"
  24912. },
  24913. "beforevalue": {
  24914. "description": "应套保\\套利量变更前(调整前应套保总量)",
  24915. "type": "number"
  24916. },
  24917. "begindate": {
  24918. "description": "开始交易日",
  24919. "type": "string"
  24920. },
  24921. "changelogtype": {
  24922. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  24923. "type": "integer"
  24924. },
  24925. "curvalue": {
  24926. "description": "当前套保\\套利量(套保总量|套利总量)",
  24927. "type": "number"
  24928. },
  24929. "diffvalue": {
  24930. "description": "应套保总量变化量",
  24931. "type": "number"
  24932. },
  24933. "enddate": {
  24934. "description": "结束交易日",
  24935. "type": "string"
  24936. },
  24937. "logdatetime": {
  24938. "description": "流水日期",
  24939. "type": "string"
  24940. },
  24941. "logid": {
  24942. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  24943. "type": "string"
  24944. },
  24945. "middlegoodscode": {
  24946. "description": "套保品种代码",
  24947. "type": "string"
  24948. },
  24949. "middlegoodsid": {
  24950. "description": "套保品种",
  24951. "type": "integer"
  24952. },
  24953. "middlegoodsname": {
  24954. "description": "套保品种名称",
  24955. "type": "string"
  24956. },
  24957. "paramaftervalue": {
  24958. "description": "参数变更后(调整后参数值)",
  24959. "type": "number"
  24960. },
  24961. "parambeforevalue": {
  24962. "description": "参数变更前(调整前参数值)",
  24963. "type": "number"
  24964. },
  24965. "reckondate": {
  24966. "description": "交易日(reckondate)",
  24967. "type": "string"
  24968. },
  24969. "tradedate": {
  24970. "description": "交易日(yyyyMMdd)",
  24971. "type": "string"
  24972. }
  24973. }
  24974. },
  24975. "models.Ermcp3ExpourseReport": {
  24976. "type": "object",
  24977. "properties": {
  24978. "accountid": {
  24979. "description": "期货账户ID (作废, 默认为0)",
  24980. "type": "integer"
  24981. },
  24982. "accountname": {
  24983. "description": "机构名称",
  24984. "type": "string"
  24985. },
  24986. "arbitrageqty": {
  24987. "description": "套利量",
  24988. "type": "number"
  24989. },
  24990. "areauserid": {
  24991. "description": "所属机构\\交易用户ID",
  24992. "type": "integer"
  24993. },
  24994. "begindate": {
  24995. "description": "开始交易日",
  24996. "type": "string"
  24997. },
  24998. "buyfutureqty": {
  24999. "description": "买入期货数量",
  25000. "type": "number"
  25001. },
  25002. "buyplanqty": {
  25003. "description": "采购计划数量",
  25004. "type": "number"
  25005. },
  25006. "buypricedqty": {
  25007. "description": "采购合同已定价数量",
  25008. "type": "number"
  25009. },
  25010. "cycletime": {
  25011. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  25012. "type": "string"
  25013. },
  25014. "cycletype": {
  25015. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  25016. "type": "integer"
  25017. },
  25018. "diffexposure": {
  25019. "description": "变动量(套保敞口)",
  25020. "type": "number"
  25021. },
  25022. "difffutuqty": {
  25023. "description": "变动量(期货)",
  25024. "type": "number"
  25025. },
  25026. "diffhedgeqty": {
  25027. "description": "变动量(现货应套保总量)",
  25028. "type": "number"
  25029. },
  25030. "diffmgqtya": {
  25031. "description": "套保变动量",
  25032. "type": "number"
  25033. },
  25034. "diffmgqtyb": {
  25035. "description": "套利变动量",
  25036. "type": "number"
  25037. },
  25038. "diffneedqty": {
  25039. "description": "应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量",
  25040. "type": "number"
  25041. },
  25042. "diffqty": {
  25043. "description": "变动量(总敞口)",
  25044. "type": "number"
  25045. },
  25046. "diffspotqty": {
  25047. "description": "变动量(现货) | 除税变动量",
  25048. "type": "number"
  25049. },
  25050. "enddate": {
  25051. "description": "结束交易日",
  25052. "type": "string"
  25053. },
  25054. "enumdicname": {
  25055. "description": "单位名称",
  25056. "type": "string"
  25057. },
  25058. "hedgeqty": {
  25059. "description": "套保量",
  25060. "type": "number"
  25061. },
  25062. "mgneedhedgeratio": {
  25063. "description": "套保比例(套保品的)",
  25064. "type": "number"
  25065. },
  25066. "middlegoodsid": {
  25067. "description": "套保品种ID",
  25068. "type": "integer"
  25069. },
  25070. "middlegoodsname": {
  25071. "description": "套保商品名称",
  25072. "type": "string"
  25073. },
  25074. "middlgoodscode": {
  25075. "description": "套保商品代码",
  25076. "type": "string"
  25077. },
  25078. "needarbitrageqty": {
  25079. "description": "应套利量",
  25080. "type": "number"
  25081. },
  25082. "needarbitrageratio": {
  25083. "description": "套利比例(套保品的)",
  25084. "type": "number"
  25085. },
  25086. "needhedgeexposoure": {
  25087. "description": "应套保敞口(套保敞口)",
  25088. "type": "number"
  25089. },
  25090. "needhedgeqty": {
  25091. "description": "应套保量",
  25092. "type": "number"
  25093. },
  25094. "needhedgeratio": {
  25095. "description": "应套保敞口比例",
  25096. "type": "number"
  25097. },
  25098. "needqty": {
  25099. "description": "应套总量 = 应套保量 + 应套利量",
  25100. "type": "number"
  25101. },
  25102. "oriarbitrageqty": {
  25103. "description": "期初套利量",
  25104. "type": "number"
  25105. },
  25106. "oribuyfutureqty": {
  25107. "description": "期初买入期货数量",
  25108. "type": "number"
  25109. },
  25110. "oribuyplanqty": {
  25111. "description": "期初采购计划数量",
  25112. "type": "number"
  25113. },
  25114. "oribuypricedqty": {
  25115. "description": "期初采购合同已定价数量",
  25116. "type": "number"
  25117. },
  25118. "orihedgeqty": {
  25119. "description": "期初套保量",
  25120. "type": "number"
  25121. },
  25122. "orineedarbitrageqty": {
  25123. "description": "期初应套利量",
  25124. "type": "number"
  25125. },
  25126. "orineedhedgeexposoure": {
  25127. "description": "期初应套保敞口",
  25128. "type": "number"
  25129. },
  25130. "orineedhedgeqty": {
  25131. "description": "期初应套保量",
  25132. "type": "number"
  25133. },
  25134. "orisellfutureqty": {
  25135. "description": "期初卖出期货数量",
  25136. "type": "number"
  25137. },
  25138. "orisellplanqty": {
  25139. "description": "期初销售计划数量",
  25140. "type": "number"
  25141. },
  25142. "orisellpricedqty": {
  25143. "description": "期初销售合同已定价数量",
  25144. "type": "number"
  25145. },
  25146. "oritotalexposure": {
  25147. "description": "期初实时总敞口",
  25148. "type": "number"
  25149. },
  25150. "oritotalfutureqty": {
  25151. "description": "期初期货头寸总量",
  25152. "type": "number"
  25153. },
  25154. "oritotalneedhedgeqty": {
  25155. "description": "期初应套保总量",
  25156. "type": "number"
  25157. },
  25158. "oritotalspotqty": {
  25159. "description": "期初现货头寸总量",
  25160. "type": "number"
  25161. },
  25162. "reckondate": {
  25163. "description": "日照时期(yyyyMMdd)",
  25164. "type": "string"
  25165. },
  25166. "sellfutureqty": {
  25167. "description": "卖出期货数量",
  25168. "type": "number"
  25169. },
  25170. "sellplanqty": {
  25171. "description": "销售计划数量",
  25172. "type": "number"
  25173. },
  25174. "sellpricedqty": {
  25175. "description": "销售合同已定价数量",
  25176. "type": "number"
  25177. },
  25178. "totalexposure": {
  25179. "description": "实时总敞口(总敞口)",
  25180. "type": "number"
  25181. },
  25182. "totalfutureqty": {
  25183. "description": "期货头寸总量(期货总量)",
  25184. "type": "number"
  25185. },
  25186. "totalhedgeratio": {
  25187. "description": "敞口比例",
  25188. "type": "number"
  25189. },
  25190. "totalneedhedgeqty": {
  25191. "description": "应套保总量(现货应套保总量)",
  25192. "type": "number"
  25193. },
  25194. "totalspotqty": {
  25195. "description": "现货头寸总量 | 除税总量",
  25196. "type": "number"
  25197. },
  25198. "unitid": {
  25199. "description": "单位id",
  25200. "type": "integer"
  25201. },
  25202. "updatetime": {
  25203. "description": "更新时间",
  25204. "type": "string"
  25205. }
  25206. }
  25207. },
  25208. "models.Ermcp3FinanceReport": {
  25209. "type": "object",
  25210. "properties": {
  25211. "accountname": {
  25212. "description": "机构名称",
  25213. "type": "string"
  25214. },
  25215. "areauserid": {
  25216. "description": "所属机构\\交易用户ID",
  25217. "type": "integer"
  25218. },
  25219. "begindate": {
  25220. "description": "开始交易日",
  25221. "type": "string"
  25222. },
  25223. "biztype": {
  25224. "description": "业务类型 - 1:套保 2:套利",
  25225. "type": "integer"
  25226. },
  25227. "brandname": {
  25228. "description": "品牌名称",
  25229. "type": "string"
  25230. },
  25231. "buypreinvoicedamount": {
  25232. "description": "采购预收票额(预收票额)",
  25233. "type": "number"
  25234. },
  25235. "buyprepaidamount": {
  25236. "description": "采购预付款额(预付货款额)",
  25237. "type": "number"
  25238. },
  25239. "buytodayinvoiceamount": {
  25240. "description": "采购今收票额(今收票额)",
  25241. "type": "number"
  25242. },
  25243. "buytodayrefundamount": {
  25244. "description": "采购今收退款额(今收退款额)",
  25245. "type": "number"
  25246. },
  25247. "buytodaysettleamount": {
  25248. "description": "采购今付款额(今付货款额)",
  25249. "type": "number"
  25250. },
  25251. "buyuninvoicedamount": {
  25252. "description": "采购应收票额(应收票额)",
  25253. "type": "number"
  25254. },
  25255. "buyunpaidamount": {
  25256. "description": "采购应付款额(应付货款额)",
  25257. "type": "number"
  25258. },
  25259. "currencyid": {
  25260. "description": "结算币种ID",
  25261. "type": "integer"
  25262. },
  25263. "currencyname": {
  25264. "description": "币种名称",
  25265. "type": "string"
  25266. },
  25267. "cycletime": {
  25268. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  25269. "type": "string"
  25270. },
  25271. "cycletype": {
  25272. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  25273. "type": "integer"
  25274. },
  25275. "deliverygoodscode": {
  25276. "description": "现货品种代码",
  25277. "type": "string"
  25278. },
  25279. "deliverygoodsid": {
  25280. "description": "现货品种ID",
  25281. "type": "integer"
  25282. },
  25283. "deliverygoodsname": {
  25284. "description": "现货品种名称",
  25285. "type": "string"
  25286. },
  25287. "enddate": {
  25288. "description": "结束交易日",
  25289. "type": "string"
  25290. },
  25291. "reckondate": {
  25292. "description": "日照时期(yyyyMMdd)",
  25293. "type": "string"
  25294. },
  25295. "sellpreinvoicedamount": {
  25296. "description": "销售预开票额(预开票额)",
  25297. "type": "number"
  25298. },
  25299. "sellprepaidamount": {
  25300. "description": "销售预收款额(预收货款额)",
  25301. "type": "number"
  25302. },
  25303. "selltodayinvoiceamount": {
  25304. "description": "销售今开票额(今开票额)",
  25305. "type": "number"
  25306. },
  25307. "selltodayrefundamount": {
  25308. "description": "销售今付退款额(今付退款额)",
  25309. "type": "number"
  25310. },
  25311. "selltodaysettleamount": {
  25312. "description": "销售今收款额(今收货款额)",
  25313. "type": "number"
  25314. },
  25315. "selluninvoicedamount": {
  25316. "description": "销售应开票额(应开票额)",
  25317. "type": "number"
  25318. },
  25319. "sellunpaidamount": {
  25320. "description": "销售应收款额(应收货款额)",
  25321. "type": "number"
  25322. },
  25323. "spotgoodsbrandid": {
  25324. "description": "现货品牌ID",
  25325. "type": "integer"
  25326. },
  25327. "todaypaysum": {
  25328. "description": "今付款合计",
  25329. "type": "number"
  25330. },
  25331. "todayreceivesum": {
  25332. "description": "今收款合计",
  25333. "type": "number"
  25334. },
  25335. "updatetime": {
  25336. "description": "更新时间",
  25337. "type": "string"
  25338. },
  25339. "wrfactortypeid": {
  25340. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  25341. "type": "integer"
  25342. },
  25343. "wrstandardcode": {
  25344. "description": "品类代码",
  25345. "type": "string"
  25346. },
  25347. "wrstandardid": {
  25348. "description": "现货商品ID",
  25349. "type": "integer"
  25350. },
  25351. "wrstandardname": {
  25352. "description": "品类名称",
  25353. "type": "string"
  25354. }
  25355. }
  25356. },
  25357. "models.Ermcp3GoodsGroup": {
  25358. "type": "object",
  25359. "required": [
  25360. "areauserid"
  25361. ],
  25362. "properties": {
  25363. "agreeunit": {
  25364. "description": "合约单位",
  25365. "type": "number"
  25366. },
  25367. "areauserid": {
  25368. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  25369. "type": "integer"
  25370. },
  25371. "canshort": {
  25372. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  25373. "type": "integer"
  25374. },
  25375. "closepricemode": {
  25376. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  25377. "type": "integer"
  25378. },
  25379. "createtime": {
  25380. "description": "创建时间",
  25381. "type": "string"
  25382. },
  25383. "creatorid": {
  25384. "description": "创建人",
  25385. "type": "integer"
  25386. },
  25387. "currencyid": {
  25388. "description": "报价货币ID",
  25389. "type": "integer"
  25390. },
  25391. "decimalplace": {
  25392. "description": "报价小数位",
  25393. "type": "integer"
  25394. },
  25395. "enumdicname": {
  25396. "description": "单位名称",
  25397. "type": "string"
  25398. },
  25399. "exchangefullname": {
  25400. "description": "交易所全称",
  25401. "type": "string"
  25402. },
  25403. "excludecfg": {
  25404. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  25405. "type": "integer"
  25406. },
  25407. "exexchangecode": {
  25408. "description": "交易所代码",
  25409. "type": "string"
  25410. },
  25411. "exexchangeid": {
  25412. "description": "外部交易所ID[通道交易]",
  25413. "type": "integer"
  25414. },
  25415. "exexchangename": {
  25416. "description": "交易所名称",
  25417. "type": "string"
  25418. },
  25419. "goodsgroupid": {
  25420. "description": "商品组ID(自增ID)",
  25421. "type": "integer"
  25422. },
  25423. "goodsgroupname": {
  25424. "description": "商品组名称",
  25425. "type": "string"
  25426. },
  25427. "goodsgroupstatus": {
  25428. "description": "商品组状态 - 1:正常 2:注销",
  25429. "type": "integer"
  25430. },
  25431. "goodunitid": {
  25432. "description": "报价单位ID",
  25433. "type": "integer"
  25434. },
  25435. "groupcategroyid": {
  25436. "description": "品种分类ID",
  25437. "type": "integer"
  25438. },
  25439. "innerdealmode": {
  25440. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25441. "type": "integer"
  25442. },
  25443. "marketid": {
  25444. "description": "所属市场ID",
  25445. "type": "integer"
  25446. },
  25447. "modifierid": {
  25448. "description": "修改人",
  25449. "type": "integer"
  25450. },
  25451. "modifytime": {
  25452. "description": "修改时间",
  25453. "type": "string"
  25454. },
  25455. "outerdealmode": {
  25456. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25457. "type": "integer"
  25458. },
  25459. "outergroupcode": {
  25460. "description": "外部商品组代码[通道交易]",
  25461. "type": "string"
  25462. },
  25463. "quoteminunit": {
  25464. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25465. "type": "integer"
  25466. },
  25467. "quotesourcegroupid": {
  25468. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  25469. "type": "integer"
  25470. },
  25471. "syncgoodsqty": {
  25472. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  25473. "type": "integer"
  25474. }
  25475. }
  25476. },
  25477. "models.Ermcp3HPMiddleGoods": {
  25478. "type": "object",
  25479. "properties": {
  25480. "biztype": {
  25481. "description": "业务类型 1:套保 2:套利",
  25482. "type": "integer"
  25483. },
  25484. "contracttype": {
  25485. "description": "合同类型 1:采购 -1:销售",
  25486. "type": "integer"
  25487. },
  25488. "convertratio": {
  25489. "description": "折算系数",
  25490. "type": "number"
  25491. },
  25492. "customername": {
  25493. "description": "对手手名称",
  25494. "type": "string"
  25495. },
  25496. "customeruserid": {
  25497. "description": "对手id",
  25498. "type": "integer"
  25499. },
  25500. "enumdicname": {
  25501. "description": "现货单位名称",
  25502. "type": "string"
  25503. },
  25504. "hedgeplanid": {
  25505. "description": "计划id",
  25506. "type": "string"
  25507. },
  25508. "hedgeplanno": {
  25509. "description": "计划编号",
  25510. "type": "string"
  25511. },
  25512. "middlegoodsid": {
  25513. "description": "套保品种ID",
  25514. "type": "integer"
  25515. },
  25516. "middlegoodsplanqty3": {
  25517. "description": "应套保计划量",
  25518. "type": "number"
  25519. },
  25520. "needhedgeratio": {
  25521. "description": "套保比例",
  25522. "type": "number"
  25523. },
  25524. "pricedqty": {
  25525. "description": "已定价量",
  25526. "type": "number"
  25527. },
  25528. "relatedmiddlegoodsqty": {
  25529. "description": "已关联量(套保品种)(期货)",
  25530. "type": "number"
  25531. },
  25532. "unitid": {
  25533. "description": "现货单位id",
  25534. "type": "integer"
  25535. },
  25536. "userid": {
  25537. "description": "用户id",
  25538. "type": "integer"
  25539. },
  25540. "vatrate": {
  25541. "description": "增值税率",
  25542. "type": "number"
  25543. },
  25544. "wrstandardcode": {
  25545. "description": "现货商品代码",
  25546. "type": "string"
  25547. },
  25548. "wrstandardid": {
  25549. "description": "现货商品id",
  25550. "type": "integer"
  25551. },
  25552. "wrstandardname": {
  25553. "description": "现货商品名称",
  25554. "type": "string"
  25555. }
  25556. }
  25557. },
  25558. "models.Ermcp3HedgePlan": {
  25559. "type": "object",
  25560. "properties": {
  25561. "accountid": {
  25562. "description": "资金账号",
  25563. "type": "integer"
  25564. },
  25565. "areauserid": {
  25566. "description": "用户ID",
  25567. "type": "integer"
  25568. },
  25569. "auditid": {
  25570. "description": "审核id",
  25571. "type": "integer"
  25572. },
  25573. "auditname": {
  25574. "description": "审核人名称",
  25575. "type": "string"
  25576. },
  25577. "auditremark": {
  25578. "description": "审核备注",
  25579. "type": "string"
  25580. },
  25581. "auditsrc": {
  25582. "description": "审核来源 1-管理端 2-终端",
  25583. "type": "integer"
  25584. },
  25585. "audittime": {
  25586. "description": "审核时间",
  25587. "type": "string"
  25588. },
  25589. "contracttype": {
  25590. "description": "计划类型 - 1:采购 -1:销售",
  25591. "type": "integer"
  25592. },
  25593. "convertfactor": {
  25594. "description": "标仓系数",
  25595. "type": "number"
  25596. },
  25597. "createtime": {
  25598. "description": "创建时间",
  25599. "type": "string"
  25600. },
  25601. "currencyid": {
  25602. "description": "币种id",
  25603. "type": "integer"
  25604. },
  25605. "currencyname": {
  25606. "description": "币种名称",
  25607. "type": "string"
  25608. },
  25609. "deliverygoodscode": {
  25610. "description": "现货品种代码",
  25611. "type": "string"
  25612. },
  25613. "deliverygoodsid": {
  25614. "description": "现货品种ID",
  25615. "type": "integer"
  25616. },
  25617. "deliverygoodsname": {
  25618. "description": "现货品种名称",
  25619. "type": "string"
  25620. },
  25621. "enumdicname": {
  25622. "description": "单位名称(现货商品)",
  25623. "type": "string"
  25624. },
  25625. "hedgeplanid": {
  25626. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  25627. "type": "string"
  25628. },
  25629. "hedgeplanno": {
  25630. "description": "套保计划编号(名称)",
  25631. "type": "string"
  25632. },
  25633. "hedgeplanstatus": {
  25634. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  25635. "type": "integer"
  25636. },
  25637. "planqty": {
  25638. "description": "计划数量",
  25639. "type": "number"
  25640. },
  25641. "plantime": {
  25642. "description": "计划时间",
  25643. "type": "string"
  25644. },
  25645. "producttype": {
  25646. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  25647. "type": "integer"
  25648. },
  25649. "remark": {
  25650. "description": "备注",
  25651. "type": "string"
  25652. },
  25653. "spotgoodsdesc": {
  25654. "description": "商品型号",
  25655. "type": "string"
  25656. },
  25657. "taaccountname": {
  25658. "description": "资金账号名称",
  25659. "type": "string"
  25660. },
  25661. "tradeuserid": {
  25662. "description": "交易用户id",
  25663. "type": "integer"
  25664. },
  25665. "tradeusername": {
  25666. "description": "交易用户名称",
  25667. "type": "string"
  25668. },
  25669. "unitid": {
  25670. "description": "单位id(现货商品)",
  25671. "type": "integer"
  25672. },
  25673. "updatetime": {
  25674. "description": "更新时间",
  25675. "type": "string"
  25676. },
  25677. "vatrate": {
  25678. "description": "增值税率",
  25679. "type": "number"
  25680. },
  25681. "wrstandardcode": {
  25682. "description": "品类代码",
  25683. "type": "string"
  25684. },
  25685. "wrstandardid": {
  25686. "description": "品类id",
  25687. "type": "integer"
  25688. },
  25689. "wrstandardname": {
  25690. "description": "品类名称",
  25691. "type": "string"
  25692. },
  25693. "wrunitid": {
  25694. "description": "品类单位id",
  25695. "type": "integer"
  25696. },
  25697. "wrunitidame": {
  25698. "description": "品类单位名称",
  25699. "type": "string"
  25700. }
  25701. }
  25702. },
  25703. "models.Ermcp3InnerTradeLink": {
  25704. "type": "object",
  25705. "properties": {
  25706. "accountid": {
  25707. "description": "期货账号代码 | 资金账号ID",
  25708. "type": "integer"
  25709. },
  25710. "buyorsell": {
  25711. "description": "方向 - 0:买 1:卖",
  25712. "type": "integer"
  25713. },
  25714. "channelbuildtype": {
  25715. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  25716. "type": "integer"
  25717. },
  25718. "currencyid": {
  25719. "description": "币种id",
  25720. "type": "integer"
  25721. },
  25722. "currencyname": {
  25723. "description": "结算币种 名称",
  25724. "type": "string"
  25725. },
  25726. "goodscode": {
  25727. "description": "商品代码",
  25728. "type": "string"
  25729. },
  25730. "goodsid": {
  25731. "description": "商品ID",
  25732. "type": "integer"
  25733. },
  25734. "goodsname": {
  25735. "description": "商品名称",
  25736. "type": "string"
  25737. },
  25738. "outtradeid": {
  25739. "description": "外部成交单号",
  25740. "type": "string"
  25741. },
  25742. "taname": {
  25743. "description": "期货账户名称",
  25744. "type": "string"
  25745. },
  25746. "tradeid": {
  25747. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25748. "type": "string"
  25749. },
  25750. "tradeprice": {
  25751. "description": "成交价格",
  25752. "type": "number"
  25753. },
  25754. "tradeqty": {
  25755. "description": "期货成交数量",
  25756. "type": "integer"
  25757. },
  25758. "tradetime": {
  25759. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  25760. "type": "string"
  25761. },
  25762. "username": {
  25763. "description": "用户名称",
  25764. "type": "string"
  25765. }
  25766. }
  25767. },
  25768. "models.Ermcp3OutTradeLink": {
  25769. "type": "object",
  25770. "properties": {
  25771. "buyorsell": {
  25772. "description": "买卖方向 - 0:买 1:卖",
  25773. "type": "integer"
  25774. },
  25775. "channelbuildtype": {
  25776. "description": "开平标志- 0:无 1:建仓 2:平仓",
  25777. "type": "integer"
  25778. },
  25779. "currencyname": {
  25780. "description": "币种名称",
  25781. "type": "string"
  25782. },
  25783. "exexchangecode": {
  25784. "description": "交易所代码",
  25785. "type": "string"
  25786. },
  25787. "exexchangename": {
  25788. "description": "交易所名称",
  25789. "type": "string"
  25790. },
  25791. "goodscode": {
  25792. "description": "合约代码",
  25793. "type": "string"
  25794. },
  25795. "goodsid": {
  25796. "description": "合约id",
  25797. "type": "integer"
  25798. },
  25799. "goodsname": {
  25800. "description": "合约名称",
  25801. "type": "string"
  25802. },
  25803. "hasinnerorder": {
  25804. "description": "是否有内部单关联 - 0:无 1:有",
  25805. "type": "integer"
  25806. },
  25807. "hedgeaccountcode": {
  25808. "description": "外部账号 | 对冲账号",
  25809. "type": "string"
  25810. },
  25811. "outtradeid": {
  25812. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25813. "type": "string"
  25814. },
  25815. "tradeprice": {
  25816. "description": "成交价格",
  25817. "type": "number"
  25818. },
  25819. "tradeqty": {
  25820. "description": "成交数量",
  25821. "type": "integer"
  25822. },
  25823. "tradetime": {
  25824. "description": "成交时间",
  25825. "type": "string"
  25826. }
  25827. }
  25828. },
  25829. "models.Ermcp3PaAreaAuditCfg": {
  25830. "type": "object",
  25831. "properties": {
  25832. "areauserid": {
  25833. "description": "用户ID",
  25834. "type": "integer"
  25835. },
  25836. "buyinauditflag": {
  25837. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  25838. "type": "integer"
  25839. },
  25840. "costratioauditflag": {
  25841. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  25842. "type": "integer"
  25843. },
  25844. "customerauditflag": {
  25845. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  25846. "type": "integer"
  25847. },
  25848. "deliveryauditflag": {
  25849. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  25850. "type": "integer"
  25851. },
  25852. "invoiceauditflag": {
  25853. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  25854. "type": "integer"
  25855. },
  25856. "mgneedhedgeratioauditflag": {
  25857. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  25858. "type": "integer"
  25859. },
  25860. "moneyauditflag": {
  25861. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  25862. "type": "integer"
  25863. },
  25864. "operatorid": {
  25865. "description": "操作人",
  25866. "type": "integer"
  25867. },
  25868. "operatorsrc": {
  25869. "description": "操作来源 - 1:管理端 2:终端",
  25870. "type": "integer"
  25871. },
  25872. "pointpriceauditflag": {
  25873. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  25874. "type": "integer"
  25875. },
  25876. "produceinauditflag": {
  25877. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  25878. "type": "integer"
  25879. },
  25880. "produceoutauditflag": {
  25881. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  25882. "type": "integer"
  25883. },
  25884. "selloutauditflag": {
  25885. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  25886. "type": "integer"
  25887. },
  25888. "sgconvertratioauditflag": {
  25889. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  25890. "type": "integer"
  25891. },
  25892. "sgvtaratioauditflag": {
  25893. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  25894. "type": "integer"
  25895. },
  25896. "spotcontractauditflag": {
  25897. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  25898. "type": "integer"
  25899. },
  25900. "updatetime": {
  25901. "description": "更新时间",
  25902. "type": "string"
  25903. }
  25904. }
  25905. },
  25906. "models.Ermcp3PaAreaSubject": {
  25907. "type": "object",
  25908. "properties": {
  25909. "areauserid": {
  25910. "description": "所属机构",
  25911. "type": "integer"
  25912. },
  25913. "canmodify": {
  25914. "description": "是否可修改 - 0:否 1:是",
  25915. "type": "integer"
  25916. },
  25917. "createtime": {
  25918. "description": "创建时间",
  25919. "type": "string"
  25920. },
  25921. "creatorid": {
  25922. "description": "创建人ID",
  25923. "type": "string"
  25924. },
  25925. "creatorsrc": {
  25926. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  25927. "type": "integer"
  25928. },
  25929. "modifierid": {
  25930. "description": "修改人",
  25931. "type": "string"
  25932. },
  25933. "modifiersrc": {
  25934. "description": "修改人来源 - 1:管理端 2:终端",
  25935. "type": "integer"
  25936. },
  25937. "modifytime": {
  25938. "description": "修改时间",
  25939. "type": "string"
  25940. },
  25941. "parentsubjectid": {
  25942. "description": "上级主体ID",
  25943. "type": "string"
  25944. },
  25945. "remark": {
  25946. "description": "备注",
  25947. "type": "string"
  25948. },
  25949. "subjectid": {
  25950. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  25951. "type": "integer"
  25952. },
  25953. "subjectname": {
  25954. "description": "主体名称",
  25955. "type": "string"
  25956. },
  25957. "subjectstatus": {
  25958. "description": "主体状态 - 1:正常 2: 停用",
  25959. "type": "integer"
  25960. },
  25961. "subjecttype": {
  25962. "description": "主体类型 - 1:交易主体 2:业务部门",
  25963. "type": "integer"
  25964. }
  25965. }
  25966. },
  25967. "models.Ermcp3PaTradeLink": {
  25968. "type": "object",
  25969. "properties": {
  25970. "accountid": {
  25971. "description": "期货账户代码 | 账号ID",
  25972. "type": "integer"
  25973. },
  25974. "agreeunit": {
  25975. "description": "合约乘数",
  25976. "type": "number"
  25977. },
  25978. "buyorsell": {
  25979. "description": "方向 - 0:买 1:卖",
  25980. "type": "integer"
  25981. },
  25982. "channelbuildtype": {
  25983. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  25984. "type": "integer"
  25985. },
  25986. "charge": {
  25987. "description": "手续费",
  25988. "type": "number"
  25989. },
  25990. "closepl": {
  25991. "description": "平仓盈亏",
  25992. "type": "number"
  25993. },
  25994. "closetype": {
  25995. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  25996. "type": "integer"
  25997. },
  25998. "convertratio": {
  25999. "description": "折算系数",
  26000. "type": "number"
  26001. },
  26002. "enumdicname": {
  26003. "description": "单位名称",
  26004. "type": "string"
  26005. },
  26006. "executeprice": {
  26007. "description": "执行价 [期权]",
  26008. "type": "integer"
  26009. },
  26010. "goodscode": {
  26011. "description": "合约代码",
  26012. "type": "string"
  26013. },
  26014. "goodsgroupid": {
  26015. "description": "对冲品种ID[期货合约商品组ID]",
  26016. "type": "integer"
  26017. },
  26018. "goodsid": {
  26019. "description": "商品ID",
  26020. "type": "integer"
  26021. },
  26022. "goodsname": {
  26023. "description": "合约名称",
  26024. "type": "string"
  26025. },
  26026. "goodunitid": {
  26027. "description": "单位id",
  26028. "type": "integer"
  26029. },
  26030. "hedgeflag": {
  26031. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  26032. "type": "integer"
  26033. },
  26034. "marketid": {
  26035. "description": "市场ID",
  26036. "type": "integer"
  26037. },
  26038. "middlegoodsid": {
  26039. "description": "套保品种ID",
  26040. "type": "integer"
  26041. },
  26042. "middlegoodsqty": {
  26043. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  26044. "type": "number"
  26045. },
  26046. "optioncode": {
  26047. "description": "期权代码 [期权]",
  26048. "type": "string"
  26049. },
  26050. "ordertype": {
  26051. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  26052. "type": "integer"
  26053. },
  26054. "ordertypename": {
  26055. "description": "订单类型",
  26056. "type": "string"
  26057. },
  26058. "parentaccountid": {
  26059. "description": "所属母账户",
  26060. "type": "integer"
  26061. },
  26062. "premium": {
  26063. "description": "权利金 [期权]",
  26064. "type": "number"
  26065. },
  26066. "relatedlot": {
  26067. "description": "已关联数量(已关联数量手) | db:关联手数",
  26068. "type": "number"
  26069. },
  26070. "relatedouttradeid": {
  26071. "description": "关联外部成交单ID",
  26072. "type": "string"
  26073. },
  26074. "relatedqty": {
  26075. "description": "关联数量",
  26076. "type": "number"
  26077. },
  26078. "spotcontractid": {
  26079. "description": "现货合同ID [4:套期保值\\10\\11]",
  26080. "type": "string"
  26081. },
  26082. "taname": {
  26083. "description": "期货账户名称",
  26084. "type": "string"
  26085. },
  26086. "tradeamount": {
  26087. "description": "成交金额(账户)",
  26088. "type": "number"
  26089. },
  26090. "tradedate": {
  26091. "description": "交易日(yyyyMMdd)",
  26092. "type": "string"
  26093. },
  26094. "tradeid": {
  26095. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26096. "type": "string"
  26097. },
  26098. "tradelot": {
  26099. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  26100. "type": "integer"
  26101. },
  26102. "tradeprice": {
  26103. "description": "成交价格",
  26104. "type": "number"
  26105. },
  26106. "tradetime": {
  26107. "description": "时间 | db:成交时间",
  26108. "type": "string"
  26109. },
  26110. "tradetype": {
  26111. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  26112. "type": "integer"
  26113. },
  26114. "userid": {
  26115. "description": "所属机构 - 所属母账户的UserID",
  26116. "type": "string"
  26117. },
  26118. "username": {
  26119. "description": "用户名称",
  26120. "type": "string"
  26121. }
  26122. }
  26123. },
  26124. "models.Ermcp3ParamChangeApp": {
  26125. "type": "object",
  26126. "properties": {
  26127. "aftervalue": {
  26128. "description": "变更后",
  26129. "type": "number"
  26130. },
  26131. "applicationid": {
  26132. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  26133. "type": "string"
  26134. },
  26135. "applyid": {
  26136. "description": "申请人",
  26137. "type": "string"
  26138. },
  26139. "applyname": {
  26140. "description": "申请人名称(代码)",
  26141. "type": "string"
  26142. },
  26143. "applyremark": {
  26144. "description": "申请备注",
  26145. "type": "string"
  26146. },
  26147. "applysrc": {
  26148. "description": "申请来源 - 1:管理端 2:终端",
  26149. "type": "integer"
  26150. },
  26151. "applystatus": {
  26152. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  26153. "type": "integer"
  26154. },
  26155. "applytime": {
  26156. "description": "申请时间",
  26157. "type": "string"
  26158. },
  26159. "areauserid": {
  26160. "description": "所属机构用户ID",
  26161. "type": "integer"
  26162. },
  26163. "auditid": {
  26164. "description": "审核人",
  26165. "type": "string"
  26166. },
  26167. "auditname": {
  26168. "description": "审核人名称(代码)",
  26169. "type": "string"
  26170. },
  26171. "auditremark": {
  26172. "description": "审核备注",
  26173. "type": "string"
  26174. },
  26175. "auditsrc": {
  26176. "description": "审核来源 - 1:管理端 2:终端",
  26177. "type": "integer"
  26178. },
  26179. "audittime": {
  26180. "description": "审核时间",
  26181. "type": "string"
  26182. },
  26183. "audittradedate": {
  26184. "description": "审核交易日(yyyyMMdd)",
  26185. "type": "string"
  26186. },
  26187. "beforevalue": {
  26188. "description": "变更前",
  26189. "type": "number"
  26190. },
  26191. "deliverygoodscode": {
  26192. "description": "品种代码",
  26193. "type": "string"
  26194. },
  26195. "deliverygoodsid": {
  26196. "description": "品种id",
  26197. "type": "integer"
  26198. },
  26199. "deliverygoodsname": {
  26200. "description": "品种名称",
  26201. "type": "string"
  26202. },
  26203. "middlegoodscode": {
  26204. "description": "套保品种代码",
  26205. "type": "string"
  26206. },
  26207. "middlegoodsid": {
  26208. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  26209. "type": "integer"
  26210. },
  26211. "middlegoodsname": {
  26212. "description": "套保品种名称",
  26213. "type": "string"
  26214. },
  26215. "operatetype": {
  26216. "description": "操作类型 - 1:新增 2:修改",
  26217. "type": "integer"
  26218. },
  26219. "paramchangetype": {
  26220. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  26221. "type": "integer"
  26222. },
  26223. "wrstandardcode": {
  26224. "description": "现货商品代码",
  26225. "type": "string"
  26226. },
  26227. "wrstandardid": {
  26228. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  26229. "type": "integer"
  26230. },
  26231. "wrstandardname": {
  26232. "description": "现货商品名称",
  26233. "type": "string"
  26234. }
  26235. }
  26236. },
  26237. "models.Ermcp3RootUserAccount": {
  26238. "type": "object",
  26239. "properties": {
  26240. "accountname": {
  26241. "description": "账户名称(机构名称)",
  26242. "type": "string"
  26243. },
  26244. "accountstatus": {
  26245. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  26246. "type": "integer"
  26247. },
  26248. "applysrc": {
  26249. "description": "申请来源 - 1:管理端 2:终端",
  26250. "type": "integer"
  26251. },
  26252. "auditremark": {
  26253. "description": "审核备注",
  26254. "type": "string"
  26255. },
  26256. "auditsrc": {
  26257. "description": "审核来源 - 1:管理端 2:终端",
  26258. "type": "integer"
  26259. },
  26260. "audittime": {
  26261. "description": "审核时间",
  26262. "type": "string"
  26263. },
  26264. "audituserid": {
  26265. "description": "审核人",
  26266. "type": "integer"
  26267. },
  26268. "broker": {
  26269. "description": "所属经纪人ID",
  26270. "type": "integer"
  26271. },
  26272. "canceltime": {
  26273. "description": "销户时间",
  26274. "type": "string"
  26275. },
  26276. "canceluserid": {
  26277. "description": "销户人",
  26278. "type": "integer"
  26279. },
  26280. "canrecommend": {
  26281. "description": "是否可推荐 - 0:不可 1;可",
  26282. "type": "integer"
  26283. },
  26284. "createtime": {
  26285. "description": "创建时间",
  26286. "type": "string"
  26287. },
  26288. "creatorid": {
  26289. "description": "创建人",
  26290. "type": "integer"
  26291. },
  26292. "hasauth": {
  26293. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  26294. "type": "integer"
  26295. },
  26296. "isanonymous": {
  26297. "description": "是否匿名下单 - 0:否 1:是",
  26298. "type": "integer"
  26299. },
  26300. "maxinvestornum": {
  26301. "description": "最大用户数(经纪会员下投资者个数)",
  26302. "type": "integer"
  26303. },
  26304. "memberuserid": {
  26305. "description": "所属会员ID",
  26306. "type": "integer"
  26307. },
  26308. "modifierid": {
  26309. "description": "修改人",
  26310. "type": "integer"
  26311. },
  26312. "modifyremark": {
  26313. "description": "变更备注",
  26314. "type": "string"
  26315. },
  26316. "modifystatus": {
  26317. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  26318. "type": "integer"
  26319. },
  26320. "modifytime": {
  26321. "description": "修改时间",
  26322. "type": "string"
  26323. },
  26324. "nickname": {
  26325. "description": "昵称",
  26326. "type": "string"
  26327. },
  26328. "parenttopuser": {
  26329. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  26330. "type": "string"
  26331. },
  26332. "parentuserid": {
  26333. "description": "所属机构ID",
  26334. "type": "integer"
  26335. },
  26336. "reckonaccountid": {
  26337. "description": "默认结算资金账号ID(机构分润使用) 作废",
  26338. "type": "integer"
  26339. },
  26340. "refercount": {
  26341. "description": "推荐总人数",
  26342. "type": "integer"
  26343. },
  26344. "refereeuserid": {
  26345. "description": "推荐人ID",
  26346. "type": "integer"
  26347. },
  26348. "refernum": {
  26349. "description": "推荐码",
  26350. "type": "string"
  26351. },
  26352. "rootuserid": {
  26353. "description": "根用户ID",
  26354. "type": "integer"
  26355. },
  26356. "subaccountlevel": {
  26357. "description": "子账户层数",
  26358. "type": "integer"
  26359. },
  26360. "subarealevelpath": {
  26361. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  26362. "type": "string"
  26363. },
  26364. "userid": {
  26365. "description": "用户ID",
  26366. "type": "integer"
  26367. },
  26368. "usertype": {
  26369. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  26370. "type": "integer"
  26371. }
  26372. }
  26373. },
  26374. "models.Ermcp3SCMiddleGoods": {
  26375. "type": "object",
  26376. "properties": {
  26377. "biztype": {
  26378. "description": "业务类型 1:套保 2:套利",
  26379. "type": "integer"
  26380. },
  26381. "contractno": {
  26382. "description": "合同编号",
  26383. "type": "string"
  26384. },
  26385. "contracttype": {
  26386. "description": "合同类型 1:采购 -1:销售",
  26387. "type": "integer"
  26388. },
  26389. "convertratio": {
  26390. "description": "折算系数",
  26391. "type": "number"
  26392. },
  26393. "customername": {
  26394. "description": "对手手名称",
  26395. "type": "string"
  26396. },
  26397. "customeruserid": {
  26398. "description": "对手id",
  26399. "type": "integer"
  26400. },
  26401. "deliverygoodscode": {
  26402. "description": "现货品种代码",
  26403. "type": "string"
  26404. },
  26405. "deliverygoodsid": {
  26406. "description": "现货品种ID",
  26407. "type": "integer"
  26408. },
  26409. "deliverygoodsname": {
  26410. "description": "现货品种名称",
  26411. "type": "string"
  26412. },
  26413. "enumdicname": {
  26414. "description": "现货单位名称",
  26415. "type": "string"
  26416. },
  26417. "middlegoodsid": {
  26418. "description": "套保品种ID",
  26419. "type": "integer"
  26420. },
  26421. "middlegoodspricedqty3": {
  26422. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  26423. "type": "number"
  26424. },
  26425. "needhedgeratio": {
  26426. "description": "套保比例",
  26427. "type": "number"
  26428. },
  26429. "pricedqty": {
  26430. "description": "已定价量",
  26431. "type": "number"
  26432. },
  26433. "relatedmiddlegoodsqty": {
  26434. "description": "已关联量(套保品种)(期货)",
  26435. "type": "number"
  26436. },
  26437. "spotcontractid": {
  26438. "description": "合同编号",
  26439. "type": "string"
  26440. },
  26441. "unitid": {
  26442. "description": "现货单位id",
  26443. "type": "integer"
  26444. },
  26445. "userid": {
  26446. "description": "用户id",
  26447. "type": "integer"
  26448. },
  26449. "vatrate": {
  26450. "description": "增值税率",
  26451. "type": "number"
  26452. },
  26453. "wrstandardcode": {
  26454. "description": "现货商品代码",
  26455. "type": "string"
  26456. },
  26457. "wrstandardid": {
  26458. "description": "现货商品id",
  26459. "type": "integer"
  26460. },
  26461. "wrstandardname": {
  26462. "description": "现货商品名称",
  26463. "type": "string"
  26464. }
  26465. }
  26466. },
  26467. "models.Ermcp3SCMiddleGoodsReport": {
  26468. "type": "object",
  26469. "properties": {
  26470. "begindate": {
  26471. "description": "开始交易日",
  26472. "type": "string"
  26473. },
  26474. "contractno": {
  26475. "description": "合同编号",
  26476. "type": "string"
  26477. },
  26478. "contracttype": {
  26479. "description": "合同类型 1:采购 -1:销售",
  26480. "type": "integer"
  26481. },
  26482. "convertratio": {
  26483. "description": "期初均价",
  26484. "type": "number"
  26485. },
  26486. "cycletime": {
  26487. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  26488. "type": "string"
  26489. },
  26490. "cycletype": {
  26491. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  26492. "type": "integer"
  26493. },
  26494. "deliverygoodscode": {
  26495. "description": "品种代码",
  26496. "type": "string"
  26497. },
  26498. "deliverygoodsid": {
  26499. "description": "现货品种ID",
  26500. "type": "integer"
  26501. },
  26502. "deliverygoodsname": {
  26503. "description": "品种名称",
  26504. "type": "string"
  26505. },
  26506. "diffprice": {
  26507. "description": "期初均价",
  26508. "type": "number"
  26509. },
  26510. "diffqty": {
  26511. "description": "期初均价",
  26512. "type": "number"
  26513. },
  26514. "enddate": {
  26515. "description": "结束交易日",
  26516. "type": "string"
  26517. },
  26518. "hedgeplanqty": {
  26519. "description": "期初均价",
  26520. "type": "number"
  26521. },
  26522. "matchname": {
  26523. "description": "交易对手方(个人:用户名称 企业:简称)",
  26524. "type": "string"
  26525. },
  26526. "matchnickname": {
  26527. "description": "交易对手方昵称",
  26528. "type": "string"
  26529. },
  26530. "middlegoodscode": {
  26531. "description": "套保品种代码",
  26532. "type": "string"
  26533. },
  26534. "middlegoodsid": {
  26535. "description": "套保品种ID",
  26536. "type": "integer"
  26537. },
  26538. "middlegoodsname": {
  26539. "description": "套保品种名称",
  26540. "type": "string"
  26541. },
  26542. "middlegoodspricedqty": {
  26543. "description": "期初均价",
  26544. "type": "number"
  26545. },
  26546. "middlegoodspricedqty2": {
  26547. "description": "期初均价",
  26548. "type": "number"
  26549. },
  26550. "middlegoodspricedqty3": {
  26551. "description": "期初均价",
  26552. "type": "number"
  26553. },
  26554. "needhedgeratio": {
  26555. "description": "期初均价",
  26556. "type": "number"
  26557. },
  26558. "pricedamount": {
  26559. "description": "期初均价",
  26560. "type": "number"
  26561. },
  26562. "pricedamount2": {
  26563. "description": "期初均价",
  26564. "type": "number"
  26565. },
  26566. "pricedqty": {
  26567. "description": "期初均价",
  26568. "type": "number"
  26569. },
  26570. "reckondate": {
  26571. "description": "日照时期(yyyyMMdd)",
  26572. "type": "string"
  26573. },
  26574. "relatedmiddlegoodsamount": {
  26575. "description": "期初均价",
  26576. "type": "number"
  26577. },
  26578. "relatedmiddlegoodsqty": {
  26579. "description": "期初均价",
  26580. "type": "number"
  26581. },
  26582. "spotcontractid": {
  26583. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  26584. "type": "string"
  26585. },
  26586. "todayavgfutuprice": {
  26587. "description": "期初均价",
  26588. "type": "number"
  26589. },
  26590. "todayavgprice": {
  26591. "description": "期初均价",
  26592. "type": "number"
  26593. },
  26594. "todayavgprice2": {
  26595. "description": "期初均价",
  26596. "type": "number"
  26597. },
  26598. "todaypricedamount": {
  26599. "description": "期初均价",
  26600. "type": "number"
  26601. },
  26602. "todaypricedamount2": {
  26603. "description": "期初均价",
  26604. "type": "number"
  26605. },
  26606. "todaypricedqty": {
  26607. "description": "期初均价",
  26608. "type": "number"
  26609. },
  26610. "todayrelatedfutureqty": {
  26611. "description": "期初均价",
  26612. "type": "number"
  26613. },
  26614. "todayrelatedmiddlegoodsamount": {
  26615. "description": "期初均价",
  26616. "type": "number"
  26617. },
  26618. "todayrelatedmiddlegoodsqty": {
  26619. "description": "期初均价",
  26620. "type": "number"
  26621. },
  26622. "updatetime": {
  26623. "description": "更新时间",
  26624. "type": "string"
  26625. },
  26626. "userid": {
  26627. "description": "合同所属用户id",
  26628. "type": "integer"
  26629. },
  26630. "vatrate": {
  26631. "description": "期初均价",
  26632. "type": "number"
  26633. },
  26634. "wrstandardcode": {
  26635. "description": "商品(品类) 代码",
  26636. "type": "string"
  26637. },
  26638. "wrstandardid": {
  26639. "description": "现货商品ID",
  26640. "type": "integer"
  26641. },
  26642. "wrstandardname": {
  26643. "description": "商品(品类) 名称",
  26644. "type": "string"
  26645. }
  26646. }
  26647. },
  26648. "models.Ermcp3SellBuyContract": {
  26649. "type": "object",
  26650. "properties": {
  26651. "accountid": {
  26652. "description": "期货账户id",
  26653. "type": "string"
  26654. },
  26655. "accountname": {
  26656. "description": "账户名称",
  26657. "type": "string"
  26658. },
  26659. "attachment": {
  26660. "description": "附件",
  26661. "type": "string"
  26662. },
  26663. "audittime": {
  26664. "description": "审核时间",
  26665. "type": "string"
  26666. },
  26667. "bizsubjectid": {
  26668. "description": "归属业务部门ID - SubjectID",
  26669. "type": "integer"
  26670. },
  26671. "biztype": {
  26672. "description": "业务类型 1-套保 2-套利",
  26673. "type": "integer"
  26674. },
  26675. "brandname": {
  26676. "description": "品牌名称",
  26677. "type": "string"
  26678. },
  26679. "contracctstatus": {
  26680. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  26681. "type": "integer"
  26682. },
  26683. "contractmargin": {
  26684. "description": "合同保证金",
  26685. "type": "number"
  26686. },
  26687. "contractno": {
  26688. "description": "合同编号",
  26689. "type": "string"
  26690. },
  26691. "contracttype": {
  26692. "description": "合同类型 1-采购, -1-销售",
  26693. "type": "integer"
  26694. },
  26695. "convertfactor": {
  26696. "description": "标仓系数(品类)",
  26697. "type": "number"
  26698. },
  26699. "createtime": {
  26700. "description": "创建时间",
  26701. "type": "string"
  26702. },
  26703. "currencyid": {
  26704. "description": "币种id",
  26705. "type": "integer"
  26706. },
  26707. "currencyname": {
  26708. "description": "币种名称",
  26709. "type": "string"
  26710. },
  26711. "daikaiamount": {
  26712. "description": "应收(开)票额 | 未收票额",
  26713. "type": "number"
  26714. },
  26715. "deliveryenddate": {
  26716. "description": "交割结束日",
  26717. "type": "string"
  26718. },
  26719. "deliverygoodscode": {
  26720. "description": "现货品种代码",
  26721. "type": "string"
  26722. },
  26723. "deliverygoodsid": {
  26724. "description": "现货商品ID",
  26725. "type": "integer"
  26726. },
  26727. "deliverygoodsname": {
  26728. "description": "现货品种名称",
  26729. "type": "string"
  26730. },
  26731. "deliverystartdate": {
  26732. "description": "交割开始日",
  26733. "type": "string"
  26734. },
  26735. "enddate": {
  26736. "description": "点价结束日",
  26737. "type": "string"
  26738. },
  26739. "enumdicname": {
  26740. "description": "单位名称",
  26741. "type": "string"
  26742. },
  26743. "goodscode": {
  26744. "description": "点价商品代码",
  26745. "type": "string"
  26746. },
  26747. "goodsgroupid": {
  26748. "description": "点价商品组id",
  26749. "type": "integer"
  26750. },
  26751. "goodsid": {
  26752. "description": "点价商品ID",
  26753. "type": "integer"
  26754. },
  26755. "goodsname": {
  26756. "description": "点价商品名称",
  26757. "type": "string"
  26758. },
  26759. "invoiceamount": {
  26760. "description": "已开票额",
  26761. "type": "number"
  26762. },
  26763. "loanamount": {
  26764. "description": "贷款总额=已定价额+调整金额",
  26765. "type": "number"
  26766. },
  26767. "margin": {
  26768. "description": "保证金",
  26769. "type": "number"
  26770. },
  26771. "meruserid": {
  26772. "description": "跟单员id",
  26773. "type": "integer"
  26774. },
  26775. "meruserlogincode": {
  26776. "description": "跟单员登录代码",
  26777. "type": "string"
  26778. },
  26779. "merusername": {
  26780. "description": "跟单员名称",
  26781. "type": "string"
  26782. },
  26783. "nickname": {
  26784. "description": "账户昵称",
  26785. "type": "string"
  26786. },
  26787. "orireckonrealqty": {
  26788. "description": "应交收量",
  26789. "type": "number"
  26790. },
  26791. "payamount": {
  26792. "description": "已收付额(收款或付款)",
  26793. "type": "number"
  26794. },
  26795. "preinvoiceamount": {
  26796. "description": "预收(开)票额",
  26797. "type": "number"
  26798. },
  26799. "prepayamount": {
  26800. "description": "预收付额",
  26801. "type": "number"
  26802. },
  26803. "price": {
  26804. "description": "价格",
  26805. "type": "number"
  26806. },
  26807. "pricedamount": {
  26808. "description": "已定价额",
  26809. "type": "number"
  26810. },
  26811. "pricedavg": {
  26812. "description": "已点均价",
  26813. "type": "number"
  26814. },
  26815. "pricedqty": {
  26816. "description": "已定价量",
  26817. "type": "number"
  26818. },
  26819. "pricemove": {
  26820. "description": "升贴水",
  26821. "type": "number"
  26822. },
  26823. "pricetype": {
  26824. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  26825. "type": "integer"
  26826. },
  26827. "producttype": {
  26828. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  26829. "type": "integer"
  26830. },
  26831. "qty": {
  26832. "description": "合同量",
  26833. "type": "number"
  26834. },
  26835. "reckonadjustamount": {
  26836. "description": "调整金额",
  26837. "type": "number"
  26838. },
  26839. "reckonedamount": {
  26840. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  26841. "type": "number"
  26842. },
  26843. "reckonotheramount": {
  26844. "description": "其它费用",
  26845. "type": "number"
  26846. },
  26847. "reckonrealqty": {
  26848. "description": "已交收量",
  26849. "type": "number"
  26850. },
  26851. "remark": {
  26852. "description": "备注",
  26853. "type": "string"
  26854. },
  26855. "saleuserid": {
  26856. "description": "业务员id",
  26857. "type": "integer"
  26858. },
  26859. "saleuserlogincode": {
  26860. "description": "业务员登录代码",
  26861. "type": "string"
  26862. },
  26863. "saleusername": {
  26864. "description": "业务员名称",
  26865. "type": "string"
  26866. },
  26867. "spotcontractid": {
  26868. "description": "合同ID",
  26869. "type": "string"
  26870. },
  26871. "spotgoodsbrandid": {
  26872. "description": "现货品牌ID(DGFactoryItem表的ID)",
  26873. "type": "integer"
  26874. },
  26875. "spotgoodsdesc": {
  26876. "description": "商品型号(商品规格)",
  26877. "type": "string"
  26878. },
  26879. "startdate": {
  26880. "description": "点价开始日",
  26881. "type": "string"
  26882. },
  26883. "subjectid": {
  26884. "description": "交易主体ID",
  26885. "type": "integer"
  26886. },
  26887. "subjectname": {
  26888. "description": "交易主体名称",
  26889. "type": "string"
  26890. },
  26891. "totalamount": {
  26892. "description": "合计总额",
  26893. "type": "number"
  26894. },
  26895. "tradeuserid": {
  26896. "description": "交易员id",
  26897. "type": "integer"
  26898. },
  26899. "tradeuserlogincode": {
  26900. "description": "交易员登录代码",
  26901. "type": "string"
  26902. },
  26903. "tradeusername": {
  26904. "description": "交易员名称",
  26905. "type": "string"
  26906. },
  26907. "unpayamount": {
  26908. "description": "应收付款额(应支付或应收款) | 未付款额",
  26909. "type": "number"
  26910. },
  26911. "unpricedqty": {
  26912. "description": "未定价量",
  26913. "type": "number"
  26914. },
  26915. "unsureqty": {
  26916. "description": "未确定量 | 未交收量",
  26917. "type": "number"
  26918. },
  26919. "userid": {
  26920. "description": "机构ID",
  26921. "type": "integer"
  26922. },
  26923. "vatrate": {
  26924. "description": "增值税率",
  26925. "type": "number"
  26926. },
  26927. "wrstandardcode": {
  26928. "description": "品类代码",
  26929. "type": "string"
  26930. },
  26931. "wrstandardid": {
  26932. "description": "品类ID",
  26933. "type": "integer"
  26934. },
  26935. "wrstandardname": {
  26936. "description": "品类名称",
  26937. "type": "string"
  26938. }
  26939. }
  26940. },
  26941. "models.Ermcp3SpotGoodsPrice": {
  26942. "type": "object",
  26943. "properties": {
  26944. "areauserid": {
  26945. "description": "所属机构id",
  26946. "type": "integer"
  26947. },
  26948. "brandname": {
  26949. "description": "品牌名称",
  26950. "type": "string"
  26951. },
  26952. "currencyid": {
  26953. "description": "报价货币ID",
  26954. "type": "integer"
  26955. },
  26956. "currencyname": {
  26957. "description": "币种名称",
  26958. "type": "string"
  26959. },
  26960. "deliverygoodscode": {
  26961. "description": "现货商品代码",
  26962. "type": "string"
  26963. },
  26964. "deliverygoodsid": {
  26965. "description": "现货商品id",
  26966. "type": "integer"
  26967. },
  26968. "deliverygoodsname": {
  26969. "description": "现货商品名称",
  26970. "type": "string"
  26971. },
  26972. "enumdicname": {
  26973. "description": "现货商品单位名称",
  26974. "type": "string"
  26975. },
  26976. "gbenumdicname": {
  26977. "description": "品类单位名称",
  26978. "type": "string"
  26979. },
  26980. "gmunitid": {
  26981. "description": "品类单位id",
  26982. "type": "integer"
  26983. },
  26984. "isvalid": {
  26985. "description": "是否有效 - 0:无效 1:有效",
  26986. "type": "integer"
  26987. },
  26988. "operateid": {
  26989. "description": "最后操作人",
  26990. "type": "integer"
  26991. },
  26992. "operatesrc": {
  26993. "description": "最后操作来源 - 1:管理端 2:终端",
  26994. "type": "integer"
  26995. },
  26996. "operatetime": {
  26997. "description": "最后操作时间",
  26998. "type": "string"
  26999. },
  27000. "operatorname": {
  27001. "description": "操作人名称",
  27002. "type": "string"
  27003. },
  27004. "spotgoodsbrandid": {
  27005. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  27006. "type": "integer"
  27007. },
  27008. "spotgoodsprice": {
  27009. "description": "现货价格",
  27010. "type": "number"
  27011. },
  27012. "tradedate": {
  27013. "description": "交易日(yyyyMMdd)",
  27014. "type": "string"
  27015. },
  27016. "unitid": {
  27017. "description": "现货商品单位id",
  27018. "type": "integer"
  27019. },
  27020. "wrstandardcode": {
  27021. "description": "品类代码",
  27022. "type": "string"
  27023. },
  27024. "wrstandardid": {
  27025. "description": "现货品类ID(通用则为0)",
  27026. "type": "integer"
  27027. },
  27028. "wrstandardname": {
  27029. "description": "品类名称",
  27030. "type": "string"
  27031. }
  27032. }
  27033. },
  27034. "models.Ermcp3SpotGoodsPriceLog": {
  27035. "type": "object",
  27036. "properties": {
  27037. "areauserid": {
  27038. "description": "所属机构id",
  27039. "type": "integer"
  27040. },
  27041. "brandname": {
  27042. "description": "品牌名称",
  27043. "type": "string"
  27044. },
  27045. "currencyid": {
  27046. "description": "报价货币ID",
  27047. "type": "integer"
  27048. },
  27049. "deliverygoodscode": {
  27050. "description": "现货商品代码",
  27051. "type": "string"
  27052. },
  27053. "deliverygoodsid": {
  27054. "description": "现货商品id",
  27055. "type": "integer"
  27056. },
  27057. "deliverygoodsname": {
  27058. "description": "现货商品名称",
  27059. "type": "string"
  27060. },
  27061. "enumdicname": {
  27062. "description": "现货商品单位名称",
  27063. "type": "string"
  27064. },
  27065. "gbenumdicname": {
  27066. "description": "品类单位名称",
  27067. "type": "string"
  27068. },
  27069. "gmunitid": {
  27070. "description": "品类单位id",
  27071. "type": "integer"
  27072. },
  27073. "logid": {
  27074. "description": "日志id",
  27075. "type": "integer"
  27076. },
  27077. "operateid": {
  27078. "description": "最后操作人",
  27079. "type": "integer"
  27080. },
  27081. "operatesrc": {
  27082. "description": "最后操作来源 - 1:管理端 2:终端",
  27083. "type": "integer"
  27084. },
  27085. "operatetime": {
  27086. "description": "最后操作时间",
  27087. "type": "string"
  27088. },
  27089. "operatorname": {
  27090. "description": "操作人名称",
  27091. "type": "string"
  27092. },
  27093. "spotgoodsbrandid": {
  27094. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  27095. "type": "integer"
  27096. },
  27097. "spotgoodsprice": {
  27098. "description": "现货价格",
  27099. "type": "number"
  27100. },
  27101. "tradedate": {
  27102. "description": "交易日(yyyyMMdd)",
  27103. "type": "string"
  27104. },
  27105. "unitid": {
  27106. "description": "现货商品单位id",
  27107. "type": "integer"
  27108. },
  27109. "wrstandardcode": {
  27110. "description": "品类代码",
  27111. "type": "string"
  27112. },
  27113. "wrstandardid": {
  27114. "description": "现货品类ID(通用则为0)",
  27115. "type": "integer"
  27116. },
  27117. "wrstandardname": {
  27118. "description": "品类名称",
  27119. "type": "string"
  27120. }
  27121. }
  27122. },
  27123. "models.Ermcp3SubTaaccount": {
  27124. "type": "object",
  27125. "properties": {
  27126. "accountid": {
  27127. "description": "资金账户ID",
  27128. "type": "integer"
  27129. },
  27130. "parentaccountcode": {
  27131. "description": "所属根账号代码(母账号代码)",
  27132. "type": "string"
  27133. },
  27134. "parentaccountid": {
  27135. "description": "所属根账号(母账号)",
  27136. "type": "integer"
  27137. },
  27138. "taname": {
  27139. "description": "资金账号名称",
  27140. "type": "string"
  27141. },
  27142. "tradestatus": {
  27143. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  27144. "type": "integer"
  27145. },
  27146. "username": {
  27147. "description": "交易用户",
  27148. "type": "string"
  27149. }
  27150. }
  27151. },
  27152. "models.Ermcp3TaFutuReDataReport": {
  27153. "type": "object",
  27154. "properties": {
  27155. "accountid": {
  27156. "description": "交易账户",
  27157. "type": "integer"
  27158. },
  27159. "accountname": {
  27160. "description": "交易账号名称",
  27161. "type": "string"
  27162. },
  27163. "agreeunit": {
  27164. "description": "商品合约单位",
  27165. "type": "number"
  27166. },
  27167. "begindate": {
  27168. "description": "开始交易日",
  27169. "type": "string"
  27170. },
  27171. "buyorsell": {
  27172. "description": "持仓方向",
  27173. "type": "integer"
  27174. },
  27175. "charge": {
  27176. "description": "手续费",
  27177. "type": "number"
  27178. },
  27179. "closeavgprice": {
  27180. "description": "期初均价",
  27181. "type": "number"
  27182. },
  27183. "closepl": {
  27184. "description": "平仓损益",
  27185. "type": "number"
  27186. },
  27187. "currencyid": {
  27188. "description": "结算币种ID",
  27189. "type": "integer"
  27190. },
  27191. "currencyname": {
  27192. "description": "币种名称",
  27193. "type": "string"
  27194. },
  27195. "cycletime": {
  27196. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  27197. "type": "string"
  27198. },
  27199. "cycletype": {
  27200. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  27201. "type": "integer"
  27202. },
  27203. "enddate": {
  27204. "description": "结束交易日",
  27205. "type": "string"
  27206. },
  27207. "enumdicname": {
  27208. "description": "单位名称",
  27209. "type": "string"
  27210. },
  27211. "floatpl": {
  27212. "description": "浮动损益",
  27213. "type": "number"
  27214. },
  27215. "goodscode": {
  27216. "description": "交易合约代码",
  27217. "type": "string"
  27218. },
  27219. "goodsgroupid": {
  27220. "description": "交易品种",
  27221. "type": "integer"
  27222. },
  27223. "goodsgroupname": {
  27224. "description": "交易品种名称",
  27225. "type": "string"
  27226. },
  27227. "goodsgroupspotqty": {
  27228. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  27229. "type": "number"
  27230. },
  27231. "goodsid": {
  27232. "description": "交易合约",
  27233. "type": "integer"
  27234. },
  27235. "goodsname": {
  27236. "description": "交易合约名称",
  27237. "type": "string"
  27238. },
  27239. "goodunitid": {
  27240. "description": "交易合约单位id",
  27241. "type": "integer"
  27242. },
  27243. "holdamount": {
  27244. "description": "期末持仓额",
  27245. "type": "number"
  27246. },
  27247. "holdqty": {
  27248. "description": "期初均价",
  27249. "type": "number"
  27250. },
  27251. "lastholdamount": {
  27252. "description": "当前持仓额",
  27253. "type": "number"
  27254. },
  27255. "lastprice": {
  27256. "description": "最新价",
  27257. "type": "number"
  27258. },
  27259. "middlegoodsid": {
  27260. "description": "套保品种id",
  27261. "type": "integer"
  27262. },
  27263. "middlegoodsname": {
  27264. "description": "套保商品名称",
  27265. "type": "string"
  27266. },
  27267. "middlegoodsqty": {
  27268. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  27269. "type": "number"
  27270. },
  27271. "middlgoodscode": {
  27272. "description": "套保商品代码",
  27273. "type": "string"
  27274. },
  27275. "openamount": {
  27276. "description": "期末开仓额",
  27277. "type": "number"
  27278. },
  27279. "openavgprice": {
  27280. "description": "期初均价",
  27281. "type": "number"
  27282. },
  27283. "oriholdamount": {
  27284. "description": "期初持仓额",
  27285. "type": "number"
  27286. },
  27287. "oriholdqty": {
  27288. "description": "期初均价",
  27289. "type": "number"
  27290. },
  27291. "oriopenamount": {
  27292. "description": "期初开仓额",
  27293. "type": "number"
  27294. },
  27295. "outergroupcode": {
  27296. "description": "交易品种代码",
  27297. "type": "string"
  27298. },
  27299. "qtydecimalplace": {
  27300. "description": "成交量小数位",
  27301. "type": "integer"
  27302. },
  27303. "reckondate": {
  27304. "description": "日照时期(yyyyMMdd)",
  27305. "type": "string"
  27306. },
  27307. "reckonholdamount": {
  27308. "description": "结算持仓额",
  27309. "type": "number"
  27310. },
  27311. "reckonpl": {
  27312. "description": "结算损益",
  27313. "type": "number"
  27314. },
  27315. "reckonpl2": {
  27316. "description": "结算逐笔盈亏",
  27317. "type": "number"
  27318. },
  27319. "reckonprice": {
  27320. "description": "结算价",
  27321. "type": "number"
  27322. },
  27323. "relateduserid": {
  27324. "description": "账户关联用户ID",
  27325. "type": "integer"
  27326. },
  27327. "todaycloseamount": {
  27328. "description": "今平仓额",
  27329. "type": "number"
  27330. },
  27331. "todaycloseqty": {
  27332. "description": "期初均价",
  27333. "type": "number"
  27334. },
  27335. "todaygoodsgroupspotqty": {
  27336. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  27337. "type": "number"
  27338. },
  27339. "todaymiddlegoodsqty": {
  27340. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  27341. "type": "number"
  27342. },
  27343. "todayopenamount": {
  27344. "description": "今开仓额",
  27345. "type": "number"
  27346. },
  27347. "todayopenqty": {
  27348. "description": "期初均价",
  27349. "type": "number"
  27350. },
  27351. "userid": {
  27352. "description": "账户所属用户ID",
  27353. "type": "integer"
  27354. }
  27355. }
  27356. },
  27357. "models.Ermcp3TradeLinkDetail": {
  27358. "type": "object",
  27359. "properties": {
  27360. "accountid": {
  27361. "description": "资金账号",
  27362. "type": "integer"
  27363. },
  27364. "agreeunit": {
  27365. "description": "合约乘数",
  27366. "type": "number"
  27367. },
  27368. "areauserid": {
  27369. "description": "所属机构",
  27370. "type": "string"
  27371. },
  27372. "bizsubjectid": {
  27373. "description": "归属业务部门ID - SubjectID",
  27374. "type": "string"
  27375. },
  27376. "buyorsell": {
  27377. "description": "方向 - 0:买 1:卖",
  27378. "type": "integer"
  27379. },
  27380. "channelbuildtype": {
  27381. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  27382. "type": "integer"
  27383. },
  27384. "contractno": {
  27385. "description": "现货编号 (合同编号)",
  27386. "type": "string"
  27387. },
  27388. "convertratio": {
  27389. "description": "折算系数",
  27390. "type": "number"
  27391. },
  27392. "createtime": {
  27393. "description": "关联时间 | 创建时间",
  27394. "type": "string"
  27395. },
  27396. "creatorid": {
  27397. "description": "创建人ID",
  27398. "type": "string"
  27399. },
  27400. "creatorsrc": {
  27401. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  27402. "type": "integer"
  27403. },
  27404. "enumdicname": {
  27405. "description": "单位名称",
  27406. "type": "string"
  27407. },
  27408. "goodscode": {
  27409. "description": "合约代码",
  27410. "type": "string"
  27411. },
  27412. "goodsgroupid": {
  27413. "description": "对冲品种ID[期货合约商品组ID]",
  27414. "type": "integer"
  27415. },
  27416. "goodsid": {
  27417. "description": "商品ID",
  27418. "type": "integer"
  27419. },
  27420. "goodsname": {
  27421. "description": "合约名称",
  27422. "type": "string"
  27423. },
  27424. "hedgeflag": {
  27425. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  27426. "type": "integer"
  27427. },
  27428. "linkdetailid": {
  27429. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  27430. "type": "string"
  27431. },
  27432. "linkstatus": {
  27433. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  27434. "type": "integer"
  27435. },
  27436. "middlegoodscode": {
  27437. "description": "套保品种代码",
  27438. "type": "string"
  27439. },
  27440. "middlegoodsid": {
  27441. "description": "套保品种ID",
  27442. "type": "integer"
  27443. },
  27444. "middlegoodsname": {
  27445. "description": "套保品种名称",
  27446. "type": "string"
  27447. },
  27448. "relatedlot": {
  27449. "description": "关联手数",
  27450. "type": "number"
  27451. },
  27452. "relatedmode": {
  27453. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  27454. "type": "integer"
  27455. },
  27456. "relatedqty": {
  27457. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  27458. "type": "number"
  27459. },
  27460. "retcode": {
  27461. "description": "返回码",
  27462. "type": "integer"
  27463. },
  27464. "saleuserid": {
  27465. "description": "业务员ID",
  27466. "type": "string"
  27467. },
  27468. "spotcontractid": {
  27469. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  27470. "type": "string"
  27471. },
  27472. "taname": {
  27473. "description": "期货账户",
  27474. "type": "string"
  27475. },
  27476. "tradedate": {
  27477. "description": "关联交易日(yyyyMMdd)",
  27478. "type": "string"
  27479. },
  27480. "tradeid": {
  27481. "description": "期货订单号 | 内部成交单ID",
  27482. "type": "string"
  27483. },
  27484. "tradelot": {
  27485. "description": "成交数量 | 成交手数",
  27486. "type": "integer"
  27487. },
  27488. "tradeprice": {
  27489. "description": "成交价格",
  27490. "type": "number"
  27491. },
  27492. "tradetime": {
  27493. "description": "期货成交时间",
  27494. "type": "string"
  27495. },
  27496. "tradetradedate": {
  27497. "description": "成交交易日(yyyyMMdd)",
  27498. "type": "string"
  27499. },
  27500. "username": {
  27501. "description": "用户名称",
  27502. "type": "string"
  27503. }
  27504. }
  27505. },
  27506. "models.Ermcp3Wrstandard": {
  27507. "type": "object",
  27508. "properties": {
  27509. "areauserid": {
  27510. "description": "所属机构",
  27511. "type": "integer"
  27512. },
  27513. "cantrade": {
  27514. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  27515. "type": "integer"
  27516. },
  27517. "convertfactor": {
  27518. "description": "标仓系数",
  27519. "type": "number"
  27520. },
  27521. "createtime": {
  27522. "description": "创建时间",
  27523. "type": "string"
  27524. },
  27525. "creatorid": {
  27526. "description": "创建人",
  27527. "type": "integer"
  27528. },
  27529. "deliverygoodsid": {
  27530. "description": "现货品种ID",
  27531. "type": "integer"
  27532. },
  27533. "enumdicname": {
  27534. "description": "品类单位名称",
  27535. "type": "string"
  27536. },
  27537. "isvalid": {
  27538. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  27539. "type": "integer"
  27540. },
  27541. "minivalue": {
  27542. "description": "最小变动值",
  27543. "type": "integer"
  27544. },
  27545. "minivaluedp": {
  27546. "description": "最小变动值小数位",
  27547. "type": "integer"
  27548. },
  27549. "realminivalue": {
  27550. "description": "实际最小变动值",
  27551. "type": "integer"
  27552. },
  27553. "realminivaluedp": {
  27554. "description": "实际最小变动值小数位",
  27555. "type": "integer"
  27556. },
  27557. "remark": {
  27558. "description": "备注",
  27559. "type": "string"
  27560. },
  27561. "unitid": {
  27562. "description": "品类单位ID",
  27563. "type": "integer"
  27564. },
  27565. "updatetime": {
  27566. "description": "更新时间",
  27567. "type": "string"
  27568. },
  27569. "wrstandardcode": {
  27570. "description": "品类代码",
  27571. "type": "string"
  27572. },
  27573. "wrstandardid": {
  27574. "description": "品类ID(SEQ_WRSTANDARD)",
  27575. "type": "integer"
  27576. },
  27577. "wrstandardname": {
  27578. "description": "品类名称",
  27579. "type": "string"
  27580. }
  27581. }
  27582. },
  27583. "models.Ermcp8EnableHedgeditem": {
  27584. "type": "object",
  27585. "properties": {
  27586. "accountname": {
  27587. "description": "套期主体",
  27588. "type": "string"
  27589. },
  27590. "hedgeditemid": {
  27591. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  27592. "type": "string"
  27593. },
  27594. "hedgeditemname": {
  27595. "description": "项目名称",
  27596. "type": "string"
  27597. },
  27598. "hedgeditemnum": {
  27599. "description": "项目编号",
  27600. "type": "string"
  27601. },
  27602. "hedgedtype": {
  27603. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  27604. "type": "integer"
  27605. },
  27606. "planenddate": {
  27607. "description": "计划结束日期",
  27608. "type": "string"
  27609. },
  27610. "planstartdate": {
  27611. "description": "计划开始日期",
  27612. "type": "string"
  27613. },
  27614. "wrstandardid": {
  27615. "description": "现货商品ID",
  27616. "type": "integer"
  27617. },
  27618. "wrstandardname": {
  27619. "description": "现货商品",
  27620. "type": "string"
  27621. }
  27622. }
  27623. },
  27624. "models.Ermcp8HedgeditemReport": {
  27625. "type": "object",
  27626. "properties": {
  27627. "accountname": {
  27628. "description": "套期主体",
  27629. "type": "string"
  27630. },
  27631. "areauserid": {
  27632. "description": "企业ID",
  27633. "type": "integer"
  27634. },
  27635. "curprice": {
  27636. "description": "[当日现货市场价]当前市场价",
  27637. "type": "number"
  27638. },
  27639. "enumdicname": {
  27640. "description": "单位",
  27641. "type": "string"
  27642. },
  27643. "exeamount": {
  27644. "description": "[执行现货金额]执行市价总额",
  27645. "type": "number"
  27646. },
  27647. "exeavgprice": {
  27648. "description": "[执行价]执行市场均价= 执行市价总额 / 执行现货量",
  27649. "type": "number"
  27650. },
  27651. "exeqty": {
  27652. "description": "[执行数量]执行现货量",
  27653. "type": "number"
  27654. },
  27655. "futurehedgepl": {
  27656. "description": "期货实际损益",
  27657. "type": "number"
  27658. },
  27659. "futurehedgeplchange": {
  27660. "description": "期货实际变动 = 期货实际损益 - 期初期货实际损益",
  27661. "type": "number"
  27662. },
  27663. "futurepl": {
  27664. "description": "期货套期损益",
  27665. "type": "number"
  27666. },
  27667. "futureplchange": {
  27668. "description": "期货套期变动 = 期货套期损益 - 期初期货套期损益",
  27669. "type": "number"
  27670. },
  27671. "hedgeamount": {
  27672. "description": "[套期现货金额]套期市价总额",
  27673. "type": "number"
  27674. },
  27675. "hedgeditemnum": {
  27676. "description": "项目编号,模糊查询",
  27677. "type": "string"
  27678. },
  27679. "hedgeditemstatus": {
  27680. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  27681. "type": "integer"
  27682. },
  27683. "hedgedtype": {
  27684. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  27685. "type": "integer"
  27686. },
  27687. "hedgeqty": {
  27688. "description": "[套期数量]套期现货量",
  27689. "type": "number"
  27690. },
  27691. "oriavgprice": {
  27692. "description": "[期初价]期初市场均价 = 套期市价总额 / 套期现货量",
  27693. "type": "number"
  27694. },
  27695. "orifuturehedgepl": {
  27696. "description": "期初期货实际损益",
  27697. "type": "number"
  27698. },
  27699. "orifuturepl": {
  27700. "description": "期初期货套期损益",
  27701. "type": "number"
  27702. },
  27703. "orispothedgepl": {
  27704. "description": "期初现货实际损益",
  27705. "type": "number"
  27706. },
  27707. "orispotpl": {
  27708. "description": "期初现货套期损益",
  27709. "type": "number"
  27710. },
  27711. "planenddate": {
  27712. "description": "计划结束日期",
  27713. "type": "string"
  27714. },
  27715. "planstartdate": {
  27716. "description": "计划开始日期",
  27717. "type": "string"
  27718. },
  27719. "spothedgepl": {
  27720. "description": "现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  27721. "type": "number"
  27722. },
  27723. "spothedgeplchange": {
  27724. "description": "现货实际变动 = 现货实际损益 - 期初现货实际损益",
  27725. "type": "number"
  27726. },
  27727. "spotpl": {
  27728. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  27729. "type": "number"
  27730. },
  27731. "spotplchange": {
  27732. "description": "现货套期变动 = 现货套期损益 - 期初现货套期损益",
  27733. "type": "number"
  27734. },
  27735. "tradeuserid": {
  27736. "description": "交易用户ID",
  27737. "type": "integer"
  27738. },
  27739. "unexeqty": {
  27740. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  27741. "type": "number"
  27742. },
  27743. "wrstandardcode": {
  27744. "description": "现货品类代码",
  27745. "type": "string"
  27746. },
  27747. "wrstandardid": {
  27748. "description": "现货商品ID",
  27749. "type": "integer"
  27750. },
  27751. "wrstandardname": {
  27752. "description": "[现货商品]现货品类名称",
  27753. "type": "string"
  27754. }
  27755. }
  27756. },
  27757. "models.Ermcp8RunningHedgeditem": {
  27758. "type": "object",
  27759. "properties": {
  27760. "accountname": {
  27761. "description": "套期主体",
  27762. "type": "string"
  27763. },
  27764. "applyid": {
  27765. "description": "申请人",
  27766. "type": "integer"
  27767. },
  27768. "applysrc": {
  27769. "description": "申请来源 - 1:管理端 2:终端",
  27770. "type": "integer"
  27771. },
  27772. "areauserid": {
  27773. "description": "企业ID",
  27774. "type": "integer"
  27775. },
  27776. "auditid": {
  27777. "description": "审核人",
  27778. "type": "integer"
  27779. },
  27780. "auditremark": {
  27781. "description": "审核备注",
  27782. "type": "string"
  27783. },
  27784. "auditsrc": {
  27785. "description": "审核来源 - 1:管理端 2:终端",
  27786. "type": "integer"
  27787. },
  27788. "audittime": {
  27789. "description": "审核时间",
  27790. "type": "string"
  27791. },
  27792. "audittradedate": {
  27793. "description": "审核交易日(yyyyMMdd)",
  27794. "type": "string"
  27795. },
  27796. "createtime": {
  27797. "description": "申请时间",
  27798. "type": "string"
  27799. },
  27800. "curprice": {
  27801. "description": "当前市场价",
  27802. "type": "number"
  27803. },
  27804. "curstock": {
  27805. "description": "期末库存量 = 采购总量 - 销售总量",
  27806. "type": "number"
  27807. },
  27808. "deliverygoodsid": {
  27809. "description": "现货品种ID",
  27810. "type": "integer"
  27811. },
  27812. "enddate": {
  27813. "description": "完成日期",
  27814. "type": "string"
  27815. },
  27816. "endtradedate": {
  27817. "description": "完成交易日",
  27818. "type": "string"
  27819. },
  27820. "enumdicname": {
  27821. "description": "单位",
  27822. "type": "string"
  27823. },
  27824. "exeamount": {
  27825. "description": "执行市价总额",
  27826. "type": "number"
  27827. },
  27828. "exeavgprice": {
  27829. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  27830. "type": "number"
  27831. },
  27832. "execontractamount": {
  27833. "description": "执行定价总额",
  27834. "type": "number"
  27835. },
  27836. "exeqty": {
  27837. "description": "执行现货量",
  27838. "type": "number"
  27839. },
  27840. "exerestamount": {
  27841. "description": "执行剩余市价总额【现货贸易】",
  27842. "type": "number"
  27843. },
  27844. "futurefloatpl": {
  27845. "description": "期货浮动损益",
  27846. "type": "number"
  27847. },
  27848. "futurehedgepl": {
  27849. "description": "期货实际损益",
  27850. "type": "number"
  27851. },
  27852. "futurehedgeplchange": {
  27853. "description": "期货实际损益变动",
  27854. "type": "number"
  27855. },
  27856. "futurepl": {
  27857. "description": "期货套期损益",
  27858. "type": "number"
  27859. },
  27860. "futureplchange": {
  27861. "description": "期货套期损益变动",
  27862. "type": "number"
  27863. },
  27864. "hedgeamount": {
  27865. "description": "套期市价总额",
  27866. "type": "number"
  27867. },
  27868. "hedgecontractamount": {
  27869. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  27870. "type": "number"
  27871. },
  27872. "hedgeditemid": {
  27873. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  27874. "type": "string"
  27875. },
  27876. "hedgeditemname": {
  27877. "description": "项目名称",
  27878. "type": "string"
  27879. },
  27880. "hedgeditemnum": {
  27881. "description": "项目编号",
  27882. "type": "string"
  27883. },
  27884. "hedgeditemstatus": {
  27885. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  27886. "type": "integer"
  27887. },
  27888. "hedgedtype": {
  27889. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  27890. "type": "integer"
  27891. },
  27892. "hedgeqty": {
  27893. "description": "套期现货量",
  27894. "type": "number"
  27895. },
  27896. "hedgerate": {
  27897. "description": "套保比率",
  27898. "type": "number"
  27899. },
  27900. "hedgerestamount": {
  27901. "description": "套期剩余市价总额【现货贸易】",
  27902. "type": "number"
  27903. },
  27904. "hedgesumpl": {
  27905. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  27906. "type": "number"
  27907. },
  27908. "middlegoodslist": {
  27909. "description": "套期商品列表",
  27910. "type": "array",
  27911. "items": {
  27912. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  27913. }
  27914. },
  27915. "oriavgprice": {
  27916. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  27917. "type": "number"
  27918. },
  27919. "orifuturehedgepl": {
  27920. "description": "期初期货实际损益",
  27921. "type": "number"
  27922. },
  27923. "orifuturepl": {
  27924. "description": "期初期货套期损益",
  27925. "type": "number"
  27926. },
  27927. "orispothedgepl": {
  27928. "description": "期初现货实际损益",
  27929. "type": "number"
  27930. },
  27931. "orispotpl": {
  27932. "description": "期初现货套期损益",
  27933. "type": "number"
  27934. },
  27935. "planenddate": {
  27936. "description": "计划结束日期",
  27937. "type": "string"
  27938. },
  27939. "planstartdate": {
  27940. "description": "计划开始日期",
  27941. "type": "string"
  27942. },
  27943. "remark": {
  27944. "description": "备注",
  27945. "type": "string"
  27946. },
  27947. "spotbookamount": {
  27948. "description": "现货账面总额",
  27949. "type": "number"
  27950. },
  27951. "spotfloatpl": {
  27952. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  27953. "type": "number"
  27954. },
  27955. "spothedgepl": {
  27956. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  27957. "type": "number"
  27958. },
  27959. "spothedgeplchange": {
  27960. "description": "现货实际损益变动",
  27961. "type": "number"
  27962. },
  27963. "spotpl": {
  27964. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  27965. "type": "number"
  27966. },
  27967. "spotplchange": {
  27968. "description": "现货套期损益变动",
  27969. "type": "number"
  27970. },
  27971. "spottradepl": {
  27972. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  27973. "type": "number"
  27974. },
  27975. "sumobspl": {
  27976. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  27977. "type": "number"
  27978. },
  27979. "tradeuserid": {
  27980. "description": "交易用户ID",
  27981. "type": "integer"
  27982. },
  27983. "unexeqty": {
  27984. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  27985. "type": "number"
  27986. },
  27987. "updatetime": {
  27988. "description": "更新时间",
  27989. "type": "string"
  27990. },
  27991. "vatpl": {
  27992. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  27993. "type": "number"
  27994. },
  27995. "vatrate": {
  27996. "description": "增值税",
  27997. "type": "number"
  27998. },
  27999. "wrstandardid": {
  28000. "description": "现货商品ID",
  28001. "type": "integer"
  28002. },
  28003. "wrstandardname": {
  28004. "description": "商品名称",
  28005. "type": "string"
  28006. }
  28007. }
  28008. },
  28009. "models.ErmcpBizGroupEx": {
  28010. "type": "object",
  28011. "properties": {
  28012. "acclist": {
  28013. "description": "账号列表",
  28014. "type": "array",
  28015. "items": {
  28016. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  28017. }
  28018. },
  28019. "bizgroupid": {
  28020. "description": "业务分组id",
  28021. "type": "integer"
  28022. },
  28023. "biztype": {
  28024. "description": "业务类型 1-套保 2-套利",
  28025. "type": "integer"
  28026. },
  28027. "wrlist": {
  28028. "description": "现货商品表",
  28029. "type": "array",
  28030. "items": {
  28031. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  28032. }
  28033. }
  28034. }
  28035. },
  28036. "models.ErmcpBizGroupSpotGoods": {
  28037. "type": "object",
  28038. "properties": {
  28039. "areauserid": {
  28040. "description": "所属机构id",
  28041. "type": "integer"
  28042. },
  28043. "bizgroupid": {
  28044. "description": "分组id",
  28045. "type": "integer"
  28046. },
  28047. "biztype": {
  28048. "description": "业务类型 1-套保 2-套利",
  28049. "type": "integer"
  28050. },
  28051. "deliverygoodscode": {
  28052. "description": "现货商品代码",
  28053. "type": "string"
  28054. },
  28055. "deliverygoodsid": {
  28056. "description": "现货商品id",
  28057. "type": "integer"
  28058. },
  28059. "deliverygoodsname": {
  28060. "description": "现货商品名称",
  28061. "type": "string"
  28062. },
  28063. "unitid": {
  28064. "description": "现货商品单位id",
  28065. "type": "integer"
  28066. }
  28067. }
  28068. },
  28069. "models.ErmcpBizGroupTaAccount": {
  28070. "type": "object",
  28071. "properties": {
  28072. "accountid": {
  28073. "description": "账号id",
  28074. "type": "integer"
  28075. },
  28076. "accountname": {
  28077. "description": "账号名称",
  28078. "type": "string"
  28079. },
  28080. "areauserid": {
  28081. "description": "所属机构id",
  28082. "type": "integer"
  28083. },
  28084. "bizgroupid": {
  28085. "description": "业务分组id",
  28086. "type": "integer"
  28087. },
  28088. "ismain": {
  28089. "description": "是否主账号 1-是 0-否",
  28090. "type": "integer"
  28091. }
  28092. }
  28093. },
  28094. "models.ErmcpDGFactoryItem": {
  28095. "type": "object",
  28096. "properties": {
  28097. "areauserid": {
  28098. "description": "用户id",
  28099. "type": "integer"
  28100. },
  28101. "deliverygoodsid": {
  28102. "description": "现货品种ID",
  28103. "type": "integer"
  28104. },
  28105. "dgfactoryitemid": {
  28106. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  28107. "type": "integer"
  28108. },
  28109. "dgfactoryitemtypeid": {
  28110. "description": "要素项类型",
  28111. "type": "integer"
  28112. },
  28113. "dgfactoryitemvalue": {
  28114. "description": "要素项值(类型为仓库时填写仓库名称)",
  28115. "type": "string"
  28116. },
  28117. "isvalid": {
  28118. "description": "是否有效 - 0:无效 1:有效",
  28119. "type": "integer"
  28120. },
  28121. "orderindex": {
  28122. "description": "顺序",
  28123. "type": "integer"
  28124. },
  28125. "warehouseid": {
  28126. "description": "仓库ID(类型为仓库时填写)",
  28127. "type": "integer"
  28128. }
  28129. }
  28130. },
  28131. "models.ErmcpDeliveryGoods": {
  28132. "type": "object",
  28133. "properties": {
  28134. "agreeunit": {
  28135. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  28136. "type": "integer"
  28137. },
  28138. "areauserid": {
  28139. "description": "所属机构",
  28140. "type": "integer"
  28141. },
  28142. "auditflag": {
  28143. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  28144. "type": "integer"
  28145. },
  28146. "categoryid": {
  28147. "description": "类别ID(SEQ_WRCATEGORY)",
  28148. "type": "integer"
  28149. },
  28150. "deliverygoodscode": {
  28151. "description": "现货品种代码",
  28152. "type": "string"
  28153. },
  28154. "deliverygoodsid": {
  28155. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  28156. "type": "integer"
  28157. },
  28158. "deliverygoodsname": {
  28159. "description": "现货品种名称",
  28160. "type": "string"
  28161. },
  28162. "deliverygoodstype": {
  28163. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  28164. "type": "integer"
  28165. },
  28166. "dgstatus": {
  28167. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  28168. "type": "integer"
  28169. },
  28170. "enumdicname": {
  28171. "description": "现货品种单位名称",
  28172. "type": "string"
  28173. },
  28174. "goodsunitid": {
  28175. "description": "现货品种单位ID",
  28176. "type": "integer"
  28177. },
  28178. "isvalid": {
  28179. "description": "是否有效 - 0:无效 1:有效",
  28180. "type": "integer"
  28181. },
  28182. "qtydecimalplace": {
  28183. "description": "成交量小数位",
  28184. "type": "integer"
  28185. },
  28186. "remark": {
  28187. "description": "备注",
  28188. "type": "string"
  28189. },
  28190. "standardqty": {
  28191. "description": "标准数量(库位数量) [标准品特有]",
  28192. "type": "integer"
  28193. },
  28194. "standardqtyrange": {
  28195. "description": "标准数量偏差范围 [标准品特有]",
  28196. "type": "integer"
  28197. }
  28198. }
  28199. },
  28200. "models.ErmcpFuturesCompany": {
  28201. "type": "object",
  28202. "properties": {
  28203. "brokerid": {
  28204. "description": "经纪公司代码",
  28205. "type": "string"
  28206. },
  28207. "channeladdress": {
  28208. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  28209. "type": "string"
  28210. },
  28211. "channelid": {
  28212. "description": "对冲渠道ID",
  28213. "type": "string"
  28214. },
  28215. "createtime": {
  28216. "description": "创建时间",
  28217. "type": "string"
  28218. },
  28219. "creatorid": {
  28220. "description": "创建人",
  28221. "type": "string"
  28222. },
  28223. "fcid": {
  28224. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  28225. "type": "integer"
  28226. },
  28227. "fcname": {
  28228. "description": "期货公司名称",
  28229. "type": "string"
  28230. },
  28231. "isvalid": {
  28232. "description": "是否有效 - 0:无效 1:有效",
  28233. "type": "integer"
  28234. },
  28235. "mhpaddress": {
  28236. "description": "MHP服务地址(IP:Port)",
  28237. "type": "string"
  28238. },
  28239. "riskrulegroupid": {
  28240. "description": "风控规则组ID",
  28241. "type": "string"
  28242. },
  28243. "tradefeetmpid": {
  28244. "description": "手续费模板ID[TradeConfigTmpType为2]",
  28245. "type": "string"
  28246. },
  28247. "trademargintmpid": {
  28248. "description": "保证金模板ID [TradeConfigTmpType为1]",
  28249. "type": "string"
  28250. },
  28251. "traderatetmpid": {
  28252. "description": "汇率模板ID[TradeConfigTmpType为3]",
  28253. "type": "string"
  28254. },
  28255. "updatetime": {
  28256. "description": "更新时间",
  28257. "type": "string"
  28258. },
  28259. "updatorid": {
  28260. "description": "更新人",
  28261. "type": "string"
  28262. }
  28263. }
  28264. },
  28265. "models.ErmcpGGConvertCfg": {
  28266. "type": "object",
  28267. "properties": {
  28268. "convertratio": {
  28269. "description": "折算系数",
  28270. "type": "number"
  28271. },
  28272. "destgoodsgroupid": {
  28273. "description": "目标品种ID",
  28274. "type": "integer"
  28275. },
  28276. "dstcode": {
  28277. "description": "目录品种代码",
  28278. "type": "string"
  28279. },
  28280. "dstexchangecode": {
  28281. "description": "目标期货交易所",
  28282. "type": "string"
  28283. },
  28284. "dstname": {
  28285. "description": "目标品种名称",
  28286. "type": "string"
  28287. },
  28288. "dstunitid": {
  28289. "description": "目标品种单位ID",
  28290. "type": "integer"
  28291. },
  28292. "dstunitidname": {
  28293. "description": "目标品种单位名称",
  28294. "type": "string"
  28295. },
  28296. "modifytime": {
  28297. "description": "修改时间",
  28298. "type": "string"
  28299. },
  28300. "srccode": {
  28301. "description": "源品种代码",
  28302. "type": "string"
  28303. },
  28304. "srcexchangecode": {
  28305. "description": "源期货交易所",
  28306. "type": "string"
  28307. },
  28308. "srcgoodsgroupid": {
  28309. "description": "源品种ID",
  28310. "type": "integer"
  28311. },
  28312. "srcname": {
  28313. "description": "源品种名称",
  28314. "type": "string"
  28315. },
  28316. "srcunitid": {
  28317. "description": "源品种单位ID",
  28318. "type": "integer"
  28319. },
  28320. "srcunitidname": {
  28321. "description": "源品种单位名称",
  28322. "type": "string"
  28323. }
  28324. }
  28325. },
  28326. "models.ErmcpGoods": {
  28327. "type": "object",
  28328. "required": [
  28329. "goodscode",
  28330. "goodsid",
  28331. "goodsname",
  28332. "marketid"
  28333. ],
  28334. "properties": {
  28335. "agreeunit": {
  28336. "description": "合约单位",
  28337. "type": "number"
  28338. },
  28339. "areauserid": {
  28340. "description": "所属机构",
  28341. "type": "integer"
  28342. },
  28343. "auditaccountid": {
  28344. "description": "审核操作员账号",
  28345. "type": "integer"
  28346. },
  28347. "audittime": {
  28348. "description": "审核时间",
  28349. "type": "string"
  28350. },
  28351. "cancelaccountid": {
  28352. "description": "注销操作员账号",
  28353. "type": "integer"
  28354. },
  28355. "canceltime": {
  28356. "description": "注销时间",
  28357. "type": "string"
  28358. },
  28359. "closepricemode": {
  28360. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  28361. "type": "integer"
  28362. },
  28363. "closepriceparam": {
  28364. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  28365. "type": "number"
  28366. },
  28367. "createtime": {
  28368. "description": "创建时间",
  28369. "type": "string"
  28370. },
  28371. "creatorid": {
  28372. "description": "创建人",
  28373. "type": "integer"
  28374. },
  28375. "currencyid": {
  28376. "description": "报价货币ID",
  28377. "type": "integer"
  28378. },
  28379. "cutmode": {
  28380. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  28381. "type": "integer"
  28382. },
  28383. "decimalplace": {
  28384. "description": "报价小数位",
  28385. "type": "integer"
  28386. },
  28387. "delistingdate": {
  28388. "description": "商品退市时间(状态:退市) -- 已作废",
  28389. "type": "string"
  28390. },
  28391. "delistingmode": {
  28392. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  28393. "type": "integer"
  28394. },
  28395. "deliveryflag": {
  28396. "description": "交割标志 - 0:不可交割 1:可交割",
  28397. "type": "integer"
  28398. },
  28399. "enumdicname": {
  28400. "description": "单位名称",
  28401. "type": "string"
  28402. },
  28403. "forceclosemode": {
  28404. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  28405. "type": "integer"
  28406. },
  28407. "forceclosevalue": {
  28408. "description": "定期强平参数 [收益权]",
  28409. "type": "integer"
  28410. },
  28411. "goodscode": {
  28412. "description": "商品代码(内部)",
  28413. "type": "string"
  28414. },
  28415. "goodscurrencyid": {
  28416. "description": "合约货币ID",
  28417. "type": "integer"
  28418. },
  28419. "goodsgroupid": {
  28420. "description": "所属商品组ID",
  28421. "type": "integer"
  28422. },
  28423. "goodsid": {
  28424. "description": "商品ID(自增ID SEQ_GOODS)",
  28425. "type": "integer"
  28426. },
  28427. "goodsname": {
  28428. "description": "商品名称",
  28429. "type": "string"
  28430. },
  28431. "goodsquotetype": {
  28432. "description": "合约报价类型: 1-直接报价 2-间接报价",
  28433. "type": "integer"
  28434. },
  28435. "goodsstatus": {
  28436. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  28437. "type": "integer"
  28438. },
  28439. "goodstradetype": {
  28440. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  28441. "type": "integer"
  28442. },
  28443. "goodunitid": {
  28444. "description": "报价单位ID",
  28445. "type": "integer"
  28446. },
  28447. "hasquoter": {
  28448. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  28449. "type": "integer"
  28450. },
  28451. "hqprotecttime": {
  28452. "description": "行情保护时间(秒)",
  28453. "type": "integer"
  28454. },
  28455. "innerdealmode": {
  28456. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  28457. "type": "integer"
  28458. },
  28459. "isbuylimited": {
  28460. "description": "是否限制建仓量 - 0:不限制 1:限制",
  28461. "type": "integer"
  28462. },
  28463. "isvisible": {
  28464. "description": "游客是否可见 - 0:不可见 1:可见",
  28465. "type": "integer"
  28466. },
  28467. "lasttradedate": {
  28468. "description": "最后交易日期(状态:待退市)",
  28469. "type": "string"
  28470. },
  28471. "listingdate": {
  28472. "description": "交易开始日期",
  28473. "type": "string"
  28474. },
  28475. "marketid": {
  28476. "description": "所属市场ID",
  28477. "type": "integer"
  28478. },
  28479. "modifierid": {
  28480. "description": "修改人",
  28481. "type": "integer"
  28482. },
  28483. "modifystatus": {
  28484. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  28485. "type": "integer"
  28486. },
  28487. "modifytime": {
  28488. "description": "修改时间",
  28489. "type": "string"
  28490. },
  28491. "outerdealmode": {
  28492. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  28493. "type": "integer"
  28494. },
  28495. "outgoodscode": {
  28496. "description": "商品代码(外部)",
  28497. "type": "string"
  28498. },
  28499. "pictureurl": {
  28500. "description": "商品图片",
  28501. "type": "string"
  28502. },
  28503. "qtydecimalplace": {
  28504. "description": "成交量小数位",
  28505. "type": "integer"
  28506. },
  28507. "quotegear": {
  28508. "description": "行情档位(1-10)",
  28509. "type": "integer"
  28510. },
  28511. "quoteminunit": {
  28512. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  28513. "type": "integer"
  28514. },
  28515. "quoteshowtype": {
  28516. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  28517. "type": "integer"
  28518. },
  28519. "quoteshowtypeinterval": {
  28520. "description": "行情报价间隔时间(秒)(成交价时为0)",
  28521. "type": "integer"
  28522. },
  28523. "relatedgoodsid": {
  28524. "description": "关联参考商品ID",
  28525. "type": "integer"
  28526. },
  28527. "remark": {
  28528. "description": "备注",
  28529. "type": "string"
  28530. },
  28531. "trademode": {
  28532. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28533. "type": "integer"
  28534. }
  28535. }
  28536. },
  28537. "models.ErmcpGoodsBrand": {
  28538. "type": "object",
  28539. "properties": {
  28540. "areauserid": {
  28541. "description": "所属机构",
  28542. "type": "integer"
  28543. },
  28544. "brandid": {
  28545. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  28546. "type": "integer"
  28547. },
  28548. "brandname": {
  28549. "description": "品牌名称",
  28550. "type": "string"
  28551. },
  28552. "createtime": {
  28553. "description": "创建时间",
  28554. "type": "string"
  28555. },
  28556. "creatorid": {
  28557. "description": "创建人",
  28558. "type": "integer"
  28559. },
  28560. "creatorsrc": {
  28561. "description": "创建人来源 - 1:管理端 2:终端",
  28562. "type": "integer"
  28563. },
  28564. "deliverygoodsid": {
  28565. "description": "现货品种ID",
  28566. "type": "integer"
  28567. },
  28568. "isvalid": {
  28569. "description": "是否有效 - 0:无效 1:有效",
  28570. "type": "integer"
  28571. },
  28572. "updatetime": {
  28573. "description": "更新时间",
  28574. "type": "string"
  28575. },
  28576. "updatorid": {
  28577. "description": "更新人",
  28578. "type": "integer"
  28579. },
  28580. "updatorsrc": {
  28581. "description": "更新人来源 - 1:管理端 2:终端",
  28582. "type": "integer"
  28583. },
  28584. "wrstandardid": {
  28585. "description": "现货商品ID",
  28586. "type": "integer"
  28587. }
  28588. }
  28589. },
  28590. "models.ErmcpGoodsModel": {
  28591. "type": "object",
  28592. "properties": {
  28593. "areauserid": {
  28594. "description": "所属机构",
  28595. "type": "integer"
  28596. },
  28597. "convertfactor": {
  28598. "description": "标仓系数",
  28599. "type": "number"
  28600. },
  28601. "createtime": {
  28602. "description": "创建时间",
  28603. "type": "string"
  28604. },
  28605. "creatorid": {
  28606. "description": "创建人",
  28607. "type": "integer"
  28608. },
  28609. "creatorsrc": {
  28610. "description": "创建人来源 - 1:管理端 2:终端",
  28611. "type": "integer"
  28612. },
  28613. "deliverygoodsid": {
  28614. "description": "现货品种ID",
  28615. "type": "integer"
  28616. },
  28617. "isvalid": {
  28618. "description": "是否有效 - 0:无效 1:有效",
  28619. "type": "integer"
  28620. },
  28621. "modelid": {
  28622. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  28623. "type": "integer"
  28624. },
  28625. "modelname": {
  28626. "description": "型号名称",
  28627. "type": "string"
  28628. },
  28629. "updatetime": {
  28630. "description": "更新时间",
  28631. "type": "string"
  28632. },
  28633. "updatorid": {
  28634. "description": "更新人",
  28635. "type": "integer"
  28636. },
  28637. "updatorsrc": {
  28638. "description": "更新人来源 - 1:管理端 2:终端",
  28639. "type": "integer"
  28640. },
  28641. "wrstandardid": {
  28642. "description": "现货商品ID",
  28643. "type": "integer"
  28644. }
  28645. }
  28646. },
  28647. "models.ErmcpHisExposure": {
  28648. "type": "object",
  28649. "properties": {
  28650. "needhedgeexposoure": {
  28651. "description": "应套保敞口",
  28652. "type": "number"
  28653. },
  28654. "reckondate": {
  28655. "description": "日照时期(yyyyMMdd)",
  28656. "type": "string"
  28657. },
  28658. "totalexposure": {
  28659. "description": "总敞口",
  28660. "type": "number"
  28661. }
  28662. }
  28663. },
  28664. "models.ErmcpLoginTaAccount": {
  28665. "type": "object",
  28666. "properties": {
  28667. "accountid": {
  28668. "description": "账号id",
  28669. "type": "integer"
  28670. },
  28671. "accountname": {
  28672. "description": "账号名称",
  28673. "type": "string"
  28674. }
  28675. }
  28676. },
  28677. "models.ErmcpLoginUser": {
  28678. "type": "object",
  28679. "properties": {
  28680. "acclist": {
  28681. "description": "关联资金账号",
  28682. "type": "array",
  28683. "items": {
  28684. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  28685. }
  28686. },
  28687. "accountname": {
  28688. "description": "用户名称",
  28689. "type": "string"
  28690. },
  28691. "clientroleid": {
  28692. "description": "角色id(usertype=2)",
  28693. "type": "integer"
  28694. },
  28695. "createtime": {
  28696. "description": "创建时间",
  28697. "type": "string"
  28698. },
  28699. "logincode": {
  28700. "description": "登录代码",
  28701. "type": "string"
  28702. },
  28703. "loginid": {
  28704. "description": "登录id(LOGINID)",
  28705. "type": "integer"
  28706. },
  28707. "loginname": {
  28708. "description": "登录名称(loginaccount表中的accountname字段)",
  28709. "type": "string"
  28710. },
  28711. "loginstatus": {
  28712. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  28713. "type": "integer"
  28714. },
  28715. "memberuserid": {
  28716. "description": "所属会员id",
  28717. "type": "integer"
  28718. },
  28719. "mobile": {
  28720. "description": "手机号",
  28721. "type": "string"
  28722. },
  28723. "modifytime": {
  28724. "description": "修改时间",
  28725. "type": "string"
  28726. },
  28727. "password": {
  28728. "description": "密码(不可解密)",
  28729. "type": "string"
  28730. },
  28731. "rolename": {
  28732. "description": "角色名称",
  28733. "type": "string"
  28734. },
  28735. "rolestatus": {
  28736. "description": "角色状态 1-启用 2-停用",
  28737. "type": "integer"
  28738. },
  28739. "roletype": {
  28740. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  28741. "type": "string"
  28742. },
  28743. "userid": {
  28744. "description": "用户id",
  28745. "type": "integer"
  28746. },
  28747. "usertype": {
  28748. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  28749. "type": "integer"
  28750. }
  28751. }
  28752. },
  28753. "models.ErmcpLoginUserEx": {
  28754. "type": "object",
  28755. "properties": {
  28756. "accountstatus": {
  28757. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  28758. "type": "integer"
  28759. },
  28760. "mobile": {
  28761. "description": "手机号",
  28762. "type": "string"
  28763. },
  28764. "querytype": {
  28765. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  28766. "type": "integer"
  28767. },
  28768. "roleid": {
  28769. "description": "角色id(交易账户-\u003e用户id)",
  28770. "type": "integer"
  28771. },
  28772. "rolename": {
  28773. "description": "角色名称(交易账户-\u003e用户名称)",
  28774. "type": "string"
  28775. },
  28776. "userlist": {
  28777. "description": "用户列表",
  28778. "type": "array",
  28779. "items": {
  28780. "$ref": "#/definitions/models.ErmcpLoginUser"
  28781. }
  28782. },
  28783. "usertype": {
  28784. "description": "用户类型 2-机构 7-企业成员(云平台)",
  28785. "type": "integer"
  28786. }
  28787. }
  28788. },
  28789. "models.ErmcpMiddleGoodsModel": {
  28790. "type": "object",
  28791. "properties": {
  28792. "areauserid": {
  28793. "description": "机构用户ID",
  28794. "type": "integer"
  28795. },
  28796. "createtime": {
  28797. "description": "修改时间",
  28798. "type": "string"
  28799. },
  28800. "enumdicname": {
  28801. "description": "单位名称",
  28802. "type": "string"
  28803. },
  28804. "evaluateratio": {
  28805. "description": "估价系数",
  28806. "type": "number"
  28807. },
  28808. "goodsgroupid": {
  28809. "description": "关联期货品种ID",
  28810. "type": "integer"
  28811. },
  28812. "goodsunitid": {
  28813. "description": "单位ID",
  28814. "type": "integer"
  28815. },
  28816. "isvalid": {
  28817. "description": "状态 0-无效(停用) 1-有效(正常)",
  28818. "type": "integer"
  28819. },
  28820. "middlegoodscode": {
  28821. "description": "套保品种代码",
  28822. "type": "string"
  28823. },
  28824. "middlegoodsid": {
  28825. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  28826. "type": "integer"
  28827. },
  28828. "middlegoodsname": {
  28829. "description": "套保品种名称",
  28830. "type": "string"
  28831. },
  28832. "modifytime": {
  28833. "description": "修改时间",
  28834. "type": "string"
  28835. },
  28836. "needarbitrageratio": {
  28837. "description": "套利比例",
  28838. "type": "number"
  28839. },
  28840. "needhedgeratio": {
  28841. "description": "套保比率",
  28842. "type": "number"
  28843. },
  28844. "qtydecimalplace": {
  28845. "description": "数量小数位",
  28846. "type": "integer"
  28847. },
  28848. "relatedgoodsid": {
  28849. "description": "关联交易商品ID",
  28850. "type": "integer"
  28851. },
  28852. "relatedgoodstype": {
  28853. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  28854. "type": "integer"
  28855. },
  28856. "remark": {
  28857. "description": "备注",
  28858. "type": "string"
  28859. }
  28860. }
  28861. },
  28862. "models.ErmcpMiddlegoodsRelateGoods": {
  28863. "type": "object",
  28864. "properties": {
  28865. "agreeunit": {
  28866. "description": "合约乘数",
  28867. "type": "number"
  28868. },
  28869. "convertratio": {
  28870. "description": "折算系数",
  28871. "type": "number"
  28872. },
  28873. "enumdicname": {
  28874. "description": "单位名称(交易商品)",
  28875. "type": "string"
  28876. },
  28877. "goodscode": {
  28878. "description": "交易商品代码",
  28879. "type": "string"
  28880. },
  28881. "goodsgroupid": {
  28882. "description": "交易品种id",
  28883. "type": "integer"
  28884. },
  28885. "goodsid": {
  28886. "description": "商品Id",
  28887. "type": "integer"
  28888. },
  28889. "goodsname": {
  28890. "description": "交易商品名称",
  28891. "type": "string"
  28892. },
  28893. "goodunitid": {
  28894. "description": "交易商品单位id",
  28895. "type": "integer"
  28896. },
  28897. "middlegoodsid": {
  28898. "description": "套保商品id",
  28899. "type": "integer"
  28900. },
  28901. "middlegoodsname": {
  28902. "description": "套保商品名称",
  28903. "type": "string"
  28904. },
  28905. "middlegoodsswcode": {
  28906. "description": "套保商品代码",
  28907. "type": "string"
  28908. },
  28909. "needarbitrageratio": {
  28910. "description": "应套利比例",
  28911. "type": "number"
  28912. },
  28913. "needhedgeratio": {
  28914. "description": "应套保比例",
  28915. "type": "number"
  28916. }
  28917. }
  28918. },
  28919. "models.ErmcpRole": {
  28920. "type": "object",
  28921. "properties": {
  28922. "areauserid": {
  28923. "description": "所属机构",
  28924. "type": "integer"
  28925. },
  28926. "autoid": {
  28927. "description": "角色ID(自增ID)",
  28928. "type": "integer"
  28929. },
  28930. "modifierid": {
  28931. "description": "修改人(创建人)",
  28932. "type": "integer"
  28933. },
  28934. "modifiername": {
  28935. "description": "修改人名称",
  28936. "type": "string"
  28937. },
  28938. "modifytime": {
  28939. "description": "修改时间(创建时间)",
  28940. "type": "string"
  28941. },
  28942. "rolename": {
  28943. "description": "角色名称",
  28944. "type": "string"
  28945. },
  28946. "rolestatus": {
  28947. "description": "角色状态 - 1:启用 2:停用",
  28948. "type": "integer"
  28949. },
  28950. "roletype": {
  28951. "description": "角色类型 - 1- 管理端 2- 交易端",
  28952. "type": "integer"
  28953. }
  28954. }
  28955. },
  28956. "models.ErmcpRoleMenu": {
  28957. "type": "object",
  28958. "properties": {
  28959. "iconame": {
  28960. "description": "菜单图标",
  28961. "type": "string"
  28962. },
  28963. "ishadrole": {
  28964. "description": "是否有权限",
  28965. "type": "boolean"
  28966. },
  28967. "menutype": {
  28968. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  28969. "type": "integer"
  28970. },
  28971. "parentcode": {
  28972. "description": "上级资源代码",
  28973. "type": "string"
  28974. },
  28975. "remark": {
  28976. "description": "菜单备注",
  28977. "type": "string"
  28978. },
  28979. "resourcecode": {
  28980. "description": "菜单代码",
  28981. "type": "string"
  28982. },
  28983. "resourcelevel": {
  28984. "description": "级别",
  28985. "type": "integer"
  28986. },
  28987. "resourcename": {
  28988. "description": "菜单名称",
  28989. "type": "string"
  28990. },
  28991. "roleid": {
  28992. "description": "角色id",
  28993. "type": "integer"
  28994. },
  28995. "sort": {
  28996. "description": "排序",
  28997. "type": "integer"
  28998. },
  28999. "url": {
  29000. "description": "URL",
  29001. "type": "string"
  29002. },
  29003. "userid": {
  29004. "description": "用户id",
  29005. "type": "integer"
  29006. }
  29007. }
  29008. },
  29009. "models.ErmcpRoleMenuEx": {
  29010. "type": "object",
  29011. "properties": {
  29012. "menu": {
  29013. "description": "父级菜单",
  29014. "$ref": "#/definitions/models.ErmcpRoleMenu"
  29015. },
  29016. "subMenu": {
  29017. "description": "子级菜单",
  29018. "type": "array",
  29019. "items": {
  29020. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  29021. }
  29022. }
  29023. }
  29024. },
  29025. "models.ErmcpSpotContractModelEx": {
  29026. "type": "object",
  29027. "properties": {
  29028. "accountname": {
  29029. "description": "套期主体",
  29030. "type": "string"
  29031. },
  29032. "amount": {
  29033. "description": "金额 [1:一口价、3:暂定价]",
  29034. "type": "number"
  29035. },
  29036. "attachment": {
  29037. "description": "附件",
  29038. "type": "string"
  29039. },
  29040. "auditremark": {
  29041. "description": "审核意见",
  29042. "type": "string"
  29043. },
  29044. "audittime": {
  29045. "description": "审核时间",
  29046. "type": "string"
  29047. },
  29048. "avgprice": {
  29049. "description": "定价均价 = 已定价金额 / 已定价量",
  29050. "type": "number"
  29051. },
  29052. "brandname": {
  29053. "description": "品牌名称",
  29054. "type": "string"
  29055. },
  29056. "buyuserid": {
  29057. "description": "采购方ID",
  29058. "type": "integer"
  29059. },
  29060. "buyusername": {
  29061. "description": "采购方名称",
  29062. "type": "string"
  29063. },
  29064. "contracctstatus": {
  29065. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  29066. "type": "integer"
  29067. },
  29068. "contractmargin": {
  29069. "description": "合同保证金",
  29070. "type": "number"
  29071. },
  29072. "contractno": {
  29073. "description": "[合同编号]现货合同编号",
  29074. "type": "string"
  29075. },
  29076. "contracttype": {
  29077. "description": "[合同类型]现货合同类型 - 1:采购 -1:销售",
  29078. "type": "integer"
  29079. },
  29080. "convertfactor": {
  29081. "description": "标仓系数",
  29082. "type": "number"
  29083. },
  29084. "createtime": {
  29085. "description": "创建时间",
  29086. "type": "string"
  29087. },
  29088. "customername": {
  29089. "description": "对手方",
  29090. "type": "string"
  29091. },
  29092. "customeruserid": {
  29093. "description": "客户ID",
  29094. "type": "integer"
  29095. },
  29096. "deliveryenddate": {
  29097. "description": "交收期(结束)",
  29098. "type": "string"
  29099. },
  29100. "deliverygoodscode": {
  29101. "description": "现货品种代码",
  29102. "type": "string"
  29103. },
  29104. "deliverygoodsid": {
  29105. "description": "现货品种ID",
  29106. "type": "integer"
  29107. },
  29108. "deliverygoodsname": {
  29109. "description": "现货品种名称",
  29110. "type": "string"
  29111. },
  29112. "deliverystartdate": {
  29113. "description": "交收期(开始)",
  29114. "type": "string"
  29115. },
  29116. "enddate": {
  29117. "description": "点价结束日期 [2:点价 3:暂定价]",
  29118. "type": "string"
  29119. },
  29120. "enumdicname": {
  29121. "description": "单位名称",
  29122. "type": "string"
  29123. },
  29124. "goodscode": {
  29125. "description": "点价合约代码",
  29126. "type": "string"
  29127. },
  29128. "goodsid": {
  29129. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  29130. "type": "integer"
  29131. },
  29132. "goodsname": {
  29133. "description": "点价商品名称",
  29134. "type": "string"
  29135. },
  29136. "isrelated": {
  29137. "description": "是否已关联计划项目 - 0:否 1:是",
  29138. "type": "integer"
  29139. },
  29140. "isrelated2": {
  29141. "description": "是否已关联现货项目 - 0:否 1:是",
  29142. "type": "integer"
  29143. },
  29144. "margin": {
  29145. "description": "当前保证金",
  29146. "type": "number"
  29147. },
  29148. "modelname": {
  29149. "description": "型号名称",
  29150. "type": "string"
  29151. },
  29152. "price": {
  29153. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  29154. "type": "number"
  29155. },
  29156. "pricedamount": {
  29157. "description": "已定价金额 = (点价价格+升贴水) * 数量",
  29158. "type": "number"
  29159. },
  29160. "pricedqty": {
  29161. "description": "已定价量",
  29162. "type": "number"
  29163. },
  29164. "pricemove": {
  29165. "description": "升贴水 [2:点价 3:暂定价]",
  29166. "type": "number"
  29167. },
  29168. "pricetype": {
  29169. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  29170. "type": "integer"
  29171. },
  29172. "producttype": {
  29173. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  29174. "type": "integer"
  29175. },
  29176. "qty": {
  29177. "description": "[合同数量]数量",
  29178. "type": "number"
  29179. },
  29180. "remark": {
  29181. "description": "备注",
  29182. "type": "string"
  29183. },
  29184. "selluserid": {
  29185. "description": "销售方ID",
  29186. "type": "integer"
  29187. },
  29188. "sellusername": {
  29189. "description": "销售方名称",
  29190. "type": "string"
  29191. },
  29192. "spotamount": {
  29193. "description": "合同现货金额 [不含升贴水]",
  29194. "type": "number"
  29195. },
  29196. "spotavgprice": {
  29197. "description": "现货均价 = 合同现货金额 / 已定价量",
  29198. "type": "number"
  29199. },
  29200. "spotcontractid": {
  29201. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  29202. "type": "string"
  29203. },
  29204. "spotgoodsbrandid": {
  29205. "description": "现货品牌ID",
  29206. "type": "integer"
  29207. },
  29208. "spotgoodsdesc": {
  29209. "description": "商品型号",
  29210. "type": "string"
  29211. },
  29212. "spotgoodsmodelid": {
  29213. "description": "现货型号ID",
  29214. "type": "integer"
  29215. },
  29216. "startdate": {
  29217. "description": "点价开始日期 [2:点价 3:暂定价]",
  29218. "type": "string"
  29219. },
  29220. "tradeuserid": {
  29221. "description": "交易用户ID",
  29222. "type": "integer"
  29223. },
  29224. "unpricedqty": {
  29225. "description": "未定价量 = 合同数量 - 已定价量",
  29226. "type": "number"
  29227. },
  29228. "updatetime": {
  29229. "description": "更新时间",
  29230. "type": "string"
  29231. },
  29232. "userid": {
  29233. "description": "机构ID",
  29234. "type": "integer"
  29235. },
  29236. "wrstandardcode": {
  29237. "description": "现货商品代码",
  29238. "type": "string"
  29239. },
  29240. "wrstandardid": {
  29241. "description": "现货商品ID",
  29242. "type": "integer"
  29243. },
  29244. "wrstandardname": {
  29245. "description": "[现货商品]现货商品名称",
  29246. "type": "string"
  29247. }
  29248. }
  29249. },
  29250. "models.ErmcpTaAccount": {
  29251. "type": "object",
  29252. "properties": {
  29253. "accountid": {
  29254. "description": "账户id",
  29255. "type": "integer"
  29256. },
  29257. "accountname": {
  29258. "description": "账户名称",
  29259. "type": "string"
  29260. },
  29261. "currencyid": {
  29262. "description": "币种id",
  29263. "type": "integer"
  29264. },
  29265. "hedgeaccountcode": {
  29266. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  29267. "type": "string"
  29268. },
  29269. "ismain": {
  29270. "description": "是否主账户 0-否 1-是",
  29271. "type": "integer"
  29272. },
  29273. "parentaccountid": {
  29274. "description": "父账户id",
  29275. "type": "integer"
  29276. },
  29277. "relateduserid": {
  29278. "description": "关联userid",
  29279. "type": "integer"
  29280. },
  29281. "tradefeetmpid": {
  29282. "description": "手续费模板id",
  29283. "type": "integer"
  29284. },
  29285. "tradefeetmpname": {
  29286. "description": "手续费模板名称",
  29287. "type": "string"
  29288. },
  29289. "trademargintmpid": {
  29290. "description": "保证金模板id",
  29291. "type": "integer"
  29292. },
  29293. "trademargintmpname": {
  29294. "description": "保证金模板名称",
  29295. "type": "string"
  29296. },
  29297. "traderatetmpid": {
  29298. "description": "汇率模板id",
  29299. "type": "integer"
  29300. },
  29301. "traderatetmpname": {
  29302. "description": "汇率模板名称",
  29303. "type": "string"
  29304. },
  29305. "tradestatus": {
  29306. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  29307. "type": "integer"
  29308. },
  29309. "userid": {
  29310. "description": "用户id",
  29311. "type": "integer"
  29312. }
  29313. }
  29314. },
  29315. "models.ErmcpTaAccountEx": {
  29316. "type": "object",
  29317. "properties": {
  29318. "mainAcc": {
  29319. "description": "主账号",
  29320. "$ref": "#/definitions/models.ErmcpTaAccountM"
  29321. },
  29322. "subacclist": {
  29323. "description": "子账号列表",
  29324. "type": "array",
  29325. "items": {
  29326. "$ref": "#/definitions/models.ErmcpTaAccount"
  29327. }
  29328. }
  29329. }
  29330. },
  29331. "models.ErmcpTaAccountInfo": {
  29332. "type": "object",
  29333. "properties": {
  29334. "accountid": {
  29335. "description": "资金账户ID",
  29336. "type": "integer"
  29337. },
  29338. "accountname": {
  29339. "description": "账户名称",
  29340. "type": "string"
  29341. },
  29342. "balance": {
  29343. "description": "期初余额",
  29344. "type": "number"
  29345. },
  29346. "capitalbalance": {
  29347. "description": "本金余额[外部子账户实际出入金余额]",
  29348. "type": "number"
  29349. },
  29350. "closepl": {
  29351. "description": "今日平仓盈亏",
  29352. "type": "number"
  29353. },
  29354. "creditdecrease": {
  29355. "description": "今日授信减少",
  29356. "type": "number"
  29357. },
  29358. "creditincrease": {
  29359. "description": "今日授信增加",
  29360. "type": "number"
  29361. },
  29362. "curdebt": {
  29363. "description": "期末欠款",
  29364. "type": "number"
  29365. },
  29366. "currencyid": {
  29367. "description": "货币ID",
  29368. "type": "integer"
  29369. },
  29370. "currentbalance": {
  29371. "description": "期末余额",
  29372. "type": "number"
  29373. },
  29374. "freezecharge": {
  29375. "description": "手续费冻结",
  29376. "type": "number"
  29377. },
  29378. "freezemargin": {
  29379. "description": "冻结保证金",
  29380. "type": "number"
  29381. },
  29382. "fromaccountid": {
  29383. "description": "所属上级账户",
  29384. "type": "integer"
  29385. },
  29386. "inamount": {
  29387. "description": "今日入金金额(包括三方入金)",
  29388. "type": "number"
  29389. },
  29390. "ismain": {
  29391. "description": "是否母账号 0:不是母账户 1:是母账户",
  29392. "type": "integer"
  29393. },
  29394. "mortgagecredit": {
  29395. "description": "授信金额",
  29396. "type": "number"
  29397. },
  29398. "oridebt": {
  29399. "description": "期初欠款",
  29400. "type": "number"
  29401. },
  29402. "orifreezecharge": {
  29403. "description": "期初手续费冻结",
  29404. "type": "number"
  29405. },
  29406. "orifreezemargin": {
  29407. "description": "期初冻结保证金",
  29408. "type": "number"
  29409. },
  29410. "orimortgagecredit": {
  29411. "description": "期初授信金额",
  29412. "type": "number"
  29413. },
  29414. "oriothercredit": {
  29415. "description": "期初其它授信金额",
  29416. "type": "number"
  29417. },
  29418. "oriotherfreezemargin": {
  29419. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  29420. "type": "number"
  29421. },
  29422. "orioutamountfreeze": {
  29423. "description": "期初出金冻结",
  29424. "type": "number"
  29425. },
  29426. "oriusedmargin": {
  29427. "description": "期初占用保证金",
  29428. "type": "number"
  29429. },
  29430. "othercredit": {
  29431. "description": "其它授信金额",
  29432. "type": "number"
  29433. },
  29434. "othercreditdecrease": {
  29435. "description": "今日其它授信减少",
  29436. "type": "number"
  29437. },
  29438. "othercreditincrease": {
  29439. "description": "今日其它授信增加",
  29440. "type": "number"
  29441. },
  29442. "otherfreezemargin": {
  29443. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  29444. "type": "number"
  29445. },
  29446. "outamount": {
  29447. "description": "今日出金金额(包括三方出金)",
  29448. "type": "number"
  29449. },
  29450. "outamountfreeze": {
  29451. "description": "出金冻结",
  29452. "type": "number"
  29453. },
  29454. "outthreshold": {
  29455. "description": "出金阈值",
  29456. "type": "number"
  29457. },
  29458. "parentaccountid": {
  29459. "description": "所属根账号",
  29460. "type": "integer"
  29461. },
  29462. "paycharge": {
  29463. "description": "今日手续费支出",
  29464. "type": "number"
  29465. },
  29466. "relateduserid": {
  29467. "description": "关联用户",
  29468. "type": "integer"
  29469. },
  29470. "signstatus": {
  29471. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  29472. "type": "integer"
  29473. },
  29474. "sublevelpath": {
  29475. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  29476. "type": "string"
  29477. },
  29478. "taaccounttype": {
  29479. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  29480. "type": "integer"
  29481. },
  29482. "thirdinamount": {
  29483. "description": "今日三方入金",
  29484. "type": "number"
  29485. },
  29486. "thirdoutamount": {
  29487. "description": "今日三方出金",
  29488. "type": "number"
  29489. },
  29490. "tradestatus": {
  29491. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  29492. "type": "integer"
  29493. },
  29494. "transferamount": {
  29495. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  29496. "type": "number"
  29497. },
  29498. "usedmargin": {
  29499. "description": "占用保证金",
  29500. "type": "number"
  29501. },
  29502. "userid": {
  29503. "description": "用户ID",
  29504. "type": "integer"
  29505. }
  29506. }
  29507. },
  29508. "models.ErmcpTaAccountM": {
  29509. "type": "object",
  29510. "properties": {
  29511. "accountid": {
  29512. "description": "账户id",
  29513. "type": "integer"
  29514. },
  29515. "accountname": {
  29516. "description": "账户名称",
  29517. "type": "string"
  29518. },
  29519. "currencyid": {
  29520. "description": "币种id",
  29521. "type": "integer"
  29522. },
  29523. "fcid": {
  29524. "description": "期货公司id",
  29525. "type": "integer"
  29526. },
  29527. "fcname": {
  29528. "description": "期货公司代码",
  29529. "type": "string"
  29530. },
  29531. "hedgeaccountcode": {
  29532. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  29533. "type": "string"
  29534. },
  29535. "ismain": {
  29536. "description": "是否主账户 0-否 1-是",
  29537. "type": "integer"
  29538. },
  29539. "parentaccountid": {
  29540. "description": "父账户id",
  29541. "type": "integer"
  29542. },
  29543. "relateduserid": {
  29544. "description": "关联userid",
  29545. "type": "integer"
  29546. },
  29547. "tradefeetmpid": {
  29548. "description": "手续费模板id",
  29549. "type": "integer"
  29550. },
  29551. "tradefeetmpname": {
  29552. "description": "手续费模板名称",
  29553. "type": "string"
  29554. },
  29555. "trademargintmpid": {
  29556. "description": "保证金模板id",
  29557. "type": "integer"
  29558. },
  29559. "trademargintmpname": {
  29560. "description": "保证金模板名称",
  29561. "type": "string"
  29562. },
  29563. "traderatetmpid": {
  29564. "description": "汇率模板id",
  29565. "type": "integer"
  29566. },
  29567. "traderatetmpname": {
  29568. "description": "汇率模板名称",
  29569. "type": "string"
  29570. },
  29571. "tradestatus": {
  29572. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  29573. "type": "integer"
  29574. },
  29575. "userid": {
  29576. "description": "用户id",
  29577. "type": "integer"
  29578. }
  29579. }
  29580. },
  29581. "models.ErmcpTradeConfigTMP": {
  29582. "type": "object",
  29583. "properties": {
  29584. "areauserid": {
  29585. "description": "所属机构",
  29586. "type": "integer"
  29587. },
  29588. "basiccurrencyid": {
  29589. "description": "基本币种ID[汇率] - 目标币种",
  29590. "type": "integer"
  29591. },
  29592. "mainaccountid": {
  29593. "description": "主账户ID",
  29594. "type": "integer"
  29595. },
  29596. "modifierid": {
  29597. "description": "修改人",
  29598. "type": "integer"
  29599. },
  29600. "remark": {
  29601. "description": "备注",
  29602. "type": "string"
  29603. },
  29604. "tradeconfigtmpid": {
  29605. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  29606. "type": "integer"
  29607. },
  29608. "tradeconfigtmpname": {
  29609. "description": "交易配置模板名称",
  29610. "type": "string"
  29611. },
  29612. "tradeconfigtmptype": {
  29613. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  29614. "type": "integer"
  29615. },
  29616. "updatetime": {
  29617. "description": "更新时间",
  29618. "type": "string"
  29619. }
  29620. }
  29621. },
  29622. "models.Ermcpjrlinkpos": {
  29623. "type": "object",
  29624. "required": [
  29625. "spotcontractid"
  29626. ],
  29627. "properties": {
  29628. "areauserid": {
  29629. "description": "所属企业",
  29630. "type": "integer"
  29631. },
  29632. "averageprice": {
  29633. "description": "持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty",
  29634. "type": "number"
  29635. },
  29636. "closepl": {
  29637. "description": "总平仓盈亏 [期货损益]",
  29638. "type": "number"
  29639. },
  29640. "executeprice": {
  29641. "description": "执行价 - 1:期货单 为 0",
  29642. "type": "integer"
  29643. },
  29644. "futurehedgeqty": {
  29645. "description": "期货套期量",
  29646. "type": "number"
  29647. },
  29648. "goodsid": {
  29649. "description": "期货合约",
  29650. "type": "integer"
  29651. },
  29652. "middlegoodscode": {
  29653. "description": "套保商品代码",
  29654. "type": "string"
  29655. },
  29656. "middlegoodsname": {
  29657. "description": "套保商品名称",
  29658. "type": "string"
  29659. },
  29660. "netqty": {
  29661. "description": "净头寸",
  29662. "type": "number"
  29663. },
  29664. "optioncode": {
  29665. "description": "期权代码",
  29666. "type": "string"
  29667. },
  29668. "ordertype": {
  29669. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  29670. "type": "integer"
  29671. },
  29672. "reckonpl": {
  29673. "description": "总盈亏(平仓盈亏 + 结算盈亏 - 手续费)",
  29674. "type": "number"
  29675. },
  29676. "spotcontractid": {
  29677. "description": "现货ID [套期项目ID - 金瑞:合同\\虚拟合同ID",
  29678. "type": "string"
  29679. },
  29680. "todayfutureclosepl": {
  29681. "description": "今日平仓盈亏",
  29682. "type": "number"
  29683. },
  29684. "totalbuyamount": {
  29685. "description": "买金额 [期货]",
  29686. "type": "number"
  29687. },
  29688. "totalbuyholdamount": {
  29689. "description": "买持仓总金额[期货]",
  29690. "type": "number"
  29691. },
  29692. "totalbuyqty": {
  29693. "description": "买数量",
  29694. "type": "number"
  29695. },
  29696. "totalcharge": {
  29697. "description": "手续费",
  29698. "type": "number"
  29699. },
  29700. "totalpremium": {
  29701. "description": "权利金 [期权]",
  29702. "type": "number"
  29703. },
  29704. "totalsellamount": {
  29705. "description": "卖金额 [期货]",
  29706. "type": "number"
  29707. },
  29708. "totalsellholdamount": {
  29709. "description": "卖持仓总金额[期货]",
  29710. "type": "number"
  29711. },
  29712. "totalsellqty": {
  29713. "description": "卖数量",
  29714. "type": "number"
  29715. },
  29716. "updatetime": {
  29717. "description": "更新时间",
  29718. "type": "string"
  29719. }
  29720. }
  29721. },
  29722. "models.Ermcppatradelinkdetail": {
  29723. "type": "object",
  29724. "required": [
  29725. "hedgeditemid"
  29726. ],
  29727. "properties": {
  29728. "agreeunit": {
  29729. "description": "合约乘数",
  29730. "type": "number"
  29731. },
  29732. "amount": {
  29733. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  29734. "type": "number"
  29735. },
  29736. "areauserid": {
  29737. "description": "所属机构",
  29738. "type": "integer"
  29739. },
  29740. "bizsubjectid": {
  29741. "description": "归属业务部门ID - SubjectID",
  29742. "type": "integer"
  29743. },
  29744. "buyorsell": {
  29745. "description": "方向 - 0:买 1:卖",
  29746. "type": "integer"
  29747. },
  29748. "convertratio": {
  29749. "description": "品种系数",
  29750. "type": "number"
  29751. },
  29752. "createtime": {
  29753. "description": "创建时间",
  29754. "type": "string"
  29755. },
  29756. "creatorid": {
  29757. "description": "创建人ID",
  29758. "type": "integer"
  29759. },
  29760. "creatorsrc": {
  29761. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  29762. "type": "integer"
  29763. },
  29764. "goodsgroupid": {
  29765. "description": "对冲品种ID[期货合约商品组ID]",
  29766. "type": "integer"
  29767. },
  29768. "goodsid": {
  29769. "description": "商品ID",
  29770. "type": "integer"
  29771. },
  29772. "hedgeditemid": {
  29773. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  29774. "type": "integer"
  29775. },
  29776. "hedgeflag": {
  29777. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  29778. "type": "integer"
  29779. },
  29780. "linkdetailid": {
  29781. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  29782. "type": "string"
  29783. },
  29784. "linkstatus": {
  29785. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  29786. "type": "integer"
  29787. },
  29788. "middlegoodsid": {
  29789. "description": "套保品种ID",
  29790. "type": "integer"
  29791. },
  29792. "name": {
  29793. "description": "账户名/子账户",
  29794. "type": "string"
  29795. },
  29796. "optioncode": {
  29797. "description": "[期货合约]期权代码 [期权]",
  29798. "type": "string"
  29799. },
  29800. "ordertype": {
  29801. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  29802. "type": "integer"
  29803. },
  29804. "relatedlot": {
  29805. "description": "[数量]关联手数",
  29806. "type": "number"
  29807. },
  29808. "relatedmode": {
  29809. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  29810. "type": "integer"
  29811. },
  29812. "relatedqty": {
  29813. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  29814. "type": "number"
  29815. },
  29816. "retcode": {
  29817. "description": "返回码",
  29818. "type": "integer"
  29819. },
  29820. "saleuserid": {
  29821. "description": "业务员ID",
  29822. "type": "integer"
  29823. },
  29824. "tradedate": {
  29825. "description": "关联交易日(yyyyMMdd)",
  29826. "type": "string"
  29827. },
  29828. "tradeid": {
  29829. "description": "[成交单号]内部成交单ID",
  29830. "type": "string"
  29831. },
  29832. "tradelot": {
  29833. "description": "成交手数",
  29834. "type": "integer"
  29835. },
  29836. "tradeprice": {
  29837. "description": "[价格]成交价格",
  29838. "type": "number"
  29839. },
  29840. "tradetime": {
  29841. "description": "日期时间",
  29842. "type": "string"
  29843. },
  29844. "tradetradedate": {
  29845. "description": "成交交易日(yyyyMMdd)",
  29846. "type": "string"
  29847. }
  29848. }
  29849. },
  29850. "models.Exchangerateconfig": {
  29851. "type": "object",
  29852. "properties": {
  29853. "descurrencyid": {
  29854. "description": "目标币种ID",
  29855. "type": "integer"
  29856. },
  29857. "exchangerate": {
  29858. "description": "汇率",
  29859. "type": "number"
  29860. },
  29861. "oricurrencyid": {
  29862. "description": "源币种ID",
  29863. "type": "integer"
  29864. },
  29865. "remark": {
  29866. "description": "备注",
  29867. "type": "string"
  29868. }
  29869. }
  29870. },
  29871. "models.Externalexchange": {
  29872. "type": "object",
  29873. "required": [
  29874. "autoid"
  29875. ],
  29876. "properties": {
  29877. "autoid": {
  29878. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  29879. "type": "integer"
  29880. },
  29881. "exchangefullname": {
  29882. "description": "外部交易所全称",
  29883. "type": "string"
  29884. },
  29885. "exexchangecode": {
  29886. "description": "外部交易所代码",
  29887. "type": "string"
  29888. },
  29889. "exexchangename": {
  29890. "description": "外部交易所名称(简称)",
  29891. "type": "string"
  29892. },
  29893. "ismarketprice": {
  29894. "description": "是否支持市价 - 0:不支持 1:支持",
  29895. "type": "integer"
  29896. },
  29897. "quotegear": {
  29898. "description": "行情档位(1-10)",
  29899. "type": "integer"
  29900. },
  29901. "showbrokerflag": {
  29902. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  29903. "type": "integer"
  29904. },
  29905. "updatetime": {
  29906. "description": "更新时间",
  29907. "type": "string"
  29908. }
  29909. }
  29910. },
  29911. "models.Funcmenulist": {
  29912. "type": "object",
  29913. "required": [
  29914. "resourcecode"
  29915. ],
  29916. "properties": {
  29917. "iconame": {
  29918. "description": "菜单图标",
  29919. "type": "string"
  29920. },
  29921. "menutype": {
  29922. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  29923. "type": "integer"
  29924. },
  29925. "parentcode": {
  29926. "description": "上级资源代码",
  29927. "type": "string"
  29928. },
  29929. "remark": {
  29930. "description": "备注",
  29931. "type": "string"
  29932. },
  29933. "resourcecode": {
  29934. "description": "资源代码",
  29935. "type": "string"
  29936. },
  29937. "resourcelevel": {
  29938. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  29939. "type": "integer"
  29940. },
  29941. "resourcename": {
  29942. "description": "资源名",
  29943. "type": "string"
  29944. },
  29945. "sort": {
  29946. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  29947. "type": "integer"
  29948. },
  29949. "url": {
  29950. "description": "URL",
  29951. "type": "string"
  29952. }
  29953. }
  29954. },
  29955. "models.GErmcpspotgoodsprice": {
  29956. "type": "object",
  29957. "properties": {
  29958. "currencyid": {
  29959. "description": "报价货币ID",
  29960. "type": "integer"
  29961. },
  29962. "deliverygoodsid": {
  29963. "description": "现货品种ID",
  29964. "type": "integer"
  29965. },
  29966. "spotgoodsbrandid": {
  29967. "description": "现货品牌ID(通用则为0, 不为0则须先有商品ID)",
  29968. "type": "integer"
  29969. },
  29970. "spotgoodsprice": {
  29971. "description": "【最新价】当前价格",
  29972. "type": "number"
  29973. },
  29974. "srcmarketname": {
  29975. "description": "来源市场名称",
  29976. "type": "string"
  29977. },
  29978. "todaypricedtotalamount": {
  29979. "description": "今日定价金额",
  29980. "type": "number"
  29981. },
  29982. "todaypricedtotalqty": {
  29983. "description": "今日定价总量",
  29984. "type": "number"
  29985. },
  29986. "todayspotgoodsprice": {
  29987. "description": "今日指定价",
  29988. "type": "number"
  29989. },
  29990. "tradedate": {
  29991. "description": "【日期】交易日",
  29992. "type": "string"
  29993. },
  29994. "wrstandardcode": {
  29995. "description": "现货商品代码",
  29996. "type": "string"
  29997. },
  29998. "wrstandardid": {
  29999. "description": "现货商品ID(通用则为0)",
  30000. "type": "integer"
  30001. },
  30002. "wrstandardname": {
  30003. "description": "【名称】现货商品名称",
  30004. "type": "string"
  30005. },
  30006. "ystspotgoodsprice": {
  30007. "description": "昨价",
  30008. "type": "number"
  30009. }
  30010. }
  30011. },
  30012. "models.GThjuserscorelog": {
  30013. "type": "object",
  30014. "properties": {
  30015. "createtime": {
  30016. "description": "记账时间",
  30017. "type": "string"
  30018. },
  30019. "score": {
  30020. "description": "变动积分",
  30021. "type": "number"
  30022. },
  30023. "scoreconfigtype": {
  30024. "description": "配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分 6:自己供求下单积分 7:抽奖配置",
  30025. "type": "integer"
  30026. }
  30027. }
  30028. },
  30029. "models.GZGoods": {
  30030. "type": "object",
  30031. "required": [
  30032. "goodsno"
  30033. ],
  30034. "properties": {
  30035. "address": {
  30036. "description": "详细地址",
  30037. "type": "string"
  30038. },
  30039. "cerno": {
  30040. "description": "证书编号 - 类型:2,4,5",
  30041. "type": "string"
  30042. },
  30043. "cityname": {
  30044. "description": "城市名称",
  30045. "type": "string"
  30046. },
  30047. "countryname": {
  30048. "description": "国家名称",
  30049. "type": "string"
  30050. },
  30051. "cpcertno": {
  30052. "description": "金伯利证书编号 - 类型:3",
  30053. "type": "string"
  30054. },
  30055. "districtname": {
  30056. "description": "地区名称",
  30057. "type": "string"
  30058. },
  30059. "goodsno": {
  30060. "description": "商品编号",
  30061. "type": "string"
  30062. },
  30063. "imagepath": {
  30064. "description": "商品照片(相对地址)",
  30065. "type": "string"
  30066. },
  30067. "isvalid": {
  30068. "description": "是否有效 - 0:无效 1:有效",
  30069. "type": "integer"
  30070. },
  30071. "kppath": {
  30072. "description": "金伯利证书图片(相对地址) - 类型:3",
  30073. "type": "string"
  30074. },
  30075. "kpweight": {
  30076. "description": "金伯利证书重量 - 类型:3",
  30077. "type": "string"
  30078. },
  30079. "marketprice": {
  30080. "description": "市场价",
  30081. "type": "string"
  30082. },
  30083. "mobile": {
  30084. "description": "手机号码",
  30085. "type": "string"
  30086. },
  30087. "origin": {
  30088. "description": "原产地 - 类型:3",
  30089. "type": "string"
  30090. },
  30091. "performancetemplateid": {
  30092. "description": "履约计划模板ID",
  30093. "type": "integer"
  30094. },
  30095. "price": {
  30096. "description": "总价(价格) - 类型:1,2,3,4,5",
  30097. "type": "number"
  30098. },
  30099. "priceper": {
  30100. "description": "克拉单价 - 类型:1,2,3,5",
  30101. "type": "string"
  30102. },
  30103. "provincename": {
  30104. "description": "省名称",
  30105. "type": "string"
  30106. },
  30107. "remainqty": {
  30108. "description": "剩余重量",
  30109. "type": "number"
  30110. },
  30111. "remark": {
  30112. "description": "备注",
  30113. "type": "string"
  30114. },
  30115. "sellusername": {
  30116. "description": "账户名称(机构名称)",
  30117. "type": "string"
  30118. },
  30119. "settingmaterial": {
  30120. "description": "镶嵌材料 - 类型:4",
  30121. "type": "string"
  30122. },
  30123. "size1": {
  30124. "description": "尺寸1 - 类型:2,4,5",
  30125. "type": "string"
  30126. },
  30127. "size2": {
  30128. "description": "尺寸2 - 类型:2,4,5",
  30129. "type": "string"
  30130. },
  30131. "size3": {
  30132. "description": "尺寸3 - 类型:2,4,5",
  30133. "type": "string"
  30134. },
  30135. "sizedisplay": {
  30136. "description": "尺寸",
  30137. "type": "string"
  30138. },
  30139. "stonedesc": {
  30140. "description": "配石描述 - 类型:4",
  30141. "type": "string"
  30142. },
  30143. "userid": {
  30144. "description": "用户ID",
  30145. "type": "integer"
  30146. },
  30147. "warehouseid": {
  30148. "description": "仓库ID",
  30149. "type": "integer"
  30150. },
  30151. "warehousenamedisplay": {
  30152. "type": "string"
  30153. },
  30154. "weight": {
  30155. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  30156. "type": "number"
  30157. },
  30158. "weightavg": {
  30159. "description": "平均单颗重量 - 类型:1,3",
  30160. "type": "number"
  30161. },
  30162. "wrpath": {
  30163. "description": "仓单扫描件(相对地址)",
  30164. "type": "string"
  30165. },
  30166. "wrstandardid": {
  30167. "description": "现货商品ID",
  30168. "type": "integer"
  30169. },
  30170. "wrtradeorderid": {
  30171. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  30172. "type": "string"
  30173. },
  30174. "zscategory": {
  30175. "description": "钻石分类 - 枚举”ZSCategory“",
  30176. "type": "integer"
  30177. },
  30178. "zscategorydisplay": {
  30179. "type": "string"
  30180. },
  30181. "zscerttype": {
  30182. "description": "证书类型 - 枚举”ZSCertType“ - 类型:2,4,5",
  30183. "type": "integer"
  30184. },
  30185. "zscerttypedisplay": {
  30186. "type": "string"
  30187. },
  30188. "zsclaritytype1": {
  30189. "description": "净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5",
  30190. "type": "integer"
  30191. },
  30192. "zsclaritytype1display": {
  30193. "type": "string"
  30194. },
  30195. "zsclaritytype2": {
  30196. "description": "净度2 - 枚举”ZSClarityType“ - 类型:1,3",
  30197. "type": "integer"
  30198. },
  30199. "zsclaritytype2display": {
  30200. "type": "string"
  30201. },
  30202. "zscolortype1": {
  30203. "description": "颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4",
  30204. "type": "integer"
  30205. },
  30206. "zscolortype1display": {
  30207. "type": "string"
  30208. },
  30209. "zscolortype2": {
  30210. "description": "颜色2 - 枚举”ZSColorType“ - 类型:1,3",
  30211. "type": "integer"
  30212. },
  30213. "zscolortype2display": {
  30214. "type": "string"
  30215. },
  30216. "zscrystaltype": {
  30217. "description": "晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔",
  30218. "type": "string"
  30219. },
  30220. "zscrystaltypedisplay": {
  30221. "type": "string"
  30222. },
  30223. "zscurrencytype": {
  30224. "description": "货币类型 - 枚举“ZSCurrencyType”",
  30225. "type": "integer"
  30226. },
  30227. "zscurrencytypedisplay": {
  30228. "type": "string"
  30229. },
  30230. "zscurrencytypedisplayunit": {
  30231. "type": "string"
  30232. },
  30233. "zscuttype1": {
  30234. "description": "切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5",
  30235. "type": "integer"
  30236. },
  30237. "zscuttype1display": {
  30238. "type": "string"
  30239. },
  30240. "zscuttype2": {
  30241. "description": "切工2 - 枚举”ZSCutType“ - 类型:1",
  30242. "type": "integer"
  30243. },
  30244. "zscuttype2display": {
  30245. "type": "string"
  30246. },
  30247. "zsczcolor1type": {
  30248. "description": "彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5",
  30249. "type": "integer"
  30250. },
  30251. "zsczcolor1typedisplay": {
  30252. "type": "string"
  30253. },
  30254. "zsczcolor2type": {
  30255. "description": "彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5",
  30256. "type": "integer"
  30257. },
  30258. "zsczcolor2typedisplay": {
  30259. "type": "string"
  30260. },
  30261. "zsczcolor3type": {
  30262. "description": "彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5",
  30263. "type": "integer"
  30264. },
  30265. "zsczcolor3typedisplay": {
  30266. "type": "string"
  30267. },
  30268. "zsfluorescencetype1": {
  30269. "description": "荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5",
  30270. "type": "integer"
  30271. },
  30272. "zsfluorescencetype1display": {
  30273. "type": "string"
  30274. },
  30275. "zsfluorescencetype2": {
  30276. "description": "荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3",
  30277. "type": "integer"
  30278. },
  30279. "zsfluorescencetype2display": {
  30280. "type": "string"
  30281. },
  30282. "zspolishtype1": {
  30283. "description": "抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5",
  30284. "type": "integer"
  30285. },
  30286. "zspolishtype1display": {
  30287. "type": "string"
  30288. },
  30289. "zspolishtype2": {
  30290. "description": "抛光度2 - 枚举”ZSPolishType“ - 类型:1",
  30291. "type": "integer"
  30292. },
  30293. "zspolishtype2display": {
  30294. "type": "string"
  30295. },
  30296. "zsshapetype": {
  30297. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  30298. "type": "string"
  30299. },
  30300. "zsshapetypedisplay": {
  30301. "type": "string"
  30302. },
  30303. "zsstyletype": {
  30304. "description": "款式 - 类型:4",
  30305. "type": "integer"
  30306. },
  30307. "zsstyletypedisplay": {
  30308. "type": "string"
  30309. },
  30310. "zssymmetrytype1": {
  30311. "description": "对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5",
  30312. "type": "integer"
  30313. },
  30314. "zssymmetrytype1display": {
  30315. "type": "string"
  30316. },
  30317. "zssymmetrytype2": {
  30318. "description": "对称度2 - 枚举”ZSSymmetryType“ - 类型:1",
  30319. "type": "integer"
  30320. },
  30321. "zssymmetrytype2display": {
  30322. "type": "string"
  30323. }
  30324. }
  30325. },
  30326. "models.GZHomeData": {
  30327. "type": "object",
  30328. "properties": {
  30329. "purchasedtransactions": {
  30330. "description": "已购买的交易",
  30331. "type": "integer"
  30332. },
  30333. "transactioninpurchase": {
  30334. "description": "求购中的交易",
  30335. "type": "integer"
  30336. },
  30337. "transactionsonsale": {
  30338. "description": "出售中的交易",
  30339. "type": "integer"
  30340. },
  30341. "transactionssold": {
  30342. "description": "已卖出的交易",
  30343. "type": "integer"
  30344. },
  30345. "unhandledmessage": {
  30346. "description": "未处理消息",
  30347. "type": "integer"
  30348. }
  30349. }
  30350. },
  30351. "models.GZWarehouseinfo": {
  30352. "type": "object",
  30353. "properties": {
  30354. "address": {
  30355. "description": "详细地址",
  30356. "type": "string"
  30357. },
  30358. "areauserid": {
  30359. "description": "所属机构",
  30360. "type": "integer"
  30361. },
  30362. "autoid": {
  30363. "description": "自增ID",
  30364. "type": "integer"
  30365. },
  30366. "cityid": {
  30367. "description": "市",
  30368. "type": "integer"
  30369. },
  30370. "cityname": {
  30371. "description": "城市名称",
  30372. "type": "string"
  30373. },
  30374. "contactname": {
  30375. "description": "联系人",
  30376. "type": "string"
  30377. },
  30378. "contactnum": {
  30379. "description": "联系电话",
  30380. "type": "string"
  30381. },
  30382. "countryid": {
  30383. "description": "国家",
  30384. "type": "integer"
  30385. },
  30386. "countryname": {
  30387. "description": "国家名称",
  30388. "type": "string"
  30389. },
  30390. "createtime": {
  30391. "description": "创建时间",
  30392. "type": "string"
  30393. },
  30394. "districtid": {
  30395. "description": "区",
  30396. "type": "integer"
  30397. },
  30398. "districtname": {
  30399. "description": "地区名称",
  30400. "type": "string"
  30401. },
  30402. "hasvideo": {
  30403. "description": "是否有视频 - 0:无 1:有",
  30404. "type": "integer"
  30405. },
  30406. "provinceid": {
  30407. "description": "省",
  30408. "type": "integer"
  30409. },
  30410. "provincename": {
  30411. "description": "省名称",
  30412. "type": "string"
  30413. },
  30414. "remark": {
  30415. "description": "审核备注",
  30416. "type": "string"
  30417. },
  30418. "videourl": {
  30419. "description": "视频地址",
  30420. "type": "string"
  30421. },
  30422. "warehousecode": {
  30423. "description": "仓库代码",
  30424. "type": "string"
  30425. },
  30426. "warehousename": {
  30427. "description": "仓库名称",
  30428. "type": "string"
  30429. },
  30430. "warehousestatus": {
  30431. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  30432. "type": "integer"
  30433. },
  30434. "warehousetype": {
  30435. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  30436. "type": "integer"
  30437. }
  30438. }
  30439. },
  30440. "models.Goods": {
  30441. "type": "object",
  30442. "required": [
  30443. "goodscode",
  30444. "goodsid",
  30445. "goodsname",
  30446. "marketid"
  30447. ],
  30448. "properties": {
  30449. "agreeunit": {
  30450. "description": "合约单位",
  30451. "type": "number"
  30452. },
  30453. "areauserid": {
  30454. "description": "所属机构",
  30455. "type": "integer"
  30456. },
  30457. "auditaccountid": {
  30458. "description": "审核操作员账号",
  30459. "type": "integer"
  30460. },
  30461. "audittime": {
  30462. "description": "审核时间",
  30463. "type": "string"
  30464. },
  30465. "cancelaccountid": {
  30466. "description": "注销操作员账号",
  30467. "type": "integer"
  30468. },
  30469. "canceltime": {
  30470. "description": "注销时间",
  30471. "type": "string"
  30472. },
  30473. "closepricemode": {
  30474. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  30475. "type": "integer"
  30476. },
  30477. "closepriceparam": {
  30478. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  30479. "type": "number"
  30480. },
  30481. "createtime": {
  30482. "description": "创建时间",
  30483. "type": "string"
  30484. },
  30485. "creatorid": {
  30486. "description": "创建人",
  30487. "type": "integer"
  30488. },
  30489. "currencyid": {
  30490. "description": "报价货币ID",
  30491. "type": "integer"
  30492. },
  30493. "cutmode": {
  30494. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  30495. "type": "integer"
  30496. },
  30497. "decimalplace": {
  30498. "description": "报价小数位",
  30499. "type": "integer"
  30500. },
  30501. "delistingdate": {
  30502. "description": "商品退市时间(状态:退市) -- 已作废",
  30503. "type": "string"
  30504. },
  30505. "delistingmode": {
  30506. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  30507. "type": "integer"
  30508. },
  30509. "deliveryflag": {
  30510. "description": "交割标志 - 0:不可交割 1:可交割",
  30511. "type": "integer"
  30512. },
  30513. "forceclosemode": {
  30514. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  30515. "type": "integer"
  30516. },
  30517. "forceclosevalue": {
  30518. "description": "定期强平参数 [收益权]",
  30519. "type": "integer"
  30520. },
  30521. "goodscode": {
  30522. "description": "商品代码(内部)",
  30523. "type": "string"
  30524. },
  30525. "goodscurrencyid": {
  30526. "description": "合约货币ID",
  30527. "type": "integer"
  30528. },
  30529. "goodsgroupid": {
  30530. "description": "所属商品组ID",
  30531. "type": "integer"
  30532. },
  30533. "goodsid": {
  30534. "description": "商品ID(自增ID SEQ_GOODS)",
  30535. "type": "integer"
  30536. },
  30537. "goodsname": {
  30538. "description": "商品名称",
  30539. "type": "string"
  30540. },
  30541. "goodsquotetype": {
  30542. "description": "合约报价类型: 1-直接报价 2-间接报价",
  30543. "type": "integer"
  30544. },
  30545. "goodsstatus": {
  30546. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  30547. "type": "integer"
  30548. },
  30549. "goodstradetype": {
  30550. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  30551. "type": "integer"
  30552. },
  30553. "goodunitid": {
  30554. "description": "报价单位ID",
  30555. "type": "integer"
  30556. },
  30557. "hasquoter": {
  30558. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  30559. "type": "integer"
  30560. },
  30561. "hqprotecttime": {
  30562. "description": "行情保护时间(秒)",
  30563. "type": "integer"
  30564. },
  30565. "innerdealmode": {
  30566. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  30567. "type": "integer"
  30568. },
  30569. "isbuylimited": {
  30570. "description": "是否限制建仓量 - 0:不限制 1:限制",
  30571. "type": "integer"
  30572. },
  30573. "isvisible": {
  30574. "description": "游客是否可见 - 0:不可见 1:可见",
  30575. "type": "integer"
  30576. },
  30577. "lasttradedate": {
  30578. "description": "最后交易日期(状态:待退市)",
  30579. "type": "string"
  30580. },
  30581. "listingdate": {
  30582. "description": "交易开始日期",
  30583. "type": "string"
  30584. },
  30585. "marketid": {
  30586. "description": "所属市场ID",
  30587. "type": "integer"
  30588. },
  30589. "modifierid": {
  30590. "description": "修改人",
  30591. "type": "integer"
  30592. },
  30593. "modifystatus": {
  30594. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  30595. "type": "integer"
  30596. },
  30597. "modifytime": {
  30598. "description": "修改时间",
  30599. "type": "string"
  30600. },
  30601. "outerdealmode": {
  30602. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  30603. "type": "integer"
  30604. },
  30605. "outgoodscode": {
  30606. "description": "商品代码(外部)",
  30607. "type": "string"
  30608. },
  30609. "pictureurl": {
  30610. "description": "商品图片",
  30611. "type": "string"
  30612. },
  30613. "qtydecimalplace": {
  30614. "description": "成交量小数位",
  30615. "type": "integer"
  30616. },
  30617. "quotegear": {
  30618. "description": "行情档位(1-10)",
  30619. "type": "integer"
  30620. },
  30621. "quoteminunit": {
  30622. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  30623. "type": "integer"
  30624. },
  30625. "quoteshowtype": {
  30626. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  30627. "type": "integer"
  30628. },
  30629. "quoteshowtypeinterval": {
  30630. "description": "行情报价间隔时间(秒)(成交价时为0)",
  30631. "type": "integer"
  30632. },
  30633. "remark": {
  30634. "description": "备注",
  30635. "type": "string"
  30636. }
  30637. }
  30638. },
  30639. "models.GoodsIDAndName": {
  30640. "type": "object",
  30641. "required": [
  30642. "goodscode",
  30643. "goodsid",
  30644. "goodsname",
  30645. "marketid"
  30646. ],
  30647. "properties": {
  30648. "goodscode": {
  30649. "description": "商品代码(内部)",
  30650. "type": "string"
  30651. },
  30652. "goodsid": {
  30653. "description": "商品ID(自增ID SEQ_GOODS)",
  30654. "type": "integer"
  30655. },
  30656. "goodsname": {
  30657. "description": "商品名称",
  30658. "type": "string"
  30659. },
  30660. "marketid": {
  30661. "description": "所属市场ID",
  30662. "type": "integer"
  30663. }
  30664. }
  30665. },
  30666. "models.Goodsgroup": {
  30667. "type": "object",
  30668. "required": [
  30669. "goodsgroupid",
  30670. "goodsgroupname",
  30671. "goodsgroupstatus",
  30672. "marketid"
  30673. ],
  30674. "properties": {
  30675. "agreeunit": {
  30676. "description": "合约单位",
  30677. "type": "number"
  30678. },
  30679. "canshort": {
  30680. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  30681. "type": "integer"
  30682. },
  30683. "closepricemode": {
  30684. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  30685. "type": "integer"
  30686. },
  30687. "closepriceparam": {
  30688. "description": "强平最新价浮动比例 - 方式为2时使用",
  30689. "type": "number"
  30690. },
  30691. "createtime": {
  30692. "description": "创建时间",
  30693. "type": "string"
  30694. },
  30695. "creatorid": {
  30696. "description": "创建人",
  30697. "type": "integer"
  30698. },
  30699. "currencyid": {
  30700. "description": "报价货币ID",
  30701. "type": "integer"
  30702. },
  30703. "decimalplace": {
  30704. "description": "报价小数位",
  30705. "type": "integer"
  30706. },
  30707. "exercisetype": {
  30708. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  30709. "type": "integer"
  30710. },
  30711. "exexchangeid": {
  30712. "description": "外部交易所ID[通道交易]",
  30713. "type": "integer"
  30714. },
  30715. "goodsgroupid": {
  30716. "description": "商品组ID(自增ID)",
  30717. "type": "integer"
  30718. },
  30719. "goodsgroupname": {
  30720. "description": "商品组名称",
  30721. "type": "string"
  30722. },
  30723. "goodsgroupstatus": {
  30724. "description": "商品组状态 - 1:正常 2:注销",
  30725. "type": "integer"
  30726. },
  30727. "goodunitid": {
  30728. "description": "报价单位ID",
  30729. "type": "integer"
  30730. },
  30731. "innerdealmode": {
  30732. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  30733. "type": "integer"
  30734. },
  30735. "isbuylimited": {
  30736. "description": "是否限制建仓量 - 0:不限制 1:限制",
  30737. "type": "integer"
  30738. },
  30739. "marketid": {
  30740. "description": "所属市场ID",
  30741. "type": "integer"
  30742. },
  30743. "modifierid": {
  30744. "description": "修改人",
  30745. "type": "integer"
  30746. },
  30747. "modifytime": {
  30748. "description": "修改时间",
  30749. "type": "string"
  30750. },
  30751. "outerdealmode": {
  30752. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  30753. "type": "integer"
  30754. },
  30755. "outergroupcode": {
  30756. "description": "外部商品组代码[通道交易]",
  30757. "type": "string"
  30758. },
  30759. "premiumdecimalplace": {
  30760. "description": "权利金小数位[场外期权]",
  30761. "type": "integer"
  30762. },
  30763. "premiumspreadalgorithm": {
  30764. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  30765. "type": "integer"
  30766. },
  30767. "premiumspreadvalue": {
  30768. "description": "权利金点差值[场外期权]",
  30769. "type": "number"
  30770. },
  30771. "qtydecimalplace": {
  30772. "description": "成交量小数位",
  30773. "type": "integer"
  30774. },
  30775. "quotegear": {
  30776. "description": "行情档位(1-10)",
  30777. "type": "integer"
  30778. },
  30779. "quoteminunit": {
  30780. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  30781. "type": "integer"
  30782. },
  30783. "quoterid": {
  30784. "description": "报价商ID[场外期权]",
  30785. "type": "integer"
  30786. },
  30787. "quotesourcegroupid": {
  30788. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  30789. "type": "integer"
  30790. },
  30791. "syncgoodsqty": {
  30792. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  30793. "type": "integer"
  30794. }
  30795. }
  30796. },
  30797. "models.Goodssortbypreposition": {
  30798. "type": "object",
  30799. "required": [
  30800. "goodscode",
  30801. "tradedate"
  30802. ],
  30803. "properties": {
  30804. "goodscode": {
  30805. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  30806. "type": "string"
  30807. },
  30808. "goodsgroupcode": {
  30809. "description": "品种代码",
  30810. "type": "string"
  30811. },
  30812. "prepositionqty": {
  30813. "description": "昨持仓量",
  30814. "type": "integer"
  30815. },
  30816. "sortindex": {
  30817. "description": "排序",
  30818. "type": "integer"
  30819. },
  30820. "tradedate": {
  30821. "description": "交易日",
  30822. "type": "string"
  30823. },
  30824. "updatetime": {
  30825. "description": "更新时间",
  30826. "type": "string"
  30827. }
  30828. }
  30829. },
  30830. "models.GzbsfworderM": {
  30831. "type": "object",
  30832. "required": [
  30833. "userid"
  30834. ],
  30835. "properties": {
  30836. "accountid": {
  30837. "description": "资金账户ID",
  30838. "type": "integer"
  30839. },
  30840. "addresscn": {
  30841. "description": "地址(中文)",
  30842. "type": "string"
  30843. },
  30844. "addressen": {
  30845. "description": "地址(英文)",
  30846. "type": "string"
  30847. },
  30848. "advanceamount": {
  30849. "description": "总预付款",
  30850. "type": "number"
  30851. },
  30852. "colorrange": {
  30853. "description": "颜色范围",
  30854. "type": "string"
  30855. },
  30856. "companynamecn": {
  30857. "description": "收货人(中文)",
  30858. "type": "string"
  30859. },
  30860. "companynameen": {
  30861. "description": "收货人(英文)",
  30862. "type": "string"
  30863. },
  30864. "contactfax": {
  30865. "description": "收货人传真",
  30866. "type": "string"
  30867. },
  30868. "contactname": {
  30869. "description": "收货人姓名",
  30870. "type": "string"
  30871. },
  30872. "contactphoneno": {
  30873. "description": "收货人电话",
  30874. "type": "string"
  30875. },
  30876. "contentrange": {
  30877. "description": "【内容】内容范围",
  30878. "type": "string"
  30879. },
  30880. "createtime": {
  30881. "description": "创建时间",
  30882. "type": "string"
  30883. },
  30884. "executestatus": {
  30885. "description": "执行状态 - 1:未生效 2:进行中 3:已结束",
  30886. "type": "integer"
  30887. },
  30888. "gzbsdeliverytype": {
  30889. "description": "收货方式 - 枚举\"GZBSDeliveryType\"",
  30890. "type": "integer"
  30891. },
  30892. "gzbsstatus": {
  30893. "description": "单据状态(保税服务) - 枚举\"GZBSStatus\"",
  30894. "type": "integer"
  30895. },
  30896. "gzbsstatusdisplay": {
  30897. "description": "单据状态",
  30898. "type": "string"
  30899. },
  30900. "handlestatus": {
  30901. "description": "处理状态",
  30902. "type": "integer"
  30903. },
  30904. "orderdate": {
  30905. "description": "单据日期",
  30906. "type": "string"
  30907. },
  30908. "orderid": {
  30909. "description": "单据ID(804+Unix秒时间戳(10位)+xxxxxx)",
  30910. "type": "integer"
  30911. },
  30912. "orderno": {
  30913. "description": "单据编号 - GZDEBSFW+单据流水号",
  30914. "type": "string"
  30915. },
  30916. "ordersn": {
  30917. "description": "单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全",
  30918. "type": "string"
  30919. },
  30920. "origincountry": {
  30921. "description": "原产国",
  30922. "type": "string"
  30923. },
  30924. "otherlogistics": {
  30925. "description": "指定其它物流",
  30926. "type": "string"
  30927. },
  30928. "priceper": {
  30929. "description": "单价(美元/克拉) = 总值(美元) / 总净重(克拉)",
  30930. "type": "number"
  30931. },
  30932. "settleamount": {
  30933. "description": "总结算费用 - 实际扣除资金,不含税费保证金",
  30934. "type": "number"
  30935. },
  30936. "shaperange": {
  30937. "description": "形状范围",
  30938. "type": "string"
  30939. },
  30940. "taxmargin": {
  30941. "description": "税费保证金 - 确认结算费用时退回",
  30942. "type": "number"
  30943. },
  30944. "totalamount": {
  30945. "description": "总值(美元)",
  30946. "type": "number"
  30947. },
  30948. "totalgrossweightgm": {
  30949. "description": "总毛重(克)",
  30950. "type": "number"
  30951. },
  30952. "totalnetweightgm": {
  30953. "description": "总净重(克)",
  30954. "type": "number"
  30955. },
  30956. "totalnetweigthct": {
  30957. "description": "总净重(克拉)",
  30958. "type": "number"
  30959. },
  30960. "totalnumber": {
  30961. "description": "总粒数",
  30962. "type": "integer"
  30963. },
  30964. "userid": {
  30965. "description": "用户ID",
  30966. "type": "integer"
  30967. },
  30968. "weightrange": {
  30969. "description": "重量规格范围 - Min(NetWeigthCT)- Max(NetWeigthCT)",
  30970. "type": "string"
  30971. }
  30972. }
  30973. },
  30974. "models.GzbsfworderdetailM": {
  30975. "type": "object",
  30976. "properties": {
  30977. "colorinfo": {
  30978. "description": "彩钻信息",
  30979. "type": "string"
  30980. },
  30981. "createtime": {
  30982. "description": "创建时间",
  30983. "type": "string"
  30984. },
  30985. "grossweightgm": {
  30986. "description": "毛重(克)",
  30987. "type": "number"
  30988. },
  30989. "gzcjshape": {
  30990. "description": "形状(字符)",
  30991. "type": "string"
  30992. },
  30993. "netweigthct": {
  30994. "description": "净重(克拉)",
  30995. "type": "number"
  30996. },
  30997. "netweigthgm": {
  30998. "description": "净重(克)",
  30999. "type": "number"
  31000. },
  31001. "ordercontent": {
  31002. "description": "内容",
  31003. "type": "string"
  31004. },
  31005. "orderdetailid": {
  31006. "description": "单据明细ID(805+Unix秒时间戳(10位)+xxxxxx)",
  31007. "type": "integer"
  31008. },
  31009. "orderid": {
  31010. "description": "单据ID(804+Unix秒时间戳(10位)+xxxxxx)",
  31011. "type": "integer"
  31012. },
  31013. "orderindex": {
  31014. "description": "顺序",
  31015. "type": "integer"
  31016. },
  31017. "perprice": {
  31018. "description": "单价(美元/克拉) = 总值(美元) / 净重(克拉)",
  31019. "type": "number"
  31020. },
  31021. "remark": {
  31022. "description": "备注(其它)",
  31023. "type": "string"
  31024. },
  31025. "totalamount": {
  31026. "description": "总值(美元)",
  31027. "type": "number"
  31028. }
  31029. }
  31030. },
  31031. "models.Gzbsfworderoperate": {
  31032. "type": "object",
  31033. "required": [
  31034. "orderid"
  31035. ],
  31036. "properties": {
  31037. "advanceproofaddr": {
  31038. "description": "预付款收款凭证(确认结算费用时)",
  31039. "type": "string"
  31040. },
  31041. "bankfee": {
  31042. "description": "汇款银行手续费",
  31043. "type": "number"
  31044. },
  31045. "bankproofaddr": {
  31046. "description": "广钻汇款银行手续费凭证(确认结算费用时)",
  31047. "type": "string"
  31048. },
  31049. "customsproofaddr": {
  31050. "description": "海关税费保证金收据(确认结算费用时)",
  31051. "type": "string"
  31052. },
  31053. "gzbsstatus": {
  31054. "description": "操作后单据状态 - 枚举\"GZBSStatus\"",
  31055. "type": "integer"
  31056. },
  31057. "logisticsfee": {
  31058. "description": "代缴物流保险费",
  31059. "type": "number"
  31060. },
  31061. "logisticsproofaddr": {
  31062. "description": "代缴物流保险费凭证(确认结算费用时)",
  31063. "type": "string"
  31064. },
  31065. "operatetime": {
  31066. "description": "操作时间",
  31067. "type": "string"
  31068. },
  31069. "operatoraccount": {
  31070. "description": "操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid",
  31071. "type": "string"
  31072. },
  31073. "operatorid": {
  31074. "description": "操作人ID - systemmanager的autoid 或 loginaccount的loginid",
  31075. "type": "integer"
  31076. },
  31077. "operatorname": {
  31078. "description": "操作人名称 - systemmanager的username 或 loginaccount的logincode,无则用loginid",
  31079. "type": "string"
  31080. },
  31081. "operatorsrc": {
  31082. "description": "操作人来源 - 1:管理端 2:终端",
  31083. "type": "integer"
  31084. },
  31085. "orderid": {
  31086. "description": "单据ID(804+Unix秒时间戳(10位)+xxxxxx)",
  31087. "type": "integer"
  31088. },
  31089. "otherfee": {
  31090. "description": "其它费用",
  31091. "type": "number"
  31092. },
  31093. "remark": {
  31094. "description": "操作备注",
  31095. "type": "string"
  31096. },
  31097. "servicefee": {
  31098. "description": "综合服务费",
  31099. "type": "number"
  31100. },
  31101. "taxmargin": {
  31102. "description": "税费保证金",
  31103. "type": "number"
  31104. },
  31105. "totalfee": {
  31106. "description": "总费用 = 费用之和 (结算费用时不含税费保证金)",
  31107. "type": "number"
  31108. }
  31109. }
  31110. },
  31111. "models.Gzcertaddressconfig": {
  31112. "type": "object",
  31113. "properties": {
  31114. "certregion": {
  31115. "description": "证书地域 - 1:国内 2:国际",
  31116. "type": "integer"
  31117. },
  31118. "certtype": {
  31119. "description": "证书类型",
  31120. "type": "string"
  31121. },
  31122. "orderindex": {
  31123. "description": "显示顺序",
  31124. "type": "integer"
  31125. },
  31126. "orgcnname": {
  31127. "description": "机构名称(中文)",
  31128. "type": "string"
  31129. },
  31130. "orgenname": {
  31131. "description": "机构名称(英文)",
  31132. "type": "string"
  31133. },
  31134. "queryaddress": {
  31135. "description": "查询地址",
  31136. "type": "string"
  31137. },
  31138. "remark": {
  31139. "description": "备注",
  31140. "type": "string"
  31141. },
  31142. "updatetime": {
  31143. "description": "更新时间",
  31144. "type": "string"
  31145. }
  31146. }
  31147. },
  31148. "models.Gzcertaddressparam": {
  31149. "type": "object",
  31150. "properties": {
  31151. "certtype": {
  31152. "description": "证书类型",
  31153. "type": "string"
  31154. },
  31155. "orderindex": {
  31156. "description": "参数顺序",
  31157. "type": "integer"
  31158. },
  31159. "paramkey": {
  31160. "description": "参数Key",
  31161. "type": "string"
  31162. },
  31163. "paramname": {
  31164. "description": "参数名称",
  31165. "type": "string"
  31166. },
  31167. "updatetime": {
  31168. "description": "更新时间",
  31169. "type": "string"
  31170. }
  31171. }
  31172. },
  31173. "models.GzcjbsorderfileM": {
  31174. "type": "object",
  31175. "required": [
  31176. "orderid"
  31177. ],
  31178. "properties": {
  31179. "canmembervisit": {
  31180. "description": "会员是否可访问 - 1:可 2:不可",
  31181. "type": "integer"
  31182. },
  31183. "fileaddress": {
  31184. "description": "文件地址",
  31185. "type": "string"
  31186. },
  31187. "filegentype": {
  31188. "description": "文件生成类型 - 1:系统生成 2:手动上传",
  31189. "type": "integer"
  31190. },
  31191. "filename": {
  31192. "description": "文件名称",
  31193. "type": "string"
  31194. },
  31195. "operatetime": {
  31196. "description": "操作时间",
  31197. "type": "string"
  31198. },
  31199. "operatoraccount": {
  31200. "description": "操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid",
  31201. "type": "string"
  31202. },
  31203. "operatorid": {
  31204. "description": "操作人ID - systemmanager的autoid 或 loginaccount的loginid",
  31205. "type": "integer"
  31206. },
  31207. "operatorsrc": {
  31208. "description": "操作人来源 - 1:管理端 2:终端",
  31209. "type": "integer"
  31210. },
  31211. "orderfileid": {
  31212. "description": "单据文件ID(803+Unix秒时间戳(10位)+xxxxxx)",
  31213. "type": "integer"
  31214. },
  31215. "orderid": {
  31216. "description": "单据ID(801+Unix秒时间戳(10位)+xxxxxx)",
  31217. "type": "integer"
  31218. }
  31219. }
  31220. },
  31221. "models.GzcjjcorderM": {
  31222. "type": "object",
  31223. "required": [
  31224. "userid"
  31225. ],
  31226. "properties": {
  31227. "accountid": {
  31228. "description": "资金账户ID",
  31229. "type": "integer"
  31230. },
  31231. "addresscn": {
  31232. "description": "地址(中文)",
  31233. "type": "string"
  31234. },
  31235. "addressen": {
  31236. "description": "地址(英文)",
  31237. "type": "string"
  31238. },
  31239. "advanceamount": {
  31240. "description": "总预付款",
  31241. "type": "number"
  31242. },
  31243. "colorrange": {
  31244. "description": "颜色范围",
  31245. "type": "string"
  31246. },
  31247. "companynamecn": {
  31248. "description": "公司名称(中文)",
  31249. "type": "string"
  31250. },
  31251. "companynameen": {
  31252. "description": "公司名称(英文)",
  31253. "type": "string"
  31254. },
  31255. "contactname": {
  31256. "description": "联系人姓名",
  31257. "type": "string"
  31258. },
  31259. "contactphoneno": {
  31260. "description": "联系人电话",
  31261. "type": "string"
  31262. },
  31263. "contactposition": {
  31264. "description": "联系人职位",
  31265. "type": "string"
  31266. },
  31267. "createtime": {
  31268. "description": "创建时间",
  31269. "type": "string"
  31270. },
  31271. "email": {
  31272. "description": "邮箱",
  31273. "type": "string"
  31274. },
  31275. "executestatus": {
  31276. "description": "执行状态 - 1:未生效 2:进行中 3:已结束",
  31277. "type": "integer"
  31278. },
  31279. "gzcjaccount": {
  31280. "description": "送检账户",
  31281. "type": "string"
  31282. },
  31283. "gzcjaccounttype": {
  31284. "description": "检测账户类型 - 枚举\"GZCJAccountType\"",
  31285. "type": "integer"
  31286. },
  31287. "gzcjcategorytype": {
  31288. "description": "货物品类 - 枚举\"GZCJCategoryType\"",
  31289. "type": "integer"
  31290. },
  31291. "gzcjcategorytypedisplay": {
  31292. "description": "货物品类",
  31293. "type": "string"
  31294. },
  31295. "gzcjdeliverytype": {
  31296. "description": "收货方式 - 枚举\"GZCJDeliveryType\"",
  31297. "type": "integer"
  31298. },
  31299. "gzcjdeliverytypedisplay": {
  31300. "description": "收货方式",
  31301. "type": "string"
  31302. },
  31303. "gzcjstatus": {
  31304. "description": "单据状态(出境检测) - 枚举\"GZCJStatus\"",
  31305. "type": "integer"
  31306. },
  31307. "gzcjstatusdisplay": {
  31308. "description": "单据状态(出境检测)",
  31309. "type": "string"
  31310. },
  31311. "handlestatus": {
  31312. "description": "处理状态",
  31313. "type": "integer"
  31314. },
  31315. "invoiceremark": {
  31316. "description": "复核备注 - 发票装箱单使用",
  31317. "type": "string"
  31318. },
  31319. "orderid": {
  31320. "description": "单据ID(801+Unix秒时间戳(10位)+xxxxxx)",
  31321. "type": "integer"
  31322. },
  31323. "orderno": {
  31324. "description": "单据编号 - 合同编号:GZDECJJC+单据流水号",
  31325. "type": "string"
  31326. },
  31327. "ordersn": {
  31328. "description": "单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全",
  31329. "type": "string"
  31330. },
  31331. "origincountry": {
  31332. "description": "原产国",
  31333. "type": "string"
  31334. },
  31335. "processingcountry": {
  31336. "description": "成品钻石加工国",
  31337. "type": "string"
  31338. },
  31339. "realservicefee": {
  31340. "description": "应收综合服务费",
  31341. "type": "number"
  31342. },
  31343. "servicefeesum": {
  31344. "description": "汇总综合服务费 - 明细上值汇总",
  31345. "type": "number"
  31346. },
  31347. "settleamount": {
  31348. "description": "总结算费用",
  31349. "type": "number"
  31350. },
  31351. "shaperange": {
  31352. "description": "形状范围",
  31353. "type": "string"
  31354. },
  31355. "totalamount": {
  31356. "description": "总金额(美元)",
  31357. "type": "number"
  31358. },
  31359. "totalgrossweight": {
  31360. "description": "总毛重(克) = 每100颗单颗裸石毛重200克,毛重不足200克按200克计 (TotalNumber/100 向上取整) * 200",
  31361. "type": "number"
  31362. },
  31363. "totalnumber": {
  31364. "description": "总粒数",
  31365. "type": "integer"
  31366. },
  31367. "totalweight": {
  31368. "description": "总克拉数(保留3位小数)",
  31369. "type": "number"
  31370. },
  31371. "totalweightgm": {
  31372. "description": "总净重(克) = TotalWeight * 0.2 (2位小数)",
  31373. "type": "number"
  31374. },
  31375. "userid": {
  31376. "description": "用户ID",
  31377. "type": "integer"
  31378. },
  31379. "weightrange": {
  31380. "description": "重量规格范围 - Min(Weight) - Max(Weight)",
  31381. "type": "string"
  31382. },
  31383. "zsorigin": {
  31384. "description": "天然钻石毛坯原产地",
  31385. "type": "string"
  31386. }
  31387. }
  31388. },
  31389. "models.GzcjjcorderdetailM": {
  31390. "type": "object",
  31391. "properties": {
  31392. "amount": {
  31393. "description": "参考货值(USD)",
  31394. "type": "number"
  31395. },
  31396. "colorinfo": {
  31397. "description": "彩钻信息",
  31398. "type": "string"
  31399. },
  31400. "createtime": {
  31401. "description": "创建时间",
  31402. "type": "string"
  31403. },
  31404. "gzcjmarktype": {
  31405. "description": "刻印服务 - 枚举\"GZCJMarkType\" 【送检账户为“广钻账户”】",
  31406. "type": "integer"
  31407. },
  31408. "gzcjpublishtype": {
  31409. "description": "是否披露处理 - 枚举 GZCJPublishType【送检账户为“广钻账户”】",
  31410. "type": "integer"
  31411. },
  31412. "gzcjpublishtypestring": {
  31413. "description": "是否披露处理 - 枚举 GZCJPublishType 对应的显示值",
  31414. "type": "string"
  31415. },
  31416. "gzcjservicetype": {
  31417. "description": "服务类别 - 枚举 GZCJServiceType【送检账户为“广钻账户”】",
  31418. "type": "integer"
  31419. },
  31420. "gzcjservicetypestring": {
  31421. "description": "服务类别 - 枚举 GZCJServiceType 对应的显示值",
  31422. "type": "string"
  31423. },
  31424. "gzcjshapetype": {
  31425. "description": "形状 - 枚举\"GZCJShapeType\"",
  31426. "type": "integer"
  31427. },
  31428. "gzcjshapetypestring": {
  31429. "description": "形状(字符) - 枚举\"GZCJShapeType\"对应的显示值",
  31430. "type": "string"
  31431. },
  31432. "gzno": {
  31433. "description": "货物编号",
  31434. "type": "string"
  31435. },
  31436. "orderdetailid": {
  31437. "description": "单据明细ID(802+Unix秒时间戳(10位)+xxxxxx)",
  31438. "type": "integer"
  31439. },
  31440. "orderid": {
  31441. "description": "单据ID(801+Unix秒时间戳(10位)+xxxxxx)",
  31442. "type": "integer"
  31443. },
  31444. "orderindex": {
  31445. "description": "顺序",
  31446. "type": "integer"
  31447. },
  31448. "origincertno": {
  31449. "description": "原证书号【送检账户为“广钻账户”】",
  31450. "type": "string"
  31451. },
  31452. "remark": {
  31453. "description": "备注(其它)",
  31454. "type": "string"
  31455. },
  31456. "servicefee": {
  31457. "description": "综合服务费 - 根据市场配置计算",
  31458. "type": "number"
  31459. },
  31460. "weight": {
  31461. "description": "重量(CT)",
  31462. "type": "number"
  31463. }
  31464. }
  31465. },
  31466. "models.Gzrapaportprice": {
  31467. "type": "object",
  31468. "properties": {
  31469. "dollar": {
  31470. "description": "美元",
  31471. "type": "string"
  31472. },
  31473. "rmb": {
  31474. "description": "人民币",
  31475. "type": "string"
  31476. }
  31477. }
  31478. },
  31479. "models.Hedgeinnerholderdetail": {
  31480. "type": "object",
  31481. "required": [
  31482. "buyorsell",
  31483. "tradeid"
  31484. ],
  31485. "properties": {
  31486. "accountid": {
  31487. "description": "账号ID",
  31488. "type": "integer"
  31489. },
  31490. "buyorsell": {
  31491. "description": "方向 - 0:买 1:卖",
  31492. "type": "integer"
  31493. },
  31494. "freezeqty": {
  31495. "description": "冻结数量 - 按单平使用",
  31496. "type": "integer"
  31497. },
  31498. "goodsid": {
  31499. "description": "商品ID",
  31500. "type": "integer"
  31501. },
  31502. "holderamount": {
  31503. "description": "持仓金额 [商品币种]",
  31504. "type": "number"
  31505. },
  31506. "holderdays": {
  31507. "description": "剩余冻结天数",
  31508. "type": "integer"
  31509. },
  31510. "holderprice": {
  31511. "description": "持仓价格",
  31512. "type": "number"
  31513. },
  31514. "holderqty": {
  31515. "description": "持仓数量",
  31516. "type": "integer"
  31517. },
  31518. "marketid": {
  31519. "description": "市场ID",
  31520. "type": "integer"
  31521. },
  31522. "openprice": {
  31523. "description": "建仓价格",
  31524. "type": "number"
  31525. },
  31526. "openqty": {
  31527. "description": "建仓数量",
  31528. "type": "integer"
  31529. },
  31530. "parentaccountid": {
  31531. "description": "所属母账户",
  31532. "type": "integer"
  31533. },
  31534. "releaseamount": {
  31535. "description": "释放持仓金额[商品币种]",
  31536. "type": "number"
  31537. },
  31538. "tradeamount": {
  31539. "description": "成交金额[账户]",
  31540. "type": "number"
  31541. },
  31542. "tradedate": {
  31543. "description": "交易日(yyyyMMdd)",
  31544. "type": "string"
  31545. },
  31546. "tradeid": {
  31547. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31548. "type": "string"
  31549. },
  31550. "tradetime": {
  31551. "description": "交易时间",
  31552. "type": "string"
  31553. }
  31554. }
  31555. },
  31556. "models.Hedgemarketopenlog": {
  31557. "type": "object",
  31558. "required": [
  31559. "accountid"
  31560. ],
  31561. "properties": {
  31562. "accountid": {
  31563. "description": "资金账号[外部母账户]",
  31564. "type": "integer"
  31565. },
  31566. "fcname": {
  31567. "description": "期货公司名称",
  31568. "type": "string"
  31569. },
  31570. "handlestatus": {
  31571. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  31572. "type": "integer"
  31573. },
  31574. "marketid": {
  31575. "description": "市场ID",
  31576. "type": "integer"
  31577. },
  31578. "status": {
  31579. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  31580. "type": "integer"
  31581. },
  31582. "tradedate": {
  31583. "description": "交易日(yyyyMMdd)",
  31584. "type": "string"
  31585. },
  31586. "updatetime": {
  31587. "description": "更新时间",
  31588. "type": "string"
  31589. }
  31590. }
  31591. },
  31592. "models.InternalEnableTradeDetail": {
  31593. "type": "object",
  31594. "required": [
  31595. "areauserid",
  31596. "goodsid",
  31597. "tradeuserid"
  31598. ],
  31599. "properties": {
  31600. "agreeunit": {
  31601. "description": "合约乘数",
  31602. "type": "number"
  31603. },
  31604. "areauserid": {
  31605. "description": "企业ID",
  31606. "type": "integer"
  31607. },
  31608. "convertratio": {
  31609. "description": "品种系数",
  31610. "type": "number"
  31611. },
  31612. "deliverygoodscode": {
  31613. "description": "现货品种代码",
  31614. "type": "string"
  31615. },
  31616. "deliverygoodsid": {
  31617. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  31618. "type": "integer"
  31619. },
  31620. "deliverygoodsname": {
  31621. "description": "现货品种名称",
  31622. "type": "string"
  31623. },
  31624. "futurehedgeqty": {
  31625. "description": "[已关联数量]期货持仓套期量",
  31626. "type": "number"
  31627. },
  31628. "goodsid": {
  31629. "description": "期货合约ID",
  31630. "type": "integer"
  31631. },
  31632. "hedgeditemid": {
  31633. "description": "被套期项目ID",
  31634. "type": "string"
  31635. },
  31636. "hedgeditemnum": {
  31637. "description": "项目编号",
  31638. "type": "string"
  31639. },
  31640. "tradeuserid": {
  31641. "description": "交易用户ID",
  31642. "type": "integer"
  31643. },
  31644. "unexehedgeqty": {
  31645. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  31646. "type": "number"
  31647. },
  31648. "unexespotqty": {
  31649. "description": "未执行现货量",
  31650. "type": "number"
  31651. },
  31652. "wrstandardcode": {
  31653. "description": "现货品类代码",
  31654. "type": "string"
  31655. },
  31656. "wrstandardid": {
  31657. "description": "现货品类ID(SEQ_WRSTANDARD)",
  31658. "type": "integer"
  31659. },
  31660. "wrstandardname": {
  31661. "description": "现货品类名称",
  31662. "type": "string"
  31663. }
  31664. }
  31665. },
  31666. "models.InternalUncorrelatedTradeDetail": {
  31667. "type": "object",
  31668. "properties": {
  31669. "accountid": {
  31670. "description": "账号ID",
  31671. "type": "integer"
  31672. },
  31673. "accountname": {
  31674. "description": "套期主体",
  31675. "type": "string"
  31676. },
  31677. "agreeunit": {
  31678. "description": "合约乘数",
  31679. "type": "number"
  31680. },
  31681. "areauserid": {
  31682. "description": "所属机构",
  31683. "type": "integer"
  31684. },
  31685. "bizsubjectid": {
  31686. "description": "归属业务部门ID - SubjectID",
  31687. "type": "integer"
  31688. },
  31689. "buyorsell": {
  31690. "description": "方向 - 0:买 1:卖",
  31691. "type": "integer"
  31692. },
  31693. "channelbuildtype": {
  31694. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  31695. "type": "integer"
  31696. },
  31697. "convertratio": {
  31698. "description": "品种系数",
  31699. "type": "number"
  31700. },
  31701. "createtime": {
  31702. "description": "创建时间",
  31703. "type": "string"
  31704. },
  31705. "creatorid": {
  31706. "description": "创建人ID",
  31707. "type": "integer"
  31708. },
  31709. "creatorsrc": {
  31710. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  31711. "type": "integer"
  31712. },
  31713. "enableqty": {
  31714. "description": "项目可关联数量 = 套保品种数量 - 关联数量",
  31715. "type": "number"
  31716. },
  31717. "enumdicname": {
  31718. "description": "单位",
  31719. "type": "string"
  31720. },
  31721. "goodscode": {
  31722. "description": "合约代码",
  31723. "type": "string"
  31724. },
  31725. "goodsgroupid": {
  31726. "description": "对冲品种ID[期货合约商品组ID]",
  31727. "type": "integer"
  31728. },
  31729. "goodsid": {
  31730. "description": "商品ID",
  31731. "type": "integer"
  31732. },
  31733. "goodsname": {
  31734. "description": "合约名称",
  31735. "type": "string"
  31736. },
  31737. "hedgeditemid": {
  31738. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  31739. "type": "integer"
  31740. },
  31741. "hedgeflag": {
  31742. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  31743. "type": "integer"
  31744. },
  31745. "linkdetailid": {
  31746. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  31747. "type": "string"
  31748. },
  31749. "linkstatus": {
  31750. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  31751. "type": "integer"
  31752. },
  31753. "middlegoodsid": {
  31754. "description": "套保品种ID",
  31755. "type": "integer"
  31756. },
  31757. "middlegoodsqty": {
  31758. "description": "[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  31759. "type": "number"
  31760. },
  31761. "relatedlot": {
  31762. "description": "[数量]关联手数",
  31763. "type": "number"
  31764. },
  31765. "relatedmode": {
  31766. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  31767. "type": "integer"
  31768. },
  31769. "relatedqty": {
  31770. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  31771. "type": "number"
  31772. },
  31773. "retcode": {
  31774. "description": "返回码",
  31775. "type": "integer"
  31776. },
  31777. "saleuserid": {
  31778. "description": "业务员ID",
  31779. "type": "integer"
  31780. },
  31781. "tradedate": {
  31782. "description": "关联交易日(yyyyMMdd)",
  31783. "type": "string"
  31784. },
  31785. "tradeid": {
  31786. "description": "成交单号",
  31787. "type": "string"
  31788. },
  31789. "tradelot": {
  31790. "description": "成交手数",
  31791. "type": "integer"
  31792. },
  31793. "tradeprice": {
  31794. "description": "成交价",
  31795. "type": "number"
  31796. },
  31797. "tradetime": {
  31798. "description": "成交时间",
  31799. "type": "string"
  31800. },
  31801. "tradetradedate": {
  31802. "description": "成交交易日(yyyyMMdd)",
  31803. "type": "string"
  31804. },
  31805. "tradeuserid": {
  31806. "description": "交易用户ID",
  31807. "type": "integer"
  31808. }
  31809. }
  31810. },
  31811. "models.Loginaccount": {
  31812. "type": "object",
  31813. "required": [
  31814. "loginid"
  31815. ],
  31816. "properties": {
  31817. "accountname": {
  31818. "description": "账户名称",
  31819. "type": "string"
  31820. },
  31821. "canoutin": {
  31822. "description": "是否可出入金 - 0:不可 1:可",
  31823. "type": "integer"
  31824. },
  31825. "clientroleid": {
  31826. "description": "终端角色ID",
  31827. "type": "integer"
  31828. },
  31829. "haslogined": {
  31830. "description": "是否已登录 - 0:未登录 1:已登录",
  31831. "type": "integer"
  31832. },
  31833. "hasupdatedpwd": {
  31834. "description": "是否已更改密码 - 0:未修改 1:已修改",
  31835. "type": "integer"
  31836. },
  31837. "lastloginip": {
  31838. "description": "最新登录地址",
  31839. "type": "string"
  31840. },
  31841. "lastloginmode": {
  31842. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  31843. "type": "integer"
  31844. },
  31845. "lastloginremark": {
  31846. "description": "最新登录描述",
  31847. "type": "string"
  31848. },
  31849. "lastlogintime": {
  31850. "description": "最新登录时间",
  31851. "type": "string"
  31852. },
  31853. "logincode": {
  31854. "description": "登录代码",
  31855. "type": "string"
  31856. },
  31857. "loginfailnum": {
  31858. "description": "连续登录失败次数(登录成功时清零)",
  31859. "type": "integer"
  31860. },
  31861. "loginid": {
  31862. "description": "登陆账号",
  31863. "type": "integer"
  31864. },
  31865. "loginport": {
  31866. "description": "最新登录端口",
  31867. "type": "integer"
  31868. },
  31869. "loginstatus": {
  31870. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  31871. "type": "integer"
  31872. },
  31873. "loginusertype": {
  31874. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  31875. "type": "integer"
  31876. },
  31877. "mobile": {
  31878. "description": "手机号码(加密存储)",
  31879. "type": "string"
  31880. },
  31881. "modifierid": {
  31882. "description": "修改人",
  31883. "type": "integer"
  31884. },
  31885. "modifysrc": {
  31886. "description": "审核来源 - 1:管理端 2:终端",
  31887. "type": "integer"
  31888. },
  31889. "modifytime": {
  31890. "description": "修改时间",
  31891. "type": "string"
  31892. },
  31893. "pwdwrongcount": {
  31894. "description": "密码错误次数",
  31895. "type": "integer"
  31896. },
  31897. "relateduserid": {
  31898. "description": "关联用户ID(机构)",
  31899. "type": "integer"
  31900. },
  31901. "taaccountrighttype": {
  31902. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  31903. "type": "integer"
  31904. },
  31905. "unfreezetime": {
  31906. "description": "账户解冻时间",
  31907. "type": "string"
  31908. },
  31909. "userid": {
  31910. "description": "用户ID",
  31911. "type": "integer"
  31912. }
  31913. }
  31914. },
  31915. "models.MainAccountInfo": {
  31916. "type": "object",
  31917. "properties": {
  31918. "accountid": {
  31919. "description": "账号id",
  31920. "type": "integer"
  31921. },
  31922. "accountname": {
  31923. "description": "账号名称(taaccount表中的名称)",
  31924. "type": "string"
  31925. },
  31926. "appid": {
  31927. "description": "AppID",
  31928. "type": "string"
  31929. },
  31930. "authcode": {
  31931. "description": "授权码",
  31932. "type": "string"
  31933. },
  31934. "brokerid": {
  31935. "description": "经纪商id",
  31936. "type": "string"
  31937. },
  31938. "fcid": {
  31939. "description": "期货公司id",
  31940. "type": "integer"
  31941. },
  31942. "fcname": {
  31943. "description": "期货公司代码",
  31944. "type": "string"
  31945. },
  31946. "hedgeaccountcode": {
  31947. "description": "外部账号代码(主账号登录代码)",
  31948. "type": "string"
  31949. },
  31950. "hedgeaccountpwd": {
  31951. "description": "密码",
  31952. "type": "string"
  31953. },
  31954. "ismain": {
  31955. "description": "是否主账号",
  31956. "type": "integer"
  31957. },
  31958. "relateduserid": {
  31959. "description": "关联用户id",
  31960. "type": "integer"
  31961. },
  31962. "userid": {
  31963. "description": "关联用户id",
  31964. "type": "integer"
  31965. }
  31966. }
  31967. },
  31968. "models.Market": {
  31969. "type": "object",
  31970. "required": [
  31971. "marketid",
  31972. "marketstatus",
  31973. "openmethod",
  31974. "reckonpricealgorithm",
  31975. "trademode",
  31976. "tradeproperty"
  31977. ],
  31978. "properties": {
  31979. "auctionwrtype": {
  31980. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  31981. "type": "integer"
  31982. },
  31983. "canacceptquote": {
  31984. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  31985. "type": "integer"
  31986. },
  31987. "cangoodsexercise": {
  31988. "description": "[期权]是否可现货行权- 0:否 1:是",
  31989. "type": "integer"
  31990. },
  31991. "cangoodsexercisetype": {
  31992. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  31993. "type": "integer"
  31994. },
  31995. "canmanualquotestrike": {
  31996. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  31997. "type": "integer"
  31998. },
  31999. "canmutistage": {
  32000. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  32001. "type": "integer"
  32002. },
  32003. "canpreexercise": {
  32004. "description": "[期权]是否可预申报- 0:否 1:是",
  32005. "type": "integer"
  32006. },
  32007. "clearinterval": {
  32008. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  32009. "type": "integer"
  32010. },
  32011. "contracttmp": {
  32012. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  32013. "type": "string"
  32014. },
  32015. "exchareaid": {
  32016. "description": "所属交易所,可以没有",
  32017. "type": "integer"
  32018. },
  32019. "goodstype": {
  32020. "description": "商品类型 - 1:交易商品 2:仓单商品",
  32021. "type": "integer"
  32022. },
  32023. "hasrebate": {
  32024. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  32025. "type": "integer"
  32026. },
  32027. "hastradecredit": {
  32028. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  32029. "type": "integer"
  32030. },
  32031. "haswr": {
  32032. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  32033. "type": "integer"
  32034. },
  32035. "isdeductmargin": {
  32036. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  32037. "type": "integer"
  32038. },
  32039. "isrecordsource": {
  32040. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  32041. "type": "integer"
  32042. },
  32043. "isreleasemargin": {
  32044. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  32045. "type": "integer"
  32046. },
  32047. "marginformula": {
  32048. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  32049. "type": "integer"
  32050. },
  32051. "marginformula2": {
  32052. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  32053. "type": "integer"
  32054. },
  32055. "marketid": {
  32056. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  32057. "type": "integer"
  32058. },
  32059. "marketname": {
  32060. "description": "市场名称",
  32061. "type": "string"
  32062. },
  32063. "marketserviceid": {
  32064. "description": "市场服务ID",
  32065. "type": "integer"
  32066. },
  32067. "marketstatus": {
  32068. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  32069. "type": "integer"
  32070. },
  32071. "markettype": {
  32072. "description": "市场类型- 1:非交易服务 2:交易服务",
  32073. "type": "integer"
  32074. },
  32075. "matchermode": {
  32076. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  32077. "type": "integer"
  32078. },
  32079. "openmethod": {
  32080. "description": "开盘模式 - 0 自动 1手动",
  32081. "type": "integer"
  32082. },
  32083. "otcuserid": {
  32084. "description": "场外期权做市商[场外期权]",
  32085. "type": "integer"
  32086. },
  32087. "outersynctime": {
  32088. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  32089. "type": "string"
  32090. },
  32091. "pendingflag": {
  32092. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  32093. "type": "integer"
  32094. },
  32095. "pendingtime": {
  32096. "description": "待开市时间[通道交易-对冲](HH:mm)",
  32097. "type": "string"
  32098. },
  32099. "performancetempid": {
  32100. "description": "履约计划模板ID - 作废",
  32101. "type": "integer"
  32102. },
  32103. "premiumquotemode": {
  32104. "description": "权利金报价方式 - 1:自动 2:手动",
  32105. "type": "integer"
  32106. },
  32107. "rebateratio": {
  32108. "description": "返利比率[竞价式]",
  32109. "type": "number"
  32110. },
  32111. "reckonorder": {
  32112. "description": "结算顺序",
  32113. "type": "integer"
  32114. },
  32115. "reckonpricealgorithm": {
  32116. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  32117. "type": "integer"
  32118. },
  32119. "reckonpriceparam": {
  32120. "description": "结算价参数",
  32121. "type": "integer"
  32122. },
  32123. "reckontime": {
  32124. "description": "结算时间[通道交易-对冲](HH:mm)",
  32125. "type": "string"
  32126. },
  32127. "roleprioritytype": {
  32128. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  32129. "type": "integer"
  32130. },
  32131. "selllistingauditflag": {
  32132. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  32133. "type": "integer"
  32134. },
  32135. "trademarkettype": {
  32136. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  32137. "type": "integer"
  32138. },
  32139. "trademode": {
  32140. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  32141. "type": "integer"
  32142. },
  32143. "tradeproperty": {
  32144. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  32145. "type": "integer"
  32146. },
  32147. "tradetype": {
  32148. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  32149. "type": "integer"
  32150. }
  32151. }
  32152. },
  32153. "models.Marketcalendar": {
  32154. "type": "object",
  32155. "properties": {
  32156. "holidaydate": {
  32157. "description": "节假日期(yyyy-MM-dd)",
  32158. "type": "string"
  32159. },
  32160. "marketid": {
  32161. "description": "市场ID",
  32162. "type": "integer"
  32163. }
  32164. }
  32165. },
  32166. "models.Marketrun": {
  32167. "type": "object",
  32168. "required": [
  32169. "marketid",
  32170. "nexttradedate",
  32171. "reckonflag",
  32172. "runstatus",
  32173. "tradedate",
  32174. "tradedate2"
  32175. ],
  32176. "properties": {
  32177. "afternexttradedate": {
  32178. "description": "下下交易日",
  32179. "type": "string"
  32180. },
  32181. "clearquoteflag": {
  32182. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  32183. "type": "integer"
  32184. },
  32185. "lastreckondate": {
  32186. "description": "最新交易日(结算成功)",
  32187. "type": "string"
  32188. },
  32189. "machinedate": {
  32190. "description": "机器时间",
  32191. "type": "string"
  32192. },
  32193. "manualflag": {
  32194. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  32195. "type": "integer"
  32196. },
  32197. "marketid": {
  32198. "description": "市场ID",
  32199. "type": "integer"
  32200. },
  32201. "nexttradedate": {
  32202. "description": "下一交易日",
  32203. "type": "string"
  32204. },
  32205. "pretradedate": {
  32206. "description": "上一交易日",
  32207. "type": "string"
  32208. },
  32209. "reckonflag": {
  32210. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  32211. "type": "integer"
  32212. },
  32213. "runstatus": {
  32214. "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.今日免清算",
  32215. "type": "integer"
  32216. },
  32217. "sectionid": {
  32218. "description": "时间段号[多时段时用]",
  32219. "type": "integer"
  32220. },
  32221. "tradedate": {
  32222. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  32223. "type": "string"
  32224. },
  32225. "tradedate2": {
  32226. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  32227. "type": "string"
  32228. },
  32229. "updatetime": {
  32230. "description": "更新时间",
  32231. "type": "string"
  32232. }
  32233. }
  32234. },
  32235. "models.Messageboard": {
  32236. "type": "object",
  32237. "required": [
  32238. "messageboardid"
  32239. ],
  32240. "properties": {
  32241. "contactnum": {
  32242. "description": "联系电话",
  32243. "type": "string"
  32244. },
  32245. "createtime": {
  32246. "description": "创建时间",
  32247. "type": "string"
  32248. },
  32249. "message": {
  32250. "description": "留言信息",
  32251. "type": "string"
  32252. },
  32253. "messageboardid": {
  32254. "description": "留言簿ID(SEQ_MessageBoard)",
  32255. "type": "integer"
  32256. },
  32257. "userid": {
  32258. "description": "用户ID",
  32259. "type": "integer"
  32260. }
  32261. }
  32262. },
  32263. "models.MyBargainApply": {
  32264. "type": "object",
  32265. "required": [
  32266. "userid"
  32267. ],
  32268. "properties": {
  32269. "accountid": {
  32270. "description": "摘牌资金账号",
  32271. "type": "integer"
  32272. },
  32273. "applyprice": {
  32274. "description": "申请价格",
  32275. "type": "string"
  32276. },
  32277. "applyremark": {
  32278. "description": "申请备注",
  32279. "type": "string"
  32280. },
  32281. "applystatus": {
  32282. "description": "申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  32283. "type": "integer"
  32284. },
  32285. "applytime": {
  32286. "description": "申请时间",
  32287. "type": "string"
  32288. },
  32289. "buyorsell": {
  32290. "description": "买卖 - 0:买 1:卖",
  32291. "type": "integer"
  32292. },
  32293. "buyusername": {
  32294. "description": "买方",
  32295. "type": "string"
  32296. },
  32297. "confirmprice": {
  32298. "description": "可接受价格(拒绝时填写)-作废",
  32299. "type": "number"
  32300. },
  32301. "confirmqty": {
  32302. "description": "可接受数量(拒绝时填写)-作废",
  32303. "type": "integer"
  32304. },
  32305. "confirmremark": {
  32306. "description": "确认备注",
  32307. "type": "string"
  32308. },
  32309. "confirmtime": {
  32310. "description": "确认时间",
  32311. "type": "string"
  32312. },
  32313. "confirmuserid": {
  32314. "description": "确认人",
  32315. "type": "integer"
  32316. },
  32317. "goodsno": {
  32318. "description": "商品编号",
  32319. "type": "string"
  32320. },
  32321. "handlestatus": {
  32322. "description": "处理状态",
  32323. "type": "integer"
  32324. },
  32325. "ladingbillid": {
  32326. "description": "摘牌方提单ID [卖]",
  32327. "type": "integer"
  32328. },
  32329. "marketid": {
  32330. "description": "市场ID",
  32331. "type": "integer"
  32332. },
  32333. "matchaccountid": {
  32334. "description": "挂牌方资金账号",
  32335. "type": "integer"
  32336. },
  32337. "matchuserid": {
  32338. "description": "挂牌方用户ID",
  32339. "type": "integer"
  32340. },
  32341. "performancetemplateid": {
  32342. "description": "履约计划模板ID",
  32343. "type": "integer"
  32344. },
  32345. "price": {
  32346. "description": "价格",
  32347. "type": "number"
  32348. },
  32349. "priceper": {
  32350. "description": "克拉单价 - 类型:1,2,3,5",
  32351. "type": "string"
  32352. },
  32353. "qty": {
  32354. "description": "申请数量",
  32355. "type": "number"
  32356. },
  32357. "refprice": {
  32358. "description": "参考价格",
  32359. "type": "string"
  32360. },
  32361. "retcode": {
  32362. "description": "委托返回代码",
  32363. "type": "integer"
  32364. },
  32365. "sellusername": {
  32366. "description": "卖方",
  32367. "type": "string"
  32368. },
  32369. "sizedisplay": {
  32370. "description": "尺寸",
  32371. "type": "string"
  32372. },
  32373. "subnum": {
  32374. "description": "摘牌方提单子单号 [卖]",
  32375. "type": "integer"
  32376. },
  32377. "tradedate": {
  32378. "description": "交易日(yyyyMMdd)",
  32379. "type": "string"
  32380. },
  32381. "userid": {
  32382. "description": "摘牌人用户ID",
  32383. "type": "integer"
  32384. },
  32385. "warehousenamedisplay": {
  32386. "type": "string"
  32387. },
  32388. "wrbargainid": {
  32389. "description": "[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  32390. "type": "string"
  32391. },
  32392. "wrtradeorderid": {
  32393. "description": "关联委托单ID",
  32394. "type": "string"
  32395. },
  32396. "zscerttypedisplay": {
  32397. "type": "string"
  32398. },
  32399. "zsclaritytype1display": {
  32400. "type": "string"
  32401. },
  32402. "zsclaritytype2display": {
  32403. "type": "string"
  32404. },
  32405. "zscolortype1display": {
  32406. "type": "string"
  32407. },
  32408. "zscolortype2display": {
  32409. "type": "string"
  32410. },
  32411. "zscrystaltypedisplay": {
  32412. "type": "string"
  32413. },
  32414. "zscurrencytypedisplay": {
  32415. "type": "string"
  32416. },
  32417. "zscurrencytypedisplayunit": {
  32418. "type": "string"
  32419. },
  32420. "zscuttype1display": {
  32421. "type": "string"
  32422. },
  32423. "zscuttype2display": {
  32424. "type": "string"
  32425. },
  32426. "zsczcolor1typedisplay": {
  32427. "type": "string"
  32428. },
  32429. "zsczcolor2typedisplay": {
  32430. "type": "string"
  32431. },
  32432. "zsczcolor3typedisplay": {
  32433. "type": "string"
  32434. },
  32435. "zsfluorescencetype1display": {
  32436. "type": "string"
  32437. },
  32438. "zsfluorescencetype2display": {
  32439. "type": "string"
  32440. },
  32441. "zspolishtype1display": {
  32442. "type": "string"
  32443. },
  32444. "zspolishtype2display": {
  32445. "type": "string"
  32446. },
  32447. "zsshapetypedisplay": {
  32448. "type": "string"
  32449. },
  32450. "zsstyletypedisplay": {
  32451. "type": "string"
  32452. },
  32453. "zssymmetrytype1display": {
  32454. "type": "string"
  32455. },
  32456. "zssymmetrytype2display": {
  32457. "type": "string"
  32458. }
  32459. }
  32460. },
  32461. "models.MyBuyOrder": {
  32462. "type": "object",
  32463. "required": [
  32464. "userid"
  32465. ],
  32466. "properties": {
  32467. "accountid": {
  32468. "description": "资金账户ID",
  32469. "type": "integer"
  32470. },
  32471. "marketid": {
  32472. "description": "市场ID",
  32473. "type": "integer"
  32474. },
  32475. "ordertime": {
  32476. "description": "委托时间",
  32477. "type": "string"
  32478. },
  32479. "origin": {
  32480. "description": "原产地",
  32481. "type": "string"
  32482. },
  32483. "performancetemplateid": {
  32484. "description": "履约计划模板ID",
  32485. "type": "integer"
  32486. },
  32487. "remark": {
  32488. "description": "备注",
  32489. "type": "string"
  32490. },
  32491. "userid": {
  32492. "description": "用户ID",
  32493. "type": "integer"
  32494. },
  32495. "validtime": {
  32496. "description": "有效期限",
  32497. "type": "string"
  32498. },
  32499. "warehouseids": {
  32500. "description": "仓库ID - 多个, 逗号分隔",
  32501. "type": "string"
  32502. },
  32503. "warehouseinfosdisplay": {
  32504. "type": "string"
  32505. },
  32506. "wrtradeorderid": {
  32507. "description": "[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  32508. "type": "string"
  32509. },
  32510. "wrtradeorderstatus": {
  32511. "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、",
  32512. "type": "integer"
  32513. },
  32514. "zscategory": {
  32515. "description": "钻石分类 - 枚举”ZSCategory“",
  32516. "type": "integer"
  32517. },
  32518. "zscategorydisplay": {
  32519. "type": "string"
  32520. },
  32521. "zsclaritytype": {
  32522. "description": "净度 - 两个, 逗号分隔",
  32523. "type": "string"
  32524. },
  32525. "zsclaritytypedisplay": {
  32526. "type": "string"
  32527. },
  32528. "zscolortype": {
  32529. "description": "颜色 - 两个, 逗号分隔",
  32530. "type": "string"
  32531. },
  32532. "zscolortypedisplay": {
  32533. "type": "string"
  32534. },
  32535. "zscrystaltype": {
  32536. "description": "晶型 - 多个,逗号分隔",
  32537. "type": "string"
  32538. },
  32539. "zscrystaltypedisplay": {
  32540. "type": "string"
  32541. },
  32542. "zscurrencytype": {
  32543. "description": "货币类型 - 多个, 逗号分隔",
  32544. "type": "string"
  32545. },
  32546. "zscurrencytypedisplay": {
  32547. "type": "string"
  32548. },
  32549. "zscuttype": {
  32550. "description": "切工 - 两个, 逗号分隔",
  32551. "type": "string"
  32552. },
  32553. "zscuttypedisplay": {
  32554. "type": "string"
  32555. },
  32556. "zsczcolor1type": {
  32557. "description": "彩钻颜色1, 逗号分隔",
  32558. "type": "string"
  32559. },
  32560. "zsczcolor1typedisplay": {
  32561. "type": "string"
  32562. },
  32563. "zsczcolor2type": {
  32564. "description": "彩钻颜色2, 逗号分隔",
  32565. "type": "string"
  32566. },
  32567. "zsczcolor2typedisplay": {
  32568. "type": "string"
  32569. },
  32570. "zsczcolor3type": {
  32571. "description": "彩钻颜色3, 逗号分隔",
  32572. "type": "string"
  32573. },
  32574. "zsczcolor3typedisplay": {
  32575. "type": "string"
  32576. },
  32577. "zsfluorescencetype": {
  32578. "description": "荧光 - 多个, 逗号分隔",
  32579. "type": "string"
  32580. },
  32581. "zsfluorescencetypedisplay": {
  32582. "type": "string"
  32583. },
  32584. "zspolishtype": {
  32585. "description": "抛光度 - 两个, 逗号分隔",
  32586. "type": "string"
  32587. },
  32588. "zspolishtypedisplay": {
  32589. "type": "string"
  32590. },
  32591. "zsshapetype": {
  32592. "description": "形状 - 多个, 逗号分隔",
  32593. "type": "string"
  32594. },
  32595. "zsshapetypedisplay": {
  32596. "type": "string"
  32597. },
  32598. "zssize": {
  32599. "description": "尺寸 - 两个小数, 逗号分隔",
  32600. "type": "string"
  32601. },
  32602. "zsstyletype": {
  32603. "description": "款式 - 多个, 逗号分隔",
  32604. "type": "string"
  32605. },
  32606. "zsstyletypedisplay": {
  32607. "type": "string"
  32608. },
  32609. "zssymmetrytype": {
  32610. "description": "对称度 - 两个, 逗号分隔",
  32611. "type": "string"
  32612. },
  32613. "zssymmetrytypedisplay": {
  32614. "type": "string"
  32615. },
  32616. "zstabledisplay": {
  32617. "description": "求购信息",
  32618. "type": "string"
  32619. }
  32620. }
  32621. },
  32622. "models.MyDeListing": {
  32623. "type": "object",
  32624. "required": [
  32625. "userid"
  32626. ],
  32627. "properties": {
  32628. "buyaccountid": {
  32629. "description": "买方账号ID",
  32630. "type": "integer"
  32631. },
  32632. "buychargevalue": {
  32633. "description": "买方手续费",
  32634. "type": "number"
  32635. },
  32636. "buyuserid": {
  32637. "description": "买方用户ID",
  32638. "type": "integer"
  32639. },
  32640. "deliverygoodsid": {
  32641. "description": "现货品种ID",
  32642. "type": "integer"
  32643. },
  32644. "exchangerate": {
  32645. "description": "汇率",
  32646. "type": "number"
  32647. },
  32648. "goodsno": {
  32649. "description": "商品编号",
  32650. "type": "string"
  32651. },
  32652. "marketid": {
  32653. "description": "市场ID",
  32654. "type": "integer"
  32655. },
  32656. "matchusername": {
  32657. "description": "对手方",
  32658. "type": "string"
  32659. },
  32660. "oritradeamount": {
  32661. "description": "成交金额[商品币种]",
  32662. "type": "number"
  32663. },
  32664. "performanceplanid": {
  32665. "description": "履约计划ID/合同ID",
  32666. "type": "string"
  32667. },
  32668. "price": {
  32669. "description": "价格",
  32670. "type": "number"
  32671. },
  32672. "qty": {
  32673. "description": "成交重量",
  32674. "type": "number"
  32675. },
  32676. "sellaccountid": {
  32677. "description": "卖方账号ID",
  32678. "type": "integer"
  32679. },
  32680. "sellchargevalue": {
  32681. "description": "卖方手续费",
  32682. "type": "number"
  32683. },
  32684. "selluserid": {
  32685. "description": "卖方用户ID",
  32686. "type": "integer"
  32687. },
  32688. "sizedisplay": {
  32689. "description": "尺寸",
  32690. "type": "string"
  32691. },
  32692. "tradeamount": {
  32693. "description": "成交金额",
  32694. "type": "number"
  32695. },
  32696. "tradedate": {
  32697. "description": "交易日(yyyyMMdd)",
  32698. "type": "string"
  32699. },
  32700. "tradeprice": {
  32701. "description": "成交价格",
  32702. "type": "number"
  32703. },
  32704. "tradetime": {
  32705. "description": "成交时间",
  32706. "type": "string"
  32707. },
  32708. "userid": {
  32709. "description": "用户ID",
  32710. "type": "integer"
  32711. },
  32712. "warehousenamedisplay": {
  32713. "type": "string"
  32714. },
  32715. "wrfactortypeid": {
  32716. "description": "仓单要素类型ID",
  32717. "type": "integer"
  32718. },
  32719. "wrstandardid": {
  32720. "description": "现货商品ID",
  32721. "type": "integer"
  32722. },
  32723. "wrtradedetailid": {
  32724. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  32725. "type": "string"
  32726. },
  32727. "zscategory": {
  32728. "description": "钻石分类 - 枚举”ZSCategory“",
  32729. "type": "integer"
  32730. },
  32731. "zscategorydisplay": {
  32732. "type": "string"
  32733. },
  32734. "zscerttypedisplay": {
  32735. "type": "string"
  32736. },
  32737. "zsclaritytype1display": {
  32738. "type": "string"
  32739. },
  32740. "zsclaritytype2display": {
  32741. "type": "string"
  32742. },
  32743. "zscolortype1display": {
  32744. "type": "string"
  32745. },
  32746. "zscolortype2display": {
  32747. "type": "string"
  32748. },
  32749. "zscrystaltypedisplay": {
  32750. "type": "string"
  32751. },
  32752. "zscurrencytype": {
  32753. "description": "货币类型 - 枚举“ZSCurrencyType”",
  32754. "type": "integer"
  32755. },
  32756. "zscurrencytypedisplay": {
  32757. "type": "string"
  32758. },
  32759. "zscurrencytypedisplayunit": {
  32760. "type": "string"
  32761. },
  32762. "zscuttype1display": {
  32763. "type": "string"
  32764. },
  32765. "zscuttype2display": {
  32766. "type": "string"
  32767. },
  32768. "zsczcolor1typedisplay": {
  32769. "type": "string"
  32770. },
  32771. "zsczcolor2typedisplay": {
  32772. "type": "string"
  32773. },
  32774. "zsczcolor3typedisplay": {
  32775. "type": "string"
  32776. },
  32777. "zsfluorescencetype1display": {
  32778. "type": "string"
  32779. },
  32780. "zsfluorescencetype2display": {
  32781. "type": "string"
  32782. },
  32783. "zspolishtype1display": {
  32784. "type": "string"
  32785. },
  32786. "zspolishtype2display": {
  32787. "type": "string"
  32788. },
  32789. "zsshapetypedisplay": {
  32790. "type": "string"
  32791. },
  32792. "zsstyletypedisplay": {
  32793. "type": "string"
  32794. },
  32795. "zssymmetrytype1display": {
  32796. "type": "string"
  32797. },
  32798. "zssymmetrytype2display": {
  32799. "type": "string"
  32800. }
  32801. }
  32802. },
  32803. "models.MyDelistingApply": {
  32804. "type": "object",
  32805. "required": [
  32806. "selluserid"
  32807. ],
  32808. "properties": {
  32809. "applyprice": {
  32810. "description": "申请价格",
  32811. "type": "number"
  32812. },
  32813. "applyqty": {
  32814. "description": "申请数量",
  32815. "type": "number"
  32816. },
  32817. "applyremark": {
  32818. "description": "申请备注",
  32819. "type": "string"
  32820. },
  32821. "applystatus": {
  32822. "description": "申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  32823. "type": "integer"
  32824. },
  32825. "applytime": {
  32826. "description": "申请时间",
  32827. "type": "string"
  32828. },
  32829. "auditremark": {
  32830. "description": "确认备注",
  32831. "type": "string"
  32832. },
  32833. "audittime": {
  32834. "description": "确认时间",
  32835. "type": "string"
  32836. },
  32837. "buyuserid": {
  32838. "description": "买方用户ID",
  32839. "type": "integer"
  32840. },
  32841. "buyusername": {
  32842. "description": "买方",
  32843. "type": "string"
  32844. },
  32845. "buywrtradeorderid": {
  32846. "description": "买委托单ID",
  32847. "type": "string"
  32848. },
  32849. "goodsno": {
  32850. "description": "商品编号",
  32851. "type": "string"
  32852. },
  32853. "ladingbillid": {
  32854. "description": "卖方提单ID",
  32855. "type": "string"
  32856. },
  32857. "marketid": {
  32858. "description": "市场ID",
  32859. "type": "integer"
  32860. },
  32861. "performancetemplateid": {
  32862. "description": "履约计划模板ID",
  32863. "type": "integer"
  32864. },
  32865. "price": {
  32866. "description": "价格",
  32867. "type": "number"
  32868. },
  32869. "sellaccountid": {
  32870. "description": "卖方账户ID",
  32871. "type": "integer"
  32872. },
  32873. "selldelistingapplyid": {
  32874. "description": "[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)",
  32875. "type": "string"
  32876. },
  32877. "selltradeorderid": {
  32878. "description": "卖方委托ID(买方确认成交后更新)",
  32879. "type": "string"
  32880. },
  32881. "selluserid": {
  32882. "description": "卖方用户ID",
  32883. "type": "integer"
  32884. },
  32885. "sellusername": {
  32886. "description": "卖方",
  32887. "type": "string"
  32888. },
  32889. "sizedisplay": {
  32890. "description": "尺寸",
  32891. "type": "string"
  32892. },
  32893. "subnum": {
  32894. "description": "卖方提单子单号",
  32895. "type": "integer"
  32896. },
  32897. "warehouseinfosdisplay": {
  32898. "type": "string"
  32899. },
  32900. "weight": {
  32901. "description": "克拉重量",
  32902. "type": "number"
  32903. },
  32904. "wrfactortypeid": {
  32905. "description": "仓单要素类型ID",
  32906. "type": "string"
  32907. },
  32908. "wrstandardid": {
  32909. "description": "现货商品ID",
  32910. "type": "integer"
  32911. },
  32912. "zsallproperties": {
  32913. "type": "string"
  32914. },
  32915. "zscategorydisplay": {
  32916. "type": "string"
  32917. },
  32918. "zsclaritytypedisplay": {
  32919. "type": "string"
  32920. },
  32921. "zscolortypedisplay": {
  32922. "type": "string"
  32923. },
  32924. "zscrystaltypedisplay": {
  32925. "type": "string"
  32926. },
  32927. "zscurrencytypedisplay": {
  32928. "type": "string"
  32929. },
  32930. "zscurrencytypedisplayunit": {
  32931. "description": "价格单位",
  32932. "type": "string"
  32933. },
  32934. "zscuttypedisplay": {
  32935. "type": "string"
  32936. },
  32937. "zsczcolor1typedisplay": {
  32938. "type": "string"
  32939. },
  32940. "zsczcolor2typedisplay": {
  32941. "type": "string"
  32942. },
  32943. "zsczcolor3typedisplay": {
  32944. "type": "string"
  32945. },
  32946. "zsfluorescencetypedisplay": {
  32947. "type": "string"
  32948. },
  32949. "zspolishtypedisplay": {
  32950. "type": "string"
  32951. },
  32952. "zsshapetypedisplay": {
  32953. "type": "string"
  32954. },
  32955. "zssizedisplay": {
  32956. "type": "string"
  32957. },
  32958. "zsstyletypedisplay": {
  32959. "type": "string"
  32960. },
  32961. "zssymmetrytypedisplay": {
  32962. "type": "string"
  32963. },
  32964. "zstabledisplay": {
  32965. "type": "string"
  32966. }
  32967. }
  32968. },
  32969. "models.MyFavorite": {
  32970. "type": "object",
  32971. "required": [
  32972. "userid"
  32973. ],
  32974. "properties": {
  32975. "accountname": {
  32976. "description": "账户名称(机构名称)",
  32977. "type": "string"
  32978. },
  32979. "buyorsell": {
  32980. "description": "买卖 - 0:买 1:卖",
  32981. "type": "integer"
  32982. },
  32983. "favoritestatus": {
  32984. "description": "收藏状态 - 1:正常 2:失效",
  32985. "type": "integer"
  32986. },
  32987. "goodsno": {
  32988. "description": "商品编号",
  32989. "type": "string"
  32990. },
  32991. "marketid": {
  32992. "description": "市场ID",
  32993. "type": "integer"
  32994. },
  32995. "marketprice": {
  32996. "description": "市场价",
  32997. "type": "string"
  32998. },
  32999. "price": {
  33000. "description": "价格",
  33001. "type": "number"
  33002. },
  33003. "priceper": {
  33004. "description": "克拉单价",
  33005. "type": "string"
  33006. },
  33007. "sellusername": {
  33008. "description": "卖家",
  33009. "type": "string"
  33010. },
  33011. "sizedisplay": {
  33012. "description": "尺寸",
  33013. "type": "string"
  33014. },
  33015. "userid": {
  33016. "description": "用户ID",
  33017. "type": "integer"
  33018. },
  33019. "warehousenamedisplay": {
  33020. "description": "仓库名称",
  33021. "type": "string"
  33022. },
  33023. "weight": {
  33024. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  33025. "type": "number"
  33026. },
  33027. "weightavg": {
  33028. "description": "平均单颗重量 - 类型:1,3",
  33029. "type": "number"
  33030. },
  33031. "wrfactortypeid": {
  33032. "description": "仓单要素类型ID/商品ID(77)",
  33033. "type": "string"
  33034. },
  33035. "wrstandardid": {
  33036. "description": "现货商品ID(自增 SEQ_GOODS 确保不重复)",
  33037. "type": "integer"
  33038. },
  33039. "wrtradeorderid": {
  33040. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33041. "type": "string"
  33042. },
  33043. "zscategory": {
  33044. "description": "钻石分类 - 枚举”ZSCategory“",
  33045. "type": "integer"
  33046. },
  33047. "zscategorydisplay": {
  33048. "type": "string"
  33049. },
  33050. "zscerttypedisplay": {
  33051. "type": "string"
  33052. },
  33053. "zsclaritytype1display": {
  33054. "type": "string"
  33055. },
  33056. "zsclaritytype2display": {
  33057. "type": "string"
  33058. },
  33059. "zscolortype1display": {
  33060. "type": "string"
  33061. },
  33062. "zscolortype2display": {
  33063. "type": "string"
  33064. },
  33065. "zscrystaltypedisplay": {
  33066. "type": "string"
  33067. },
  33068. "zscurrencytypedisplay": {
  33069. "type": "string"
  33070. },
  33071. "zscurrencytypedisplayunit": {
  33072. "type": "string"
  33073. },
  33074. "zscuttype1display": {
  33075. "type": "string"
  33076. },
  33077. "zscuttype2display": {
  33078. "type": "string"
  33079. },
  33080. "zsczcolor1typedisplay": {
  33081. "type": "string"
  33082. },
  33083. "zsczcolor2typedisplay": {
  33084. "type": "string"
  33085. },
  33086. "zsczcolor3typedisplay": {
  33087. "type": "string"
  33088. },
  33089. "zsfluorescencetype1display": {
  33090. "type": "string"
  33091. },
  33092. "zsfluorescencetype2display": {
  33093. "type": "string"
  33094. },
  33095. "zspolishtype1display": {
  33096. "type": "string"
  33097. },
  33098. "zspolishtype2display": {
  33099. "type": "string"
  33100. },
  33101. "zsshapetypedisplay": {
  33102. "type": "string"
  33103. },
  33104. "zsstyletypedisplay": {
  33105. "type": "string"
  33106. },
  33107. "zssymmetrytype1display": {
  33108. "type": "string"
  33109. },
  33110. "zssymmetrytype2display": {
  33111. "type": "string"
  33112. }
  33113. }
  33114. },
  33115. "models.MyPerformanc": {
  33116. "type": "object",
  33117. "properties": {
  33118. "accountname": {
  33119. "description": "[对手方]账户名称(机构名称)",
  33120. "type": "string"
  33121. },
  33122. "amount": {
  33123. "description": "履约金额",
  33124. "type": "number"
  33125. },
  33126. "buyaccountid": {
  33127. "description": "买方账号",
  33128. "type": "integer"
  33129. },
  33130. "buyerfreezeamount": {
  33131. "description": "买方履约前冻结资金",
  33132. "type": "number"
  33133. },
  33134. "buyerfreezeamountremain": {
  33135. "description": "买方履约前冻结资金剩余",
  33136. "type": "number"
  33137. },
  33138. "buyerinfo": {
  33139. "description": "买方联系信息 - 存JSON字符串, 根据枚举‘BuyerContactInfo',显示\\隐藏字段,若数据不为JSON,则直接显示{ \"ContactInfo\": \"xxxxxxxx\", \"ReceiveInfo\": \"xxxxxxxxx\", \"ReceiptInfo\": \"xxxxxxxxxxxx\"}",
  33140. "type": "string"
  33141. },
  33142. "buyorsell": {
  33143. "description": "方向 - 0:买 1:卖",
  33144. "type": "integer"
  33145. },
  33146. "buypaidamount": {
  33147. "description": "买方已冻/已扣金额",
  33148. "type": "number"
  33149. },
  33150. "buytodayamount": {
  33151. "description": "买方今日扣/冻金额 (待开市时清零)",
  33152. "type": "number"
  33153. },
  33154. "curstepid": {
  33155. "description": "当前步骤ID",
  33156. "type": "string"
  33157. },
  33158. "goodsno": {
  33159. "description": "商品编号",
  33160. "type": "string"
  33161. },
  33162. "overshortamount": {
  33163. "description": "溢短金额",
  33164. "type": "number"
  33165. },
  33166. "paymenttype": {
  33167. "description": "买方支付方式 - 1:冻结 2:扣款",
  33168. "type": "integer"
  33169. },
  33170. "performanceplanid": {
  33171. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  33172. "type": "string"
  33173. },
  33174. "performancestatus": {
  33175. "description": "履约状态 - 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  33176. "type": "integer"
  33177. },
  33178. "price": {
  33179. "description": "价格",
  33180. "type": "number"
  33181. },
  33182. "priceper": {
  33183. "description": "克拉单价",
  33184. "type": "string"
  33185. },
  33186. "relatedorderid": {
  33187. "description": "关联单号(履约类型的关联单号)",
  33188. "type": "string"
  33189. },
  33190. "remaindays": {
  33191. "description": "剩余天数",
  33192. "type": "integer"
  33193. },
  33194. "sellerfreezeamount": {
  33195. "description": "卖方履约前冻结资金",
  33196. "type": "number"
  33197. },
  33198. "sellerfreezeamountremain": {
  33199. "description": "卖方履约前冻结资金剩余",
  33200. "type": "number"
  33201. },
  33202. "sellerinfo": {
  33203. "description": "卖方联系信息 - 存JSON字符串, 根据枚举‘SellerContactInfo',显示\\隐藏字段,若数据不为JSON,则直接显示{ \"ContactInfo\": \"xxxxxxxx\"}",
  33204. "type": "string"
  33205. },
  33206. "sellreceivedamount": {
  33207. "description": "卖方已收金额",
  33208. "type": "number"
  33209. },
  33210. "selltodayamount": {
  33211. "description": "卖方今日收取金额(待开市时清零)",
  33212. "type": "number"
  33213. },
  33214. "sizedisplay": {
  33215. "description": "尺寸",
  33216. "type": "string"
  33217. },
  33218. "steptypeid": {
  33219. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  33220. "type": "integer"
  33221. },
  33222. "warehousenamedisplay": {
  33223. "type": "string"
  33224. },
  33225. "zscategorydisplay": {
  33226. "type": "string"
  33227. },
  33228. "zscerttypedisplay": {
  33229. "type": "string"
  33230. },
  33231. "zsclaritytype1display": {
  33232. "type": "string"
  33233. },
  33234. "zsclaritytype2display": {
  33235. "type": "string"
  33236. },
  33237. "zscolortype1display": {
  33238. "type": "string"
  33239. },
  33240. "zscolortype2display": {
  33241. "type": "string"
  33242. },
  33243. "zscrystaltypedisplay": {
  33244. "type": "string"
  33245. },
  33246. "zscurrencytypedisplay": {
  33247. "type": "string"
  33248. },
  33249. "zscurrencytypedisplayunit": {
  33250. "type": "string"
  33251. },
  33252. "zscuttype1display": {
  33253. "type": "string"
  33254. },
  33255. "zscuttype2display": {
  33256. "type": "string"
  33257. },
  33258. "zsczcolor1typedisplay": {
  33259. "type": "string"
  33260. },
  33261. "zsczcolor2typedisplay": {
  33262. "type": "string"
  33263. },
  33264. "zsczcolor3typedisplay": {
  33265. "type": "string"
  33266. },
  33267. "zsfluorescencetype1display": {
  33268. "type": "string"
  33269. },
  33270. "zsfluorescencetype2display": {
  33271. "type": "string"
  33272. },
  33273. "zspolishtype1display": {
  33274. "type": "string"
  33275. },
  33276. "zspolishtype2display": {
  33277. "type": "string"
  33278. },
  33279. "zsshapetypedisplay": {
  33280. "type": "string"
  33281. },
  33282. "zsstyletypedisplay": {
  33283. "type": "string"
  33284. },
  33285. "zssymmetrytype1display": {
  33286. "type": "string"
  33287. },
  33288. "zssymmetrytype2display": {
  33289. "type": "string"
  33290. }
  33291. }
  33292. },
  33293. "models.MyRefer": {
  33294. "type": "object",
  33295. "properties": {
  33296. "accountname": {
  33297. "description": "用户名(脱敏)",
  33298. "type": "string"
  33299. },
  33300. "createtime": {
  33301. "description": "时间(yyyy-mm-dd)",
  33302. "type": "string"
  33303. },
  33304. "score": {
  33305. "description": "积分",
  33306. "type": "number"
  33307. }
  33308. }
  33309. },
  33310. "models.MySellOrder": {
  33311. "type": "object",
  33312. "required": [
  33313. "userid"
  33314. ],
  33315. "properties": {
  33316. "accountid": {
  33317. "description": "资金账号",
  33318. "type": "integer"
  33319. },
  33320. "applyid": {
  33321. "description": "申请单ID",
  33322. "type": "integer"
  33323. },
  33324. "attachment1": {
  33325. "description": "附件1",
  33326. "type": "string"
  33327. },
  33328. "attachment2": {
  33329. "description": "附件2",
  33330. "type": "string"
  33331. },
  33332. "buyorsell": {
  33333. "description": "买卖 - 0:买 1:卖",
  33334. "type": "integer"
  33335. },
  33336. "canbargain": {
  33337. "description": "是否可议价 - 0:不可 1:可",
  33338. "type": "integer"
  33339. },
  33340. "cancelqty": {
  33341. "description": "撤销数量",
  33342. "type": "integer"
  33343. },
  33344. "canceltime": {
  33345. "description": "撤销时间",
  33346. "type": "string"
  33347. },
  33348. "cerno": {
  33349. "type": "string"
  33350. },
  33351. "chargealgorithm": {
  33352. "description": "手续费收取方式 1:比率 2:固定",
  33353. "type": "integer"
  33354. },
  33355. "chargealgorithmvalue": {
  33356. "description": "手续费设置值(交易所部分)",
  33357. "type": "number"
  33358. },
  33359. "chargealgorithmvalue2": {
  33360. "description": "手续费设置值(会员部分)",
  33361. "type": "number"
  33362. },
  33363. "clientordertime": {
  33364. "description": "客户端委托时间",
  33365. "type": "string"
  33366. },
  33367. "cpcertno": {
  33368. "type": "string"
  33369. },
  33370. "exchangerate": {
  33371. "description": "汇率[67]",
  33372. "type": "number"
  33373. },
  33374. "firstratio": {
  33375. "description": "首付比率 - [挂牌时指定,摘牌时使用]",
  33376. "type": "number"
  33377. },
  33378. "fixedprice": {
  33379. "description": "[克拉单价]固定价格 - [挂牌]",
  33380. "type": "number"
  33381. },
  33382. "freezecharge": {
  33383. "description": "冻结手续费",
  33384. "type": "number"
  33385. },
  33386. "freezefirstamount": {
  33387. "description": "冻结首付金额 - [摘牌]",
  33388. "type": "number"
  33389. },
  33390. "freezemargin": {
  33391. "description": "冻结保证金",
  33392. "type": "number"
  33393. },
  33394. "goodsno": {
  33395. "description": "商品编号",
  33396. "type": "string"
  33397. },
  33398. "imagepath": {
  33399. "type": "string"
  33400. },
  33401. "isspecified": {
  33402. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  33403. "type": "integer"
  33404. },
  33405. "kppath": {
  33406. "type": "string"
  33407. },
  33408. "kpweight": {
  33409. "type": "string"
  33410. },
  33411. "marginalgorithm": {
  33412. "description": "保证金方式 - 1:比率 2:固定",
  33413. "type": "integer"
  33414. },
  33415. "marginvalue": {
  33416. "description": "保证金设置值",
  33417. "type": "number"
  33418. },
  33419. "marketid": {
  33420. "description": "市场ID",
  33421. "type": "integer"
  33422. },
  33423. "marketprice": {
  33424. "type": "string"
  33425. },
  33426. "orderamount": {
  33427. "description": "挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100",
  33428. "type": "number"
  33429. },
  33430. "ordertime": {
  33431. "description": "委托时间",
  33432. "type": "string"
  33433. },
  33434. "performancetemplateid": {
  33435. "description": "履约计划模板ID",
  33436. "type": "integer"
  33437. },
  33438. "price": {
  33439. "description": "价格",
  33440. "type": "number"
  33441. },
  33442. "pricefactor": {
  33443. "description": "价格系数(浮动价时填写) - [挂牌]",
  33444. "type": "number"
  33445. },
  33446. "pricemove": {
  33447. "description": "升贴水(浮动价时填写) - [挂牌]",
  33448. "type": "number"
  33449. },
  33450. "priceper": {
  33451. "type": "string"
  33452. },
  33453. "relatedwrtradeorderid": {
  33454. "description": "关联委托单号(摘牌委托关联挂牌委托单ID)",
  33455. "type": "integer"
  33456. },
  33457. "remark": {
  33458. "type": "string"
  33459. },
  33460. "retcode": {
  33461. "description": "错误代码",
  33462. "type": "integer"
  33463. },
  33464. "selledqty": {
  33465. "description": "成交重量",
  33466. "type": "number"
  33467. },
  33468. "settingmaterial": {
  33469. "type": "string"
  33470. },
  33471. "size1": {
  33472. "type": "string"
  33473. },
  33474. "size2": {
  33475. "type": "string"
  33476. },
  33477. "size3": {
  33478. "type": "string"
  33479. },
  33480. "sizedisplay": {
  33481. "description": "尺寸",
  33482. "type": "string"
  33483. },
  33484. "stonedesc": {
  33485. "type": "string"
  33486. },
  33487. "totalqty": {
  33488. "description": "总重量",
  33489. "type": "number"
  33490. },
  33491. "tradedate": {
  33492. "description": "交易日(yyyyMMdd)",
  33493. "type": "string"
  33494. },
  33495. "tradeprice": {
  33496. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  33497. "type": "number"
  33498. },
  33499. "unfreezecharge": {
  33500. "description": "解冻手续费",
  33501. "type": "number"
  33502. },
  33503. "unfreezefirstamount": {
  33504. "description": "解冻首付金额 - [摘牌]",
  33505. "type": "number"
  33506. },
  33507. "unfreezemargin": {
  33508. "description": "解冻保证金",
  33509. "type": "number"
  33510. },
  33511. "userid": {
  33512. "description": "用户ID",
  33513. "type": "integer"
  33514. },
  33515. "uuid": {
  33516. "description": "发起端唯一id",
  33517. "type": "string"
  33518. },
  33519. "validtime": {
  33520. "description": "有效期限",
  33521. "type": "string"
  33522. },
  33523. "validtype": {
  33524. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  33525. "type": "integer"
  33526. },
  33527. "warehousenamedisplay": {
  33528. "type": "string"
  33529. },
  33530. "wrbargainid": {
  33531. "description": "议价申请单ID",
  33532. "type": "integer"
  33533. },
  33534. "wrfactortypeid": {
  33535. "description": "仓单要素类型ID/商品ID(77)",
  33536. "type": "integer"
  33537. },
  33538. "wrpath": {
  33539. "type": "string"
  33540. },
  33541. "wrpricetype": {
  33542. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  33543. "type": "integer"
  33544. },
  33545. "wrstandardid": {
  33546. "description": "现货商品ID",
  33547. "type": "integer"
  33548. },
  33549. "wrtradeorderid": {
  33550. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33551. "type": "string"
  33552. },
  33553. "wrtradeorderstatus": {
  33554. "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:撤单解冻贷款失败",
  33555. "type": "integer"
  33556. },
  33557. "wrtradetype": {
  33558. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  33559. "type": "integer"
  33560. },
  33561. "wrtransferuserid": {
  33562. "description": "仓单受让用户 - [摘牌]",
  33563. "type": "integer"
  33564. },
  33565. "zscategory": {
  33566. "description": "钻石分类 - 枚举”ZSCategory“",
  33567. "type": "integer"
  33568. },
  33569. "zscategorydisplay": {
  33570. "description": "钻石分类 - 描述",
  33571. "type": "string"
  33572. },
  33573. "zscerttypedisplay": {
  33574. "type": "string"
  33575. },
  33576. "zsclaritytype1display": {
  33577. "type": "string"
  33578. },
  33579. "zsclaritytype2display": {
  33580. "type": "string"
  33581. },
  33582. "zscolortype1display": {
  33583. "type": "string"
  33584. },
  33585. "zscolortype2display": {
  33586. "type": "string"
  33587. },
  33588. "zscrystaltype": {
  33589. "type": "string"
  33590. },
  33591. "zscrystaltypedisplay": {
  33592. "type": "string"
  33593. },
  33594. "zscurrencytype": {
  33595. "description": "货币类型 - 枚举“ZSCurrencyType”",
  33596. "type": "integer"
  33597. },
  33598. "zscurrencytypedisplay": {
  33599. "type": "string"
  33600. },
  33601. "zscurrencytypedisplayunit": {
  33602. "type": "string"
  33603. },
  33604. "zscuttype1display": {
  33605. "type": "string"
  33606. },
  33607. "zscuttype2display": {
  33608. "type": "string"
  33609. },
  33610. "zsczcolor1typedisplay": {
  33611. "type": "string"
  33612. },
  33613. "zsczcolor2typedisplay": {
  33614. "type": "string"
  33615. },
  33616. "zsczcolor3typedisplay": {
  33617. "type": "string"
  33618. },
  33619. "zsfluorescencetype1display": {
  33620. "type": "string"
  33621. },
  33622. "zsfluorescencetype2display": {
  33623. "type": "string"
  33624. },
  33625. "zspolishtype1display": {
  33626. "type": "string"
  33627. },
  33628. "zspolishtype2display": {
  33629. "type": "string"
  33630. },
  33631. "zsshapetypedisplay": {
  33632. "type": "string"
  33633. },
  33634. "zsstyletypedisplay": {
  33635. "type": "string"
  33636. },
  33637. "zssymmetrytype1display": {
  33638. "type": "string"
  33639. },
  33640. "zssymmetrytype2display": {
  33641. "type": "string"
  33642. }
  33643. }
  33644. },
  33645. "models.MyWRPosition": {
  33646. "type": "object",
  33647. "required": [
  33648. "wruserid"
  33649. ],
  33650. "properties": {
  33651. "cerno": {
  33652. "description": "证书编号 - 类型:2,4,5",
  33653. "type": "string"
  33654. },
  33655. "cpcertno": {
  33656. "description": "金伯利证书编号 - 类型:3",
  33657. "type": "string"
  33658. },
  33659. "ffreezeqty": {
  33660. "description": "冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数",
  33661. "type": "number"
  33662. },
  33663. "ftotalqty": {
  33664. "description": "库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数",
  33665. "type": "number"
  33666. },
  33667. "goodsno": {
  33668. "description": "商品编号",
  33669. "type": "string"
  33670. },
  33671. "imagepath": {
  33672. "description": "商品照片(相对地址)",
  33673. "type": "string"
  33674. },
  33675. "isvalid": {
  33676. "description": "是否有效 - 0:无效 1:有效",
  33677. "type": "integer"
  33678. },
  33679. "kppath": {
  33680. "description": "金伯利证书图片(相对地址) - 类型:3",
  33681. "type": "string"
  33682. },
  33683. "kpweight": {
  33684. "description": "金伯利证书重量 - 类型:3",
  33685. "type": "string"
  33686. },
  33687. "ladingbillid": {
  33688. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  33689. "type": "string"
  33690. },
  33691. "marketflag": {
  33692. "description": "是否上架,0-全部 1-是 2-否",
  33693. "type": "integer"
  33694. },
  33695. "marketprice": {
  33696. "description": "市场价",
  33697. "type": "string"
  33698. },
  33699. "origin": {
  33700. "description": "原产地 - 类型:3",
  33701. "type": "string"
  33702. },
  33703. "price": {
  33704. "description": "总价(价格) - 类型:1,2,3,4,5",
  33705. "type": "number"
  33706. },
  33707. "priceper": {
  33708. "description": "克拉单价 - 类型:1,2,3,5",
  33709. "type": "string"
  33710. },
  33711. "remark": {
  33712. "description": "备注",
  33713. "type": "string"
  33714. },
  33715. "sellmobile": {
  33716. "description": "手机号码(加密存储)",
  33717. "type": "string"
  33718. },
  33719. "sellusername": {
  33720. "description": "账户名称(机构名称)",
  33721. "type": "string"
  33722. },
  33723. "settingmaterial": {
  33724. "description": "镶嵌材料 - 类型:4",
  33725. "type": "string"
  33726. },
  33727. "size1": {
  33728. "description": "尺寸1 - 类型:2,4,5",
  33729. "type": "string"
  33730. },
  33731. "size2": {
  33732. "description": "尺寸2 - 类型:2,4,5",
  33733. "type": "string"
  33734. },
  33735. "size3": {
  33736. "description": "尺寸3 - 类型:2,4,5",
  33737. "type": "string"
  33738. },
  33739. "sizedisplay": {
  33740. "description": "尺寸",
  33741. "type": "string"
  33742. },
  33743. "stonedesc": {
  33744. "description": "配石描述 - 类型:4",
  33745. "type": "string"
  33746. },
  33747. "subnum": {
  33748. "description": "提单子单号",
  33749. "type": "integer"
  33750. },
  33751. "userid": {
  33752. "description": "用户ID",
  33753. "type": "integer"
  33754. },
  33755. "warehouseid": {
  33756. "description": "仓库ID",
  33757. "type": "integer"
  33758. },
  33759. "warehousenamedisplay": {
  33760. "type": "string"
  33761. },
  33762. "weight": {
  33763. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  33764. "type": "number"
  33765. },
  33766. "weightavg": {
  33767. "description": "平均单颗重量 - 类型:1,3",
  33768. "type": "number"
  33769. },
  33770. "wrpath": {
  33771. "description": "仓单扫描件(相对地址)",
  33772. "type": "string"
  33773. },
  33774. "wrstandardid": {
  33775. "description": "现货商品ID",
  33776. "type": "integer"
  33777. },
  33778. "wrtradeorderid": {
  33779. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33780. "type": "string"
  33781. },
  33782. "wruserid": {
  33783. "description": "登录用户ID",
  33784. "type": "integer"
  33785. },
  33786. "zscategory": {
  33787. "description": "钻石分类 - 枚举”ZSCategory“",
  33788. "type": "integer"
  33789. },
  33790. "zscategorydisplay": {
  33791. "type": "string"
  33792. },
  33793. "zscerttype": {
  33794. "description": "证书类型 - 枚举”ZSCertType“ - 类型:2,4,5",
  33795. "type": "integer"
  33796. },
  33797. "zscerttypedisplay": {
  33798. "type": "string"
  33799. },
  33800. "zsclaritytype1": {
  33801. "description": "净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5",
  33802. "type": "integer"
  33803. },
  33804. "zsclaritytype1display": {
  33805. "type": "string"
  33806. },
  33807. "zsclaritytype2": {
  33808. "description": "净度2 - 枚举”ZSClarityType“ - 类型:1,3",
  33809. "type": "integer"
  33810. },
  33811. "zsclaritytype2display": {
  33812. "type": "string"
  33813. },
  33814. "zscolortype1": {
  33815. "description": "颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4",
  33816. "type": "integer"
  33817. },
  33818. "zscolortype1display": {
  33819. "type": "string"
  33820. },
  33821. "zscolortype2": {
  33822. "description": "颜色2 - 枚举”ZSColorType“ - 类型:1,3",
  33823. "type": "integer"
  33824. },
  33825. "zscolortype2display": {
  33826. "type": "string"
  33827. },
  33828. "zscrystaltype": {
  33829. "description": "晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔",
  33830. "type": "string"
  33831. },
  33832. "zscrystaltypedisplay": {
  33833. "type": "string"
  33834. },
  33835. "zscurrencytype": {
  33836. "description": "货币类型 - 枚举“ZSCurrencyType”",
  33837. "type": "integer"
  33838. },
  33839. "zscurrencytypedisplay": {
  33840. "type": "string"
  33841. },
  33842. "zscurrencytypedisplayunit": {
  33843. "type": "string"
  33844. },
  33845. "zscuttype1": {
  33846. "description": "切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5",
  33847. "type": "integer"
  33848. },
  33849. "zscuttype1display": {
  33850. "type": "string"
  33851. },
  33852. "zscuttype2": {
  33853. "description": "切工2 - 枚举”ZSCutType“ - 类型:1",
  33854. "type": "integer"
  33855. },
  33856. "zscuttype2display": {
  33857. "type": "string"
  33858. },
  33859. "zsczcolor1type": {
  33860. "description": "彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5",
  33861. "type": "integer"
  33862. },
  33863. "zsczcolor1typedisplay": {
  33864. "type": "string"
  33865. },
  33866. "zsczcolor2type": {
  33867. "description": "彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5",
  33868. "type": "integer"
  33869. },
  33870. "zsczcolor2typedisplay": {
  33871. "type": "string"
  33872. },
  33873. "zsczcolor3type": {
  33874. "description": "彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5",
  33875. "type": "integer"
  33876. },
  33877. "zsczcolor3typedisplay": {
  33878. "type": "string"
  33879. },
  33880. "zsfluorescencetype1": {
  33881. "description": "荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5",
  33882. "type": "integer"
  33883. },
  33884. "zsfluorescencetype1display": {
  33885. "type": "string"
  33886. },
  33887. "zsfluorescencetype2": {
  33888. "description": "荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3",
  33889. "type": "integer"
  33890. },
  33891. "zsfluorescencetype2display": {
  33892. "type": "string"
  33893. },
  33894. "zspolishtype1": {
  33895. "description": "抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5",
  33896. "type": "integer"
  33897. },
  33898. "zspolishtype1display": {
  33899. "type": "string"
  33900. },
  33901. "zspolishtype2": {
  33902. "description": "抛光度2 - 枚举”ZSPolishType“ - 类型:1",
  33903. "type": "integer"
  33904. },
  33905. "zspolishtype2display": {
  33906. "type": "string"
  33907. },
  33908. "zsshapetype": {
  33909. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  33910. "type": "string"
  33911. },
  33912. "zsshapetypedisplay": {
  33913. "type": "string"
  33914. },
  33915. "zsstyletype": {
  33916. "description": "款式 - 类型:4",
  33917. "type": "integer"
  33918. },
  33919. "zsstyletypedisplay": {
  33920. "type": "string"
  33921. },
  33922. "zssymmetrytype1": {
  33923. "description": "对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5",
  33924. "type": "integer"
  33925. },
  33926. "zssymmetrytype1display": {
  33927. "type": "string"
  33928. },
  33929. "zssymmetrytype2": {
  33930. "description": "对称度2 - 枚举”ZSSymmetryType“ - 类型:1",
  33931. "type": "integer"
  33932. },
  33933. "zssymmetrytype2display": {
  33934. "type": "string"
  33935. }
  33936. }
  33937. },
  33938. "models.NewFuncmenulist": {
  33939. "type": "object",
  33940. "required": [
  33941. "resourcecode"
  33942. ],
  33943. "properties": {
  33944. "authtype": {
  33945. "description": "权限类型 - 1:菜单 2:组件 3:按钮",
  33946. "type": "integer"
  33947. },
  33948. "buttonname": {
  33949. "description": "按钮名称",
  33950. "type": "string"
  33951. },
  33952. "buttontype": {
  33953. "description": "按钮类型 - 存按钮样式",
  33954. "type": "string"
  33955. },
  33956. "component": {
  33957. "description": "组件名或组件地址",
  33958. "type": "string"
  33959. },
  33960. "hidden": {
  33961. "description": "是否隐藏 - 0:显示 1:隐藏",
  33962. "type": "integer"
  33963. },
  33964. "iconame": {
  33965. "description": "菜单图标",
  33966. "type": "string"
  33967. },
  33968. "menutype": {
  33969. "description": "菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)",
  33970. "type": "integer"
  33971. },
  33972. "parentcode": {
  33973. "description": "上级资源代码",
  33974. "type": "string"
  33975. },
  33976. "remark": {
  33977. "description": "Remark",
  33978. "type": "string"
  33979. },
  33980. "resourcecode": {
  33981. "description": "资源代码",
  33982. "type": "string"
  33983. },
  33984. "resourcelevel": {
  33985. "description": "级别1-一级 2-二级 3-三级4-四级",
  33986. "type": "integer"
  33987. },
  33988. "resourcename": {
  33989. "description": "资源名(Title)",
  33990. "type": "string"
  33991. },
  33992. "sort": {
  33993. "description": "排序",
  33994. "type": "integer"
  33995. },
  33996. "url": {
  33997. "description": "Url",
  33998. "type": "string"
  33999. },
  34000. "urltype": {
  34001. "description": "地址类型 - 1:路由 2:外链 3:内联框架",
  34002. "type": "integer"
  34003. }
  34004. }
  34005. },
  34006. "models.OperationPrimaryMenu": {
  34007. "type": "object",
  34008. "properties": {
  34009. "Children": {
  34010. "description": "二级功能菜单",
  34011. "type": "array",
  34012. "items": {
  34013. "$ref": "#/definitions/models.OperationSecondaryMenu"
  34014. }
  34015. },
  34016. "Key": {
  34017. "description": "菜单KEY",
  34018. "type": "string"
  34019. },
  34020. "Label": {
  34021. "description": "菜单标题",
  34022. "type": "string"
  34023. }
  34024. }
  34025. },
  34026. "models.OperationSecondaryMenu": {
  34027. "type": "object",
  34028. "properties": {
  34029. "Key": {
  34030. "description": "菜单KEY",
  34031. "type": "string"
  34032. },
  34033. "Label": {
  34034. "description": "菜单标题",
  34035. "type": "string"
  34036. },
  34037. "TabList": {
  34038. "description": "三级功能菜单",
  34039. "type": "array",
  34040. "items": {
  34041. "$ref": "#/definitions/models.OperationTabMenu"
  34042. }
  34043. }
  34044. }
  34045. },
  34046. "models.OperationTabMenu": {
  34047. "type": "object",
  34048. "properties": {
  34049. "Key": {
  34050. "description": "菜单KEY",
  34051. "type": "string"
  34052. },
  34053. "Label": {
  34054. "description": "菜单标题",
  34055. "type": "string"
  34056. }
  34057. }
  34058. },
  34059. "models.Patradelinkdetail": {
  34060. "type": "object",
  34061. "properties": {
  34062. "accountname": {
  34063. "description": "套期主体",
  34064. "type": "string"
  34065. },
  34066. "agreeunit": {
  34067. "description": "合约乘数",
  34068. "type": "number"
  34069. },
  34070. "amount": {
  34071. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  34072. "type": "number"
  34073. },
  34074. "areauserid": {
  34075. "description": "所属机构",
  34076. "type": "integer"
  34077. },
  34078. "bizsubjectid": {
  34079. "description": "归属业务部门ID - SubjectID",
  34080. "type": "integer"
  34081. },
  34082. "buyorsell": {
  34083. "description": "方向 - 0:买 1:卖",
  34084. "type": "integer"
  34085. },
  34086. "convertratio": {
  34087. "description": "品种系数",
  34088. "type": "number"
  34089. },
  34090. "convertratiochange": {
  34091. "description": "套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio",
  34092. "type": "number"
  34093. },
  34094. "createtime": {
  34095. "description": "[日期时间]创建时间",
  34096. "type": "string"
  34097. },
  34098. "creatorid": {
  34099. "description": "创建人ID",
  34100. "type": "integer"
  34101. },
  34102. "creatorsrc": {
  34103. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  34104. "type": "integer"
  34105. },
  34106. "goodscode": {
  34107. "description": "商品代码(内部)",
  34108. "type": "string"
  34109. },
  34110. "goodsgroupid": {
  34111. "description": "对冲品种ID[期货合约商品组ID]",
  34112. "type": "integer"
  34113. },
  34114. "goodsid": {
  34115. "description": "商品ID",
  34116. "type": "integer"
  34117. },
  34118. "hedgeditemid": {
  34119. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  34120. "type": "integer"
  34121. },
  34122. "hedgeflag": {
  34123. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  34124. "type": "integer"
  34125. },
  34126. "linkdetailid": {
  34127. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  34128. "type": "string"
  34129. },
  34130. "linkstatus": {
  34131. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  34132. "type": "integer"
  34133. },
  34134. "middlegoodsid": {
  34135. "description": "套保品种ID",
  34136. "type": "integer"
  34137. },
  34138. "name": {
  34139. "description": "账户名/子账户",
  34140. "type": "string"
  34141. },
  34142. "optioncode": {
  34143. "description": "[期货合约]期权代码 [期权]",
  34144. "type": "string"
  34145. },
  34146. "ordertype": {
  34147. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  34148. "type": "integer"
  34149. },
  34150. "relatedlot": {
  34151. "description": "[数量]关联手数",
  34152. "type": "number"
  34153. },
  34154. "relatedmode": {
  34155. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  34156. "type": "integer"
  34157. },
  34158. "relatedqty": {
  34159. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  34160. "type": "number"
  34161. },
  34162. "retcode": {
  34163. "description": "返回码",
  34164. "type": "integer"
  34165. },
  34166. "saleuserid": {
  34167. "description": "业务员ID",
  34168. "type": "integer"
  34169. },
  34170. "tradedate": {
  34171. "description": "关联交易日(yyyyMMdd)",
  34172. "type": "string"
  34173. },
  34174. "tradeid": {
  34175. "description": "[成交单号]内部成交单ID",
  34176. "type": "string"
  34177. },
  34178. "tradelot": {
  34179. "description": "成交手数",
  34180. "type": "integer"
  34181. },
  34182. "tradeprice": {
  34183. "description": "[价格]成交价格",
  34184. "type": "number"
  34185. },
  34186. "tradetradedate": {
  34187. "description": "成交交易日(yyyyMMdd)",
  34188. "type": "string"
  34189. }
  34190. }
  34191. },
  34192. "models.QhjAccountOutInApply": {
  34193. "type": "object",
  34194. "properties": {
  34195. "accountcode": {
  34196. "description": "资金账号",
  34197. "type": "string"
  34198. },
  34199. "accountname": {
  34200. "description": "用户名称(名称)",
  34201. "type": "string"
  34202. },
  34203. "accountpwd": {
  34204. "description": "资金密码",
  34205. "type": "string"
  34206. },
  34207. "accountticket": {
  34208. "description": "最新账户服务流水号",
  34209. "type": "string"
  34210. },
  34211. "amount": {
  34212. "description": "金额",
  34213. "type": "number"
  34214. },
  34215. "applyremark": {
  34216. "description": "申请备注",
  34217. "type": "string"
  34218. },
  34219. "applystatus": {
  34220. "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: 复审通过,账户冻结金额检查中;",
  34221. "type": "integer"
  34222. },
  34223. "auditid": {
  34224. "description": "审核人",
  34225. "type": "integer"
  34226. },
  34227. "audittime": {
  34228. "description": "审核时间",
  34229. "type": "string"
  34230. },
  34231. "bank_apply_ticket": {
  34232. "description": "银行申请流水",
  34233. "type": "string"
  34234. },
  34235. "bankaccountname": {
  34236. "description": "银行账户名",
  34237. "type": "string"
  34238. },
  34239. "bankaccountno": {
  34240. "description": "银行卡号",
  34241. "type": "string"
  34242. },
  34243. "bankid": {
  34244. "description": "银行编号",
  34245. "type": "string"
  34246. },
  34247. "bankticket": {
  34248. "description": "银行流水",
  34249. "type": "string"
  34250. },
  34251. "branchbankid": {
  34252. "description": "银行支行号",
  34253. "type": "string"
  34254. },
  34255. "branchbankname": {
  34256. "description": "银行支行名称",
  34257. "type": "string"
  34258. },
  34259. "capamountout": {
  34260. "description": "出金(劣后本金) - 外部子账户",
  34261. "type": "number"
  34262. },
  34263. "certificatephotourl": {
  34264. "description": "凭证地址",
  34265. "type": "string"
  34266. },
  34267. "charge": {
  34268. "description": "手续费",
  34269. "type": "number"
  34270. },
  34271. "checkerrorflag": {
  34272. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  34273. "type": "integer"
  34274. },
  34275. "currency": {
  34276. "description": "币种",
  34277. "type": "string"
  34278. },
  34279. "cusbankid": {
  34280. "description": "托管银行编号",
  34281. "type": "string"
  34282. },
  34283. "cusbankname": {
  34284. "description": "托管银行名称",
  34285. "type": "string"
  34286. },
  34287. "cusbankshortname": {
  34288. "description": "托管银行简称",
  34289. "type": "string"
  34290. },
  34291. "exchticket": {
  34292. "description": "银行服务流水号",
  34293. "type": "string"
  34294. },
  34295. "executetype": {
  34296. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  34297. "type": "integer"
  34298. },
  34299. "extendinfo": {
  34300. "description": "扩展信息",
  34301. "type": "string"
  34302. },
  34303. "extoperateid": {
  34304. "description": "交易服务流水号",
  34305. "type": "integer"
  34306. },
  34307. "infamount": {
  34308. "description": "劣后金额(自有)",
  34309. "type": "number"
  34310. },
  34311. "logincode": {
  34312. "description": "登录账号(账号)",
  34313. "type": "string"
  34314. },
  34315. "netaddr": {
  34316. "description": "调转网址",
  34317. "type": "string"
  34318. },
  34319. "priamount": {
  34320. "description": "优先金额(授信)",
  34321. "type": "number"
  34322. },
  34323. "reauditid": {
  34324. "description": "复审人",
  34325. "type": "integer"
  34326. },
  34327. "reauditremark": {
  34328. "description": "复审备注",
  34329. "type": "string"
  34330. },
  34331. "reaudittime": {
  34332. "description": "复审时间",
  34333. "type": "string"
  34334. },
  34335. "relatedorderid": {
  34336. "description": "三方关联ID",
  34337. "type": "string"
  34338. },
  34339. "remark": {
  34340. "description": "备注",
  34341. "type": "string"
  34342. },
  34343. "remark2": {
  34344. "description": "备注(失败原因)",
  34345. "type": "string"
  34346. },
  34347. "soucreamount": {
  34348. "description": "原始出入金金额",
  34349. "type": "number"
  34350. },
  34351. "soucrecurrencyid": {
  34352. "description": "原始出入金币种",
  34353. "type": "integer"
  34354. },
  34355. "tradedate": {
  34356. "description": "交易日(yyyyMMdd)",
  34357. "type": "string"
  34358. },
  34359. "updatetime": {
  34360. "description": "更新时间(申请时间)",
  34361. "type": "string"
  34362. },
  34363. "userid": {
  34364. "description": "用户id",
  34365. "type": "integer"
  34366. },
  34367. "userinfotype": {
  34368. "description": "账户类型 1-个人 2-企业",
  34369. "type": "integer"
  34370. }
  34371. }
  34372. },
  34373. "models.QhjAgreementChangeLog": {
  34374. "type": "object",
  34375. "properties": {
  34376. "agreementcontent": {
  34377. "description": "协议内容",
  34378. "type": "string"
  34379. },
  34380. "agreementfrequency": {
  34381. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  34382. "type": "integer"
  34383. },
  34384. "agreementid": {
  34385. "description": "协议ID",
  34386. "type": "integer"
  34387. },
  34388. "agreementname": {
  34389. "description": "协议名称",
  34390. "type": "string"
  34391. },
  34392. "agreementno": {
  34393. "description": "协议编号",
  34394. "type": "string"
  34395. },
  34396. "agreementtype": {
  34397. "description": "协议类型 - 1:注册 2:登录 3:交易",
  34398. "type": "integer"
  34399. },
  34400. "agreementversion": {
  34401. "description": "协议版本号",
  34402. "type": "integer"
  34403. },
  34404. "logid": {
  34405. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  34406. "type": "integer"
  34407. },
  34408. "reviserid": {
  34409. "description": "修改人",
  34410. "type": "integer"
  34411. },
  34412. "revisersrc": {
  34413. "description": "修改来源 - 1:管理端 2:终端",
  34414. "type": "integer"
  34415. },
  34416. "updatetime": {
  34417. "description": "更新时间",
  34418. "type": "string"
  34419. }
  34420. }
  34421. },
  34422. "models.QhjAgreementConfig": {
  34423. "type": "object",
  34424. "properties": {
  34425. "agreementcontent": {
  34426. "description": "协议内容",
  34427. "type": "string"
  34428. },
  34429. "agreementfrequency": {
  34430. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  34431. "type": "integer"
  34432. },
  34433. "agreementid": {
  34434. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  34435. "type": "integer"
  34436. },
  34437. "agreementname": {
  34438. "description": "协议名称",
  34439. "type": "string"
  34440. },
  34441. "agreementno": {
  34442. "description": "协议编号",
  34443. "type": "string"
  34444. },
  34445. "agreementtype": {
  34446. "description": "协议类型 - 1:注册 2:登录 3:交易",
  34447. "type": "integer"
  34448. },
  34449. "agreementversion": {
  34450. "description": "协议版本号(从1开始每次修改加1)",
  34451. "type": "integer"
  34452. },
  34453. "createtime": {
  34454. "description": "创建时间",
  34455. "type": "string"
  34456. },
  34457. "creatorid": {
  34458. "description": "创建人",
  34459. "type": "integer"
  34460. },
  34461. "creatorsrc": {
  34462. "description": "创建来源 - 1:管理端 2:终端",
  34463. "type": "integer"
  34464. },
  34465. "isvalid": {
  34466. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  34467. "type": "integer"
  34468. },
  34469. "reviserid": {
  34470. "description": "修改人",
  34471. "type": "integer"
  34472. },
  34473. "revisersrc": {
  34474. "description": "修改来源 - 1:管理端 2:终端",
  34475. "type": "integer"
  34476. },
  34477. "updatetime": {
  34478. "description": "更新时间",
  34479. "type": "string"
  34480. }
  34481. }
  34482. },
  34483. "models.QhjAreaFinanceConfig": {
  34484. "type": "object",
  34485. "properties": {
  34486. "additionalratio": {
  34487. "description": "追加款比例",
  34488. "type": "number"
  34489. },
  34490. "advanceratio": {
  34491. "description": "预付款比例",
  34492. "type": "number"
  34493. },
  34494. "alarmratio": {
  34495. "description": "告警比例",
  34496. "type": "number"
  34497. },
  34498. "consumptiondirectreward": {
  34499. "description": "消费直推奖励值",
  34500. "type": "number"
  34501. },
  34502. "consumptionenabled": {
  34503. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  34504. "type": "integer"
  34505. },
  34506. "consumptionindirectreward": {
  34507. "description": "消费间推奖励值",
  34508. "type": "number"
  34509. },
  34510. "consumptionmodel": {
  34511. "description": "消费奖励方式 - 1:比率 2:固定",
  34512. "type": "integer"
  34513. },
  34514. "customerservicenum": {
  34515. "description": "客服电话",
  34516. "type": "string"
  34517. },
  34518. "dayinterestrate": {
  34519. "description": "日利率",
  34520. "type": "number"
  34521. },
  34522. "disableconsumptiontips": {
  34523. "description": "关闭消费奖励提示",
  34524. "type": "string"
  34525. },
  34526. "modifierid": {
  34527. "description": "修改人ID",
  34528. "type": "integer"
  34529. },
  34530. "modifysrc": {
  34531. "description": "审核来源 - 1:管理端 2:终端",
  34532. "type": "integer"
  34533. },
  34534. "modifytime": {
  34535. "description": "修改时间",
  34536. "type": "string"
  34537. },
  34538. "promotionvalue": {
  34539. "description": "推广奖励值(固定)",
  34540. "type": "number"
  34541. },
  34542. "scoreconfigvalue1": {
  34543. "description": "提货积分配置1",
  34544. "type": "integer"
  34545. },
  34546. "scoreconfigvalue2": {
  34547. "description": "提货积分配置2",
  34548. "type": "integer"
  34549. },
  34550. "userid": {
  34551. "description": "机构用户ID其他做市关系,都设置为 1",
  34552. "type": "integer"
  34553. },
  34554. "username": {
  34555. "description": "用户名称",
  34556. "type": "string"
  34557. }
  34558. }
  34559. },
  34560. "models.QhjBankAccountSign": {
  34561. "type": "object",
  34562. "properties": {
  34563. "accountcode": {
  34564. "description": "资金账号",
  34565. "type": "string"
  34566. },
  34567. "accountname": {
  34568. "description": "资金账号对应的账号名(UserName)",
  34569. "type": "string"
  34570. },
  34571. "accountname2": {
  34572. "description": "资金账号对应的账号名(UserName) - 密文",
  34573. "type": "string"
  34574. },
  34575. "accounttype": {
  34576. "description": "账户类型(UserType)",
  34577. "type": "integer"
  34578. },
  34579. "applicationtime": {
  34580. "description": "最后一次更新的时间",
  34581. "type": "string"
  34582. },
  34583. "applyexchticket": {
  34584. "description": "申请流水",
  34585. "type": "string"
  34586. },
  34587. "auditid": {
  34588. "description": "审核人",
  34589. "type": "integer"
  34590. },
  34591. "audittime": {
  34592. "description": "审核时间",
  34593. "type": "string"
  34594. },
  34595. "bankaccountname": {
  34596. "description": "签约银行卡账号名",
  34597. "type": "string"
  34598. },
  34599. "bankaccountname2": {
  34600. "description": "签约银行卡账号名 - 密文",
  34601. "type": "string"
  34602. },
  34603. "bankaccountno": {
  34604. "description": "银行卡号",
  34605. "type": "string"
  34606. },
  34607. "bankaccountno2": {
  34608. "description": "银行卡号 - 密文",
  34609. "type": "string"
  34610. },
  34611. "bankaccounttype": {
  34612. "description": "银行账户类型 - 1-对私; 2-对公",
  34613. "type": "integer"
  34614. },
  34615. "bankcardtype": {
  34616. "description": "银行卡类型",
  34617. "type": "integer"
  34618. },
  34619. "bankchildaccount": {
  34620. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  34621. "type": "string"
  34622. },
  34623. "bankcity": {
  34624. "description": "开户行城市",
  34625. "type": "string"
  34626. },
  34627. "bankid": {
  34628. "description": "签约银行ID",
  34629. "type": "string"
  34630. },
  34631. "bankname": {
  34632. "description": "签约银行名称",
  34633. "type": "string"
  34634. },
  34635. "bankprovince": {
  34636. "description": "开户行省份",
  34637. "type": "string"
  34638. },
  34639. "branchbankid": {
  34640. "description": "签约银行支行号",
  34641. "type": "string"
  34642. },
  34643. "branchbankname": {
  34644. "description": "签约银行支行名称",
  34645. "type": "string"
  34646. },
  34647. "cardno": {
  34648. "description": "证件号码",
  34649. "type": "string"
  34650. },
  34651. "cardno2": {
  34652. "description": "证件号码 - 密文",
  34653. "type": "string"
  34654. },
  34655. "cardtype": {
  34656. "description": "证件类型",
  34657. "type": "string"
  34658. },
  34659. "currency": {
  34660. "description": "币种",
  34661. "type": "string"
  34662. },
  34663. "cusbankid": {
  34664. "description": "托管银行编号",
  34665. "type": "string"
  34666. },
  34667. "direct": {
  34668. "description": "方向(可以判断那方先发起的签约)",
  34669. "type": "integer"
  34670. },
  34671. "exchticket": {
  34672. "description": "最后一次签约成功的流水号",
  34673. "type": "string"
  34674. },
  34675. "extendinfo": {
  34676. "description": "扩展信息(JSON字符串)",
  34677. "type": "string"
  34678. },
  34679. "mobilephone": {
  34680. "description": "手机号",
  34681. "type": "string"
  34682. },
  34683. "mobilephone2": {
  34684. "description": "手机号 - 密文",
  34685. "type": "string"
  34686. },
  34687. "netaddr": {
  34688. "description": "调转网址",
  34689. "type": "string"
  34690. },
  34691. "relateduserid": {
  34692. "description": "关联使用者userid",
  34693. "type": "integer"
  34694. },
  34695. "signstatus": {
  34696. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  34697. "type": "integer"
  34698. },
  34699. "updatetime": {
  34700. "description": "更新时间(签解约更新时间)",
  34701. "type": "string"
  34702. }
  34703. }
  34704. },
  34705. "models.QhjBankInfo": {
  34706. "type": "object",
  34707. "properties": {
  34708. "bankid": {
  34709. "description": "银行ID",
  34710. "type": "string"
  34711. },
  34712. "bankname": {
  34713. "description": "银行名称",
  34714. "type": "string"
  34715. },
  34716. "clearbankno": {
  34717. "description": "清算系统银行编号",
  34718. "type": "string"
  34719. },
  34720. "orderindex": {
  34721. "description": "排序顺序",
  34722. "type": "integer"
  34723. },
  34724. "status": {
  34725. "description": "状态 - 0:正常 1:注销",
  34726. "type": "integer"
  34727. }
  34728. }
  34729. },
  34730. "models.QhjBrokerApply": {
  34731. "type": "object",
  34732. "properties": {
  34733. "applicantid": {
  34734. "description": "申请人",
  34735. "type": "integer"
  34736. },
  34737. "applysrc": {
  34738. "description": "申请来源 - 1:管理端 2:终端",
  34739. "type": "integer"
  34740. },
  34741. "applystatus": {
  34742. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  34743. "type": "integer"
  34744. },
  34745. "applytime": {
  34746. "description": "申请时间",
  34747. "type": "string"
  34748. },
  34749. "auditorid": {
  34750. "description": "审核人",
  34751. "type": "integer"
  34752. },
  34753. "auditremark": {
  34754. "description": "审核备注",
  34755. "type": "string"
  34756. },
  34757. "auditsrc": {
  34758. "description": "审核来源 - 1:管理端 2:终端",
  34759. "type": "integer"
  34760. },
  34761. "audittime": {
  34762. "description": "审核时间",
  34763. "type": "string"
  34764. },
  34765. "audittradedate": {
  34766. "description": "审核交易日(yyyyMMdd)",
  34767. "type": "string"
  34768. },
  34769. "brokerapplyid": {
  34770. "description": "申请ID(SEQ_BROKERAPPLY)",
  34771. "type": "integer"
  34772. },
  34773. "cardbackphotourl": {
  34774. "description": "证件背面图片地址",
  34775. "type": "string"
  34776. },
  34777. "cardfrontphotourl": {
  34778. "description": "证件正面图片地址",
  34779. "type": "string"
  34780. },
  34781. "cardnum": {
  34782. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  34783. "type": "string"
  34784. },
  34785. "customername": {
  34786. "description": "姓名",
  34787. "type": "string"
  34788. },
  34789. "logincode": {
  34790. "description": "登录代码",
  34791. "type": "string"
  34792. },
  34793. "mobile": {
  34794. "description": "手机号码",
  34795. "type": "string"
  34796. },
  34797. "parentuserid": {
  34798. "description": "所属机构id",
  34799. "type": "integer"
  34800. },
  34801. "parentusername": {
  34802. "description": "所属机构名称",
  34803. "type": "string"
  34804. },
  34805. "refereeuserid": {
  34806. "description": "推荐人id(经纪人)",
  34807. "type": "integer"
  34808. },
  34809. "refernum": {
  34810. "description": "推荐码",
  34811. "type": "string"
  34812. },
  34813. "remark": {
  34814. "description": "备注",
  34815. "type": "string"
  34816. },
  34817. "subarealevelpath": {
  34818. "description": "层级路径",
  34819. "type": "string"
  34820. },
  34821. "tradedate": {
  34822. "description": "交易日(yyyyMMdd)",
  34823. "type": "string"
  34824. },
  34825. "userid": {
  34826. "description": "申请人用户ID",
  34827. "type": "integer"
  34828. },
  34829. "userinfotype": {
  34830. "description": "用户类型 1-个人 2-企业",
  34831. "type": "integer"
  34832. },
  34833. "username": {
  34834. "description": "用户名称",
  34835. "type": "string"
  34836. }
  34837. }
  34838. },
  34839. "models.QhjBrokerApplyEx": {
  34840. "type": "object",
  34841. "properties": {
  34842. "applylist": {
  34843. "description": "经纪人申请记录(只返回最新一条)",
  34844. "type": "array",
  34845. "items": {
  34846. "$ref": "#/definitions/models.QhjBrokerApply"
  34847. }
  34848. },
  34849. "canrecommend": {
  34850. "description": "是否经纪人 0-不是 1-是",
  34851. "type": "integer"
  34852. },
  34853. "refernum": {
  34854. "description": "推荐码",
  34855. "type": "string"
  34856. },
  34857. "userid": {
  34858. "description": "用户id",
  34859. "type": "integer"
  34860. },
  34861. "userinfotype": {
  34862. "description": "用户类型 1-个人 2-企业",
  34863. "type": "integer"
  34864. }
  34865. }
  34866. },
  34867. "models.QhjBrokerRewardLog": {
  34868. "type": "object",
  34869. "properties": {
  34870. "accountid": {
  34871. "description": "资金账号ID",
  34872. "type": "integer"
  34873. },
  34874. "createtime": {
  34875. "description": "创建时间(时间)",
  34876. "type": "string"
  34877. },
  34878. "handlestatus": {
  34879. "description": "处理状态",
  34880. "type": "integer"
  34881. },
  34882. "logid": {
  34883. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34884. "type": "string"
  34885. },
  34886. "marketid": {
  34887. "description": "市场ID",
  34888. "type": "integer"
  34889. },
  34890. "mmaccountid": {
  34891. "description": "做市商资金账号ID",
  34892. "type": "string"
  34893. },
  34894. "mmuserid": {
  34895. "description": "做市商用户ID",
  34896. "type": "string"
  34897. },
  34898. "rewardamount": {
  34899. "description": "奖励金额",
  34900. "type": "number"
  34901. },
  34902. "rewardmodel": {
  34903. "description": "消费奖励方式 - 1:比率 2:固定",
  34904. "type": "integer"
  34905. },
  34906. "rewardtype": {
  34907. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  34908. "type": "integer"
  34909. },
  34910. "rewardvalue": {
  34911. "description": "配置奖励值",
  34912. "type": "number"
  34913. },
  34914. "srcamount": {
  34915. "description": "成交金额 [消费奖励] (金额)",
  34916. "type": "number"
  34917. },
  34918. "srcgoodsid": {
  34919. "description": "来源商品ID [消费奖励]",
  34920. "type": "string"
  34921. },
  34922. "srctime": {
  34923. "description": "来源时间 (成交时间) [消费奖励]",
  34924. "type": "string"
  34925. },
  34926. "srctradeid": {
  34927. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  34928. "type": "string"
  34929. },
  34930. "srcuserid": {
  34931. "description": "来源用户ID(推广账户)",
  34932. "type": "string"
  34933. },
  34934. "srcusername": {
  34935. "description": "推广账户名称",
  34936. "type": "string"
  34937. },
  34938. "tradedate": {
  34939. "description": "交易日(yyyyMMdd)",
  34940. "type": "string"
  34941. },
  34942. "userid": {
  34943. "description": "经纪人用户ID",
  34944. "type": "integer"
  34945. }
  34946. }
  34947. },
  34948. "models.QhjContract": {
  34949. "type": "object",
  34950. "properties": {
  34951. "contractconfirmtime": {
  34952. "description": "合同确认时间(时间)",
  34953. "type": "string"
  34954. },
  34955. "currisklevel": {
  34956. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  34957. "type": "integer"
  34958. },
  34959. "decimalplace": {
  34960. "description": "商品报价小数位",
  34961. "type": "integer"
  34962. },
  34963. "enumdicname": {
  34964. "description": "单位名称",
  34965. "type": "string"
  34966. },
  34967. "goodscode": {
  34968. "description": "商品代码",
  34969. "type": "string"
  34970. },
  34971. "goodsid": {
  34972. "description": "商品ID [5:融资单]",
  34973. "type": "integer"
  34974. },
  34975. "goodsname": {
  34976. "description": "商品名称",
  34977. "type": "string"
  34978. },
  34979. "goodunitid": {
  34980. "description": "商品单位id",
  34981. "type": "integer"
  34982. },
  34983. "initmargin": {
  34984. "description": "初始保证金(首付款)",
  34985. "type": "number"
  34986. },
  34987. "lenderamount": {
  34988. "description": "贷款金额(总额|订单总额)",
  34989. "type": "number"
  34990. },
  34991. "marginratio": {
  34992. "description": "保证金比率(首付比例)",
  34993. "type": "number"
  34994. },
  34995. "payamount": {
  34996. "description": "已付(已付货款)",
  34997. "type": "number"
  34998. },
  34999. "reckonrecovermargin": {
  35000. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  35001. "type": "number"
  35002. },
  35003. "recoveredmargin": {
  35004. "description": "已追缴保证金",
  35005. "type": "number"
  35006. },
  35007. "remainamount": {
  35008. "description": "合同剩余金额(融资额)",
  35009. "type": "number"
  35010. },
  35011. "scfcontractid": {
  35012. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  35013. "type": "string"
  35014. },
  35015. "scfcontractstatus": {
  35016. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  35017. "type": "integer"
  35018. },
  35019. "scfcontracttype": {
  35020. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  35021. "type": "integer"
  35022. },
  35023. "totalinterest": {
  35024. "description": "已计总利息(利息)",
  35025. "type": "number"
  35026. },
  35027. "tradeprice": {
  35028. "description": "成交价格(成本价格)",
  35029. "type": "number"
  35030. },
  35031. "userid": {
  35032. "description": "用户ID",
  35033. "type": "integer"
  35034. },
  35035. "username": {
  35036. "description": "用户名称",
  35037. "type": "string"
  35038. },
  35039. "wrqty": {
  35040. "description": "仓单数量(数量)",
  35041. "type": "number"
  35042. }
  35043. }
  35044. },
  35045. "models.QhjContractLog": {
  35046. "type": "object",
  35047. "properties": {
  35048. "amount": {
  35049. "description": "支付金额",
  35050. "type": "number"
  35051. },
  35052. "amounttype": {
  35053. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  35054. "type": "integer"
  35055. },
  35056. "logid": {
  35057. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35058. "type": "string"
  35059. },
  35060. "remainamount": {
  35061. "description": "剩余货款",
  35062. "type": "number"
  35063. },
  35064. "scfcontractid": {
  35065. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  35066. "type": "integer"
  35067. },
  35068. "updatetime": {
  35069. "description": "更新时间",
  35070. "type": "string"
  35071. }
  35072. }
  35073. },
  35074. "models.QhjCusBankSignBankEx": {
  35075. "type": "object",
  35076. "properties": {
  35077. "banklst": {
  35078. "description": "银行列表",
  35079. "type": "array",
  35080. "items": {
  35081. "$ref": "#/definitions/models.QhjBankInfo"
  35082. }
  35083. },
  35084. "canallot": {
  35085. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  35086. "type": "integer"
  35087. },
  35088. "canallotquery": {
  35089. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  35090. "type": "integer"
  35091. },
  35092. "canbindcard": {
  35093. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  35094. "type": "integer"
  35095. },
  35096. "caninamount": {
  35097. "description": "是否可入金 - 0:不可 1:可以",
  35098. "type": "integer"
  35099. },
  35100. "caninamount2": {
  35101. "description": "是否可入金(网银端) - 0:不可 1:可以",
  35102. "type": "integer"
  35103. },
  35104. "canmodifybankcard": {
  35105. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  35106. "type": "integer"
  35107. },
  35108. "canmodifyphone": {
  35109. "description": "是否可修改手机号 - 0:不可 1:可以",
  35110. "type": "integer"
  35111. },
  35112. "canmodifysigninfo": {
  35113. "description": "是否可修改签约信息 - 0:不可 1:可以",
  35114. "type": "integer"
  35115. },
  35116. "canoutamount": {
  35117. "description": "是否可出金 - 0:不可 1:可以",
  35118. "type": "integer"
  35119. },
  35120. "canoutamount2": {
  35121. "description": "是否可出金(网银端) - 0:不可 1:可以",
  35122. "type": "integer"
  35123. },
  35124. "canrelease": {
  35125. "description": "是否可解约 - 0:不可 1:可以",
  35126. "type": "integer"
  35127. },
  35128. "canrelease2": {
  35129. "description": "是否可解约(网银端) - 0:不可 1:可以",
  35130. "type": "integer"
  35131. },
  35132. "cansign": {
  35133. "description": "是否可签约 - 0:不可 1:可以",
  35134. "type": "integer"
  35135. },
  35136. "cansign2": {
  35137. "description": "是否可签约(网银端) - 0:不可 1:可以",
  35138. "type": "integer"
  35139. },
  35140. "currency": {
  35141. "description": "币种",
  35142. "type": "string"
  35143. },
  35144. "cusbankid": {
  35145. "description": "托管银行编号(对应清算中心TRAN_NO)",
  35146. "type": "string"
  35147. },
  35148. "cusbankname": {
  35149. "description": "银行业务名称",
  35150. "type": "string"
  35151. },
  35152. "cusbankshortname": {
  35153. "description": "银行业务简称",
  35154. "type": "string"
  35155. },
  35156. "exchbankid": {
  35157. "description": "交易所开户银行ID",
  35158. "type": "string"
  35159. },
  35160. "exchpaybankaccname": {
  35161. "description": "交易所支出结算账户户名",
  35162. "type": "string"
  35163. },
  35164. "exchpaybankaccno": {
  35165. "description": "交易所支出结算账户",
  35166. "type": "string"
  35167. },
  35168. "isneedcheck": {
  35169. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  35170. "type": "integer"
  35171. },
  35172. "isneedclear": {
  35173. "description": "是否需要清算 - 0:不需要 1:需要",
  35174. "type": "integer"
  35175. },
  35176. "lastcheckstatus": {
  35177. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  35178. "type": "integer"
  35179. },
  35180. "lastchecktime": {
  35181. "description": "最后对账时间",
  35182. "type": "string"
  35183. },
  35184. "lastclearstatus": {
  35185. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  35186. "type": "integer"
  35187. },
  35188. "lastcleartime": {
  35189. "description": "最后清算时间",
  35190. "type": "string"
  35191. },
  35192. "lastsignintime": {
  35193. "description": "最后签到时间",
  35194. "type": "string"
  35195. },
  35196. "lastsignouttime": {
  35197. "description": "最后签退时间",
  35198. "type": "string"
  35199. },
  35200. "riskinfo": {
  35201. "description": "签约风险提示书",
  35202. "type": "string"
  35203. },
  35204. "signstatus": {
  35205. "description": "当前签到/签退状态 - 1:签到 2:签退",
  35206. "type": "integer"
  35207. },
  35208. "tradedate": {
  35209. "description": "交易日(yyyyMMdd)",
  35210. "type": "string"
  35211. },
  35212. "updatetime": {
  35213. "description": "当前签到/签退更新时间",
  35214. "type": "string"
  35215. }
  35216. }
  35217. },
  35218. "models.QhjCustomer": {
  35219. "type": "object",
  35220. "properties": {
  35221. "address": {
  35222. "description": "通讯地址",
  35223. "type": "string"
  35224. },
  35225. "attachment1": {
  35226. "description": "附件1",
  35227. "type": "string"
  35228. },
  35229. "attachment2": {
  35230. "description": "附件2",
  35231. "type": "string"
  35232. },
  35233. "audittime": {
  35234. "description": "审核时间",
  35235. "type": "string"
  35236. },
  35237. "cardbackphotourl": {
  35238. "description": "证件反面图片地址",
  35239. "type": "string"
  35240. },
  35241. "cardfrontphotourl": {
  35242. "description": "证件正面图片地址",
  35243. "type": "string"
  35244. },
  35245. "cardnum": {
  35246. "description": "证件号码",
  35247. "type": "string"
  35248. },
  35249. "cardtype": {
  35250. "description": "证件类型",
  35251. "type": "integer"
  35252. },
  35253. "cardtypename": {
  35254. "description": "证件类型名称",
  35255. "type": "string"
  35256. },
  35257. "cityid": {
  35258. "description": "市",
  35259. "type": "integer"
  35260. },
  35261. "cityname": {
  35262. "description": "城市名称",
  35263. "type": "string"
  35264. },
  35265. "contactname": {
  35266. "description": "联系人",
  35267. "type": "string"
  35268. },
  35269. "countryid": {
  35270. "description": "国家",
  35271. "type": "integer"
  35272. },
  35273. "countryname": {
  35274. "description": "国家名称",
  35275. "type": "string"
  35276. },
  35277. "createtime": {
  35278. "description": "创建时间",
  35279. "type": "string"
  35280. },
  35281. "customername": {
  35282. "description": "客户名称",
  35283. "type": "string"
  35284. },
  35285. "districtid": {
  35286. "description": "区域",
  35287. "type": "integer"
  35288. },
  35289. "districtname": {
  35290. "description": "地区名称",
  35291. "type": "string"
  35292. },
  35293. "email": {
  35294. "description": "邮件",
  35295. "type": "string"
  35296. },
  35297. "legalpersonname": {
  35298. "description": "法人姓名(企业)",
  35299. "type": "string"
  35300. },
  35301. "logincode": {
  35302. "description": "登录账号(代码)",
  35303. "type": "string"
  35304. },
  35305. "memberuserid": {
  35306. "description": "所属机构ID(所属会员)",
  35307. "type": "integer"
  35308. },
  35309. "memberusername": {
  35310. "description": "所属会员名称",
  35311. "type": "string"
  35312. },
  35313. "mobile": {
  35314. "description": "手机号码",
  35315. "type": "string"
  35316. },
  35317. "modifytime": {
  35318. "description": "修改时间",
  35319. "type": "string"
  35320. },
  35321. "nickname": {
  35322. "description": "昵称",
  35323. "type": "string"
  35324. },
  35325. "parentuserid": {
  35326. "description": "上级机构(所属机构)",
  35327. "type": "integer"
  35328. },
  35329. "parentusername": {
  35330. "description": "所属机构名称",
  35331. "type": "string"
  35332. },
  35333. "provinceid": {
  35334. "description": "省",
  35335. "type": "integer"
  35336. },
  35337. "provincename": {
  35338. "description": "省名称",
  35339. "type": "string"
  35340. },
  35341. "proxystatementurl": {
  35342. "description": "授权委托书",
  35343. "type": "string"
  35344. },
  35345. "remark": {
  35346. "description": "备注",
  35347. "type": "string"
  35348. },
  35349. "status": {
  35350. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  35351. "type": "integer"
  35352. },
  35353. "statusdesc": {
  35354. "description": "账户状态中文描述",
  35355. "type": "string"
  35356. },
  35357. "taxpayernum": {
  35358. "description": "纳税人识别号",
  35359. "type": "string"
  35360. },
  35361. "telphone": {
  35362. "description": "联系电话",
  35363. "type": "string"
  35364. },
  35365. "userid": {
  35366. "description": "用户ID",
  35367. "type": "integer"
  35368. },
  35369. "userinfotype": {
  35370. "description": "客户类型 1-个人 2-企业",
  35371. "type": "integer"
  35372. },
  35373. "username": {
  35374. "description": "用户名称",
  35375. "type": "string"
  35376. }
  35377. }
  35378. },
  35379. "models.QhjCustomerSignLog": {
  35380. "type": "object",
  35381. "properties": {
  35382. "agreementcontent": {
  35383. "description": "协议内容",
  35384. "type": "string"
  35385. },
  35386. "agreementid": {
  35387. "description": "协议ID",
  35388. "type": "integer"
  35389. },
  35390. "agreementname": {
  35391. "description": "协议名称",
  35392. "type": "string"
  35393. },
  35394. "agreementno": {
  35395. "description": "协议编号",
  35396. "type": "string"
  35397. },
  35398. "agreementtype": {
  35399. "description": "协议类型 - 1:注册 2:登录 3:交易",
  35400. "type": "integer"
  35401. },
  35402. "agreementversion": {
  35403. "description": "协议版本号",
  35404. "type": "integer"
  35405. },
  35406. "createtime": {
  35407. "description": "创建时间",
  35408. "type": "string"
  35409. },
  35410. "goodscode": {
  35411. "description": "商品代码",
  35412. "type": "string"
  35413. },
  35414. "goodsid": {
  35415. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  35416. "type": "integer"
  35417. },
  35418. "goodsname": {
  35419. "description": "商品名称",
  35420. "type": "string"
  35421. },
  35422. "logid": {
  35423. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  35424. "type": "integer"
  35425. },
  35426. "nodetype": {
  35427. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  35428. "type": "integer"
  35429. },
  35430. "signadressurl": {
  35431. "description": "签约文件地址",
  35432. "type": "string"
  35433. },
  35434. "signtimestamp": {
  35435. "description": "签约状态时间戳",
  35436. "type": "string"
  35437. },
  35438. "userid": {
  35439. "description": "客户ID",
  35440. "type": "integer"
  35441. },
  35442. "username": {
  35443. "description": "客户名称",
  35444. "type": "string"
  35445. }
  35446. }
  35447. },
  35448. "models.QhjCustomerSignStatus": {
  35449. "type": "object",
  35450. "properties": {
  35451. "createtime": {
  35452. "description": "创建时间",
  35453. "type": "string"
  35454. },
  35455. "goodscode": {
  35456. "description": "商品代码",
  35457. "type": "string"
  35458. },
  35459. "goodsid": {
  35460. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  35461. "type": "integer"
  35462. },
  35463. "goodsname": {
  35464. "description": "商品名称",
  35465. "type": "string"
  35466. },
  35467. "nodetype": {
  35468. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  35469. "type": "integer"
  35470. },
  35471. "signtimestamp": {
  35472. "description": "签约状态时间戳",
  35473. "type": "string"
  35474. },
  35475. "tradedate": {
  35476. "description": "创建交易日(yyyyMMdd)",
  35477. "type": "string"
  35478. },
  35479. "updatetime": {
  35480. "description": "更新时间",
  35481. "type": "string"
  35482. },
  35483. "userid": {
  35484. "description": "客户ID",
  35485. "type": "integer"
  35486. },
  35487. "username": {
  35488. "description": "客户名称",
  35489. "type": "string"
  35490. }
  35491. }
  35492. },
  35493. "models.QhjMgrAccountOutInApply": {
  35494. "type": "object",
  35495. "properties": {
  35496. "accountcode": {
  35497. "description": "资金账号",
  35498. "type": "string"
  35499. },
  35500. "accountname": {
  35501. "description": "用户名称(名称)",
  35502. "type": "string"
  35503. },
  35504. "accountpwd": {
  35505. "description": "资金密码",
  35506. "type": "string"
  35507. },
  35508. "accountticket": {
  35509. "description": "最新账户服务流水号",
  35510. "type": "string"
  35511. },
  35512. "amount": {
  35513. "description": "金额",
  35514. "type": "number"
  35515. },
  35516. "applyremark": {
  35517. "description": "申请备注",
  35518. "type": "string"
  35519. },
  35520. "applystatus": {
  35521. "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: 复审通过,账户冻结金额检查中;",
  35522. "type": "integer"
  35523. },
  35524. "auditid": {
  35525. "description": "审核人",
  35526. "type": "integer"
  35527. },
  35528. "audittime": {
  35529. "description": "审核时间",
  35530. "type": "string"
  35531. },
  35532. "bank_apply_ticket": {
  35533. "description": "银行申请流水",
  35534. "type": "string"
  35535. },
  35536. "bankaccountname": {
  35537. "description": "银行账户名",
  35538. "type": "string"
  35539. },
  35540. "bankaccountno": {
  35541. "description": "银行卡号",
  35542. "type": "string"
  35543. },
  35544. "bankid": {
  35545. "description": "银行编号",
  35546. "type": "string"
  35547. },
  35548. "bankname": {
  35549. "description": "银行名称",
  35550. "type": "string"
  35551. },
  35552. "bankticket": {
  35553. "description": "银行流水",
  35554. "type": "string"
  35555. },
  35556. "branchbankid": {
  35557. "description": "银行支行号",
  35558. "type": "string"
  35559. },
  35560. "branchbankname": {
  35561. "description": "银行支行名称",
  35562. "type": "string"
  35563. },
  35564. "capamountout": {
  35565. "description": "出金(劣后本金) - 外部子账户",
  35566. "type": "number"
  35567. },
  35568. "certificatephotourl": {
  35569. "description": "凭证地址",
  35570. "type": "string"
  35571. },
  35572. "charge": {
  35573. "description": "手续费",
  35574. "type": "number"
  35575. },
  35576. "checkerrorflag": {
  35577. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  35578. "type": "integer"
  35579. },
  35580. "currency": {
  35581. "description": "币种",
  35582. "type": "string"
  35583. },
  35584. "cusbankid": {
  35585. "description": "托管银行编号",
  35586. "type": "string"
  35587. },
  35588. "exchticket": {
  35589. "description": "银行服务流水号",
  35590. "type": "string"
  35591. },
  35592. "executetype": {
  35593. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  35594. "type": "integer"
  35595. },
  35596. "extendinfo": {
  35597. "description": "扩展信息",
  35598. "type": "string"
  35599. },
  35600. "extoperateid": {
  35601. "description": "交易服务流水号",
  35602. "type": "integer"
  35603. },
  35604. "infamount": {
  35605. "description": "劣后金额(自有)",
  35606. "type": "number"
  35607. },
  35608. "logincode": {
  35609. "description": "登录账号(账号)",
  35610. "type": "string"
  35611. },
  35612. "netaddr": {
  35613. "description": "调转网址",
  35614. "type": "string"
  35615. },
  35616. "priamount": {
  35617. "description": "优先金额(授信)",
  35618. "type": "number"
  35619. },
  35620. "reauditid": {
  35621. "description": "复审人",
  35622. "type": "integer"
  35623. },
  35624. "reauditremark": {
  35625. "description": "复审备注",
  35626. "type": "string"
  35627. },
  35628. "reaudittime": {
  35629. "description": "复审时间",
  35630. "type": "string"
  35631. },
  35632. "relatedorderid": {
  35633. "description": "三方关联ID",
  35634. "type": "string"
  35635. },
  35636. "remark": {
  35637. "description": "备注",
  35638. "type": "string"
  35639. },
  35640. "remark2": {
  35641. "description": "备注(失败原因)",
  35642. "type": "string"
  35643. },
  35644. "soucreamount": {
  35645. "description": "原始出入金金额",
  35646. "type": "number"
  35647. },
  35648. "soucrecurrencyid": {
  35649. "description": "原始出入金币种",
  35650. "type": "integer"
  35651. },
  35652. "tradedate": {
  35653. "description": "交易日(yyyyMMdd)",
  35654. "type": "string"
  35655. },
  35656. "updatetime": {
  35657. "description": "更新时间(申请时间)",
  35658. "type": "string"
  35659. },
  35660. "userid": {
  35661. "description": "用户id",
  35662. "type": "integer"
  35663. },
  35664. "userinfotype": {
  35665. "description": "账户类型 1-个人 2-企业",
  35666. "type": "integer"
  35667. }
  35668. }
  35669. },
  35670. "models.QhjMgrBrokerApply": {
  35671. "type": "object",
  35672. "properties": {
  35673. "applicantid": {
  35674. "description": "申请人",
  35675. "type": "integer"
  35676. },
  35677. "applysrc": {
  35678. "description": "申请来源 - 1:管理端 2:终端",
  35679. "type": "integer"
  35680. },
  35681. "applystatus": {
  35682. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  35683. "type": "integer"
  35684. },
  35685. "applytime": {
  35686. "description": "申请时间",
  35687. "type": "string"
  35688. },
  35689. "auditorid": {
  35690. "description": "审核人",
  35691. "type": "integer"
  35692. },
  35693. "auditremark": {
  35694. "description": "审核备注",
  35695. "type": "string"
  35696. },
  35697. "auditsrc": {
  35698. "description": "审核来源 - 1:管理端 2:终端",
  35699. "type": "integer"
  35700. },
  35701. "audittime": {
  35702. "description": "审核时间",
  35703. "type": "string"
  35704. },
  35705. "audittradedate": {
  35706. "description": "审核交易日(yyyyMMdd)",
  35707. "type": "string"
  35708. },
  35709. "brokerapplyid": {
  35710. "description": "申请ID(SEQ_BROKERAPPLY)",
  35711. "type": "integer"
  35712. },
  35713. "cardbackphotourl": {
  35714. "description": "证件背面图片地址",
  35715. "type": "string"
  35716. },
  35717. "cardfrontphotourl": {
  35718. "description": "证件正面图片地址",
  35719. "type": "string"
  35720. },
  35721. "cardnum": {
  35722. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  35723. "type": "string"
  35724. },
  35725. "customername": {
  35726. "description": "姓名",
  35727. "type": "string"
  35728. },
  35729. "filterstatus": {
  35730. "description": "筛选条件",
  35731. "type": "string"
  35732. },
  35733. "logincode": {
  35734. "description": "登录代码",
  35735. "type": "string"
  35736. },
  35737. "mobile": {
  35738. "description": "手机号码",
  35739. "type": "string"
  35740. },
  35741. "parentuserid": {
  35742. "description": "所属机构id",
  35743. "type": "integer"
  35744. },
  35745. "parentusername": {
  35746. "description": "所属机构名称",
  35747. "type": "string"
  35748. },
  35749. "refereeuserid": {
  35750. "description": "推荐人id(经纪人)",
  35751. "type": "integer"
  35752. },
  35753. "refernum": {
  35754. "description": "推荐码",
  35755. "type": "string"
  35756. },
  35757. "remark": {
  35758. "description": "备注",
  35759. "type": "string"
  35760. },
  35761. "subarealevelpath": {
  35762. "description": "层级路径",
  35763. "type": "string"
  35764. },
  35765. "tradedate": {
  35766. "description": "交易日(yyyyMMdd)",
  35767. "type": "string"
  35768. },
  35769. "userid": {
  35770. "description": "申请人用户ID",
  35771. "type": "integer"
  35772. },
  35773. "userinfotype": {
  35774. "description": "用户类型 1-个人 2-企业",
  35775. "type": "integer"
  35776. },
  35777. "username": {
  35778. "description": "用户名称",
  35779. "type": "string"
  35780. }
  35781. }
  35782. },
  35783. "models.QhjMgrBrokerRewardReport": {
  35784. "type": "object",
  35785. "properties": {
  35786. "createtime": {
  35787. "description": "创建时间(注册时间)",
  35788. "type": "string"
  35789. },
  35790. "cycletime": {
  35791. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  35792. "type": "string"
  35793. },
  35794. "cycletype": {
  35795. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  35796. "type": "integer"
  35797. },
  35798. "directtotalnum": {
  35799. "description": "直推总人数【期末】",
  35800. "type": "integer"
  35801. },
  35802. "indirecttotalnum": {
  35803. "description": "间推总人数【期末】",
  35804. "type": "integer"
  35805. },
  35806. "mobile": {
  35807. "description": "电话号码",
  35808. "type": "string"
  35809. },
  35810. "refereeuserid": {
  35811. "description": "推荐人id(经纪人id)",
  35812. "type": "integer"
  35813. },
  35814. "refereeusername": {
  35815. "description": "推荐人名称(经纪人) 上级经纪人名称",
  35816. "type": "string"
  35817. },
  35818. "refernum": {
  35819. "description": "推荐码",
  35820. "type": "string"
  35821. },
  35822. "subarealevelpath": {
  35823. "description": "用户层级路径",
  35824. "type": "string"
  35825. },
  35826. "todayrewardamount": {
  35827. "description": "奖励总金额【汇总】",
  35828. "type": "number"
  35829. },
  35830. "updatetime": {
  35831. "description": "更新时间",
  35832. "type": "string"
  35833. },
  35834. "userid": {
  35835. "description": "经纪人用户ID",
  35836. "type": "integer"
  35837. },
  35838. "userinfotype": {
  35839. "description": "用户类型 1-个人 2-企业",
  35840. "type": "integer"
  35841. },
  35842. "username": {
  35843. "description": "用户名称",
  35844. "type": "string"
  35845. }
  35846. }
  35847. },
  35848. "models.QhjMgrContract": {
  35849. "type": "object",
  35850. "properties": {
  35851. "contractconfirmtime": {
  35852. "description": "合同确认时间(时间)",
  35853. "type": "string"
  35854. },
  35855. "currisklevel": {
  35856. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  35857. "type": "integer"
  35858. },
  35859. "decimalplace": {
  35860. "description": "商品报价小数位",
  35861. "type": "integer"
  35862. },
  35863. "enumdicname": {
  35864. "description": "单位名称",
  35865. "type": "string"
  35866. },
  35867. "goodscode": {
  35868. "description": "商品代码",
  35869. "type": "string"
  35870. },
  35871. "goodsid": {
  35872. "description": "商品ID [5:融资单]",
  35873. "type": "integer"
  35874. },
  35875. "goodsname": {
  35876. "description": "商品名称",
  35877. "type": "string"
  35878. },
  35879. "goodunitid": {
  35880. "description": "商品单位id",
  35881. "type": "integer"
  35882. },
  35883. "initmargin": {
  35884. "description": "初始保证金(首付款)",
  35885. "type": "number"
  35886. },
  35887. "lenderamount": {
  35888. "description": "贷款金额(总额|订单总额)",
  35889. "type": "number"
  35890. },
  35891. "logincode": {
  35892. "description": "账号(登录代码)",
  35893. "type": "string"
  35894. },
  35895. "marginratio": {
  35896. "description": "保证金比率(首付比例)",
  35897. "type": "number"
  35898. },
  35899. "mobile": {
  35900. "description": "电话号码(用户资料里的电话)",
  35901. "type": "string"
  35902. },
  35903. "payamount": {
  35904. "description": "已付(已付货款)",
  35905. "type": "number"
  35906. },
  35907. "reckonrecovermargin": {
  35908. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  35909. "type": "number"
  35910. },
  35911. "recoveredmargin": {
  35912. "description": "已追缴保证金",
  35913. "type": "number"
  35914. },
  35915. "remainamount": {
  35916. "description": "合同剩余金额(融资额)",
  35917. "type": "number"
  35918. },
  35919. "scfcontractid": {
  35920. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  35921. "type": "string"
  35922. },
  35923. "scfcontractstatus": {
  35924. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  35925. "type": "integer"
  35926. },
  35927. "scfcontracttype": {
  35928. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  35929. "type": "integer"
  35930. },
  35931. "totalinterest": {
  35932. "description": "已计总利息(利息)",
  35933. "type": "number"
  35934. },
  35935. "tradedate": {
  35936. "description": "交易日",
  35937. "type": "string"
  35938. },
  35939. "tradeprice": {
  35940. "description": "成交价格(成本价格)",
  35941. "type": "number"
  35942. },
  35943. "userid": {
  35944. "description": "用户ID",
  35945. "type": "integer"
  35946. },
  35947. "userinfotype": {
  35948. "description": "用户类型 1-个人 2-企业",
  35949. "type": "integer"
  35950. },
  35951. "username": {
  35952. "description": "用户名称",
  35953. "type": "string"
  35954. },
  35955. "wrqty": {
  35956. "description": "仓单数量(数量)",
  35957. "type": "number"
  35958. }
  35959. }
  35960. },
  35961. "models.QhjMgrCustomer": {
  35962. "type": "object",
  35963. "properties": {
  35964. "address": {
  35965. "description": "通讯地址",
  35966. "type": "string"
  35967. },
  35968. "attachment1": {
  35969. "description": "附件1",
  35970. "type": "string"
  35971. },
  35972. "audittime": {
  35973. "description": "审核时间",
  35974. "type": "string"
  35975. },
  35976. "birthday": {
  35977. "description": "生日",
  35978. "type": "string"
  35979. },
  35980. "brokerid": {
  35981. "description": "所属客户经理id",
  35982. "type": "integer"
  35983. },
  35984. "brokername": {
  35985. "description": "所属客户经理名称",
  35986. "type": "string"
  35987. },
  35988. "cardbackphotourl": {
  35989. "description": "证件反面图片地址",
  35990. "type": "string"
  35991. },
  35992. "cardfrontphotourl": {
  35993. "description": "证件正面图片地址",
  35994. "type": "string"
  35995. },
  35996. "cardnum": {
  35997. "description": "证件号码",
  35998. "type": "string"
  35999. },
  36000. "cardtype": {
  36001. "description": "证件类型",
  36002. "type": "integer"
  36003. },
  36004. "cardtypename": {
  36005. "description": "证件类型名称",
  36006. "type": "string"
  36007. },
  36008. "cityid": {
  36009. "description": "市",
  36010. "type": "integer"
  36011. },
  36012. "cityname": {
  36013. "description": "城市名称",
  36014. "type": "string"
  36015. },
  36016. "contactname": {
  36017. "description": "联系人",
  36018. "type": "string"
  36019. },
  36020. "countryid": {
  36021. "description": "国家",
  36022. "type": "integer"
  36023. },
  36024. "countryname": {
  36025. "description": "国家名称",
  36026. "type": "string"
  36027. },
  36028. "createtime": {
  36029. "description": "创建时间",
  36030. "type": "string"
  36031. },
  36032. "customername": {
  36033. "description": "客户名称",
  36034. "type": "string"
  36035. },
  36036. "districtid": {
  36037. "description": "区域",
  36038. "type": "integer"
  36039. },
  36040. "districtname": {
  36041. "description": "地区名称",
  36042. "type": "string"
  36043. },
  36044. "email": {
  36045. "description": "邮件",
  36046. "type": "string"
  36047. },
  36048. "legalpersonname": {
  36049. "description": "法人姓名(企业)",
  36050. "type": "string"
  36051. },
  36052. "logincode": {
  36053. "description": "登录账号(代码)",
  36054. "type": "string"
  36055. },
  36056. "memberuserid": {
  36057. "description": "所属机构ID(所属会员)",
  36058. "type": "integer"
  36059. },
  36060. "memberusername": {
  36061. "description": "所属会员名称",
  36062. "type": "string"
  36063. },
  36064. "mobile": {
  36065. "description": "手机号码",
  36066. "type": "string"
  36067. },
  36068. "modifytime": {
  36069. "description": "修改时间",
  36070. "type": "string"
  36071. },
  36072. "nickname": {
  36073. "description": "昵称",
  36074. "type": "string"
  36075. },
  36076. "parentuserid": {
  36077. "description": "上级机构(所属机构)",
  36078. "type": "integer"
  36079. },
  36080. "parentusername": {
  36081. "description": "所属机构名称",
  36082. "type": "string"
  36083. },
  36084. "provinceid": {
  36085. "description": "省",
  36086. "type": "integer"
  36087. },
  36088. "provincename": {
  36089. "description": "省名称",
  36090. "type": "string"
  36091. },
  36092. "proxystatementurl": {
  36093. "description": "授权委托书",
  36094. "type": "string"
  36095. },
  36096. "querytype": {
  36097. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  36098. "type": "integer"
  36099. },
  36100. "remark": {
  36101. "description": "备注",
  36102. "type": "string"
  36103. },
  36104. "sex": {
  36105. "description": "性别 0-女 1-男",
  36106. "type": "integer"
  36107. },
  36108. "status": {
  36109. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  36110. "type": "integer"
  36111. },
  36112. "statusdesc": {
  36113. "description": "账户状态中文描述",
  36114. "type": "string"
  36115. },
  36116. "taxpayernum": {
  36117. "description": "纳税人识别号",
  36118. "type": "string"
  36119. },
  36120. "telphone": {
  36121. "description": "联系电话",
  36122. "type": "string"
  36123. },
  36124. "userid": {
  36125. "description": "用户ID",
  36126. "type": "integer"
  36127. },
  36128. "userinfotype": {
  36129. "description": "客户类型 1-个人 2-企业",
  36130. "type": "integer"
  36131. },
  36132. "username": {
  36133. "description": "用户名称",
  36134. "type": "string"
  36135. }
  36136. }
  36137. },
  36138. "models.QhjMgrPickGoods": {
  36139. "type": "object",
  36140. "properties": {
  36141. "enumdicname": {
  36142. "description": "单位名称(提货商品)",
  36143. "type": "string"
  36144. },
  36145. "goodsid": {
  36146. "description": "商品id",
  36147. "type": "integer"
  36148. },
  36149. "imageaddress": {
  36150. "description": "图片",
  36151. "type": "string"
  36152. },
  36153. "modifierid": {
  36154. "description": "修改人",
  36155. "type": "integer"
  36156. },
  36157. "modifiername": {
  36158. "description": "修改人名称",
  36159. "type": "string"
  36160. },
  36161. "modifysrc": {
  36162. "description": "修改来源 - 1:管理端 2:终端",
  36163. "type": "integer"
  36164. },
  36165. "pickupgoodsagreeunit": {
  36166. "description": "合约乘数",
  36167. "type": "number"
  36168. },
  36169. "pickupgoodsdesc": {
  36170. "description": "描述",
  36171. "type": "string"
  36172. },
  36173. "pickupgoodsid": {
  36174. "description": "提货商品ID",
  36175. "type": "string"
  36176. },
  36177. "pickupgoodsname": {
  36178. "description": "提货商品名称",
  36179. "type": "string"
  36180. },
  36181. "pickupgoodsstatus": {
  36182. "description": "状态 - 1:正常 2:停用 3:注销",
  36183. "type": "integer"
  36184. },
  36185. "pickupgoodsunitid": {
  36186. "description": "单位ID",
  36187. "type": "integer"
  36188. },
  36189. "pickupratio": {
  36190. "description": "提货系数",
  36191. "type": "number"
  36192. },
  36193. "preparedays": {
  36194. "description": "备货期(天)",
  36195. "type": "integer"
  36196. },
  36197. "remark": {
  36198. "description": "备注",
  36199. "type": "string"
  36200. },
  36201. "updatetime": {
  36202. "description": "更新时间",
  36203. "type": "string"
  36204. }
  36205. }
  36206. },
  36207. "models.QhjMgrPositionRsp": {
  36208. "type": "object",
  36209. "properties": {
  36210. "accountid": {
  36211. "description": "账号Id",
  36212. "type": "integer"
  36213. },
  36214. "accountname": {
  36215. "description": "用户名称",
  36216. "type": "string"
  36217. },
  36218. "agreeunit": {
  36219. "description": "合约乘数",
  36220. "type": "number"
  36221. },
  36222. "averageprice": {
  36223. "description": "均价",
  36224. "type": "number"
  36225. },
  36226. "avialqty": {
  36227. "description": "可用数量",
  36228. "type": "number"
  36229. },
  36230. "decimalplace": {
  36231. "description": "报价小数位",
  36232. "type": "integer"
  36233. },
  36234. "enumdicname": {
  36235. "description": "单位名称(商品)",
  36236. "type": "string"
  36237. },
  36238. "frozenqty": {
  36239. "description": "冻结数量",
  36240. "type": "number"
  36241. },
  36242. "goodscode": {
  36243. "description": "商品代码(内部)",
  36244. "type": "string"
  36245. },
  36246. "goodsid": {
  36247. "description": "商品Id",
  36248. "type": "integer"
  36249. },
  36250. "goodsname": {
  36251. "description": "商品名称",
  36252. "type": "string"
  36253. },
  36254. "goodunitid": {
  36255. "description": "报价单位ID",
  36256. "type": "integer"
  36257. },
  36258. "holderamount": {
  36259. "description": "金额",
  36260. "type": "number"
  36261. },
  36262. "holderqty": {
  36263. "description": "持有数量",
  36264. "type": "number"
  36265. },
  36266. "holdertype": {
  36267. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  36268. "type": "integer"
  36269. },
  36270. "logincode": {
  36271. "description": "登录代码(账户)",
  36272. "type": "string"
  36273. },
  36274. "marketid": {
  36275. "description": "市场id",
  36276. "type": "integer"
  36277. },
  36278. "qtydecimalplace": {
  36279. "description": "成交量小数位",
  36280. "type": "integer"
  36281. },
  36282. "trademode": {
  36283. "description": "交易模式",
  36284. "type": "integer"
  36285. },
  36286. "userid": {
  36287. "description": "用户id",
  36288. "type": "integer"
  36289. },
  36290. "userinfotype": {
  36291. "description": "账户类型 1-个人 2-企业",
  36292. "type": "integer"
  36293. }
  36294. }
  36295. },
  36296. "models.QhjMgrSubArea": {
  36297. "type": "object",
  36298. "properties": {
  36299. "accountname": {
  36300. "description": "账户名称(机构名称)",
  36301. "type": "string"
  36302. },
  36303. "memberuserid": {
  36304. "description": "所属会员ID",
  36305. "type": "integer"
  36306. },
  36307. "parenttopuser": {
  36308. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  36309. "type": "string"
  36310. },
  36311. "parentuserid": {
  36312. "description": "所属机构ID",
  36313. "type": "integer"
  36314. },
  36315. "rootuserid": {
  36316. "description": "根用户ID",
  36317. "type": "string"
  36318. },
  36319. "subaccountlevel": {
  36320. "description": "子账户层数",
  36321. "type": "integer"
  36322. },
  36323. "subarealevelpath": {
  36324. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  36325. "type": "string"
  36326. },
  36327. "userid": {
  36328. "description": "用户ID",
  36329. "type": "integer"
  36330. },
  36331. "usertype": {
  36332. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  36333. "type": "integer"
  36334. }
  36335. }
  36336. },
  36337. "models.QhjMgrTradeDetailRsp": {
  36338. "type": "object",
  36339. "properties": {
  36340. "accountid": {
  36341. "description": "资金账号",
  36342. "type": "integer"
  36343. },
  36344. "accountname": {
  36345. "description": "用户名称",
  36346. "type": "string"
  36347. },
  36348. "agreeunit": {
  36349. "description": "合约乘数",
  36350. "type": "number"
  36351. },
  36352. "buyorsell": {
  36353. "description": "成交类型(方向) 0:买 1:卖",
  36354. "type": "integer"
  36355. },
  36356. "decimalplace": {
  36357. "description": "报价小数位",
  36358. "type": "integer"
  36359. },
  36360. "enumdicname": {
  36361. "description": "单位名称(商品)",
  36362. "type": "string"
  36363. },
  36364. "goodscode": {
  36365. "description": "商品代码(内部)",
  36366. "type": "string"
  36367. },
  36368. "goodsid": {
  36369. "description": "商品id",
  36370. "type": "integer"
  36371. },
  36372. "goodsname": {
  36373. "description": "商品名称",
  36374. "type": "string"
  36375. },
  36376. "goodunitid": {
  36377. "description": "报价单位ID",
  36378. "type": "integer"
  36379. },
  36380. "logincode": {
  36381. "description": "登录代码(账户)",
  36382. "type": "string"
  36383. },
  36384. "marketid": {
  36385. "description": "市场id",
  36386. "type": "integer"
  36387. },
  36388. "orderid": {
  36389. "description": "关联委托单号",
  36390. "type": "string"
  36391. },
  36392. "qtydecimalplace": {
  36393. "description": "成交量小数位",
  36394. "type": "integer"
  36395. },
  36396. "tradeamount": {
  36397. "description": "金额",
  36398. "type": "number"
  36399. },
  36400. "tradedate": {
  36401. "description": "交易日",
  36402. "type": "string"
  36403. },
  36404. "tradeid": {
  36405. "description": "成交单号",
  36406. "type": "string"
  36407. },
  36408. "trademode": {
  36409. "description": "交易模式",
  36410. "type": "integer"
  36411. },
  36412. "tradeprice": {
  36413. "description": "价格",
  36414. "type": "number"
  36415. },
  36416. "tradeqty": {
  36417. "description": "数量",
  36418. "type": "number"
  36419. },
  36420. "tradetime": {
  36421. "description": "成交时间",
  36422. "type": "string"
  36423. },
  36424. "userid": {
  36425. "description": "用户id",
  36426. "type": "integer"
  36427. },
  36428. "userinfotype": {
  36429. "description": "账户类型 1-个人 2-企业",
  36430. "type": "integer"
  36431. }
  36432. }
  36433. },
  36434. "models.QhjMgrTradeOrderDetailRsp": {
  36435. "type": "object",
  36436. "properties": {
  36437. "accountid": {
  36438. "description": "资金账号",
  36439. "type": "integer"
  36440. },
  36441. "accountname": {
  36442. "description": "用户名称",
  36443. "type": "string"
  36444. },
  36445. "agreeunit": {
  36446. "description": "合约乘数",
  36447. "type": "number"
  36448. },
  36449. "amount": {
  36450. "description": "金额",
  36451. "type": "number"
  36452. },
  36453. "decimalplace": {
  36454. "description": "报价小数位",
  36455. "type": "integer"
  36456. },
  36457. "enumdicname": {
  36458. "description": "单位名称(商品)",
  36459. "type": "string"
  36460. },
  36461. "goodscode": {
  36462. "description": "商品代码(内部)",
  36463. "type": "string"
  36464. },
  36465. "goodsid": {
  36466. "description": "商品id",
  36467. "type": "integer"
  36468. },
  36469. "goodsname": {
  36470. "description": "商品名称",
  36471. "type": "string"
  36472. },
  36473. "goodunitid": {
  36474. "description": "报价单位ID",
  36475. "type": "integer"
  36476. },
  36477. "logincode": {
  36478. "description": "登录代码(账户)",
  36479. "type": "string"
  36480. },
  36481. "marketid": {
  36482. "description": "市场id",
  36483. "type": "integer"
  36484. },
  36485. "orderid": {
  36486. "description": "关联委托单号",
  36487. "type": "string"
  36488. },
  36489. "orderprice": {
  36490. "description": "价格",
  36491. "type": "number"
  36492. },
  36493. "orderqty": {
  36494. "description": "数量",
  36495. "type": "number"
  36496. },
  36497. "orderstatus": {
  36498. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  36499. "type": "integer"
  36500. },
  36501. "ordertime": {
  36502. "description": "委托时间",
  36503. "type": "string"
  36504. },
  36505. "qtydecimalplace": {
  36506. "description": "成交量小数位",
  36507. "type": "integer"
  36508. },
  36509. "tradedate": {
  36510. "description": "交易日",
  36511. "type": "string"
  36512. },
  36513. "trademode": {
  36514. "description": "交易模式",
  36515. "type": "integer"
  36516. },
  36517. "userid": {
  36518. "description": "用户id",
  36519. "type": "integer"
  36520. },
  36521. "userinfotype": {
  36522. "description": "账户类型 1-个人 2-企业",
  36523. "type": "integer"
  36524. }
  36525. }
  36526. },
  36527. "models.QhjMgrTradePayOrder": {
  36528. "type": "object",
  36529. "properties": {
  36530. "accountname": {
  36531. "description": "用户名称",
  36532. "type": "string"
  36533. },
  36534. "advanceratio": {
  36535. "description": "首付比率",
  36536. "type": "number"
  36537. },
  36538. "agreeunit": {
  36539. "description": "合约乘数",
  36540. "type": "number"
  36541. },
  36542. "buyaccountid": {
  36543. "description": "买方账号ID[报价币种]",
  36544. "type": "integer"
  36545. },
  36546. "buyorderid": {
  36547. "description": "买方委托单号(关联单号)",
  36548. "type": "string"
  36549. },
  36550. "createtime": {
  36551. "description": "创建时间",
  36552. "type": "string"
  36553. },
  36554. "decimalplace": {
  36555. "description": "报价小数位",
  36556. "type": "integer"
  36557. },
  36558. "enumdicname": {
  36559. "description": "单位名称(商品)",
  36560. "type": "string"
  36561. },
  36562. "goodscode": {
  36563. "description": "商品代码(内部)",
  36564. "type": "string"
  36565. },
  36566. "goodsid": {
  36567. "description": "商品ID",
  36568. "type": "integer"
  36569. },
  36570. "goodsname": {
  36571. "description": "商品名称",
  36572. "type": "string"
  36573. },
  36574. "goodunitid": {
  36575. "description": "报价单位ID",
  36576. "type": "integer"
  36577. },
  36578. "logincode": {
  36579. "description": "登录代码(账户)",
  36580. "type": "string"
  36581. },
  36582. "marketid": {
  36583. "description": "市场id",
  36584. "type": "integer"
  36585. },
  36586. "offamount": {
  36587. "description": "优惠金额",
  36588. "type": "number"
  36589. },
  36590. "operatetype": {
  36591. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  36592. "type": "integer"
  36593. },
  36594. "payamount": {
  36595. "description": "支付金额(金额)",
  36596. "type": "number"
  36597. },
  36598. "payflag": {
  36599. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  36600. "type": "integer"
  36601. },
  36602. "paylimitedtime": {
  36603. "description": "支付期限",
  36604. "type": "string"
  36605. },
  36606. "paytime": {
  36607. "description": "付款时间",
  36608. "type": "string"
  36609. },
  36610. "qtydecimalplace": {
  36611. "description": "成交量小数位",
  36612. "type": "integer"
  36613. },
  36614. "sellaccountid": {
  36615. "description": "卖方账号ID[报价币种]",
  36616. "type": "integer"
  36617. },
  36618. "sellorderid": {
  36619. "description": "卖方委托单号",
  36620. "type": "string"
  36621. },
  36622. "tradeamount": {
  36623. "description": "成交金额(优惠后金额)",
  36624. "type": "number"
  36625. },
  36626. "tradecharge": {
  36627. "description": "成交手续费(买方)",
  36628. "type": "number"
  36629. },
  36630. "tradedate": {
  36631. "description": "交易日(yyyyMMdd)",
  36632. "type": "string"
  36633. },
  36634. "tradeid": {
  36635. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36636. "type": "string"
  36637. },
  36638. "trademode": {
  36639. "description": "交易模式",
  36640. "type": "integer"
  36641. },
  36642. "tradeprice": {
  36643. "description": "成交价格(价格)",
  36644. "type": "number"
  36645. },
  36646. "tradeqty": {
  36647. "description": "成交数量(数量)",
  36648. "type": "number"
  36649. },
  36650. "tradetime": {
  36651. "description": "成交时间",
  36652. "type": "string"
  36653. },
  36654. "userid": {
  36655. "description": "用户id",
  36656. "type": "integer"
  36657. },
  36658. "userinfotype": {
  36659. "description": "账户类型 1-个人 2-企业",
  36660. "type": "integer"
  36661. }
  36662. }
  36663. },
  36664. "models.QhjMyTeamEx": {
  36665. "type": "object",
  36666. "properties": {
  36667. "accountname": {
  36668. "description": "用户名称",
  36669. "type": "string"
  36670. },
  36671. "accountstatus": {
  36672. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  36673. "type": "integer"
  36674. },
  36675. "createtime": {
  36676. "description": "创建时间",
  36677. "type": "string"
  36678. },
  36679. "mobile": {
  36680. "description": "手机号码",
  36681. "type": "string"
  36682. },
  36683. "refereeuserid": {
  36684. "description": "推荐人id",
  36685. "type": "integer"
  36686. },
  36687. "refernum": {
  36688. "description": "推荐码",
  36689. "type": "string"
  36690. },
  36691. "subList": {
  36692. "type": "array",
  36693. "items": {
  36694. "$ref": "#/definitions/models.QhjMyTeamEx"
  36695. }
  36696. },
  36697. "userid": {
  36698. "description": "用户id",
  36699. "type": "integer"
  36700. },
  36701. "userinfotype": {
  36702. "description": "用户类型 1-个人 2-企业",
  36703. "type": "integer"
  36704. }
  36705. }
  36706. },
  36707. "models.QhjNodeAgreementConfig": {
  36708. "type": "object",
  36709. "properties": {
  36710. "agreementcontent": {
  36711. "description": "协议内容",
  36712. "type": "string"
  36713. },
  36714. "agreementid": {
  36715. "description": "协议ID",
  36716. "type": "integer"
  36717. },
  36718. "agreementname": {
  36719. "description": "协议名称",
  36720. "type": "string"
  36721. },
  36722. "agreementno": {
  36723. "description": "协议编号",
  36724. "type": "string"
  36725. },
  36726. "agreementtype": {
  36727. "description": "协议类型 - 1:注册 2:登录 3:交易",
  36728. "type": "integer"
  36729. },
  36730. "agreementversion": {
  36731. "description": "协议版本号",
  36732. "type": "integer"
  36733. },
  36734. "configid": {
  36735. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  36736. "type": "integer"
  36737. },
  36738. "createtime": {
  36739. "description": "创建时间",
  36740. "type": "string"
  36741. },
  36742. "goodsid": {
  36743. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  36744. "type": "integer"
  36745. },
  36746. "nodetype": {
  36747. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  36748. "type": "integer"
  36749. }
  36750. }
  36751. },
  36752. "models.QhjParentAreaList": {
  36753. "type": "object",
  36754. "properties": {
  36755. "accountname": {
  36756. "description": "账户名称(机构名称)",
  36757. "type": "string"
  36758. },
  36759. "userid": {
  36760. "description": "用户ID",
  36761. "type": "integer"
  36762. },
  36763. "usertype": {
  36764. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  36765. "type": "integer"
  36766. }
  36767. }
  36768. },
  36769. "models.QhjPayOrder": {
  36770. "type": "object",
  36771. "properties": {
  36772. "advanceratio": {
  36773. "description": "首付比率",
  36774. "type": "number"
  36775. },
  36776. "buyaccountid": {
  36777. "description": "买方账号ID[报价币种]",
  36778. "type": "integer"
  36779. },
  36780. "buyorderid": {
  36781. "description": "买方委托单号",
  36782. "type": "string"
  36783. },
  36784. "createtime": {
  36785. "description": "创建时间",
  36786. "type": "string"
  36787. },
  36788. "decimalplace": {
  36789. "description": "商品报价小数位",
  36790. "type": "integer"
  36791. },
  36792. "enumdicname": {
  36793. "description": "单位名称",
  36794. "type": "string"
  36795. },
  36796. "goodscode": {
  36797. "description": "商品代码",
  36798. "type": "string"
  36799. },
  36800. "goodsid": {
  36801. "description": "商品ID",
  36802. "type": "integer"
  36803. },
  36804. "goodsname": {
  36805. "description": "商品名称",
  36806. "type": "string"
  36807. },
  36808. "goodunitid": {
  36809. "description": "商品单位id",
  36810. "type": "integer"
  36811. },
  36812. "marketid": {
  36813. "description": "市场ID",
  36814. "type": "integer"
  36815. },
  36816. "offamount": {
  36817. "description": "优惠金额",
  36818. "type": "number"
  36819. },
  36820. "operatetype": {
  36821. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  36822. "type": "integer"
  36823. },
  36824. "payamount": {
  36825. "description": "支付金额",
  36826. "type": "number"
  36827. },
  36828. "payflag": {
  36829. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  36830. "type": "integer"
  36831. },
  36832. "paylimitedtime": {
  36833. "description": "支付期限",
  36834. "type": "string"
  36835. },
  36836. "paytime": {
  36837. "description": "付款时间",
  36838. "type": "string"
  36839. },
  36840. "qtydecimalplace": {
  36841. "description": "成交量小数位",
  36842. "type": "integer"
  36843. },
  36844. "sellaccountid": {
  36845. "description": "卖方账号ID[报价币种]",
  36846. "type": "integer"
  36847. },
  36848. "sellorderid": {
  36849. "description": "卖方委托单号",
  36850. "type": "string"
  36851. },
  36852. "tradeamount": {
  36853. "description": "成交金额(优惠后金额)",
  36854. "type": "number"
  36855. },
  36856. "tradecharge": {
  36857. "description": "成交手续费(买方)",
  36858. "type": "number"
  36859. },
  36860. "tradedate": {
  36861. "description": "交易日(yyyyMMdd)",
  36862. "type": "string"
  36863. },
  36864. "tradeid": {
  36865. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36866. "type": "string"
  36867. },
  36868. "tradeprice": {
  36869. "description": "成交价格",
  36870. "type": "number"
  36871. },
  36872. "tradeqty": {
  36873. "description": "成交数量",
  36874. "type": "number"
  36875. }
  36876. }
  36877. },
  36878. "models.QhjPickArea": {
  36879. "type": "object",
  36880. "properties": {
  36881. "address": {
  36882. "description": "详细地址",
  36883. "type": "string"
  36884. },
  36885. "cityid": {
  36886. "description": "市",
  36887. "type": "integer"
  36888. },
  36889. "cityname": {
  36890. "description": "城市名称",
  36891. "type": "string"
  36892. },
  36893. "countryid": {
  36894. "description": "国家",
  36895. "type": "integer"
  36896. },
  36897. "countryname": {
  36898. "description": "国家名称",
  36899. "type": "string"
  36900. },
  36901. "districtid": {
  36902. "description": "地区",
  36903. "type": "integer"
  36904. },
  36905. "districtname": {
  36906. "description": "地区名称",
  36907. "type": "string"
  36908. },
  36909. "fromuserid": {
  36910. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  36911. "type": "integer"
  36912. },
  36913. "fromusername": {
  36914. "description": "所属机构名称",
  36915. "type": "string"
  36916. },
  36917. "provinceid": {
  36918. "description": "省",
  36919. "type": "integer"
  36920. },
  36921. "provincename": {
  36922. "description": "省名称",
  36923. "type": "string"
  36924. },
  36925. "suborgtype": {
  36926. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  36927. "type": "integer"
  36928. },
  36929. "userid": {
  36930. "description": "机构用户ID 其他做市关系,都设置为 1",
  36931. "type": "integer"
  36932. },
  36933. "username": {
  36934. "description": "机构用户名称(门店门称)",
  36935. "type": "string"
  36936. }
  36937. }
  36938. },
  36939. "models.QhjPickGoods": {
  36940. "type": "object",
  36941. "properties": {
  36942. "enumdicname": {
  36943. "description": "单位名称(提货商品)",
  36944. "type": "string"
  36945. },
  36946. "goodsid": {
  36947. "description": "商品id",
  36948. "type": "integer"
  36949. },
  36950. "imageaddress": {
  36951. "description": "图片",
  36952. "type": "string"
  36953. },
  36954. "modifierid": {
  36955. "description": "修改人",
  36956. "type": "integer"
  36957. },
  36958. "modifiername": {
  36959. "description": "修改人名称",
  36960. "type": "string"
  36961. },
  36962. "modifysrc": {
  36963. "description": "修改来源 - 1:管理端 2:终端",
  36964. "type": "integer"
  36965. },
  36966. "pickupgoodsagreeunit": {
  36967. "description": "合约乘数",
  36968. "type": "number"
  36969. },
  36970. "pickupgoodsdesc": {
  36971. "description": "描述",
  36972. "type": "string"
  36973. },
  36974. "pickupgoodsid": {
  36975. "description": "提货商品ID",
  36976. "type": "string"
  36977. },
  36978. "pickupgoodsname": {
  36979. "description": "提货商品名称",
  36980. "type": "string"
  36981. },
  36982. "pickupgoodsstatus": {
  36983. "description": "状态 - 1:正常 2:停用 3:注销",
  36984. "type": "integer"
  36985. },
  36986. "pickupgoodsunitid": {
  36987. "description": "单位ID",
  36988. "type": "integer"
  36989. },
  36990. "pickupratio": {
  36991. "description": "提货系数",
  36992. "type": "number"
  36993. },
  36994. "preparedays": {
  36995. "description": "备货期(天)",
  36996. "type": "integer"
  36997. },
  36998. "remark": {
  36999. "description": "备注",
  37000. "type": "string"
  37001. },
  37002. "updatetime": {
  37003. "description": "更新时间",
  37004. "type": "string"
  37005. }
  37006. }
  37007. },
  37008. "models.QhjRSTriggerLog": {
  37009. "type": "object",
  37010. "properties": {
  37011. "accountid": {
  37012. "description": "用户资金账户",
  37013. "type": "integer"
  37014. },
  37015. "accountname": {
  37016. "description": "账号名称(ACCOUNTID对应的名称)",
  37017. "type": "string"
  37018. },
  37019. "currencyid": {
  37020. "description": "币种id",
  37021. "type": "integer"
  37022. },
  37023. "currencyname": {
  37024. "description": "币种名称",
  37025. "type": "string"
  37026. },
  37027. "decimalplace": {
  37028. "description": "商品报价小数位",
  37029. "type": "integer"
  37030. },
  37031. "enumdicname": {
  37032. "description": "单位名称",
  37033. "type": "string"
  37034. },
  37035. "goodscode": {
  37036. "description": "定投商品代码",
  37037. "type": "string"
  37038. },
  37039. "goodsid": {
  37040. "description": "定投商品ID",
  37041. "type": "integer"
  37042. },
  37043. "goodsname": {
  37044. "description": "定投商品名称",
  37045. "type": "string"
  37046. },
  37047. "goodunitid": {
  37048. "description": "定投商品单位id",
  37049. "type": "integer"
  37050. },
  37051. "logid": {
  37052. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  37053. "type": "string"
  37054. },
  37055. "logincode": {
  37056. "description": "账号(登录代码)",
  37057. "type": "string"
  37058. },
  37059. "qtydecimalplace": {
  37060. "description": "成交量小数位",
  37061. "type": "integer"
  37062. },
  37063. "regularlycycle": {
  37064. "description": "定投频率 - 1:每周 2:每月",
  37065. "type": "integer"
  37066. },
  37067. "regularlycyclevalue": {
  37068. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  37069. "type": "string"
  37070. },
  37071. "regularlymode": {
  37072. "description": "定投方式 - 1:按数量 2:按金额",
  37073. "type": "integer"
  37074. },
  37075. "regularlymodevalue": {
  37076. "description": "定投方式值 - 数量或金额",
  37077. "type": "number"
  37078. },
  37079. "regularlystrategyid": {
  37080. "description": "定投策略ID",
  37081. "type": "integer"
  37082. },
  37083. "retcode": {
  37084. "description": "错误码",
  37085. "type": "string"
  37086. },
  37087. "tradeid": {
  37088. "description": "成交单ID",
  37089. "type": "string"
  37090. },
  37091. "triggeramount": {
  37092. "description": "触发金额",
  37093. "type": "number"
  37094. },
  37095. "triggerqty": {
  37096. "description": "触发数量",
  37097. "type": "number"
  37098. },
  37099. "triggerstatus": {
  37100. "description": "触发状态 - 1:成功 2:失败",
  37101. "type": "integer"
  37102. },
  37103. "triggertime": {
  37104. "description": "触发时间",
  37105. "type": "string"
  37106. },
  37107. "triggertradedate": {
  37108. "description": "触发交易日",
  37109. "type": "string"
  37110. },
  37111. "userid": {
  37112. "description": "所属用户ID",
  37113. "type": "integer"
  37114. },
  37115. "userinfotype": {
  37116. "description": "用户类型 1-个人 2-企业",
  37117. "type": "integer"
  37118. },
  37119. "username": {
  37120. "description": "用户名称(userid对应的名称)",
  37121. "type": "string"
  37122. }
  37123. }
  37124. },
  37125. "models.QhjRStrategy": {
  37126. "type": "object",
  37127. "properties": {
  37128. "accountid": {
  37129. "description": "用户资金账户",
  37130. "type": "integer"
  37131. },
  37132. "accountname": {
  37133. "description": "账号名称(ACCOUNTID对应的名称)",
  37134. "type": "string"
  37135. },
  37136. "currencyid": {
  37137. "description": "币种id",
  37138. "type": "integer"
  37139. },
  37140. "currencyname": {
  37141. "description": "币种名称",
  37142. "type": "string"
  37143. },
  37144. "decimalplace": {
  37145. "description": "商品报价小数位",
  37146. "type": "integer"
  37147. },
  37148. "enumdicname": {
  37149. "description": "单位名称",
  37150. "type": "string"
  37151. },
  37152. "goodscode": {
  37153. "description": "定投商品代码",
  37154. "type": "string"
  37155. },
  37156. "goodsid": {
  37157. "description": "定投商品ID",
  37158. "type": "integer"
  37159. },
  37160. "goodsname": {
  37161. "description": "定投商品名称",
  37162. "type": "string"
  37163. },
  37164. "goodunitid": {
  37165. "description": "定投商品单位id",
  37166. "type": "integer"
  37167. },
  37168. "lasteffecttradedate": {
  37169. "description": "最新生效交易日",
  37170. "type": "string"
  37171. },
  37172. "laststoptradedate": {
  37173. "description": "最新暂停交易日",
  37174. "type": "string"
  37175. },
  37176. "lasttriggertradedate": {
  37177. "description": "最新触发交易日",
  37178. "type": "string"
  37179. },
  37180. "logincode": {
  37181. "description": "账号(登录代码)",
  37182. "type": "string"
  37183. },
  37184. "nexttriggeramount": {
  37185. "description": "下次触发金额",
  37186. "type": "number"
  37187. },
  37188. "nexttriggerdate": {
  37189. "description": "下次触发日期",
  37190. "type": "string"
  37191. },
  37192. "nexttriggerqty": {
  37193. "description": "下次触发数量 [按小数位放大值]",
  37194. "type": "number"
  37195. },
  37196. "qtydecimalplace": {
  37197. "description": "成交量小数位",
  37198. "type": "integer"
  37199. },
  37200. "regularlycycle": {
  37201. "description": "定投频率 - 1:每周 2:每月",
  37202. "type": "integer"
  37203. },
  37204. "regularlycyclevalue": {
  37205. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  37206. "type": "string"
  37207. },
  37208. "regularlymode": {
  37209. "description": "定投方式 - 1:按数量 2:按金额",
  37210. "type": "integer"
  37211. },
  37212. "regularlymodevalue": {
  37213. "description": "定投方式值 - 数量或金额",
  37214. "type": "number"
  37215. },
  37216. "regularlystrategyid": {
  37217. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  37218. "type": "integer"
  37219. },
  37220. "regularlystrategystatus": {
  37221. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  37222. "type": "integer"
  37223. },
  37224. "remark": {
  37225. "description": "备注",
  37226. "type": "string"
  37227. },
  37228. "triggersuccesstimes": {
  37229. "description": "累计定投成功次数",
  37230. "type": "string"
  37231. },
  37232. "triggertotalamount": {
  37233. "description": "累计定投金额(成功)",
  37234. "type": "number"
  37235. },
  37236. "triggertotalqty": {
  37237. "description": "累计定投数量(成功) [按小数位放大值]",
  37238. "type": "number"
  37239. },
  37240. "triggertotaltimes": {
  37241. "description": "累计定投总次数",
  37242. "type": "string"
  37243. },
  37244. "updatesrc": {
  37245. "description": "更新来源 - 1:管理端 2:终端",
  37246. "type": "integer"
  37247. },
  37248. "updatetime": {
  37249. "description": "更新时间",
  37250. "type": "string"
  37251. },
  37252. "updatorid": {
  37253. "description": "更新人",
  37254. "type": "string"
  37255. },
  37256. "userid": {
  37257. "description": "所属用户ID",
  37258. "type": "integer"
  37259. },
  37260. "userinfotype": {
  37261. "description": "用户类型 1-个人 2-企业",
  37262. "type": "integer"
  37263. },
  37264. "username": {
  37265. "description": "用户名称(userid对应的名称)",
  37266. "type": "string"
  37267. }
  37268. }
  37269. },
  37270. "models.QhjReckonPriceLog": {
  37271. "type": "object",
  37272. "properties": {
  37273. "decimalplace": {
  37274. "description": "商品报价小数位",
  37275. "type": "integer"
  37276. },
  37277. "goodscode": {
  37278. "description": "商品代码",
  37279. "type": "string"
  37280. },
  37281. "goodsid": {
  37282. "description": "商品ID",
  37283. "type": "integer"
  37284. },
  37285. "goodsname": {
  37286. "description": "商品名称",
  37287. "type": "string"
  37288. },
  37289. "lastreckonprice": {
  37290. "description": "上日结算价",
  37291. "type": "number"
  37292. },
  37293. "nextdnlimitprice": {
  37294. "description": "下个交易日跌停价",
  37295. "type": "number"
  37296. },
  37297. "nexttrade": {
  37298. "description": "下个交易日",
  37299. "type": "string"
  37300. },
  37301. "nextuplimitprice": {
  37302. "description": "下个交易日涨停价",
  37303. "type": "number"
  37304. },
  37305. "reckonprice": {
  37306. "description": "今日结算价(定投价)",
  37307. "type": "number"
  37308. },
  37309. "reckontime": {
  37310. "description": "结算时间",
  37311. "type": "string"
  37312. },
  37313. "totalholderqty": {
  37314. "description": "总持仓数",
  37315. "type": "integer"
  37316. },
  37317. "totalstock": {
  37318. "description": "总库存",
  37319. "type": "integer"
  37320. },
  37321. "tradedate": {
  37322. "description": "交易日",
  37323. "type": "string"
  37324. },
  37325. "updowncount": {
  37326. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  37327. "type": "integer"
  37328. },
  37329. "updownflag": {
  37330. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  37331. "type": "integer"
  37332. },
  37333. "updownrate": {
  37334. "description": "今日涨跌幅",
  37335. "type": "number"
  37336. },
  37337. "updownrate_2d": {
  37338. "description": "连续两日涨跌幅",
  37339. "type": "number"
  37340. },
  37341. "updownrate_3d": {
  37342. "description": "连续三日涨跌幅",
  37343. "type": "number"
  37344. }
  37345. }
  37346. },
  37347. "models.QhjScoreLog": {
  37348. "type": "object",
  37349. "properties": {
  37350. "accountid": {
  37351. "description": "账户ID",
  37352. "type": "integer"
  37353. },
  37354. "createtime": {
  37355. "description": "创建时间(时间)",
  37356. "type": "string"
  37357. },
  37358. "goodsid": {
  37359. "description": "商品ID",
  37360. "type": "integer"
  37361. },
  37362. "hasuploaded": {
  37363. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  37364. "type": "integer"
  37365. },
  37366. "logid": {
  37367. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37368. "type": "string"
  37369. },
  37370. "marketid": {
  37371. "description": "市场ID",
  37372. "type": "integer"
  37373. },
  37374. "relatedamount": {
  37375. "description": "关联金额",
  37376. "type": "number"
  37377. },
  37378. "relatedorderid": {
  37379. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  37380. "type": "string"
  37381. },
  37382. "scoreconfigvalue1": {
  37383. "description": "积分配置1",
  37384. "type": "integer"
  37385. },
  37386. "scoreconfigvalue2": {
  37387. "description": "积分配置1",
  37388. "type": "integer"
  37389. },
  37390. "scoretype": {
  37391. "description": "积分类型 - 1:提货积分",
  37392. "type": "integer"
  37393. },
  37394. "scorevalue": {
  37395. "description": "积分",
  37396. "type": "number"
  37397. },
  37398. "tradedate": {
  37399. "description": "交易日(yyyyMMdd)",
  37400. "type": "string"
  37401. },
  37402. "uploadedtime": {
  37403. "description": "同步时间",
  37404. "type": "string"
  37405. },
  37406. "userid": {
  37407. "description": "用户ID",
  37408. "type": "integer"
  37409. }
  37410. }
  37411. },
  37412. "models.QhjSiteColumnDetail": {
  37413. "type": "object",
  37414. "properties": {
  37415. "author": {
  37416. "description": "作者",
  37417. "type": "string"
  37418. },
  37419. "brief": {
  37420. "description": "简介",
  37421. "type": "string"
  37422. },
  37423. "columnid": {
  37424. "description": "所属栏目",
  37425. "type": "integer"
  37426. },
  37427. "context": {
  37428. "description": "内容",
  37429. "type": "string"
  37430. },
  37431. "coverimage": {
  37432. "description": "封面图片",
  37433. "type": "string"
  37434. },
  37435. "creaedate": {
  37436. "description": "创建时间",
  37437. "type": "string"
  37438. },
  37439. "creatorid": {
  37440. "description": "创建人",
  37441. "type": "integer"
  37442. },
  37443. "hits": {
  37444. "description": "点击数",
  37445. "type": "integer"
  37446. },
  37447. "id": {
  37448. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  37449. "type": "integer"
  37450. },
  37451. "isshow": {
  37452. "description": "是否展示 - 0:不展示 1:展示",
  37453. "type": "integer"
  37454. },
  37455. "istop": {
  37456. "description": "是否置顶 - 0:不置 1:置顶",
  37457. "type": "integer"
  37458. },
  37459. "modifierid": {
  37460. "description": "操作人",
  37461. "type": "integer"
  37462. },
  37463. "publishdate": {
  37464. "description": "发布日期",
  37465. "type": "string"
  37466. },
  37467. "status": {
  37468. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  37469. "type": "integer"
  37470. },
  37471. "title": {
  37472. "description": "标题",
  37473. "type": "string"
  37474. },
  37475. "updatedate": {
  37476. "description": "修改时间",
  37477. "type": "string"
  37478. },
  37479. "userid": {
  37480. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  37481. "type": "integer"
  37482. },
  37483. "username": {
  37484. "description": "用户名称",
  37485. "type": "string"
  37486. }
  37487. }
  37488. },
  37489. "models.QhjTeamOrder": {
  37490. "type": "object",
  37491. "properties": {
  37492. "accountid": {
  37493. "description": "账户ID[报价币种]",
  37494. "type": "integer"
  37495. },
  37496. "accountname": {
  37497. "description": "账户名称",
  37498. "type": "string"
  37499. },
  37500. "agreeunit": {
  37501. "description": "合约乘数",
  37502. "type": "number"
  37503. },
  37504. "buyorsell": {
  37505. "description": "方向 - 0:买 1:卖",
  37506. "type": "integer"
  37507. },
  37508. "decimalplace": {
  37509. "description": "报价小数位",
  37510. "type": "integer"
  37511. },
  37512. "enumdicname": {
  37513. "description": "单位名称",
  37514. "type": "string"
  37515. },
  37516. "goodscode": {
  37517. "description": "商品代码(内部)",
  37518. "type": "string"
  37519. },
  37520. "goodsid": {
  37521. "description": "商品ID",
  37522. "type": "integer"
  37523. },
  37524. "goodsname": {
  37525. "description": "商品名称",
  37526. "type": "string"
  37527. },
  37528. "goodunitid": {
  37529. "description": "报价单位ID",
  37530. "type": "integer"
  37531. },
  37532. "marketid": {
  37533. "description": "市场ID",
  37534. "type": "integer"
  37535. },
  37536. "marketname": {
  37537. "description": "市场名称",
  37538. "type": "string"
  37539. },
  37540. "qtydecimalplace": {
  37541. "description": "成交量小数位",
  37542. "type": "integer"
  37543. },
  37544. "refereeuserid": {
  37545. "description": "推荐人ID",
  37546. "type": "integer"
  37547. },
  37548. "tradeamount": {
  37549. "description": "成交金额[账户币种,用于所有权]",
  37550. "type": "number"
  37551. },
  37552. "tradedate": {
  37553. "description": "交易日(yyyyMMdd)",
  37554. "type": "string"
  37555. },
  37556. "trademode": {
  37557. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  37558. "type": "integer"
  37559. },
  37560. "tradeprice": {
  37561. "description": "成交价格",
  37562. "type": "number"
  37563. },
  37564. "tradeqty": {
  37565. "description": "成交数量",
  37566. "type": "number"
  37567. },
  37568. "tradetime": {
  37569. "description": "成交时间",
  37570. "type": "string"
  37571. },
  37572. "userid": {
  37573. "description": "用户ID",
  37574. "type": "integer"
  37575. }
  37576. }
  37577. },
  37578. "models.QhjTradeGoodsPickup": {
  37579. "type": "object",
  37580. "properties": {
  37581. "accountid": {
  37582. "description": "账户ID",
  37583. "type": "integer"
  37584. },
  37585. "address": {
  37586. "description": "提货人详细地址",
  37587. "type": "string"
  37588. },
  37589. "amount": {
  37590. "description": "提货金额",
  37591. "type": "number"
  37592. },
  37593. "artradedate": {
  37594. "description": "自动收货交易日(yyyyMMdd)",
  37595. "type": "string"
  37596. },
  37597. "auditer": {
  37598. "description": "审核人",
  37599. "type": "integer"
  37600. },
  37601. "auditsrc": {
  37602. "description": "更新来源 - 1:管理端 2:终端",
  37603. "type": "integer"
  37604. },
  37605. "audittime": {
  37606. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  37607. "type": "string"
  37608. },
  37609. "audittradedate": {
  37610. "description": "审核交易日(yyyyMMdd)",
  37611. "type": "string"
  37612. },
  37613. "cardnum": {
  37614. "description": "提货人证件号码",
  37615. "type": "string"
  37616. },
  37617. "cardtypeid": {
  37618. "description": "提货人证件类型",
  37619. "type": "integer"
  37620. },
  37621. "checkremark": {
  37622. "description": "审核备注",
  37623. "type": "string"
  37624. },
  37625. "cityid": {
  37626. "description": "市",
  37627. "type": "integer"
  37628. },
  37629. "cityname": {
  37630. "description": "城市名称",
  37631. "type": "string"
  37632. },
  37633. "confirmtime": {
  37634. "description": "取货时间 或 收货时间",
  37635. "type": "string"
  37636. },
  37637. "countryid": {
  37638. "description": "国家",
  37639. "type": "integer"
  37640. },
  37641. "countryname": {
  37642. "description": "国家名称",
  37643. "type": "string"
  37644. },
  37645. "decimalplace": {
  37646. "description": "商品报价小数位",
  37647. "type": "integer"
  37648. },
  37649. "districtid": {
  37650. "description": "地区",
  37651. "type": "integer"
  37652. },
  37653. "districtname": {
  37654. "description": "地区名称",
  37655. "type": "string"
  37656. },
  37657. "enumdicname": {
  37658. "description": "单位名称(提货商品)",
  37659. "type": "string"
  37660. },
  37661. "expresscompany": {
  37662. "description": "物流公司",
  37663. "type": "string"
  37664. },
  37665. "expressnum": {
  37666. "description": "物流单号",
  37667. "type": "string"
  37668. },
  37669. "goodsagreeunit": {
  37670. "description": "交易商品乘数",
  37671. "type": "number"
  37672. },
  37673. "goodscode": {
  37674. "description": "商品代码",
  37675. "type": "string"
  37676. },
  37677. "goodsid": {
  37678. "description": "商品ID",
  37679. "type": "integer"
  37680. },
  37681. "goodsname": {
  37682. "description": "商品名称",
  37683. "type": "string"
  37684. },
  37685. "goodsqty": {
  37686. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  37687. "type": "number"
  37688. },
  37689. "handlestatus": {
  37690. "description": "处理状态",
  37691. "type": "integer"
  37692. },
  37693. "logincode": {
  37694. "description": "账号(登录代码, 有可能为空)",
  37695. "type": "string"
  37696. },
  37697. "marketid": {
  37698. "description": "市场ID",
  37699. "type": "integer"
  37700. },
  37701. "phonenum": {
  37702. "description": "提货人联系方式",
  37703. "type": "string"
  37704. },
  37705. "pickupgoodsagreeunit": {
  37706. "description": "提货商品合约乘数",
  37707. "type": "number"
  37708. },
  37709. "pickupgoodsid": {
  37710. "description": "提货商品ID",
  37711. "type": "string"
  37712. },
  37713. "pickupgoodsname": {
  37714. "description": "提货商品名称",
  37715. "type": "string"
  37716. },
  37717. "pickupgoodsqty": {
  37718. "description": "提货商品手数(数量)",
  37719. "type": "number"
  37720. },
  37721. "pickupgoodsunitid": {
  37722. "description": "单位ID(提货商品)",
  37723. "type": "integer"
  37724. },
  37725. "pickupratio": {
  37726. "description": "提货系数",
  37727. "type": "number"
  37728. },
  37729. "preparedays": {
  37730. "description": "备货期(天)-提货单明细表",
  37731. "type": "integer"
  37732. },
  37733. "provinceid": {
  37734. "description": "省",
  37735. "type": "integer"
  37736. },
  37737. "provincename": {
  37738. "description": "省名称",
  37739. "type": "string"
  37740. },
  37741. "qty": {
  37742. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  37743. "type": "number"
  37744. },
  37745. "qtydecimalplace": {
  37746. "description": "商品数量小数位",
  37747. "type": "integer"
  37748. },
  37749. "recivername": {
  37750. "description": "提货人姓名",
  37751. "type": "string"
  37752. },
  37753. "reqtime": {
  37754. "description": "提货申请时间",
  37755. "type": "string"
  37756. },
  37757. "storeuserid": {
  37758. "description": "门店用户ID (千海金)",
  37759. "type": "integer"
  37760. },
  37761. "storeusername": {
  37762. "description": "门店用户名称",
  37763. "type": "string"
  37764. },
  37765. "takemode": {
  37766. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  37767. "type": "integer"
  37768. },
  37769. "takeorderid": {
  37770. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  37771. "type": "string"
  37772. },
  37773. "takeorderstatus": {
  37774. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  37775. "type": "integer"
  37776. },
  37777. "takeremark": {
  37778. "description": "提货备注",
  37779. "type": "string"
  37780. },
  37781. "tradedate": {
  37782. "description": "交易日(yyyyMMdd)",
  37783. "type": "string"
  37784. },
  37785. "updatetime": {
  37786. "description": "更新时间",
  37787. "type": "string"
  37788. },
  37789. "userid": {
  37790. "description": "用户ID",
  37791. "type": "integer"
  37792. },
  37793. "userinfotype": {
  37794. "description": "客户类型 1-个人 2-企业",
  37795. "type": "integer"
  37796. },
  37797. "username": {
  37798. "description": "用户名称",
  37799. "type": "string"
  37800. }
  37801. }
  37802. },
  37803. "models.QhjUserNodeCfgAndStatus": {
  37804. "type": "object",
  37805. "properties": {
  37806. "agreementcontent": {
  37807. "description": "协议内容",
  37808. "type": "string"
  37809. },
  37810. "agreementid": {
  37811. "description": "协议ID",
  37812. "type": "integer"
  37813. },
  37814. "agreementname": {
  37815. "description": "协议名称",
  37816. "type": "string"
  37817. },
  37818. "agreementno": {
  37819. "description": "协议编号",
  37820. "type": "string"
  37821. },
  37822. "agreementtype": {
  37823. "description": "协议类型 - 1:注册 2:登录 3:交易",
  37824. "type": "integer"
  37825. },
  37826. "agreementversion": {
  37827. "description": "协议版本号",
  37828. "type": "integer"
  37829. },
  37830. "configid": {
  37831. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  37832. "type": "integer"
  37833. },
  37834. "createtime": {
  37835. "description": "创建时间",
  37836. "type": "string"
  37837. },
  37838. "goodsid": {
  37839. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  37840. "type": "integer"
  37841. },
  37842. "nodetype": {
  37843. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  37844. "type": "integer"
  37845. },
  37846. "signtimestamp": {
  37847. "description": "签约状态时间戳(最近一次)",
  37848. "type": "string"
  37849. },
  37850. "tradedate": {
  37851. "description": "签约交易日(yyyyMMdd)",
  37852. "type": "string"
  37853. },
  37854. "userid": {
  37855. "description": "客户ID",
  37856. "type": "integer"
  37857. }
  37858. }
  37859. },
  37860. "models.Qhjgoodsex": {
  37861. "type": "object",
  37862. "properties": {
  37863. "canfinance": {
  37864. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  37865. "type": "integer"
  37866. },
  37867. "canregularlybuy": {
  37868. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  37869. "type": "integer"
  37870. },
  37871. "defaulttradeuserid": {
  37872. "description": "默认交易用户ID",
  37873. "type": "integer"
  37874. },
  37875. "deliverygoodsid": {
  37876. "description": "现货品种ID",
  37877. "type": "integer"
  37878. },
  37879. "goodsid": {
  37880. "description": "商品ID(自增ID SEQ_GOODS)",
  37881. "type": "integer"
  37882. },
  37883. "minamount": {
  37884. "description": "最小购买金额",
  37885. "type": "number"
  37886. },
  37887. "regularlybuyminamount": {
  37888. "description": "定投最小金额",
  37889. "type": "number"
  37890. },
  37891. "regularlybuyminqty": {
  37892. "description": "定投最小数量",
  37893. "type": "number"
  37894. },
  37895. "spotgoodsbrandid": {
  37896. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  37897. "type": "integer"
  37898. },
  37899. "visibilityforenterprise": {
  37900. "description": "企业客户是否可见 - 0:不可见 1:可见",
  37901. "type": "integer"
  37902. },
  37903. "visibilityforpersonal": {
  37904. "description": "个人客户是否可见 - 0:不可见 1:可见",
  37905. "type": "integer"
  37906. },
  37907. "wrstandardid": {
  37908. "description": "现货商品ID",
  37909. "type": "integer"
  37910. }
  37911. }
  37912. },
  37913. "models.QueryErrorInfosRsp": {
  37914. "type": "object",
  37915. "required": [
  37916. "errorid"
  37917. ],
  37918. "properties": {
  37919. "description": {
  37920. "description": "异常描述",
  37921. "type": "string"
  37922. },
  37923. "errorcode": {
  37924. "description": "异常代码",
  37925. "type": "string"
  37926. },
  37927. "errorid": {
  37928. "description": "异常ID",
  37929. "type": "integer"
  37930. },
  37931. "modulecode": {
  37932. "description": "所属模块",
  37933. "type": "string"
  37934. },
  37935. "operatecode": {
  37936. "description": "所属操作",
  37937. "type": "string"
  37938. },
  37939. "rownumber": {
  37940. "description": "行号",
  37941. "type": "string"
  37942. }
  37943. }
  37944. },
  37945. "models.QueryHedgeOrderDetailRsp": {
  37946. "type": "object",
  37947. "properties": {
  37948. "accountid": {
  37949. "description": "账户ID",
  37950. "type": "integer"
  37951. },
  37952. "buyorsell": {
  37953. "description": "买卖 - 0:买 1:卖",
  37954. "type": "integer"
  37955. },
  37956. "cancellogincode": {
  37957. "description": "撤单人",
  37958. "type": "string"
  37959. },
  37960. "channelbuildtype": {
  37961. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  37962. "type": "integer"
  37963. },
  37964. "channelinnerorderstatus": {
  37965. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  37966. "type": "integer"
  37967. },
  37968. "channeloperatetype": {
  37969. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  37970. "type": "integer"
  37971. },
  37972. "closetype": {
  37973. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  37974. "type": "integer"
  37975. },
  37976. "curexchangerate": {
  37977. "description": "当前汇率",
  37978. "type": "number"
  37979. },
  37980. "decimalplace": {
  37981. "description": "商品报价小数位",
  37982. "type": "integer"
  37983. },
  37984. "exchangefullname": {
  37985. "description": "外部交易所全称",
  37986. "type": "string"
  37987. },
  37988. "goodscode": {
  37989. "description": "商品代码(内部)",
  37990. "type": "string"
  37991. },
  37992. "goodsid": {
  37993. "description": "商品ID",
  37994. "type": "integer"
  37995. },
  37996. "goodsname": {
  37997. "description": "商品名称",
  37998. "type": "string"
  37999. },
  38000. "marketid": {
  38001. "description": "市场ID",
  38002. "type": "integer"
  38003. },
  38004. "openfreezemargin": {
  38005. "description": "冻结保证金(冻结交易金额)",
  38006. "type": "number"
  38007. },
  38008. "orderid": {
  38009. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38010. "type": "string"
  38011. },
  38012. "orderlogincode": {
  38013. "description": "委托人",
  38014. "type": "string"
  38015. },
  38016. "orderprice": {
  38017. "description": "委托价格(账户)",
  38018. "type": "number"
  38019. },
  38020. "orderqty": {
  38021. "description": "委托数量",
  38022. "type": "integer"
  38023. },
  38024. "ordertime": {
  38025. "description": "委托时间",
  38026. "type": "string"
  38027. },
  38028. "pricemode": {
  38029. "description": "取价方式 - 1:市价 2: 限价",
  38030. "type": "integer"
  38031. },
  38032. "tradedate": {
  38033. "description": "交易日(yyyyMMdd)",
  38034. "type": "string"
  38035. },
  38036. "tradeqty": {
  38037. "description": "成交数量",
  38038. "type": "integer"
  38039. }
  38040. }
  38041. },
  38042. "models.QueryHedgeTradeDetailRsp": {
  38043. "type": "object",
  38044. "properties": {
  38045. "accountid": {
  38046. "description": "账号ID",
  38047. "type": "integer"
  38048. },
  38049. "buyorsell": {
  38050. "description": "方向 - 0:买 1:卖",
  38051. "type": "integer"
  38052. },
  38053. "channelbuildtype": {
  38054. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  38055. "type": "integer"
  38056. },
  38057. "closecharge": {
  38058. "description": "平仓手续费(账户)",
  38059. "type": "number"
  38060. },
  38061. "closecharge2": {
  38062. "description": "平仓手续费(商品)",
  38063. "type": "number"
  38064. },
  38065. "closepl": {
  38066. "description": "平仓盈亏(账户)",
  38067. "type": "number"
  38068. },
  38069. "closepl2": {
  38070. "description": "平仓盈亏(商品)",
  38071. "type": "number"
  38072. },
  38073. "closepl3": {
  38074. "description": "平仓盈亏(账户)(逐笔)",
  38075. "type": "number"
  38076. },
  38077. "closepl4": {
  38078. "description": "平仓盈亏(商品)(逐笔)",
  38079. "type": "number"
  38080. },
  38081. "closetype": {
  38082. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  38083. "type": "integer"
  38084. },
  38085. "curexchangerate": {
  38086. "description": "当前汇率",
  38087. "type": "number"
  38088. },
  38089. "decimalplace": {
  38090. "description": "商品报价小数位",
  38091. "type": "integer"
  38092. },
  38093. "exchangefullname": {
  38094. "description": "外部交易所全称",
  38095. "type": "string"
  38096. },
  38097. "goodscode": {
  38098. "description": "商品代码(内部)",
  38099. "type": "string"
  38100. },
  38101. "goodsid": {
  38102. "description": "商品ID",
  38103. "type": "integer"
  38104. },
  38105. "goodsname": {
  38106. "description": "商品名称",
  38107. "type": "string"
  38108. },
  38109. "marketid": {
  38110. "description": "市场ID",
  38111. "type": "integer"
  38112. },
  38113. "opencharge": {
  38114. "description": "建仓手续费(账户)",
  38115. "type": "number"
  38116. },
  38117. "opencharge2": {
  38118. "description": "建仓手续费(商品)",
  38119. "type": "number"
  38120. },
  38121. "orderid": {
  38122. "description": "委托单号",
  38123. "type": "string"
  38124. },
  38125. "orderlogincode": {
  38126. "description": "委托人",
  38127. "type": "string"
  38128. },
  38129. "tradeamount": {
  38130. "description": "成交金额(账户)",
  38131. "type": "number"
  38132. },
  38133. "tradedate": {
  38134. "description": "交易日(yyyyMMdd)",
  38135. "type": "string"
  38136. },
  38137. "tradeid": {
  38138. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38139. "type": "string"
  38140. },
  38141. "tradeprice": {
  38142. "description": "成交价格",
  38143. "type": "number"
  38144. },
  38145. "tradeqty": {
  38146. "description": "成交数量",
  38147. "type": "integer"
  38148. },
  38149. "tradetime": {
  38150. "description": "成交时间",
  38151. "type": "string"
  38152. },
  38153. "tradetype": {
  38154. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  38155. "type": "integer"
  38156. }
  38157. }
  38158. },
  38159. "models.QuotePrimaryMenu": {
  38160. "type": "object",
  38161. "properties": {
  38162. "Index": {
  38163. "description": "序号",
  38164. "type": "integer"
  38165. },
  38166. "Key": {
  38167. "description": "键名",
  38168. "type": "string"
  38169. },
  38170. "Name": {
  38171. "description": "菜单名称",
  38172. "type": "string"
  38173. },
  38174. "SubMenus": {
  38175. "description": "子菜单",
  38176. "type": "array",
  38177. "items": {
  38178. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  38179. }
  38180. },
  38181. "SubTitleType": {
  38182. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  38183. "type": "integer"
  38184. },
  38185. "TradeModes": {
  38186. "description": "包含市场交易类型",
  38187. "type": "string"
  38188. }
  38189. }
  38190. },
  38191. "models.QuoteSecondaryMenu": {
  38192. "type": "object",
  38193. "properties": {
  38194. "ExExchangeCode": {
  38195. "description": "外部交易所代码",
  38196. "type": "string"
  38197. },
  38198. "ExExchangeID": {
  38199. "description": "外部交易所ID",
  38200. "type": "integer"
  38201. },
  38202. "GoodsGroupIDs": {
  38203. "description": "商品组ID列表",
  38204. "type": "array",
  38205. "items": {
  38206. "type": "integer"
  38207. }
  38208. },
  38209. "Index": {
  38210. "description": "序号",
  38211. "type": "integer"
  38212. },
  38213. "MarketID": {
  38214. "description": "市场ID",
  38215. "type": "integer"
  38216. },
  38217. "MenuTitle": {
  38218. "description": "菜单标题(市场名称或外部交易所名称)",
  38219. "type": "string"
  38220. },
  38221. "TradeMode": {
  38222. "description": "交易模式",
  38223. "type": "integer"
  38224. }
  38225. }
  38226. },
  38227. "models.Reckondaytaaccount": {
  38228. "type": "object",
  38229. "required": [
  38230. "userid"
  38231. ],
  38232. "properties": {
  38233. "accountid": {
  38234. "description": "资金账户ID",
  38235. "type": "integer"
  38236. },
  38237. "accountname": {
  38238. "description": "账户名称",
  38239. "type": "string"
  38240. },
  38241. "accountpl": {
  38242. "description": "今日账户盈亏 = 今日净值-昨日净值+今日出金-今日入金-今日划转+今日授信减少-今日授信增加+今日其它授信减少-今日其它授信增加+今日三方出金-今日三方入金;由统计服务更新",
  38243. "type": "number"
  38244. },
  38245. "avaiablemoney": {
  38246. "description": "可用资金",
  38247. "type": "number"
  38248. },
  38249. "avaiableoutmoney": {
  38250. "description": "可出资金",
  38251. "type": "number"
  38252. },
  38253. "balance": {
  38254. "description": "期初余额",
  38255. "type": "number"
  38256. },
  38257. "capitalbalance": {
  38258. "description": "本金余额[外部子账户实际出入金余额]",
  38259. "type": "number"
  38260. },
  38261. "changeflag": {
  38262. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  38263. "type": "integer"
  38264. },
  38265. "clearbalance": {
  38266. "description": "清算余额 = 期末余额 - 授信金额 - 其它授信金额",
  38267. "type": "number"
  38268. },
  38269. "clearpl": {
  38270. "description": "真实资金变动值(除出入金、应付交易所手续费)清算盈亏 = 期末余额 - 期初余额 - (今日入金 + 今日出金) - 今日应付交易所手续费 - 【(今日授信增加 + 今日授信减少) - (今日其它授信增加 + 今日其它授信减少) ----母账户】 = 今日手续费支出 + 今日平仓盈亏 + 今日结算盈亏 + 其他支出 + 其他收入 + 今日划转金额 + 今日已收手续费分成 - 今日应付交易所手续费",
  38271. "type": "number"
  38272. },
  38273. "closepl": {
  38274. "description": "今日平仓盈亏",
  38275. "type": "number"
  38276. },
  38277. "closepl2": {
  38278. "description": "平仓盈亏(逐笔)",
  38279. "type": "number"
  38280. },
  38281. "creditdecrease": {
  38282. "description": "今日授信减少",
  38283. "type": "number"
  38284. },
  38285. "creditincrease": {
  38286. "description": "今日授信增加",
  38287. "type": "number"
  38288. },
  38289. "curdebt": {
  38290. "description": "期末欠款",
  38291. "type": "number"
  38292. },
  38293. "currencyid": {
  38294. "description": "货币ID",
  38295. "type": "integer"
  38296. },
  38297. "currentbalance": {
  38298. "description": "期末余额",
  38299. "type": "number"
  38300. },
  38301. "cycletype": {
  38302. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)",
  38303. "type": "integer"
  38304. },
  38305. "defercharge": {
  38306. "description": "今日递延费2支出[111, 112]",
  38307. "type": "number"
  38308. },
  38309. "deliveryamountin": {
  38310. "description": "今日交收货款收入",
  38311. "type": "number"
  38312. },
  38313. "deliveryamountout": {
  38314. "description": "今日交收货款支出",
  38315. "type": "number"
  38316. },
  38317. "deliverycharge": {
  38318. "description": "今日交收手续费支出 [105,106]",
  38319. "type": "number"
  38320. },
  38321. "deliverycompensationfeein": {
  38322. "description": "今日交收补偿费收入",
  38323. "type": "number"
  38324. },
  38325. "deliverycompensationfeeout": {
  38326. "description": "今日交收补偿费支出",
  38327. "type": "number"
  38328. },
  38329. "dividedcharge": {
  38330. "description": "今日已收手续费分成",
  38331. "type": "number"
  38332. },
  38333. "floatnetvalue": {
  38334. "description": "浮动净值 = 净值 + 浮动盈亏",
  38335. "type": "number"
  38336. },
  38337. "floatpl": {
  38338. "description": "浮动盈亏 - 每日有负债类商品",
  38339. "type": "number"
  38340. },
  38341. "freezecharge": {
  38342. "description": "手续费冻结",
  38343. "type": "number"
  38344. },
  38345. "freezemargin": {
  38346. "description": "冻结保证金",
  38347. "type": "number"
  38348. },
  38349. "fromaccountid": {
  38350. "description": "所属上级账户",
  38351. "type": "integer"
  38352. },
  38353. "holdcharge": {
  38354. "description": "今日持仓过夜费支出[108,109,110]",
  38355. "type": "number"
  38356. },
  38357. "inamount": {
  38358. "description": "今日入金金额",
  38359. "type": "number"
  38360. },
  38361. "interestcharge": {
  38362. "description": "今日递延费支出[103, 104]",
  38363. "type": "number"
  38364. },
  38365. "ismain": {
  38366. "description": "是否账号 0:不是母账户 1:是母账户",
  38367. "type": "integer"
  38368. },
  38369. "ismarketaccount": {
  38370. "description": "是否机构接单账号 0:不是 1:是",
  38371. "type": "integer"
  38372. },
  38373. "isreckonaccount": {
  38374. "description": "是否机构分润账号 0:不是 1:是",
  38375. "type": "integer"
  38376. },
  38377. "mortgagecredit": {
  38378. "description": "授信金额",
  38379. "type": "number"
  38380. },
  38381. "netvalue": {
  38382. "description": "净值 = 期末余额 + 所有权市值 + 仓单市值仓单市值由统计服务更新",
  38383. "type": "number"
  38384. },
  38385. "oridebt": {
  38386. "description": "期初欠款",
  38387. "type": "number"
  38388. },
  38389. "orifreezecharge": {
  38390. "description": "期初手续费冻结",
  38391. "type": "number"
  38392. },
  38393. "orifreezemargin": {
  38394. "description": "期初冻结保证金",
  38395. "type": "number"
  38396. },
  38397. "orimortgagecredit": {
  38398. "description": "期初授信金额",
  38399. "type": "number"
  38400. },
  38401. "oriothercredit": {
  38402. "description": "期初其它授信金额",
  38403. "type": "number"
  38404. },
  38405. "oriotherfreezemargin": {
  38406. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  38407. "type": "number"
  38408. },
  38409. "orioutamountfreeze": {
  38410. "description": "期初出金冻结",
  38411. "type": "number"
  38412. },
  38413. "oriusedmargin": {
  38414. "description": "期初占用保证金",
  38415. "type": "number"
  38416. },
  38417. "othercredit": {
  38418. "description": "其它授信金额",
  38419. "type": "number"
  38420. },
  38421. "othercreditdecrease": {
  38422. "description": "今日其它授信减少",
  38423. "type": "number"
  38424. },
  38425. "othercreditincrease": {
  38426. "description": "今日其它授信增加",
  38427. "type": "number"
  38428. },
  38429. "otherfreezemargin": {
  38430. "description": "其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  38431. "type": "number"
  38432. },
  38433. "otherincome": {
  38434. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  38435. "type": "number"
  38436. },
  38437. "otherpay": {
  38438. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  38439. "type": "number"
  38440. },
  38441. "outamount": {
  38442. "description": "今日出金金额",
  38443. "type": "number"
  38444. },
  38445. "outamountfreeze": {
  38446. "description": "出金冻结",
  38447. "type": "number"
  38448. },
  38449. "outthreshold": {
  38450. "description": "出金阈值",
  38451. "type": "number"
  38452. },
  38453. "ownershipvalue": {
  38454. "description": "所有权市值",
  38455. "type": "number"
  38456. },
  38457. "parentaccountid": {
  38458. "description": "所属根账户",
  38459. "type": "integer"
  38460. },
  38461. "password": {
  38462. "description": "资金密码",
  38463. "type": "string"
  38464. },
  38465. "paycharge": {
  38466. "description": "今日手续费支出",
  38467. "type": "number"
  38468. },
  38469. "paycharge2": {
  38470. "description": "今日手续费支出(外部配置)",
  38471. "type": "number"
  38472. },
  38473. "payexchcharge": {
  38474. "description": "今日应付交易所手续费",
  38475. "type": "number"
  38476. },
  38477. "reckondate": {
  38478. "description": "日照日期(yyyyMMdd)",
  38479. "type": "string"
  38480. },
  38481. "reckonpl": {
  38482. "description": "今日结算盈亏",
  38483. "type": "number"
  38484. },
  38485. "reckonpl2": {
  38486. "description": "结算盈亏(逐笔) - 汇总取期末",
  38487. "type": "number"
  38488. },
  38489. "relatedaccountstatus": {
  38490. "description": "关联用户交易状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  38491. "type": "integer"
  38492. },
  38493. "relateuserid": {
  38494. "description": "关联用户",
  38495. "type": "integer"
  38496. },
  38497. "riskrate": {
  38498. "description": "风险率 = 占用/ 浮动净值 或 浮动净值/占用",
  38499. "type": "number"
  38500. },
  38501. "signstatus": {
  38502. "description": "签约状态 - 1:未签约 2:已签约 3:已解约",
  38503. "type": "integer"
  38504. },
  38505. "spotvalue": {
  38506. "description": "现货市值-统计服务更新",
  38507. "type": "number"
  38508. },
  38509. "sublevelpath": {
  38510. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  38511. "type": "string"
  38512. },
  38513. "taaccounttype": {
  38514. "description": "外部/内部账号 - 1:外部账号 2:内部账号",
  38515. "type": "integer"
  38516. },
  38517. "thirdinamount": {
  38518. "description": "今日三方入金",
  38519. "type": "number"
  38520. },
  38521. "thirdoutamount": {
  38522. "description": "今日三方出金",
  38523. "type": "number"
  38524. },
  38525. "tradeamount": {
  38526. "description": "今日成交金额",
  38527. "type": "number"
  38528. },
  38529. "tradecharge": {
  38530. "description": "今日交易手续费支出 [101,102]",
  38531. "type": "number"
  38532. },
  38533. "tradeqty": {
  38534. "description": "今日成交量",
  38535. "type": "integer"
  38536. },
  38537. "tradestatus": {
  38538. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结)",
  38539. "type": "integer"
  38540. },
  38541. "transferamount": {
  38542. "description": "今日划转金额(母子账号资金划转,从账号划入为正,从账号划出为负)",
  38543. "type": "number"
  38544. },
  38545. "usedmargin": {
  38546. "description": "占用保证金",
  38547. "type": "number"
  38548. },
  38549. "userid": {
  38550. "description": "用户ID",
  38551. "type": "integer"
  38552. }
  38553. }
  38554. },
  38555. "models.Reckongzmemtradesum": {
  38556. "type": "object",
  38557. "required": [
  38558. "userid"
  38559. ],
  38560. "properties": {
  38561. "buylistingamount": {
  38562. "description": "买挂牌金额 - 无数据,预留",
  38563. "type": "number"
  38564. },
  38565. "buylistinglot": {
  38566. "description": "买挂牌宗数",
  38567. "type": "integer"
  38568. },
  38569. "buylistingqty": {
  38570. "description": "买挂牌数量 - 无数据,预留",
  38571. "type": "number"
  38572. },
  38573. "buytradeamount": {
  38574. "description": "购买金额",
  38575. "type": "number"
  38576. },
  38577. "buytradelot": {
  38578. "description": "购买宗数",
  38579. "type": "integer"
  38580. },
  38581. "buytradeqty": {
  38582. "description": "购买数量",
  38583. "type": "number"
  38584. },
  38585. "marketid": {
  38586. "description": "市场ID",
  38587. "type": "integer"
  38588. },
  38589. "reckondate": {
  38590. "description": "日照日期(yyyyMMdd)",
  38591. "type": "string"
  38592. },
  38593. "selllistingamount": {
  38594. "description": "卖挂牌金额",
  38595. "type": "number"
  38596. },
  38597. "selllistinglot": {
  38598. "description": "卖挂牌宗数",
  38599. "type": "integer"
  38600. },
  38601. "selllistingqty": {
  38602. "description": "卖挂牌数量",
  38603. "type": "number"
  38604. },
  38605. "selltradeamount": {
  38606. "description": "销售金额",
  38607. "type": "number"
  38608. },
  38609. "selltradelot": {
  38610. "description": "销售宗数",
  38611. "type": "integer"
  38612. },
  38613. "selltradeqty": {
  38614. "description": "销售数量",
  38615. "type": "number"
  38616. },
  38617. "updatetime": {
  38618. "description": "更新时间",
  38619. "type": "string"
  38620. },
  38621. "userid": {
  38622. "description": "用户ID",
  38623. "type": "integer"
  38624. },
  38625. "zscategory": {
  38626. "description": "钻石分类 - 枚举”ZSCategory“",
  38627. "type": "integer"
  38628. },
  38629. "zscategorydisplay": {
  38630. "type": "string"
  38631. },
  38632. "zscurrencytype": {
  38633. "description": "货币类型 - 枚举“ZSCurrencyType”",
  38634. "type": "integer"
  38635. },
  38636. "zscurrencytypedisplay": {
  38637. "type": "string"
  38638. },
  38639. "zscurrencytypedisplayunit": {
  38640. "type": "string"
  38641. }
  38642. }
  38643. },
  38644. "models.RelatedTaAccount": {
  38645. "type": "object",
  38646. "properties": {
  38647. "accountid": {
  38648. "description": "资金账户ID",
  38649. "type": "integer"
  38650. }
  38651. }
  38652. },
  38653. "models.RoleMenu": {
  38654. "type": "object",
  38655. "properties": {
  38656. "hasright": {
  38657. "description": "是否有权限 0-没有权限 1-有权限",
  38658. "type": "integer"
  38659. },
  38660. "iconame": {
  38661. "description": "菜单图标",
  38662. "type": "string"
  38663. },
  38664. "menutype": {
  38665. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  38666. "type": "integer"
  38667. },
  38668. "parentcode": {
  38669. "description": "上级资源代码",
  38670. "type": "string"
  38671. },
  38672. "remark": {
  38673. "description": "菜单备注",
  38674. "type": "string"
  38675. },
  38676. "resourcecode": {
  38677. "description": "菜单代码",
  38678. "type": "string"
  38679. },
  38680. "resourcelevel": {
  38681. "description": "级别",
  38682. "type": "integer"
  38683. },
  38684. "resourcename": {
  38685. "description": "菜单名称",
  38686. "type": "string"
  38687. },
  38688. "roleid": {
  38689. "description": "角色id",
  38690. "type": "integer"
  38691. },
  38692. "sort": {
  38693. "description": "排序",
  38694. "type": "integer"
  38695. },
  38696. "subMenu": {
  38697. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  38698. "type": "array",
  38699. "items": {
  38700. "$ref": "#/definitions/models.RoleMenu"
  38701. }
  38702. },
  38703. "url": {
  38704. "description": "URL",
  38705. "type": "string"
  38706. },
  38707. "userid": {
  38708. "description": "用户id",
  38709. "type": "integer"
  38710. }
  38711. }
  38712. },
  38713. "models.SearchGoods": {
  38714. "type": "object",
  38715. "required": [
  38716. "goodscode",
  38717. "goodsid",
  38718. "goodsname",
  38719. "marketid",
  38720. "trademode"
  38721. ],
  38722. "properties": {
  38723. "goodscode": {
  38724. "description": "商品代码(内部)",
  38725. "type": "string"
  38726. },
  38727. "goodsid": {
  38728. "description": "商品ID(自增ID SEQ_GOODS)",
  38729. "type": "integer"
  38730. },
  38731. "goodsname": {
  38732. "description": "商品名称",
  38733. "type": "string"
  38734. },
  38735. "marketid": {
  38736. "description": "所属市场ID",
  38737. "type": "integer"
  38738. },
  38739. "marketname": {
  38740. "description": "市场名称",
  38741. "type": "string"
  38742. },
  38743. "trademode": {
  38744. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  38745. "type": "integer"
  38746. }
  38747. }
  38748. },
  38749. "models.SellOrder": {
  38750. "type": "object",
  38751. "properties": {
  38752. "accountid": {
  38753. "description": "资金账号",
  38754. "type": "integer"
  38755. },
  38756. "applyid": {
  38757. "description": "申请单ID",
  38758. "type": "integer"
  38759. },
  38760. "attachment1": {
  38761. "description": "附件1",
  38762. "type": "string"
  38763. },
  38764. "attachment2": {
  38765. "description": "附件2",
  38766. "type": "string"
  38767. },
  38768. "buyorsell": {
  38769. "description": "买卖 - 0:买 1:卖",
  38770. "type": "integer"
  38771. },
  38772. "canbargain": {
  38773. "description": "是否可议价 - 0:不可 1:可",
  38774. "type": "integer"
  38775. },
  38776. "cancelqty": {
  38777. "description": "撤销数量",
  38778. "type": "integer"
  38779. },
  38780. "canceltime": {
  38781. "description": "撤销时间",
  38782. "type": "string"
  38783. },
  38784. "cerno": {
  38785. "type": "string"
  38786. },
  38787. "chargealgorithm": {
  38788. "description": "手续费收取方式 1:比率 2:固定",
  38789. "type": "integer"
  38790. },
  38791. "chargealgorithmvalue": {
  38792. "description": "手续费设置值(交易所部分)",
  38793. "type": "number"
  38794. },
  38795. "chargealgorithmvalue2": {
  38796. "description": "手续费设置值(会员部分)",
  38797. "type": "number"
  38798. },
  38799. "clientordertime": {
  38800. "description": "客户端委托时间",
  38801. "type": "string"
  38802. },
  38803. "cpcertno": {
  38804. "type": "string"
  38805. },
  38806. "exchangerate": {
  38807. "description": "汇率[67]",
  38808. "type": "number"
  38809. },
  38810. "firstratio": {
  38811. "description": "首付比率 - [挂牌时指定,摘牌时使用]",
  38812. "type": "number"
  38813. },
  38814. "fixedprice": {
  38815. "description": "[克拉单价]固定价格 - [挂牌]",
  38816. "type": "number"
  38817. },
  38818. "freezecharge": {
  38819. "description": "冻结手续费",
  38820. "type": "number"
  38821. },
  38822. "freezefirstamount": {
  38823. "description": "冻结首付金额 - [摘牌]",
  38824. "type": "number"
  38825. },
  38826. "freezemargin": {
  38827. "description": "冻结保证金",
  38828. "type": "number"
  38829. },
  38830. "goodsno": {
  38831. "description": "商品编号",
  38832. "type": "string"
  38833. },
  38834. "imagepath": {
  38835. "type": "string"
  38836. },
  38837. "isQueryDiamond": {
  38838. "description": "是否钻石查询",
  38839. "type": "boolean"
  38840. },
  38841. "isspecified": {
  38842. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  38843. "type": "integer"
  38844. },
  38845. "kppath": {
  38846. "type": "string"
  38847. },
  38848. "kpweight": {
  38849. "type": "string"
  38850. },
  38851. "marginalgorithm": {
  38852. "description": "保证金方式 - 1:比率 2:固定",
  38853. "type": "integer"
  38854. },
  38855. "marginvalue": {
  38856. "description": "保证金设置值",
  38857. "type": "number"
  38858. },
  38859. "marketid": {
  38860. "description": "市场ID",
  38861. "type": "integer"
  38862. },
  38863. "marketprice": {
  38864. "type": "string"
  38865. },
  38866. "orderamount": {
  38867. "description": "挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100",
  38868. "type": "number"
  38869. },
  38870. "ordertime": {
  38871. "description": "委托时间",
  38872. "type": "string"
  38873. },
  38874. "performancetemplateid": {
  38875. "description": "履约计划模板ID",
  38876. "type": "integer"
  38877. },
  38878. "price": {
  38879. "description": "价格",
  38880. "type": "number"
  38881. },
  38882. "pricefactor": {
  38883. "description": "价格系数(浮动价时填写) - [挂牌]",
  38884. "type": "number"
  38885. },
  38886. "pricemove": {
  38887. "description": "升贴水(浮动价时填写) - [挂牌]",
  38888. "type": "number"
  38889. },
  38890. "priceper": {
  38891. "type": "string"
  38892. },
  38893. "relatedwrtradeorderid": {
  38894. "description": "关联委托单号(摘牌委托关联挂牌委托单ID)",
  38895. "type": "integer"
  38896. },
  38897. "remainqty": {
  38898. "description": "剩余重量",
  38899. "type": "number"
  38900. },
  38901. "remark": {
  38902. "type": "string"
  38903. },
  38904. "retcode": {
  38905. "description": "错误代码",
  38906. "type": "integer"
  38907. },
  38908. "sellusername": {
  38909. "description": "卖方(查询字段-模糊查询)",
  38910. "type": "string"
  38911. },
  38912. "settingmaterial": {
  38913. "description": "镶嵌材料",
  38914. "type": "string"
  38915. },
  38916. "size1": {
  38917. "type": "string"
  38918. },
  38919. "size2": {
  38920. "type": "string"
  38921. },
  38922. "size3": {
  38923. "type": "string"
  38924. },
  38925. "sizedisplay": {
  38926. "description": "尺寸",
  38927. "type": "string"
  38928. },
  38929. "stonedesc": {
  38930. "description": "配石描述",
  38931. "type": "string"
  38932. },
  38933. "totalqty": {
  38934. "description": "总重量",
  38935. "type": "number"
  38936. },
  38937. "tradedate": {
  38938. "description": "交易日(yyyyMMdd)",
  38939. "type": "string"
  38940. },
  38941. "tradeprice": {
  38942. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  38943. "type": "number"
  38944. },
  38945. "unfreezecharge": {
  38946. "description": "解冻手续费",
  38947. "type": "number"
  38948. },
  38949. "unfreezefirstamount": {
  38950. "description": "解冻首付金额 - [摘牌]",
  38951. "type": "number"
  38952. },
  38953. "unfreezemargin": {
  38954. "description": "解冻保证金",
  38955. "type": "number"
  38956. },
  38957. "userid": {
  38958. "description": "用户ID",
  38959. "type": "integer"
  38960. },
  38961. "uuid": {
  38962. "description": "发起端唯一id",
  38963. "type": "string"
  38964. },
  38965. "validtime": {
  38966. "description": "有效期限",
  38967. "type": "string"
  38968. },
  38969. "validtype": {
  38970. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  38971. "type": "integer"
  38972. },
  38973. "warehousenamedisplay": {
  38974. "type": "string"
  38975. },
  38976. "wrbargainid": {
  38977. "description": "议价申请单ID",
  38978. "type": "integer"
  38979. },
  38980. "wrfactortypeid": {
  38981. "description": "仓单要素类型ID/商品ID(77)",
  38982. "type": "integer"
  38983. },
  38984. "wrpath": {
  38985. "type": "string"
  38986. },
  38987. "wrpricetype": {
  38988. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  38989. "type": "integer"
  38990. },
  38991. "wrstandardid": {
  38992. "description": "现货商品ID",
  38993. "type": "integer"
  38994. },
  38995. "wrtradeorderid": {
  38996. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  38997. "type": "string"
  38998. },
  38999. "wrtradeorderstatus": {
  39000. "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:撤单解冻贷款失败",
  39001. "type": "integer"
  39002. },
  39003. "wrtradetype": {
  39004. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  39005. "type": "integer"
  39006. },
  39007. "wrtransferuserid": {
  39008. "description": "仓单受让用户 - [摘牌]",
  39009. "type": "integer"
  39010. },
  39011. "zscategory": {
  39012. "description": "钻石分类 - 枚举”ZSCategory“",
  39013. "type": "integer"
  39014. },
  39015. "zscategorydisplay": {
  39016. "description": "钻石分类 - 描述",
  39017. "type": "string"
  39018. },
  39019. "zscerttypedisplay": {
  39020. "type": "string"
  39021. },
  39022. "zsclaritytype1display": {
  39023. "type": "string"
  39024. },
  39025. "zsclaritytype2display": {
  39026. "type": "string"
  39027. },
  39028. "zscolortype1display": {
  39029. "type": "string"
  39030. },
  39031. "zscolortype2display": {
  39032. "type": "string"
  39033. },
  39034. "zscrystaltype": {
  39035. "type": "string"
  39036. },
  39037. "zscrystaltypedisplay": {
  39038. "type": "string"
  39039. },
  39040. "zscurrencytype": {
  39041. "description": "货币类型 - 枚举“ZSCurrencyType”",
  39042. "type": "integer"
  39043. },
  39044. "zscurrencytypedisplay": {
  39045. "type": "string"
  39046. },
  39047. "zscurrencytypedisplayunit": {
  39048. "type": "string"
  39049. },
  39050. "zscuttype1display": {
  39051. "type": "string"
  39052. },
  39053. "zscuttype2display": {
  39054. "type": "string"
  39055. },
  39056. "zsczcolor1typedisplay": {
  39057. "type": "string"
  39058. },
  39059. "zsczcolor2typedisplay": {
  39060. "type": "string"
  39061. },
  39062. "zsczcolor3typedisplay": {
  39063. "type": "string"
  39064. },
  39065. "zsfluorescencetype1display": {
  39066. "type": "string"
  39067. },
  39068. "zsfluorescencetype2display": {
  39069. "type": "string"
  39070. },
  39071. "zspolishtype1display": {
  39072. "type": "string"
  39073. },
  39074. "zspolishtype2display": {
  39075. "type": "string"
  39076. },
  39077. "zsshapetypedisplay": {
  39078. "type": "string"
  39079. },
  39080. "zsstyletypedisplay": {
  39081. "type": "string"
  39082. },
  39083. "zssymmetrytype1display": {
  39084. "type": "string"
  39085. },
  39086. "zssymmetrytype2display": {
  39087. "type": "string"
  39088. }
  39089. }
  39090. },
  39091. "models.SellOrderQueryReq": {
  39092. "type": "object",
  39093. "required": [
  39094. "zscategory"
  39095. ],
  39096. "properties": {
  39097. "origin": {
  39098. "description": "原产地",
  39099. "type": "string"
  39100. },
  39101. "page": {
  39102. "description": "页码",
  39103. "type": "integer"
  39104. },
  39105. "pagesize": {
  39106. "description": "每页大小",
  39107. "type": "integer"
  39108. },
  39109. "total": {
  39110. "description": "总条数",
  39111. "type": "integer"
  39112. },
  39113. "warehouseid": {
  39114. "description": "仓库ID",
  39115. "type": "integer"
  39116. },
  39117. "weight1": {
  39118. "description": "总重量(克拉重量)-从",
  39119. "type": "number"
  39120. },
  39121. "weight2": {
  39122. "description": "总重量(克拉重量)-至",
  39123. "type": "number"
  39124. },
  39125. "weightavg1": {
  39126. "description": "平均单颗重量-从",
  39127. "type": "number"
  39128. },
  39129. "weightavg2": {
  39130. "description": "平均单颗重量-至",
  39131. "type": "number"
  39132. },
  39133. "zscategory": {
  39134. "description": "钻石分类 - 枚举”ZSCategory“",
  39135. "type": "integer"
  39136. },
  39137. "zscerttype": {
  39138. "description": "证书类型",
  39139. "type": "array",
  39140. "items": {
  39141. "type": "string"
  39142. }
  39143. },
  39144. "zsclaritytype": {
  39145. "description": "净度",
  39146. "type": "array",
  39147. "items": {
  39148. "type": "integer"
  39149. }
  39150. },
  39151. "zscolortype": {
  39152. "description": "颜色",
  39153. "type": "array",
  39154. "items": {
  39155. "type": "integer"
  39156. }
  39157. },
  39158. "zscurrencytype": {
  39159. "description": "货币类型 - 枚举“ZSCurrencyType”",
  39160. "type": "array",
  39161. "items": {
  39162. "type": "string"
  39163. }
  39164. },
  39165. "zscuttype": {
  39166. "description": "切工",
  39167. "type": "array",
  39168. "items": {
  39169. "type": "integer"
  39170. }
  39171. },
  39172. "zsczcolor1type": {
  39173. "description": "彩钻颜色1",
  39174. "type": "array",
  39175. "items": {
  39176. "type": "string"
  39177. }
  39178. },
  39179. "zsfluorescencetype": {
  39180. "description": "荧光",
  39181. "type": "array",
  39182. "items": {
  39183. "type": "integer"
  39184. }
  39185. },
  39186. "zspolishtype": {
  39187. "description": "抛光度",
  39188. "type": "array",
  39189. "items": {
  39190. "type": "integer"
  39191. }
  39192. },
  39193. "zsshapetype": {
  39194. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  39195. "type": "array",
  39196. "items": {
  39197. "type": "string"
  39198. }
  39199. },
  39200. "zsstyletype": {
  39201. "description": "款式",
  39202. "type": "array",
  39203. "items": {
  39204. "type": "string"
  39205. }
  39206. },
  39207. "zssymmetrytype": {
  39208. "description": "对称度",
  39209. "type": "array",
  39210. "items": {
  39211. "type": "integer"
  39212. }
  39213. }
  39214. }
  39215. },
  39216. "models.Systemparam": {
  39217. "type": "object",
  39218. "required": [
  39219. "paramcode"
  39220. ],
  39221. "properties": {
  39222. "loginid": {
  39223. "description": "更新用户账号,登录账号",
  39224. "type": "string"
  39225. },
  39226. "modifyflag": {
  39227. "description": "修改标志0 不允许修改 1 允许修改",
  39228. "type": "integer"
  39229. },
  39230. "paramcode": {
  39231. "description": "参数代码",
  39232. "type": "string"
  39233. },
  39234. "paramname": {
  39235. "description": "参数名",
  39236. "type": "string"
  39237. },
  39238. "paramtype": {
  39239. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  39240. "type": "integer"
  39241. },
  39242. "paramvalue": {
  39243. "description": "参数值",
  39244. "type": "string"
  39245. },
  39246. "paramvalue2": {
  39247. "description": "参数值(CLOB)",
  39248. "type": "string"
  39249. },
  39250. "regexpress": {
  39251. "description": "正则表达式",
  39252. "type": "string"
  39253. },
  39254. "remark": {
  39255. "description": "备注",
  39256. "type": "string"
  39257. },
  39258. "serverip": {
  39259. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  39260. "type": "string"
  39261. },
  39262. "showflag": {
  39263. "description": "是否显示0 不显示 1 显示",
  39264. "type": "integer"
  39265. },
  39266. "updatetime": {
  39267. "description": "更新时间",
  39268. "type": "string"
  39269. },
  39270. "userid": {
  39271. "description": "更新用户ID",
  39272. "type": "integer"
  39273. }
  39274. }
  39275. },
  39276. "models.Szdz3convertconfig": {
  39277. "type": "object",
  39278. "required": [
  39279. "converttype",
  39280. "innergoodsid",
  39281. "outergoodscode"
  39282. ],
  39283. "properties": {
  39284. "canin": {
  39285. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  39286. "type": "integer"
  39287. },
  39288. "canout": {
  39289. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  39290. "type": "integer"
  39291. },
  39292. "converttype": {
  39293. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  39294. "type": "integer"
  39295. },
  39296. "createtime": {
  39297. "description": "创建时间",
  39298. "type": "string"
  39299. },
  39300. "creatorid": {
  39301. "description": "创建人",
  39302. "type": "integer"
  39303. },
  39304. "daymaxvalue": {
  39305. "description": "当日最大转入限制",
  39306. "type": "number"
  39307. },
  39308. "freezedays": {
  39309. "description": "冻结天数 [5:花生米转交易]",
  39310. "type": "integer"
  39311. },
  39312. "innergoodsid": {
  39313. "description": "内部商品ID[交易]",
  39314. "type": "integer"
  39315. },
  39316. "inratio": {
  39317. "description": "目标值",
  39318. "type": "integer"
  39319. },
  39320. "modifierid": {
  39321. "description": "修改人",
  39322. "type": "integer"
  39323. },
  39324. "modifytime": {
  39325. "description": "修改时间",
  39326. "type": "string"
  39327. },
  39328. "outergoodscode": {
  39329. "description": "外部商品代码[JD\\PD]",
  39330. "type": "string"
  39331. },
  39332. "outratio": {
  39333. "description": "源值",
  39334. "type": "integer"
  39335. },
  39336. "pddecimalplace": {
  39337. "description": "PD小数位",
  39338. "type": "integer"
  39339. },
  39340. "timemaxvalue": {
  39341. "description": "单次最大转入限制",
  39342. "type": "number"
  39343. },
  39344. "timeminvalue": {
  39345. "description": "单次最小转入限制",
  39346. "type": "number"
  39347. }
  39348. }
  39349. },
  39350. "models.Szdz3searchwhitelist": {
  39351. "type": "object",
  39352. "required": [
  39353. "userid"
  39354. ],
  39355. "properties": {
  39356. "createtime": {
  39357. "description": "创建时间",
  39358. "type": "string"
  39359. },
  39360. "creatorid": {
  39361. "description": "创建人",
  39362. "type": "integer"
  39363. },
  39364. "modifierid": {
  39365. "description": "修改人",
  39366. "type": "integer"
  39367. },
  39368. "modifytime": {
  39369. "description": "修改时间",
  39370. "type": "string"
  39371. },
  39372. "userid": {
  39373. "description": "用户ID",
  39374. "type": "integer"
  39375. }
  39376. }
  39377. },
  39378. "models.TBGoods": {
  39379. "type": "object",
  39380. "properties": {
  39381. "agreeunit": {
  39382. "description": "合约乘数",
  39383. "type": "number"
  39384. },
  39385. "enumdicname": {
  39386. "description": "单位名称",
  39387. "type": "string"
  39388. },
  39389. "goodscode": {
  39390. "description": "商品代码(内部)",
  39391. "type": "string"
  39392. },
  39393. "goodsid": {
  39394. "description": "商品ID(自增ID SEQ_GOODS)",
  39395. "type": "integer"
  39396. },
  39397. "goodsname": {
  39398. "description": "商品名称",
  39399. "type": "string"
  39400. }
  39401. }
  39402. },
  39403. "models.TBGoodsGroup": {
  39404. "type": "object",
  39405. "properties": {
  39406. "GDLST": {
  39407. "description": "商品列表",
  39408. "type": "array",
  39409. "items": {
  39410. "$ref": "#/definitions/models.TBGoods"
  39411. }
  39412. },
  39413. "convertratio": {
  39414. "description": "折算系数",
  39415. "type": "number"
  39416. },
  39417. "enumdicname": {
  39418. "description": "单位名称",
  39419. "type": "string"
  39420. },
  39421. "exexchangecode": {
  39422. "description": "交易所代码",
  39423. "type": "string"
  39424. },
  39425. "exexchangename": {
  39426. "description": "交易所名称",
  39427. "type": "string"
  39428. },
  39429. "goodsgroupid": {
  39430. "description": "商品组ID(自增ID)",
  39431. "type": "integer"
  39432. },
  39433. "goodsgroupname": {
  39434. "description": "商品组名称",
  39435. "type": "string"
  39436. },
  39437. "goodunitid": {
  39438. "description": "报价单位ID",
  39439. "type": "integer"
  39440. }
  39441. }
  39442. },
  39443. "models.TBMiddleGoods": {
  39444. "type": "object",
  39445. "properties": {
  39446. "GPLST": {
  39447. "description": "期货品种列表",
  39448. "type": "array",
  39449. "items": {
  39450. "$ref": "#/definitions/models.TBGoodsGroup"
  39451. }
  39452. },
  39453. "WDLST": {
  39454. "description": "商品信息列表(现货品类)",
  39455. "type": "array",
  39456. "items": {
  39457. "$ref": "#/definitions/models.TBWrstandard"
  39458. }
  39459. },
  39460. "areauserid": {
  39461. "description": "机构用户ID",
  39462. "type": "integer"
  39463. },
  39464. "enumdicname": {
  39465. "description": "单位名称",
  39466. "type": "string"
  39467. },
  39468. "goodsunitid": {
  39469. "description": "套保品种单位id",
  39470. "type": "integer"
  39471. },
  39472. "middlegoodscode": {
  39473. "description": "套保品种代码",
  39474. "type": "string"
  39475. },
  39476. "middlegoodsid": {
  39477. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  39478. "type": "integer"
  39479. },
  39480. "middlegoodsname": {
  39481. "description": "套保品种名称",
  39482. "type": "string"
  39483. },
  39484. "needarbitrageratio": {
  39485. "description": "套利比率",
  39486. "type": "number"
  39487. },
  39488. "needhedgeratio": {
  39489. "description": "套保比率",
  39490. "type": "number"
  39491. }
  39492. }
  39493. },
  39494. "models.TBWrstandard": {
  39495. "type": "object",
  39496. "properties": {
  39497. "convertratio": {
  39498. "description": "折算系数",
  39499. "type": "number"
  39500. },
  39501. "deliverygoodsname": {
  39502. "description": "品种名称",
  39503. "type": "string"
  39504. },
  39505. "enumdicname": {
  39506. "description": "单位名称",
  39507. "type": "string"
  39508. },
  39509. "vatrate": {
  39510. "description": "增值税率",
  39511. "type": "number"
  39512. },
  39513. "wrstandardcode": {
  39514. "description": "现货商品代码",
  39515. "type": "string"
  39516. },
  39517. "wrstandardid": {
  39518. "description": "现货商品ID(SEQ_WRSTANDARD)",
  39519. "type": "integer"
  39520. },
  39521. "wrstandardname": {
  39522. "description": "现货商品名称",
  39523. "type": "string"
  39524. }
  39525. }
  39526. },
  39527. "models.THJSigninReq": {
  39528. "type": "object",
  39529. "required": [
  39530. "userid"
  39531. ],
  39532. "properties": {
  39533. "userid": {
  39534. "description": "用户ID",
  39535. "type": "integer"
  39536. }
  39537. }
  39538. },
  39539. "models.THJSigninRsp": {
  39540. "type": "object",
  39541. "properties": {
  39542. "signinstatus": {
  39543. "description": "状态操作标志 1-签到成功 2-当日已签到,不能重复签到",
  39544. "type": "integer"
  39545. }
  39546. }
  39547. },
  39548. "models.Taaccount": {
  39549. "type": "object",
  39550. "required": [
  39551. "accountid",
  39552. "userid"
  39553. ],
  39554. "properties": {
  39555. "accountflag": {
  39556. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  39557. "type": "integer"
  39558. },
  39559. "accountid": {
  39560. "description": "资金账户ID",
  39561. "type": "integer"
  39562. },
  39563. "accountname": {
  39564. "description": "账户名称",
  39565. "type": "string"
  39566. },
  39567. "balance": {
  39568. "description": "期初余额",
  39569. "type": "number"
  39570. },
  39571. "capitalbalance": {
  39572. "description": "本金余额[外部子账户实际出入金余额]",
  39573. "type": "number"
  39574. },
  39575. "changeflag": {
  39576. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  39577. "type": "integer"
  39578. },
  39579. "changetime": {
  39580. "description": "账户状态变更时间",
  39581. "type": "string"
  39582. },
  39583. "closepl": {
  39584. "description": "今日平仓盈亏",
  39585. "type": "number"
  39586. },
  39587. "creditdecrease": {
  39588. "description": "今日授信减少",
  39589. "type": "number"
  39590. },
  39591. "creditincrease": {
  39592. "description": "今日授信增加",
  39593. "type": "number"
  39594. },
  39595. "curamount": {
  39596. "description": "总市值(从持仓中统计)",
  39597. "type": "number"
  39598. },
  39599. "currencyid": {
  39600. "description": "货币ID",
  39601. "type": "integer"
  39602. },
  39603. "currentbalance": {
  39604. "description": "期末余额",
  39605. "type": "number"
  39606. },
  39607. "freezecharge": {
  39608. "description": "手续费冻结",
  39609. "type": "number"
  39610. },
  39611. "freezemargin": {
  39612. "description": "冻结保证金",
  39613. "type": "number"
  39614. },
  39615. "fromaccountid": {
  39616. "description": "所属上级账户",
  39617. "type": "integer"
  39618. },
  39619. "inamount": {
  39620. "description": "今日入金金额(包括三方入金)",
  39621. "type": "number"
  39622. },
  39623. "ismain": {
  39624. "description": "是否母账号 0:不是母账户 1:是母账户",
  39625. "type": "integer"
  39626. },
  39627. "ismarketaccount": {
  39628. "description": "是否机构接单账号 0:不是 1:是",
  39629. "type": "integer"
  39630. },
  39631. "isreckonaccount": {
  39632. "description": "是否机构分润账号 0:不是 1:是",
  39633. "type": "integer"
  39634. },
  39635. "mortgagecredit": {
  39636. "description": "授信金额",
  39637. "type": "number"
  39638. },
  39639. "orifreezecharge": {
  39640. "description": "期初手续费冻结",
  39641. "type": "number"
  39642. },
  39643. "orifreezemargin": {
  39644. "description": "期初冻结保证金",
  39645. "type": "number"
  39646. },
  39647. "orimortgagecredit": {
  39648. "description": "期初授信金额",
  39649. "type": "number"
  39650. },
  39651. "oriothercredit": {
  39652. "description": "期初其它授信金额",
  39653. "type": "number"
  39654. },
  39655. "oriotherfreezemargin": {
  39656. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  39657. "type": "number"
  39658. },
  39659. "orioutamountfreeze": {
  39660. "description": "期初出金冻结",
  39661. "type": "number"
  39662. },
  39663. "oriusedmargin": {
  39664. "description": "期初占用保证金",
  39665. "type": "number"
  39666. },
  39667. "othercredit": {
  39668. "description": "其它授信金额",
  39669. "type": "number"
  39670. },
  39671. "othercreditdecrease": {
  39672. "description": "今日其它授信减少",
  39673. "type": "number"
  39674. },
  39675. "othercreditincrease": {
  39676. "description": "今日其它授信增加",
  39677. "type": "number"
  39678. },
  39679. "otherfreezemargin": {
  39680. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  39681. "type": "number"
  39682. },
  39683. "otherincome": {
  39684. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  39685. "type": "number"
  39686. },
  39687. "otherpay": {
  39688. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  39689. "type": "number"
  39690. },
  39691. "outamount": {
  39692. "description": "今日出金金额(包括三方出金)",
  39693. "type": "number"
  39694. },
  39695. "outamountfreeze": {
  39696. "description": "出金冻结",
  39697. "type": "number"
  39698. },
  39699. "outthreshold": {
  39700. "description": "出金阈值",
  39701. "type": "number"
  39702. },
  39703. "parentaccountid": {
  39704. "description": "所属根账号",
  39705. "type": "integer"
  39706. },
  39707. "paycharge": {
  39708. "description": "今日手续费支出",
  39709. "type": "number"
  39710. },
  39711. "relatedaccountstatus": {
  39712. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  39713. "type": "integer"
  39714. },
  39715. "relateduserid": {
  39716. "description": "关联用户",
  39717. "type": "integer"
  39718. },
  39719. "remainamount": {
  39720. "description": "融资额(从融资合同中统计)",
  39721. "type": "number"
  39722. },
  39723. "serivcegroup": {
  39724. "description": "服务分组",
  39725. "type": "integer"
  39726. },
  39727. "signstatus": {
  39728. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  39729. "type": "integer"
  39730. },
  39731. "sublevelpath": {
  39732. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  39733. "type": "string"
  39734. },
  39735. "taaccounttype": {
  39736. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  39737. "type": "integer"
  39738. },
  39739. "thirdinamount": {
  39740. "description": "今日三方入金",
  39741. "type": "number"
  39742. },
  39743. "thirdoutamount": {
  39744. "description": "今日三方出金",
  39745. "type": "number"
  39746. },
  39747. "tradestatus": {
  39748. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  39749. "type": "integer"
  39750. },
  39751. "tradestatuschangetime": {
  39752. "description": "激活时间",
  39753. "type": "string"
  39754. },
  39755. "transferamount": {
  39756. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  39757. "type": "number"
  39758. },
  39759. "usedmargin": {
  39760. "description": "占用保证金",
  39761. "type": "number"
  39762. },
  39763. "userid": {
  39764. "description": "用户ID",
  39765. "type": "integer"
  39766. }
  39767. }
  39768. },
  39769. "models.Tablecolumnconfig": {
  39770. "type": "object",
  39771. "required": [
  39772. "autoid"
  39773. ],
  39774. "properties": {
  39775. "aligntype": {
  39776. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  39777. "type": "integer"
  39778. },
  39779. "autoid": {
  39780. "description": "AutoID",
  39781. "type": "integer"
  39782. },
  39783. "columnfield": {
  39784. "description": "列字段",
  39785. "type": "string"
  39786. },
  39787. "columntitle": {
  39788. "description": "列Title",
  39789. "type": "string"
  39790. },
  39791. "columnwidth": {
  39792. "description": "列宽",
  39793. "type": "string"
  39794. },
  39795. "fixed": {
  39796. "description": "固定类型 - 空 | left | right",
  39797. "type": "string"
  39798. },
  39799. "formatterstring": {
  39800. "description": "格式化字符",
  39801. "type": "string"
  39802. },
  39803. "formattertype": {
  39804. "description": "格式化类型",
  39805. "type": "string"
  39806. },
  39807. "groupname": {
  39808. "description": "表头分组名称",
  39809. "type": "string"
  39810. },
  39811. "ismerge": {
  39812. "description": "是否合并显示 - 0:不合并 1:合并",
  39813. "type": "integer"
  39814. },
  39815. "isshow": {
  39816. "description": "是否显示 - 0:不显示 1:显示",
  39817. "type": "integer"
  39818. },
  39819. "needsummary": {
  39820. "description": "是否需要汇总 - 0:不需要 1:需要",
  39821. "type": "integer"
  39822. },
  39823. "orderindex": {
  39824. "description": "顺序",
  39825. "type": "integer"
  39826. },
  39827. "remark": {
  39828. "description": "备注",
  39829. "type": "string"
  39830. },
  39831. "summarytype": {
  39832. "description": "汇总类型 - 1:加总 2:最后一个",
  39833. "type": "integer"
  39834. },
  39835. "tablekey": {
  39836. "description": "列表Key",
  39837. "type": "string"
  39838. }
  39839. }
  39840. },
  39841. "models.TjmdHolderDetailTradeInfo": {
  39842. "type": "object",
  39843. "properties": {
  39844. "agreeunit": {
  39845. "description": "合约乘数",
  39846. "type": "number"
  39847. },
  39848. "buyaccountid": {
  39849. "description": "买方账户",
  39850. "type": "string"
  39851. },
  39852. "buyusername": {
  39853. "description": "买方",
  39854. "type": "string"
  39855. },
  39856. "delistingdate": {
  39857. "description": "最后结算日",
  39858. "type": "string"
  39859. },
  39860. "expiredate": {
  39861. "description": "到期结算价定价日",
  39862. "type": "string"
  39863. },
  39864. "exprieprice": {
  39865. "description": "到期清算价格",
  39866. "type": "string"
  39867. },
  39868. "goodscode": {
  39869. "description": "商品代码",
  39870. "type": "string"
  39871. },
  39872. "goodsid": {
  39873. "description": "商品ID",
  39874. "type": "integer"
  39875. },
  39876. "goodsname": {
  39877. "description": "商品名称(交易标的)",
  39878. "type": "string"
  39879. },
  39880. "lasttradedate": {
  39881. "description": "最后交易日",
  39882. "type": "string"
  39883. },
  39884. "listingdate": {
  39885. "description": "开始交易日",
  39886. "type": "string"
  39887. },
  39888. "openprice": {
  39889. "description": "成交价",
  39890. "type": "number"
  39891. },
  39892. "openqty": {
  39893. "description": "交易数量",
  39894. "type": "integer"
  39895. },
  39896. "sellaccountid": {
  39897. "description": "卖方账户",
  39898. "type": "string"
  39899. },
  39900. "sellusername": {
  39901. "description": "卖方",
  39902. "type": "string"
  39903. },
  39904. "tradeamount": {
  39905. "description": "初始名义价值",
  39906. "type": "number"
  39907. },
  39908. "tradedate": {
  39909. "description": "成交日期",
  39910. "type": "string"
  39911. },
  39912. "tradeid": {
  39913. "description": "成交编号",
  39914. "type": "string"
  39915. }
  39916. }
  39917. },
  39918. "models.TjmdMarketSection": {
  39919. "type": "object",
  39920. "properties": {
  39921. "marketsectionid": {
  39922. "description": "市场版块ID(SEQ_MARKETSECTION)",
  39923. "type": "integer"
  39924. },
  39925. "marketsectionname": {
  39926. "description": "市场版块名称",
  39927. "type": "string"
  39928. },
  39929. "mlist": {
  39930. "description": "市场列表(板块下面有多少个市场)",
  39931. "type": "array",
  39932. "items": {
  39933. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  39934. }
  39935. },
  39936. "orderindex": {
  39937. "description": "排序",
  39938. "type": "integer"
  39939. },
  39940. "pictureurl": {
  39941. "description": "图片url, 规格(90*90)",
  39942. "type": "string"
  39943. },
  39944. "remark": {
  39945. "description": "备注",
  39946. "type": "string"
  39947. }
  39948. }
  39949. },
  39950. "models.TjmdMarketSectionConfig": {
  39951. "type": "object",
  39952. "properties": {
  39953. "auctionwrtype": {
  39954. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  39955. "type": "integer"
  39956. },
  39957. "canacceptquote": {
  39958. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  39959. "type": "integer"
  39960. },
  39961. "cangoodsexercise": {
  39962. "description": "[期权]是否可现货行权- 0:否 1:是",
  39963. "type": "integer"
  39964. },
  39965. "cangoodsexercisetype": {
  39966. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  39967. "type": "integer"
  39968. },
  39969. "canmanualquotestrike": {
  39970. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  39971. "type": "integer"
  39972. },
  39973. "canmutistage": {
  39974. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  39975. "type": "integer"
  39976. },
  39977. "canpreexercise": {
  39978. "description": "[期权]是否可预申报- 0:否 1:是",
  39979. "type": "integer"
  39980. },
  39981. "clearinterval": {
  39982. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  39983. "type": "integer"
  39984. },
  39985. "contracttmp": {
  39986. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  39987. "type": "string"
  39988. },
  39989. "exchareaid": {
  39990. "description": "所属交易所,可以没有",
  39991. "type": "integer"
  39992. },
  39993. "financemarketid": {
  39994. "description": "融资回购市场ID [仓单贸易]",
  39995. "type": "integer"
  39996. },
  39997. "goodstype": {
  39998. "description": "商品类型 - 1:交易商品 2:仓单商品",
  39999. "type": "integer"
  40000. },
  40001. "hasrebate": {
  40002. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  40003. "type": "integer"
  40004. },
  40005. "hastradecredit": {
  40006. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  40007. "type": "integer"
  40008. },
  40009. "haswr": {
  40010. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  40011. "type": "integer"
  40012. },
  40013. "isdeductmargin": {
  40014. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  40015. "type": "integer"
  40016. },
  40017. "isrecordsource": {
  40018. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  40019. "type": "integer"
  40020. },
  40021. "isreleasemargin": {
  40022. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  40023. "type": "integer"
  40024. },
  40025. "isupdatereckonprice": {
  40026. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  40027. "type": "integer"
  40028. },
  40029. "listingmode": {
  40030. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  40031. "type": "integer"
  40032. },
  40033. "marginformula": {
  40034. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  40035. "type": "integer"
  40036. },
  40037. "marginformula2": {
  40038. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  40039. "type": "integer"
  40040. },
  40041. "marketid": {
  40042. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  40043. "type": "integer"
  40044. },
  40045. "marketname": {
  40046. "description": "市场名称",
  40047. "type": "string"
  40048. },
  40049. "marketsectionid": {
  40050. "description": "市场版块ID(SEQ_MARKETSECTION)",
  40051. "type": "integer"
  40052. },
  40053. "marketserviceid": {
  40054. "description": "市场服务ID",
  40055. "type": "integer"
  40056. },
  40057. "marketstatus": {
  40058. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  40059. "type": "integer"
  40060. },
  40061. "markettype": {
  40062. "description": "市场类型- 1:非交易服务 2:交易服务",
  40063. "type": "integer"
  40064. },
  40065. "matchermode": {
  40066. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  40067. "type": "integer"
  40068. },
  40069. "nowrquotaflag": {
  40070. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  40071. "type": "integer"
  40072. },
  40073. "openmethod": {
  40074. "description": "开盘模式 - 0 自动 1手动",
  40075. "type": "integer"
  40076. },
  40077. "orderindex": {
  40078. "description": "排序",
  40079. "type": "integer"
  40080. },
  40081. "otcuserid": {
  40082. "description": "场外期权做市商[场外期权]",
  40083. "type": "integer"
  40084. },
  40085. "outersynctime": {
  40086. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  40087. "type": "string"
  40088. },
  40089. "paylaterflag": {
  40090. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  40091. "type": "integer"
  40092. },
  40093. "pendingflag": {
  40094. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  40095. "type": "integer"
  40096. },
  40097. "pendingtime": {
  40098. "description": "待开市时间[通道交易-对冲](HH:mm)",
  40099. "type": "string"
  40100. },
  40101. "performancetempid": {
  40102. "description": "履约计划模板ID - 作废",
  40103. "type": "integer"
  40104. },
  40105. "premiumquotemode": {
  40106. "description": "权利金报价方式 - 1:自动 2:手动",
  40107. "type": "integer"
  40108. },
  40109. "rebateratio": {
  40110. "description": "返利比率[竞价式]",
  40111. "type": "number"
  40112. },
  40113. "reckonorder": {
  40114. "description": "结算顺序",
  40115. "type": "integer"
  40116. },
  40117. "reckonpricealgorithm": {
  40118. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  40119. "type": "integer"
  40120. },
  40121. "reckonpriceparam": {
  40122. "description": "结算价参数",
  40123. "type": "integer"
  40124. },
  40125. "reckontime": {
  40126. "description": "结算时间[通道交易-对冲](HH:mm)",
  40127. "type": "string"
  40128. },
  40129. "roleprioritytype": {
  40130. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  40131. "type": "integer"
  40132. },
  40133. "selllistingauditflag": {
  40134. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  40135. "type": "integer"
  40136. },
  40137. "trademarkettype": {
  40138. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  40139. "type": "integer"
  40140. },
  40141. "trademode": {
  40142. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  40143. "type": "integer"
  40144. },
  40145. "tradeproperty": {
  40146. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  40147. "type": "integer"
  40148. },
  40149. "tradetype": {
  40150. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  40151. "type": "integer"
  40152. },
  40153. "updatereckonpriceinterval": {
  40154. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  40155. "type": "integer"
  40156. }
  40157. }
  40158. },
  40159. "models.TjmdQuoteGoods": {
  40160. "type": "object",
  40161. "properties": {
  40162. "buyqty": {
  40163. "description": "买量(暂不做, 无值, 保留字段)",
  40164. "type": "number"
  40165. },
  40166. "decimalplace": {
  40167. "description": "报价小数位",
  40168. "type": "integer"
  40169. },
  40170. "goodscode": {
  40171. "description": "合约代码",
  40172. "type": "string"
  40173. },
  40174. "goodsgroupid": {
  40175. "description": "商品组ID(自增ID)",
  40176. "type": "integer"
  40177. },
  40178. "goodsgroupname": {
  40179. "description": "商品组名称",
  40180. "type": "string"
  40181. },
  40182. "goodsid": {
  40183. "description": "合约id",
  40184. "type": "integer"
  40185. },
  40186. "goodsname": {
  40187. "description": "合约名称",
  40188. "type": "string"
  40189. },
  40190. "refgoodscode": {
  40191. "description": "标的合约代码",
  40192. "type": "string"
  40193. },
  40194. "refgoodsid": {
  40195. "description": "标的合约id",
  40196. "type": "integer"
  40197. },
  40198. "refgoodsname": {
  40199. "description": "标的合约名称",
  40200. "type": "string"
  40201. },
  40202. "sellqty": {
  40203. "description": "卖量(暂不做, 无值, 保留字段)",
  40204. "type": "number"
  40205. }
  40206. }
  40207. },
  40208. "models.TjmdTodayAccountMargin": {
  40209. "type": "object",
  40210. "properties": {
  40211. "accountid": {
  40212. "description": "账号ID",
  40213. "type": "integer"
  40214. },
  40215. "goodsid": {
  40216. "description": "商品ID",
  40217. "type": "integer"
  40218. },
  40219. "infoc": {
  40220. "description": "配置参数",
  40221. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  40222. },
  40223. "marketid": {
  40224. "description": "市场ID",
  40225. "type": "integer"
  40226. }
  40227. }
  40228. },
  40229. "models.TjmdTradeOrderDetail": {
  40230. "type": "object",
  40231. "properties": {
  40232. "buyorsell": {
  40233. "description": "买卖方向 0-买 1-卖",
  40234. "type": "integer"
  40235. },
  40236. "goodsid": {
  40237. "description": "商品id",
  40238. "type": "integer"
  40239. },
  40240. "marketmaxsub": {
  40241. "description": "市价最大偏移范围 [浮动价 - 点差]",
  40242. "type": "number"
  40243. },
  40244. "orderid": {
  40245. "description": "委托单号",
  40246. "type": "string"
  40247. },
  40248. "orderprice": {
  40249. "description": "期初均价",
  40250. "type": "number"
  40251. },
  40252. "orderqty": {
  40253. "description": "委托数量",
  40254. "type": "integer"
  40255. },
  40256. "pricemode": {
  40257. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  40258. "type": "integer"
  40259. },
  40260. "userid": {
  40261. "description": "用户id",
  40262. "type": "integer"
  40263. },
  40264. "username": {
  40265. "description": "用户名称(已脱敏)",
  40266. "type": "string"
  40267. }
  40268. }
  40269. },
  40270. "models.TjmdTransferApply": {
  40271. "type": "object",
  40272. "properties": {
  40273. "applyid": {
  40274. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  40275. "type": "integer"
  40276. },
  40277. "applystatus": {
  40278. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  40279. "type": "integer"
  40280. },
  40281. "applytime": {
  40282. "description": "申请时间(时间)",
  40283. "type": "string"
  40284. },
  40285. "auditremark": {
  40286. "description": "审核备注(拒绝原因?)",
  40287. "type": "string"
  40288. },
  40289. "begindate": {
  40290. "description": "开始交易日(yyyymmdd)",
  40291. "type": "string"
  40292. },
  40293. "buyorsell": {
  40294. "description": "买卖 - 0:买 1:卖",
  40295. "type": "integer"
  40296. },
  40297. "enddate": {
  40298. "description": "结束交易日(yyyymmdd)",
  40299. "type": "string"
  40300. },
  40301. "goodscode": {
  40302. "description": "商品代码",
  40303. "type": "string"
  40304. },
  40305. "goodsid": {
  40306. "description": "商品ID",
  40307. "type": "integer"
  40308. },
  40309. "goodsname": {
  40310. "description": "商品名称",
  40311. "type": "string"
  40312. },
  40313. "marketid": {
  40314. "description": "市场ID",
  40315. "type": "integer"
  40316. },
  40317. "qty": {
  40318. "description": "期初均价",
  40319. "type": "number"
  40320. },
  40321. "tradeid": {
  40322. "description": "成交单号(关联持仓)",
  40323. "type": "string"
  40324. },
  40325. "transferamount": {
  40326. "description": "转让总金额(金额)",
  40327. "type": "number"
  40328. },
  40329. "transferprice": {
  40330. "description": "转让价格(协议价格)",
  40331. "type": "number"
  40332. }
  40333. }
  40334. },
  40335. "models.TradeHolderDetail": {
  40336. "type": "object",
  40337. "properties": {
  40338. "accountid": {
  40339. "description": "账号ID",
  40340. "type": "integer"
  40341. },
  40342. "agreeunit": {
  40343. "description": "合约乘数",
  40344. "type": "number"
  40345. },
  40346. "buyorsell": {
  40347. "description": "方向 - 0:买 1:卖",
  40348. "type": "integer"
  40349. },
  40350. "currencyid": {
  40351. "description": "商品币种id",
  40352. "type": "integer"
  40353. },
  40354. "currencyname": {
  40355. "description": "币种名称",
  40356. "type": "string"
  40357. },
  40358. "decimalplace": {
  40359. "description": "商品价格小数位",
  40360. "type": "integer"
  40361. },
  40362. "enumdicname": {
  40363. "description": "商品单位名称",
  40364. "type": "string"
  40365. },
  40366. "expirecycle": {
  40367. "description": "行权周期(天) - 1:滚动行权时填写",
  40368. "type": "integer"
  40369. },
  40370. "expiredate": {
  40371. "description": "行权日(yyyyMMdd) - 到期日",
  40372. "type": "string"
  40373. },
  40374. "expiretype": {
  40375. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  40376. "type": "integer"
  40377. },
  40378. "freezeqty": {
  40379. "description": "期初均价",
  40380. "type": "number"
  40381. },
  40382. "goodscode": {
  40383. "description": "商品代码",
  40384. "type": "string"
  40385. },
  40386. "goodsid": {
  40387. "description": "商品ID",
  40388. "type": "integer"
  40389. },
  40390. "goodsname": {
  40391. "description": "商品名称",
  40392. "type": "string"
  40393. },
  40394. "goodunitid": {
  40395. "description": "商品单位id",
  40396. "type": "integer"
  40397. },
  40398. "holderamount": {
  40399. "description": "持仓金额",
  40400. "type": "number"
  40401. },
  40402. "holdercredit": {
  40403. "description": "持仓授信金额",
  40404. "type": "number"
  40405. },
  40406. "holderdays": {
  40407. "description": "剩余冻结天数",
  40408. "type": "integer"
  40409. },
  40410. "holderprice": {
  40411. "description": "持仓价格",
  40412. "type": "number"
  40413. },
  40414. "holderqty": {
  40415. "description": "期初均价",
  40416. "type": "number"
  40417. },
  40418. "isconfirmexercise": {
  40419. "description": "是否确认行权- 0:否 1:是",
  40420. "type": "integer"
  40421. },
  40422. "ispreexercise": {
  40423. "description": "是否预申报- 0:否 1:是 2:不可行权",
  40424. "type": "integer"
  40425. },
  40426. "marketid": {
  40427. "description": "市场id",
  40428. "type": "integer"
  40429. },
  40430. "marketname": {
  40431. "description": "市场名称",
  40432. "type": "string"
  40433. },
  40434. "openprice": {
  40435. "description": "建仓价格",
  40436. "type": "number"
  40437. },
  40438. "openqty": {
  40439. "description": "期初均价",
  40440. "type": "number"
  40441. },
  40442. "optiontype": {
  40443. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  40444. "type": "integer"
  40445. },
  40446. "preexerciseprice": {
  40447. "description": "预申报价格",
  40448. "type": "number"
  40449. },
  40450. "premium": {
  40451. "description": "权利金",
  40452. "type": "number"
  40453. },
  40454. "qtydecimalplace": {
  40455. "description": "商品成交量小数位",
  40456. "type": "integer"
  40457. },
  40458. "refgoodscode": {
  40459. "description": "标的合约代码",
  40460. "type": "string"
  40461. },
  40462. "refgoodsid": {
  40463. "description": "标的合约id",
  40464. "type": "integer"
  40465. },
  40466. "releaseamount": {
  40467. "description": "释放持仓金额",
  40468. "type": "number"
  40469. },
  40470. "releaseholdercredit": {
  40471. "description": "释放持仓授信金额",
  40472. "type": "number"
  40473. },
  40474. "taname": {
  40475. "description": "资金账号名称",
  40476. "type": "string"
  40477. },
  40478. "tradeamount": {
  40479. "description": "成交金额",
  40480. "type": "number"
  40481. },
  40482. "tradedate": {
  40483. "description": "交易日(yyyyMMdd)",
  40484. "type": "string"
  40485. },
  40486. "tradeid": {
  40487. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  40488. "type": "string"
  40489. },
  40490. "trademode": {
  40491. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  40492. "type": "integer"
  40493. },
  40494. "tradeproperty": {
  40495. "description": "交易属性",
  40496. "type": "integer"
  40497. },
  40498. "tradetime": {
  40499. "description": "交易时间",
  40500. "type": "string"
  40501. },
  40502. "userid": {
  40503. "description": "用户id",
  40504. "type": "integer"
  40505. },
  40506. "username": {
  40507. "description": "用户名称",
  40508. "type": "string"
  40509. }
  40510. }
  40511. },
  40512. "models.Unlinkermcphedgeplan": {
  40513. "type": "object",
  40514. "required": [
  40515. "areauserid"
  40516. ],
  40517. "properties": {
  40518. "accountid": {
  40519. "description": "期货账户ID - 作废",
  40520. "type": "integer"
  40521. },
  40522. "accountname": {
  40523. "description": "交易用户",
  40524. "type": "string"
  40525. },
  40526. "applyid": {
  40527. "description": "申请人",
  40528. "type": "integer"
  40529. },
  40530. "applysrc": {
  40531. "description": "申请来源 - 1:管理端 2:终端",
  40532. "type": "integer"
  40533. },
  40534. "applytime": {
  40535. "description": "申请时间",
  40536. "type": "string"
  40537. },
  40538. "areauserid": {
  40539. "description": "[企业ID]机构ID",
  40540. "type": "integer"
  40541. },
  40542. "auditid": {
  40543. "description": "审核人",
  40544. "type": "integer"
  40545. },
  40546. "auditremark": {
  40547. "description": "审核备注",
  40548. "type": "string"
  40549. },
  40550. "auditsrc": {
  40551. "description": "审核来源 - 1:管理端 2:终端",
  40552. "type": "integer"
  40553. },
  40554. "audittime": {
  40555. "description": "审核时间",
  40556. "type": "string"
  40557. },
  40558. "audittradedate": {
  40559. "description": "审核交易日(yyyyMMdd)",
  40560. "type": "string"
  40561. },
  40562. "biztype": {
  40563. "description": "业务类型 - 1:套保",
  40564. "type": "integer"
  40565. },
  40566. "contracttype": {
  40567. "description": "计划类型 - 1:采购 -1:销售",
  40568. "type": "integer"
  40569. },
  40570. "convertfactor": {
  40571. "description": "标仓系数 - 作废",
  40572. "type": "number"
  40573. },
  40574. "createtime": {
  40575. "description": "创建时间",
  40576. "type": "string"
  40577. },
  40578. "currencyid": {
  40579. "description": "结算币种ID - 作废",
  40580. "type": "integer"
  40581. },
  40582. "deliverygoodsid": {
  40583. "description": "现货品种ID",
  40584. "type": "integer"
  40585. },
  40586. "enumdicname": {
  40587. "description": "结算币种",
  40588. "type": "string"
  40589. },
  40590. "hedgeplanid": {
  40591. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  40592. "type": "string"
  40593. },
  40594. "hedgeplanno": {
  40595. "description": "[计划编号]套保计划编号,模糊查询",
  40596. "type": "string"
  40597. },
  40598. "hedgeplanstatus": {
  40599. "description": "[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  40600. "type": "integer"
  40601. },
  40602. "isrelated": {
  40603. "description": "是否已关联计划项目 - 0:否 1:是",
  40604. "type": "integer"
  40605. },
  40606. "planqty": {
  40607. "description": "[计划量]计划数量",
  40608. "type": "number"
  40609. },
  40610. "plantime": {
  40611. "description": "计划时间",
  40612. "type": "string"
  40613. },
  40614. "producttype": {
  40615. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  40616. "type": "integer"
  40617. },
  40618. "remark": {
  40619. "description": "备注",
  40620. "type": "string"
  40621. },
  40622. "spotgoodsdesc": {
  40623. "description": "商品型号",
  40624. "type": "string"
  40625. },
  40626. "tradedate": {
  40627. "description": "交易日(yyyyMMdd)",
  40628. "type": "string"
  40629. },
  40630. "tradeuserid": {
  40631. "description": "交易用户ID",
  40632. "type": "integer"
  40633. },
  40634. "updatetime": {
  40635. "description": "更新时间",
  40636. "type": "string"
  40637. },
  40638. "wrstandardid": {
  40639. "description": "现货商品ID",
  40640. "type": "integer"
  40641. },
  40642. "wrstandardname": {
  40643. "description": "现货商品,模糊查询",
  40644. "type": "string"
  40645. }
  40646. }
  40647. },
  40648. "models.UserCollectConfig": {
  40649. "type": "object",
  40650. "properties": {
  40651. "accountstatus": {
  40652. "description": "账户状态 - 1:正常 2:停用 3:注销",
  40653. "type": "integer"
  40654. },
  40655. "collectaccountname": {
  40656. "description": "收款人账户名称",
  40657. "type": "string"
  40658. },
  40659. "collectaccountno": {
  40660. "description": "收款人账户",
  40661. "type": "string"
  40662. },
  40663. "collectbankname": {
  40664. "description": "收款人开户行",
  40665. "type": "string"
  40666. },
  40667. "collectbranchbankname": {
  40668. "description": "收款人开户支行",
  40669. "type": "string"
  40670. },
  40671. "collectconfigid": {
  40672. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  40673. "type": "string"
  40674. },
  40675. "remark": {
  40676. "description": "备注",
  40677. "type": "string"
  40678. },
  40679. "userid": {
  40680. "description": "收款人用户ID",
  40681. "type": "integer"
  40682. }
  40683. }
  40684. },
  40685. "models.UserReceiveInfo": {
  40686. "type": "object",
  40687. "properties": {
  40688. "address": {
  40689. "description": "提货人详细地址",
  40690. "type": "string"
  40691. },
  40692. "autoid": {
  40693. "description": "AutoID",
  40694. "type": "integer"
  40695. },
  40696. "cardnum": {
  40697. "description": "证件号码(加密存储)",
  40698. "type": "string"
  40699. },
  40700. "cardtypeid": {
  40701. "description": "证件类型",
  40702. "type": "integer"
  40703. },
  40704. "cityid": {
  40705. "description": "市",
  40706. "type": "integer"
  40707. },
  40708. "cityname": {
  40709. "description": "城市名称",
  40710. "type": "string"
  40711. },
  40712. "countryid": {
  40713. "description": "国家",
  40714. "type": "integer"
  40715. },
  40716. "countryname": {
  40717. "description": "国家名称",
  40718. "type": "string"
  40719. },
  40720. "districtid": {
  40721. "description": "地区",
  40722. "type": "integer"
  40723. },
  40724. "districtname": {
  40725. "description": "地区名称",
  40726. "type": "string"
  40727. },
  40728. "hasencrypt": {
  40729. "description": "数据是否已加密 - 0:未加密 1:已加密",
  40730. "type": "integer"
  40731. },
  40732. "isdefault": {
  40733. "description": "是否默认地址 - 0:否 1:是",
  40734. "type": "integer"
  40735. },
  40736. "phonenum": {
  40737. "description": "提货人联系方式(加密存储)",
  40738. "type": "string"
  40739. },
  40740. "provinceid": {
  40741. "description": "省",
  40742. "type": "integer"
  40743. },
  40744. "provincename": {
  40745. "description": "省名称",
  40746. "type": "string"
  40747. },
  40748. "receivername": {
  40749. "description": "提货人姓名",
  40750. "type": "string"
  40751. },
  40752. "takeremark": {
  40753. "description": "提货备注",
  40754. "type": "string"
  40755. },
  40756. "userid": {
  40757. "description": "用户ID",
  40758. "type": "integer"
  40759. }
  40760. }
  40761. },
  40762. "models.Useraccount": {
  40763. "type": "object",
  40764. "required": [
  40765. "userid"
  40766. ],
  40767. "properties": {
  40768. "accountname": {
  40769. "description": "账户名称(机构名称)",
  40770. "type": "string"
  40771. },
  40772. "accountstatus": {
  40773. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  40774. "type": "integer"
  40775. },
  40776. "applysrc": {
  40777. "description": "申请来源 - 1:管理端 2:终端",
  40778. "type": "integer"
  40779. },
  40780. "auditremark": {
  40781. "description": "审核备注",
  40782. "type": "string"
  40783. },
  40784. "auditsrc": {
  40785. "description": "审核来源 - 1:管理端 2:终端",
  40786. "type": "integer"
  40787. },
  40788. "audittime": {
  40789. "description": "审核时间",
  40790. "type": "string"
  40791. },
  40792. "audituserid": {
  40793. "description": "审核人",
  40794. "type": "integer"
  40795. },
  40796. "broker": {
  40797. "description": "所属经纪人ID",
  40798. "type": "integer"
  40799. },
  40800. "canceltime": {
  40801. "description": "销户时间",
  40802. "type": "string"
  40803. },
  40804. "canceluserid": {
  40805. "description": "销户人",
  40806. "type": "integer"
  40807. },
  40808. "canrecommend": {
  40809. "description": "是否可推荐 - 0:不可 1;可",
  40810. "type": "integer"
  40811. },
  40812. "createtime": {
  40813. "description": "创建时间",
  40814. "type": "string"
  40815. },
  40816. "creatorid": {
  40817. "description": "创建人",
  40818. "type": "integer"
  40819. },
  40820. "curscore": {
  40821. "description": "积分",
  40822. "type": "integer"
  40823. },
  40824. "hasauth": {
  40825. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  40826. "type": "integer"
  40827. },
  40828. "isanonymous": {
  40829. "description": "是否匿名下单 - 0:否 1:是",
  40830. "type": "integer"
  40831. },
  40832. "issigned": {
  40833. "description": "今日是否已签到",
  40834. "type": "boolean"
  40835. },
  40836. "maxinvestornum": {
  40837. "description": "最大用户数(经纪会员下投资者个数)",
  40838. "type": "integer"
  40839. },
  40840. "memberuserid": {
  40841. "description": "所属会员ID",
  40842. "type": "integer"
  40843. },
  40844. "modifierid": {
  40845. "description": "修改人",
  40846. "type": "integer"
  40847. },
  40848. "modifyremark": {
  40849. "description": "变更备注",
  40850. "type": "string"
  40851. },
  40852. "modifystatus": {
  40853. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  40854. "type": "integer"
  40855. },
  40856. "modifytime": {
  40857. "description": "修改时间",
  40858. "type": "string"
  40859. },
  40860. "parenttopuser": {
  40861. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  40862. "type": "string"
  40863. },
  40864. "parentuserid": {
  40865. "description": "所属机构ID",
  40866. "type": "integer"
  40867. },
  40868. "reckonaccountid": {
  40869. "description": "默认结算资金账号ID(机构分润使用) 作废",
  40870. "type": "integer"
  40871. },
  40872. "refercount": {
  40873. "description": "推荐总人数",
  40874. "type": "integer"
  40875. },
  40876. "refereeuserid": {
  40877. "description": "推荐人ID",
  40878. "type": "integer"
  40879. },
  40880. "refernum": {
  40881. "description": "推荐码",
  40882. "type": "string"
  40883. },
  40884. "rootuserid": {
  40885. "description": "根用户ID",
  40886. "type": "integer"
  40887. },
  40888. "subaccountlevel": {
  40889. "description": "子账户层数",
  40890. "type": "integer"
  40891. },
  40892. "subarealevelpath": {
  40893. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  40894. "type": "string"
  40895. },
  40896. "todayrefercount": {
  40897. "description": "今日推荐人数",
  40898. "type": "integer"
  40899. },
  40900. "userid": {
  40901. "description": "用户ID",
  40902. "type": "integer"
  40903. },
  40904. "usertype": {
  40905. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  40906. "type": "integer"
  40907. }
  40908. }
  40909. },
  40910. "models.Userfavoritegoods": {
  40911. "type": "object",
  40912. "required": [
  40913. "goodsid"
  40914. ],
  40915. "properties": {
  40916. "goodsid": {
  40917. "description": "商品ID",
  40918. "type": "integer"
  40919. }
  40920. }
  40921. },
  40922. "models.Userinfo": {
  40923. "type": "object",
  40924. "required": [
  40925. "userid"
  40926. ],
  40927. "properties": {
  40928. "address": {
  40929. "description": "地址",
  40930. "type": "string"
  40931. },
  40932. "attachment1": {
  40933. "description": "附件1",
  40934. "type": "string"
  40935. },
  40936. "attachment2": {
  40937. "description": "附件2",
  40938. "type": "string"
  40939. },
  40940. "bankaccount": {
  40941. "description": "银行帐号 (加密存储)",
  40942. "type": "string"
  40943. },
  40944. "bankaccountname": {
  40945. "description": "收款人名称",
  40946. "type": "string"
  40947. },
  40948. "bankcardfrontphotourl": {
  40949. "description": "银行卡正面照地址",
  40950. "type": "string"
  40951. },
  40952. "bankid": {
  40953. "description": "银行编码",
  40954. "type": "string"
  40955. },
  40956. "bankname": {
  40957. "description": "银行名称",
  40958. "type": "string"
  40959. },
  40960. "biznature": {
  40961. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  40962. "type": "integer"
  40963. },
  40964. "bizscope": {
  40965. "description": "企业经营范围(企业)",
  40966. "type": "string"
  40967. },
  40968. "cardbackphotourl": {
  40969. "description": "证件背面图片地址",
  40970. "type": "string"
  40971. },
  40972. "cardfrontphotourl": {
  40973. "description": "证件正面图片地址",
  40974. "type": "string"
  40975. },
  40976. "cardnum": {
  40977. "description": "证件号码(加密存储)",
  40978. "type": "string"
  40979. },
  40980. "cardtypeid": {
  40981. "description": "证件类型ID",
  40982. "type": "integer"
  40983. },
  40984. "cityid": {
  40985. "description": "市",
  40986. "type": "integer"
  40987. },
  40988. "company": {
  40989. "description": "公司(个人)",
  40990. "type": "string"
  40991. },
  40992. "contactname": {
  40993. "description": "联系人",
  40994. "type": "string"
  40995. },
  40996. "countryid": {
  40997. "description": "国家",
  40998. "type": "integer"
  40999. },
  41000. "createtime": {
  41001. "description": "创建时间",
  41002. "type": "string"
  41003. },
  41004. "creatorid": {
  41005. "description": "创建人",
  41006. "type": "integer"
  41007. },
  41008. "customername": {
  41009. "description": "客户名称(企业名称)",
  41010. "type": "string"
  41011. },
  41012. "districtid": {
  41013. "description": "地区",
  41014. "type": "integer"
  41015. },
  41016. "email": {
  41017. "description": "邮件(加密存储)",
  41018. "type": "string"
  41019. },
  41020. "fax": {
  41021. "description": "传真(加密存储)",
  41022. "type": "string"
  41023. },
  41024. "halfbodyphotourl": {
  41025. "description": "半身照地址",
  41026. "type": "string"
  41027. },
  41028. "hasencrypt": {
  41029. "description": "数据是否已加密 - 0:未加密 1:已加密",
  41030. "type": "integer"
  41031. },
  41032. "headurl": {
  41033. "description": "头像地址",
  41034. "type": "string"
  41035. },
  41036. "legalcardbackphotourl": {
  41037. "description": "法人身份证背面照地址",
  41038. "type": "string"
  41039. },
  41040. "legalcardfrontphotourl": {
  41041. "description": "法人身份证正面照地址",
  41042. "type": "string"
  41043. },
  41044. "legalpersonname": {
  41045. "description": "法人姓名(企业)",
  41046. "type": "string"
  41047. },
  41048. "mobile": {
  41049. "description": "手机号码(加密存储)",
  41050. "type": "string"
  41051. },
  41052. "mobile2": {
  41053. "description": "手机号码[明文-尚志]",
  41054. "type": "string"
  41055. },
  41056. "modifierid": {
  41057. "description": "修改人",
  41058. "type": "integer"
  41059. },
  41060. "modifiertime": {
  41061. "description": "修改时间",
  41062. "type": "string"
  41063. },
  41064. "needinvoice": {
  41065. "description": "是否需要发票 - 0:不需要 1:需要",
  41066. "type": "integer"
  41067. },
  41068. "nickname": {
  41069. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  41070. "type": "string"
  41071. },
  41072. "openmode": {
  41073. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  41074. "type": "integer"
  41075. },
  41076. "otherurl": {
  41077. "description": "其它图片地址[使用分号分隔]",
  41078. "type": "string"
  41079. },
  41080. "postalcode": {
  41081. "description": "邮政编码",
  41082. "type": "string"
  41083. },
  41084. "provinceid": {
  41085. "description": "省",
  41086. "type": "integer"
  41087. },
  41088. "qq": {
  41089. "description": "QQ(加密存储",
  41090. "type": "string"
  41091. },
  41092. "remark": {
  41093. "description": "备注",
  41094. "type": "string"
  41095. },
  41096. "sex": {
  41097. "description": "用户性别 0: 女 1: 男",
  41098. "type": "integer"
  41099. },
  41100. "signpdfurl": {
  41101. "description": "签约pdf文件",
  41102. "type": "string"
  41103. },
  41104. "telphone": {
  41105. "description": "联系电话(加密存储)",
  41106. "type": "string"
  41107. },
  41108. "userid": {
  41109. "description": "用户ID",
  41110. "type": "integer"
  41111. },
  41112. "userinfotype": {
  41113. "description": "用户信息类型 - 1:个人 2:企业",
  41114. "type": "integer"
  41115. },
  41116. "userstatus": {
  41117. "description": "用户状态 - 1:正常 2:注销",
  41118. "type": "integer"
  41119. },
  41120. "usertype": {
  41121. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  41122. "type": "integer"
  41123. },
  41124. "wechat": {
  41125. "description": "微信(加密存储)",
  41126. "type": "string"
  41127. },
  41128. "wskhinfo": {
  41129. "description": "开户申请信息(JSON)",
  41130. "type": "string"
  41131. }
  41132. }
  41133. },
  41134. "models.WRPositionReport": {
  41135. "type": "object",
  41136. "properties": {
  41137. "accountid": {
  41138. "description": "帐户ID",
  41139. "type": "integer"
  41140. },
  41141. "brandid": {
  41142. "description": "品牌ID(1交割品种升贴水参数表 AutoID) - 作废",
  41143. "type": "integer"
  41144. },
  41145. "buylistinglot": {
  41146. "description": "买挂牌宗数",
  41147. "type": "integer"
  41148. },
  41149. "buytradeamount": {
  41150. "description": "购买金额",
  41151. "type": "number"
  41152. },
  41153. "buytradelot": {
  41154. "description": "购买宗数",
  41155. "type": "integer"
  41156. },
  41157. "buytradeqty": {
  41158. "description": "购买数量",
  41159. "type": "number"
  41160. },
  41161. "creditcurqty": {
  41162. "description": "授信当前数量",
  41163. "type": "integer"
  41164. },
  41165. "creditfreezeqty": {
  41166. "description": "授信冻结数量",
  41167. "type": "integer"
  41168. },
  41169. "credittotalqty": {
  41170. "description": "授信总数量",
  41171. "type": "integer"
  41172. },
  41173. "credittradeqty": {
  41174. "description": "授信成交数量",
  41175. "type": "integer"
  41176. },
  41177. "decreaseqty": {
  41178. "description": "今日减少数量",
  41179. "type": "integer"
  41180. },
  41181. "deliverygoodsid": {
  41182. "description": "交割商品ID",
  41183. "type": "integer"
  41184. },
  41185. "deliverymonthid": {
  41186. "description": "月份ID(1交割品种升贴水参数表 AutoID) - 作废",
  41187. "type": "integer"
  41188. },
  41189. "freezeqty": {
  41190. "description": "总冻结数量",
  41191. "type": "integer"
  41192. },
  41193. "increaseqty": {
  41194. "description": "今日增加数量",
  41195. "type": "integer"
  41196. },
  41197. "marketvalue": {
  41198. "description": "市值",
  41199. "type": "number"
  41200. },
  41201. "pickupqty": {
  41202. "description": "今日提货数量",
  41203. "type": "integer"
  41204. },
  41205. "qualityid": {
  41206. "description": "品质ID(1交割品种升贴水参数表 AutoID) - 作废",
  41207. "type": "integer"
  41208. },
  41209. "reckondate": {
  41210. "description": "日照时期(yyyyMMdd)",
  41211. "type": "string"
  41212. },
  41213. "relatedqty": {
  41214. "description": "关联数量",
  41215. "type": "integer"
  41216. },
  41217. "selllistingamount": {
  41218. "description": "卖挂牌金额",
  41219. "type": "number"
  41220. },
  41221. "selllistinglot": {
  41222. "description": "卖挂牌宗数",
  41223. "type": "integer"
  41224. },
  41225. "selllistingqty": {
  41226. "description": "卖挂牌数量",
  41227. "type": "number"
  41228. },
  41229. "selltradeamount": {
  41230. "description": "销售金额",
  41231. "type": "number"
  41232. },
  41233. "selltradelot": {
  41234. "description": "销售宗数",
  41235. "type": "integer"
  41236. },
  41237. "selltradeqty": {
  41238. "description": "销售数量",
  41239. "type": "number"
  41240. },
  41241. "specid": {
  41242. "description": "规格ID(1交割品种升贴水参数表 AutoID) - 作废",
  41243. "type": "integer"
  41244. },
  41245. "totalprice": {
  41246. "description": "销售金额(¥)",
  41247. "type": "number"
  41248. },
  41249. "totalqty": {
  41250. "description": "总数量",
  41251. "type": "integer"
  41252. },
  41253. "totalweight": {
  41254. "description": "销售重量(ct)",
  41255. "type": "number"
  41256. },
  41257. "tradewrqty": {
  41258. "description": "订单仓单头寸总数量",
  41259. "type": "integer"
  41260. },
  41261. "transfertradewrqty": {
  41262. "description": "今日转订单数量",
  41263. "type": "integer"
  41264. },
  41265. "warehouseid": {
  41266. "description": "仓库ID(1交割品种升贴水参数表 AutoID) - 作废",
  41267. "type": "integer"
  41268. },
  41269. "wrfactortypeid": {
  41270. "description": "仓单要素类型ID",
  41271. "type": "integer"
  41272. },
  41273. "wrpositionid": {
  41274. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  41275. "type": "integer"
  41276. },
  41277. "wrstandardcode": {
  41278. "description": "现货商品代码",
  41279. "type": "string"
  41280. },
  41281. "wrstandardid": {
  41282. "description": "现货商品ID",
  41283. "type": "integer"
  41284. },
  41285. "wruserid": {
  41286. "description": "持有人ID",
  41287. "type": "integer"
  41288. },
  41289. "zscategory": {
  41290. "description": "商品分类",
  41291. "type": "integer"
  41292. },
  41293. "zscategorydisplay": {
  41294. "type": "string"
  41295. },
  41296. "zscurrencytype": {
  41297. "description": "商品币种",
  41298. "type": "integer"
  41299. },
  41300. "zscurrencytypedisplay": {
  41301. "type": "string"
  41302. },
  41303. "zscurrencytypedisplayunit": {
  41304. "type": "string"
  41305. }
  41306. }
  41307. },
  41308. "models.WRSConverTDetail": {
  41309. "type": "object",
  41310. "properties": {
  41311. "convertratio": {
  41312. "description": "套保系数",
  41313. "type": "number"
  41314. },
  41315. "deliverygoodscode": {
  41316. "description": "现货商品代码",
  41317. "type": "string"
  41318. },
  41319. "deliverygoodsid": {
  41320. "description": "现货品种ID",
  41321. "type": "integer"
  41322. },
  41323. "deliverygoodsname": {
  41324. "description": "现货商品名称",
  41325. "type": "string"
  41326. },
  41327. "enumdicname": {
  41328. "description": "单位名称",
  41329. "type": "string"
  41330. },
  41331. "goodsunitid": {
  41332. "description": "套保品种单位id",
  41333. "type": "integer"
  41334. },
  41335. "middlegoodscode": {
  41336. "description": "套保品种代码",
  41337. "type": "string"
  41338. },
  41339. "middlegoodsid": {
  41340. "description": "套保品种ID",
  41341. "type": "integer"
  41342. },
  41343. "middlegoodsname": {
  41344. "description": "套保品种名称",
  41345. "type": "string"
  41346. },
  41347. "modifytime": {
  41348. "description": "修改时间",
  41349. "type": "string"
  41350. },
  41351. "wrstandardid": {
  41352. "description": "品类ID",
  41353. "type": "integer"
  41354. }
  41355. }
  41356. },
  41357. "models.WRStandardInfo": {
  41358. "type": "object",
  41359. "required": [
  41360. "wrstandardid"
  41361. ],
  41362. "properties": {
  41363. "areauserid": {
  41364. "description": "所属机构",
  41365. "type": "integer"
  41366. },
  41367. "convertfactor": {
  41368. "description": "标仓系数",
  41369. "type": "number"
  41370. },
  41371. "createtime": {
  41372. "description": "创建时间",
  41373. "type": "string"
  41374. },
  41375. "creatorid": {
  41376. "description": "创建人",
  41377. "type": "integer"
  41378. },
  41379. "deliverygoodsid": {
  41380. "description": "品种ID",
  41381. "type": "integer"
  41382. },
  41383. "deliverygoodsname": {
  41384. "description": "交割商品名称",
  41385. "type": "string"
  41386. },
  41387. "factoryitemjson": {
  41388. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  41389. "type": "string"
  41390. },
  41391. "isvalid": {
  41392. "description": "是否有效 - 0:无效 1:有效",
  41393. "type": "integer"
  41394. },
  41395. "minivalue": {
  41396. "description": "最小变动值",
  41397. "type": "integer"
  41398. },
  41399. "minivaluedp": {
  41400. "description": "最小变动值小数位",
  41401. "type": "integer"
  41402. },
  41403. "realminivalue": {
  41404. "description": "实际最小变动值",
  41405. "type": "integer"
  41406. },
  41407. "realminivaluedp": {
  41408. "description": "实际最小变动值小数位",
  41409. "type": "integer"
  41410. },
  41411. "remark": {
  41412. "description": "备注",
  41413. "type": "string"
  41414. },
  41415. "unitid": {
  41416. "description": "单位ID",
  41417. "type": "integer"
  41418. },
  41419. "unitname": {
  41420. "description": "单位",
  41421. "type": "string"
  41422. },
  41423. "updatetime": {
  41424. "description": "更新时间",
  41425. "type": "string"
  41426. },
  41427. "updatorid": {
  41428. "description": "更新人",
  41429. "type": "integer"
  41430. },
  41431. "wrsstatus": {
  41432. "description": "状态 - 作废 - 0:未激活 1:正常",
  41433. "type": "integer"
  41434. },
  41435. "wrstandardcode": {
  41436. "description": "现货品类代码",
  41437. "type": "string"
  41438. },
  41439. "wrstandardid": {
  41440. "description": "现货品类ID(SEQ_WRSTANDARD)",
  41441. "type": "integer"
  41442. },
  41443. "wrstandardname": {
  41444. "description": "现货品类名称",
  41445. "type": "string"
  41446. }
  41447. }
  41448. },
  41449. "models.WRTradeBargainApply": {
  41450. "type": "object",
  41451. "properties": {
  41452. "accountid": {
  41453. "description": "摘牌资金账号",
  41454. "type": "integer"
  41455. },
  41456. "applyprice": {
  41457. "description": "申请价格(议价价格)",
  41458. "type": "string"
  41459. },
  41460. "applyqty": {
  41461. "description": "摘牌数量(议价数量)",
  41462. "type": "number"
  41463. },
  41464. "applyremark": {
  41465. "description": "申请备注",
  41466. "type": "string"
  41467. },
  41468. "applystatus": {
  41469. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  41470. "type": "integer"
  41471. },
  41472. "applytime": {
  41473. "description": "申请时间(议价时间)",
  41474. "type": "string"
  41475. },
  41476. "begindate": {
  41477. "description": "开始交易日(yyyymmdd)",
  41478. "type": "string"
  41479. },
  41480. "buyorsell": {
  41481. "description": "买卖(挂牌类型) - 0:买 1:卖",
  41482. "type": "integer"
  41483. },
  41484. "confirmremark": {
  41485. "description": "确认备注",
  41486. "type": "string"
  41487. },
  41488. "confirmtime": {
  41489. "description": "确认时间",
  41490. "type": "string"
  41491. },
  41492. "confirmuserid": {
  41493. "description": "确认人",
  41494. "type": "integer"
  41495. },
  41496. "deliverygoodscode": {
  41497. "description": "品种代码",
  41498. "type": "string"
  41499. },
  41500. "deliverygoodsid": {
  41501. "description": "品种ID",
  41502. "type": "integer"
  41503. },
  41504. "deliverygoodsname": {
  41505. "description": "品种名称",
  41506. "type": "string"
  41507. },
  41508. "deliverymonth": {
  41509. "description": "交收月",
  41510. "type": "string"
  41511. },
  41512. "enddate": {
  41513. "description": "结束交易日(yyyymmdd)",
  41514. "type": "string"
  41515. },
  41516. "enumdicname": {
  41517. "description": "单位名称",
  41518. "type": "string"
  41519. },
  41520. "fixedprice": {
  41521. "description": "期初均价",
  41522. "type": "number"
  41523. },
  41524. "handlestatus": {
  41525. "description": "处理状态",
  41526. "type": "integer"
  41527. },
  41528. "marginvalue": {
  41529. "description": "期初均价",
  41530. "type": "number"
  41531. },
  41532. "marketid": {
  41533. "description": "市场ID",
  41534. "type": "integer"
  41535. },
  41536. "matchaccountid": {
  41537. "description": "挂牌方资金账号",
  41538. "type": "integer"
  41539. },
  41540. "matchuserid": {
  41541. "description": "挂牌方用户id",
  41542. "type": "integer"
  41543. },
  41544. "matchusername": {
  41545. "description": "挂牌方用户名称(已脱敏)",
  41546. "type": "string"
  41547. },
  41548. "minivalue": {
  41549. "description": "现货商品最小变动值",
  41550. "type": "integer"
  41551. },
  41552. "optioncompare": {
  41553. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41554. "type": "string"
  41555. },
  41556. "orderqty": {
  41557. "description": "挂牌数量",
  41558. "type": "integer"
  41559. },
  41560. "refprice": {
  41561. "description": "参考价格",
  41562. "type": "string"
  41563. },
  41564. "retcode": {
  41565. "description": "委托返回代码",
  41566. "type": "integer"
  41567. },
  41568. "templatename": {
  41569. "description": "履约方式(履约模板名称)",
  41570. "type": "string"
  41571. },
  41572. "tradedate": {
  41573. "description": "交易日(yyyyMMdd)",
  41574. "type": "string"
  41575. },
  41576. "userid": {
  41577. "description": "摘牌人用户ID(议价人ID)",
  41578. "type": "integer"
  41579. },
  41580. "username": {
  41581. "description": "议价人名字(已脱敏)",
  41582. "type": "string"
  41583. },
  41584. "validtime": {
  41585. "description": "有效期限",
  41586. "type": "string"
  41587. },
  41588. "warehouseid": {
  41589. "description": "仓库ID",
  41590. "type": "integer"
  41591. },
  41592. "warehousename": {
  41593. "description": "仓库名称",
  41594. "type": "string"
  41595. },
  41596. "wrbargainid": {
  41597. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  41598. "type": "string"
  41599. },
  41600. "wrfactortypeid": {
  41601. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41602. "type": "string"
  41603. },
  41604. "wrfactortypename": {
  41605. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41606. "type": "string"
  41607. },
  41608. "wrstandardcode": {
  41609. "description": "现货商品代码",
  41610. "type": "string"
  41611. },
  41612. "wrstandardid": {
  41613. "description": "现货商品ID",
  41614. "type": "integer"
  41615. },
  41616. "wrstandardname": {
  41617. "description": "商品名称",
  41618. "type": "string"
  41619. },
  41620. "wrtradeorderid": {
  41621. "description": "关联委托单ID",
  41622. "type": "string"
  41623. },
  41624. "wrtypename": {
  41625. "description": "商品",
  41626. "type": "string"
  41627. }
  41628. }
  41629. },
  41630. "models.Warehouseinfo": {
  41631. "type": "object",
  41632. "required": [
  41633. "autoid",
  41634. "warehousecode"
  41635. ],
  41636. "properties": {
  41637. "address": {
  41638. "description": "详细地址",
  41639. "type": "string"
  41640. },
  41641. "areauserid": {
  41642. "description": "所属机构",
  41643. "type": "integer"
  41644. },
  41645. "autoid": {
  41646. "description": "自增ID",
  41647. "type": "integer"
  41648. },
  41649. "cityid": {
  41650. "description": "市",
  41651. "type": "integer"
  41652. },
  41653. "contactname": {
  41654. "description": "联系人",
  41655. "type": "string"
  41656. },
  41657. "contactnum": {
  41658. "description": "联系电话",
  41659. "type": "string"
  41660. },
  41661. "countryid": {
  41662. "description": "国家",
  41663. "type": "integer"
  41664. },
  41665. "createtime": {
  41666. "description": "创建时间",
  41667. "type": "string"
  41668. },
  41669. "districtid": {
  41670. "description": "区",
  41671. "type": "integer"
  41672. },
  41673. "hasvideo": {
  41674. "description": "是否有视频 - 0:无 1:有",
  41675. "type": "integer"
  41676. },
  41677. "provinceid": {
  41678. "description": "省",
  41679. "type": "integer"
  41680. },
  41681. "remark": {
  41682. "description": "审核备注",
  41683. "type": "string"
  41684. },
  41685. "videourl": {
  41686. "description": "视频地址",
  41687. "type": "string"
  41688. },
  41689. "warehousecode": {
  41690. "description": "仓库代码",
  41691. "type": "string"
  41692. },
  41693. "warehousename": {
  41694. "description": "仓库名称",
  41695. "type": "string"
  41696. },
  41697. "warehousestatus": {
  41698. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  41699. "type": "integer"
  41700. },
  41701. "warehousetype": {
  41702. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  41703. "type": "integer"
  41704. }
  41705. }
  41706. },
  41707. "models.WrAverageTradePrice": {
  41708. "type": "object",
  41709. "properties": {
  41710. "averageprice": {
  41711. "description": "期初均价",
  41712. "type": "number"
  41713. },
  41714. "tradedate": {
  41715. "description": "交易日yyyymm",
  41716. "type": "string"
  41717. }
  41718. }
  41719. },
  41720. "models.WrBrandAndYears": {
  41721. "type": "object",
  41722. "properties": {
  41723. "brandlst": {
  41724. "description": "品牌列表",
  41725. "type": "array",
  41726. "items": {
  41727. "$ref": "#/definitions/models.DgFactoryItem"
  41728. }
  41729. },
  41730. "yearslst": {
  41731. "description": "年份列表",
  41732. "type": "array",
  41733. "items": {
  41734. "$ref": "#/definitions/models.DgFactoryItem"
  41735. }
  41736. }
  41737. }
  41738. },
  41739. "models.WrBsGoodsInfo": {
  41740. "type": "object",
  41741. "properties": {
  41742. "buyorsell": {
  41743. "description": "买卖方向 0-买 1-卖",
  41744. "type": "integer"
  41745. },
  41746. "goodsid": {
  41747. "description": "交易合约ID",
  41748. "type": "integer"
  41749. },
  41750. "lstitem": {
  41751. "description": "商品信息项",
  41752. "type": "array",
  41753. "items": {
  41754. "$ref": "#/definitions/models.WrTypeItem"
  41755. }
  41756. },
  41757. "lststep": {
  41758. "description": "履约规则",
  41759. "type": "array",
  41760. "items": {
  41761. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  41762. }
  41763. }
  41764. }
  41765. },
  41766. "models.WrBuybackDetail": {
  41767. "type": "object",
  41768. "properties": {
  41769. "buybackamount": {
  41770. "description": "回购金额",
  41771. "type": "number"
  41772. },
  41773. "buybackqty": {
  41774. "description": "回购数量",
  41775. "type": "number"
  41776. },
  41777. "buybackreleasemargin": {
  41778. "description": "回购释放保证金",
  41779. "type": "number"
  41780. },
  41781. "buybacktime": {
  41782. "description": "回购时间",
  41783. "type": "string"
  41784. },
  41785. "errordesc": {
  41786. "description": "错误描述",
  41787. "type": "string"
  41788. },
  41789. "handlestatus": {
  41790. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  41791. "type": "integer"
  41792. },
  41793. "relatedwrid": {
  41794. "description": "关联仓单ID",
  41795. "type": "integer"
  41796. },
  41797. "scfcontractid": {
  41798. "description": "SCF合同ID",
  41799. "type": "string"
  41800. },
  41801. "scfwrbuybackid": {
  41802. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  41803. "type": "integer"
  41804. },
  41805. "tradedate": {
  41806. "description": "交易日(yyyyMMdd)",
  41807. "type": "string"
  41808. }
  41809. }
  41810. },
  41811. "models.WrClientAdSpaceConfig": {
  41812. "type": "object",
  41813. "properties": {
  41814. "adspaceid": {
  41815. "description": "广告位ID",
  41816. "type": "integer"
  41817. },
  41818. "adspacename": {
  41819. "description": "广告位名称",
  41820. "type": "string"
  41821. },
  41822. "adspacetype": {
  41823. "description": "广告位类型 - 1:固定广告位",
  41824. "type": "integer"
  41825. },
  41826. "areauserid": {
  41827. "description": "所属机构ID",
  41828. "type": "integer"
  41829. },
  41830. "createdate": {
  41831. "description": "创建时间",
  41832. "type": "string"
  41833. },
  41834. "imagepath": {
  41835. "description": "图片",
  41836. "type": "string"
  41837. },
  41838. "modifierid": {
  41839. "description": "操作人",
  41840. "type": "integer"
  41841. },
  41842. "recsize": {
  41843. "description": "推荐尺寸",
  41844. "type": "string"
  41845. },
  41846. "title": {
  41847. "description": "标题",
  41848. "type": "string"
  41849. },
  41850. "updatedate": {
  41851. "description": "更新时间",
  41852. "type": "string"
  41853. },
  41854. "urlcontent": {
  41855. "description": "链接(地址\\商品ID\\功能菜单Key\\appid)",
  41856. "type": "string"
  41857. },
  41858. "urltype": {
  41859. "description": "链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序",
  41860. "type": "integer"
  41861. }
  41862. }
  41863. },
  41864. "models.WrDeliveryAvalidHoldLB": {
  41865. "type": "object",
  41866. "properties": {
  41867. "accountid": {
  41868. "description": "资金账号",
  41869. "type": "integer"
  41870. },
  41871. "avalidqty": {
  41872. "description": "数量(可点选数量)",
  41873. "type": "number"
  41874. },
  41875. "deliverygoodsid": {
  41876. "description": "品种id",
  41877. "type": "integer"
  41878. },
  41879. "enumdicname": {
  41880. "description": "单位名称",
  41881. "type": "string"
  41882. },
  41883. "goodsid": {
  41884. "description": "x合约商品id",
  41885. "type": "integer"
  41886. },
  41887. "ladingbillid": {
  41888. "description": "提单id",
  41889. "type": "string"
  41890. },
  41891. "pgoodscode": {
  41892. "description": "p商品代码(点价合约)",
  41893. "type": "string"
  41894. },
  41895. "pgoodsid": {
  41896. "description": "p商品id(点价合约)",
  41897. "type": "integer"
  41898. },
  41899. "pgoodsname": {
  41900. "description": "p商品名称(点价合约)",
  41901. "type": "string"
  41902. },
  41903. "pricemove": {
  41904. "description": "升贴水",
  41905. "type": "number"
  41906. },
  41907. "subnum": {
  41908. "description": "提单子id",
  41909. "type": "integer"
  41910. },
  41911. "userid": {
  41912. "description": "用户id",
  41913. "type": "integer"
  41914. },
  41915. "username": {
  41916. "description": "仓单持有人",
  41917. "type": "string"
  41918. },
  41919. "warehousecode": {
  41920. "description": "仓库代码",
  41921. "type": "string"
  41922. },
  41923. "warehouseid": {
  41924. "description": "仓库id",
  41925. "type": "integer"
  41926. },
  41927. "warehousename": {
  41928. "description": "仓库名称",
  41929. "type": "string"
  41930. },
  41931. "wrfactortypeid": {
  41932. "description": "仓单要素id",
  41933. "type": "string"
  41934. },
  41935. "wrstandardcode": {
  41936. "description": "品代码",
  41937. "type": "string"
  41938. },
  41939. "wrstandardid": {
  41940. "description": "品类d",
  41941. "type": "integer"
  41942. },
  41943. "wrstandardname": {
  41944. "description": "品类名称",
  41945. "type": "string"
  41946. },
  41947. "wrtypename": {
  41948. "description": "商品",
  41949. "type": "string"
  41950. },
  41951. "xgoodscode": {
  41952. "description": "x合约代码",
  41953. "type": "string"
  41954. },
  41955. "xgoodsname": {
  41956. "description": "x合约名称",
  41957. "type": "string"
  41958. }
  41959. }
  41960. },
  41961. "models.WrDeliveryDetail": {
  41962. "type": "object",
  41963. "properties": {
  41964. "accountid": {
  41965. "description": "账号ID",
  41966. "type": "integer"
  41967. },
  41968. "averageprice": {
  41969. "description": "期初均价",
  41970. "type": "number"
  41971. },
  41972. "begindate": {
  41973. "description": "开始交易日(yyyymmdd)",
  41974. "type": "string"
  41975. },
  41976. "buyorsell": {
  41977. "description": "方向 - 0:买 1:卖",
  41978. "type": "integer"
  41979. },
  41980. "deliveryamount": {
  41981. "description": "货款金额(X总货款+P总货款)",
  41982. "type": "number"
  41983. },
  41984. "deliveryid": {
  41985. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  41986. "type": "string"
  41987. },
  41988. "deliveryorderid": {
  41989. "description": "申报单号",
  41990. "type": "string"
  41991. },
  41992. "deliverypricemove": {
  41993. "description": "升贴水(升贴水总额)",
  41994. "type": "number"
  41995. },
  41996. "deliveryqty": {
  41997. "description": "交收数量(点选数量)",
  41998. "type": "number"
  41999. },
  42000. "deliverystatus": {
  42001. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  42002. "type": "integer"
  42003. },
  42004. "deliverytime": {
  42005. "description": "交割时间",
  42006. "type": "string"
  42007. },
  42008. "deliverytotalamount": {
  42009. "description": "交收金额",
  42010. "type": "number"
  42011. },
  42012. "enddate": {
  42013. "description": "结束交易日(yyyymmdd)",
  42014. "type": "string"
  42015. },
  42016. "enumdicname": {
  42017. "description": "单位名称",
  42018. "type": "string"
  42019. },
  42020. "matchaccountid": {
  42021. "description": "对手账号ID",
  42022. "type": "integer"
  42023. },
  42024. "matchusername": {
  42025. "description": "对手方名称(仓单持有人)",
  42026. "type": "string"
  42027. },
  42028. "p1goodsremainamount": {
  42029. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  42030. "type": "number"
  42031. },
  42032. "pdeliverycloseqty": {
  42033. "description": "p合约平仓数量",
  42034. "type": "number"
  42035. },
  42036. "pdeliveryprice": {
  42037. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  42038. "type": "number"
  42039. },
  42040. "pgoodscode": {
  42041. "description": "商品代码",
  42042. "type": "string"
  42043. },
  42044. "pgoodsid": {
  42045. "description": "p点选合约id",
  42046. "type": "integer"
  42047. },
  42048. "pgoodsname": {
  42049. "description": "商品名称",
  42050. "type": "string"
  42051. },
  42052. "ppricemode": {
  42053. "description": "点价价格方式 - 1:商品价 2:固定值",
  42054. "type": "integer"
  42055. },
  42056. "tradedate": {
  42057. "description": "交易日(yyyymmdd)",
  42058. "type": "string"
  42059. },
  42060. "userid": {
  42061. "description": "用户id",
  42062. "type": "integer"
  42063. },
  42064. "username": {
  42065. "description": "用户名称",
  42066. "type": "string"
  42067. },
  42068. "warehousename": {
  42069. "description": "仓库名称",
  42070. "type": "string"
  42071. },
  42072. "wrfactortypeid": {
  42073. "description": "仓单要素类型ID",
  42074. "type": "string"
  42075. },
  42076. "wrtypename": {
  42077. "description": "商品",
  42078. "type": "string"
  42079. },
  42080. "xdeliverycloseqty": {
  42081. "description": "合约数量",
  42082. "type": "number"
  42083. },
  42084. "xgoodsamount": {
  42085. "description": "期初均价",
  42086. "type": "number"
  42087. },
  42088. "xgoodscode": {
  42089. "description": "商品代码",
  42090. "type": "string"
  42091. },
  42092. "xgoodsid": {
  42093. "description": "x交易合约ID",
  42094. "type": "integer"
  42095. },
  42096. "xgoodsname": {
  42097. "description": "商品名称",
  42098. "type": "string"
  42099. }
  42100. }
  42101. },
  42102. "models.WrDeliveryGoodsSection": {
  42103. "type": "object",
  42104. "properties": {
  42105. "dglst": {
  42106. "description": "板块商品列表",
  42107. "type": "array",
  42108. "items": {
  42109. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  42110. }
  42111. },
  42112. "imagepath": {
  42113. "description": "图片地址",
  42114. "type": "string"
  42115. },
  42116. "orderindex": {
  42117. "description": "排序",
  42118. "type": "integer"
  42119. },
  42120. "sectionid": {
  42121. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  42122. "type": "integer"
  42123. },
  42124. "sectionname": {
  42125. "description": "版块名称",
  42126. "type": "string"
  42127. },
  42128. "sectiontype": {
  42129. "description": "版块类型 - 1:指数版块 2:普通版块",
  42130. "type": "integer"
  42131. }
  42132. }
  42133. },
  42134. "models.WrDeliveryGoodsSectionConfig": {
  42135. "type": "object",
  42136. "properties": {
  42137. "deliverygoodscode": {
  42138. "description": "现货商品代码",
  42139. "type": "string"
  42140. },
  42141. "deliverygoodsid": {
  42142. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  42143. "type": "integer"
  42144. },
  42145. "deliverygoodsname": {
  42146. "description": "现货商品名称",
  42147. "type": "string"
  42148. },
  42149. "orderindex": {
  42150. "description": "排序",
  42151. "type": "integer"
  42152. }
  42153. }
  42154. },
  42155. "models.WrDraftUserInfo": {
  42156. "type": "object",
  42157. "properties": {
  42158. "address": {
  42159. "description": "地址",
  42160. "type": "string"
  42161. },
  42162. "attachment1": {
  42163. "description": "附件1",
  42164. "type": "string"
  42165. },
  42166. "attachment2": {
  42167. "description": "附件2",
  42168. "type": "string"
  42169. },
  42170. "attachment3": {
  42171. "description": "附件3",
  42172. "type": "string"
  42173. },
  42174. "attachment4": {
  42175. "description": "附件4",
  42176. "type": "string"
  42177. },
  42178. "attachment5": {
  42179. "description": "附件5",
  42180. "type": "string"
  42181. },
  42182. "bankaccount": {
  42183. "description": "银行帐号 (加密存储)",
  42184. "type": "string"
  42185. },
  42186. "bankaccountname": {
  42187. "description": "收款人名称",
  42188. "type": "string"
  42189. },
  42190. "bankcardfrontphotourl": {
  42191. "description": "银行卡正面照地址",
  42192. "type": "string"
  42193. },
  42194. "bankid": {
  42195. "description": "银行编码",
  42196. "type": "string"
  42197. },
  42198. "bankname": {
  42199. "description": "银行名称",
  42200. "type": "string"
  42201. },
  42202. "birthday": {
  42203. "description": "生日(个人:年月日)",
  42204. "type": "string"
  42205. },
  42206. "biznature": {
  42207. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  42208. "type": "integer"
  42209. },
  42210. "bizscope": {
  42211. "description": "企业经营范围(企业)",
  42212. "type": "string"
  42213. },
  42214. "biztype": {
  42215. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  42216. "type": "integer"
  42217. },
  42218. "cardbackphotourl": {
  42219. "description": "证件背面图片地址",
  42220. "type": "string"
  42221. },
  42222. "cardfrontphotourl": {
  42223. "description": "证件正面图片地址",
  42224. "type": "string"
  42225. },
  42226. "cardnum": {
  42227. "description": "证件号码(加密存储)",
  42228. "type": "string"
  42229. },
  42230. "cardtypeid": {
  42231. "description": "证件类型ID",
  42232. "type": "integer"
  42233. },
  42234. "cityid": {
  42235. "description": "市",
  42236. "type": "integer"
  42237. },
  42238. "company": {
  42239. "description": "公司(个人)",
  42240. "type": "string"
  42241. },
  42242. "contactcardbackphotourl": {
  42243. "description": "联系人证件背面图片地址",
  42244. "type": "string"
  42245. },
  42246. "contactcardfrontphotourl": {
  42247. "description": "联系人证件正面图片地址",
  42248. "type": "string"
  42249. },
  42250. "contactname": {
  42251. "description": "联系人",
  42252. "type": "string"
  42253. },
  42254. "countryid": {
  42255. "description": "国家",
  42256. "type": "integer"
  42257. },
  42258. "createtime": {
  42259. "description": "创建时间",
  42260. "type": "string"
  42261. },
  42262. "creatorid": {
  42263. "description": "创建人",
  42264. "type": "integer"
  42265. },
  42266. "creditquota": {
  42267. "description": "授信额度(金瑞)",
  42268. "type": "number"
  42269. },
  42270. "customername": {
  42271. "description": "客户名称(企业名称)",
  42272. "type": "string"
  42273. },
  42274. "districtid": {
  42275. "description": "地区",
  42276. "type": "integer"
  42277. },
  42278. "email": {
  42279. "description": "邮件(加密存储)",
  42280. "type": "string"
  42281. },
  42282. "fax": {
  42283. "description": "传真(加密存储)",
  42284. "type": "string"
  42285. },
  42286. "halfbodyphotourl": {
  42287. "description": "半身照地址",
  42288. "type": "string"
  42289. },
  42290. "hasencrypt": {
  42291. "description": "数据是否已加密 - 0:未加密 1:已加密",
  42292. "type": "integer"
  42293. },
  42294. "headurl": {
  42295. "description": "头像地址",
  42296. "type": "string"
  42297. },
  42298. "legalcardbackphotourl": {
  42299. "description": "法人身份证背面照地址",
  42300. "type": "string"
  42301. },
  42302. "legalcardfrontphotourl": {
  42303. "description": "法人身份证正面照地址",
  42304. "type": "string"
  42305. },
  42306. "legalpersonname": {
  42307. "description": "法人姓名(企业)",
  42308. "type": "string"
  42309. },
  42310. "mobile": {
  42311. "description": "手机号码(加密存储)",
  42312. "type": "string"
  42313. },
  42314. "mobile2": {
  42315. "description": "手机号码[明文-尚志]",
  42316. "type": "string"
  42317. },
  42318. "modifierid": {
  42319. "description": "修改人",
  42320. "type": "integer"
  42321. },
  42322. "modifiertime": {
  42323. "description": "修改时间",
  42324. "type": "string"
  42325. },
  42326. "needinvoice": {
  42327. "description": "是否需要发票 - 0:不需要 1:需要",
  42328. "type": "integer"
  42329. },
  42330. "nickname": {
  42331. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  42332. "type": "string"
  42333. },
  42334. "openmode": {
  42335. "description": "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册",
  42336. "type": "integer"
  42337. },
  42338. "otherurl": {
  42339. "description": "其它图片地址[使用分号分隔]",
  42340. "type": "string"
  42341. },
  42342. "postalcode": {
  42343. "description": "邮政编码",
  42344. "type": "string"
  42345. },
  42346. "provinceid": {
  42347. "description": "省",
  42348. "type": "integer"
  42349. },
  42350. "proxystatementurl": {
  42351. "description": "授权委托书",
  42352. "type": "string"
  42353. },
  42354. "qq": {
  42355. "description": "QQ(加密存储",
  42356. "type": "string"
  42357. },
  42358. "remark": {
  42359. "description": "备注",
  42360. "type": "string"
  42361. },
  42362. "sex": {
  42363. "description": "用户性别 0: 女 1: 男",
  42364. "type": "integer"
  42365. },
  42366. "signpdfurl": {
  42367. "description": "签约pdf文件",
  42368. "type": "string"
  42369. },
  42370. "taxpayernum": {
  42371. "description": "纳税人识别号",
  42372. "type": "string"
  42373. },
  42374. "telphone": {
  42375. "description": "联系电话(加密存储)",
  42376. "type": "string"
  42377. },
  42378. "userid": {
  42379. "description": "用户ID",
  42380. "type": "integer"
  42381. },
  42382. "userinfotype": {
  42383. "description": "用户信息类型 - 1:个人 2:企业",
  42384. "type": "integer"
  42385. },
  42386. "userstatus": {
  42387. "description": "用户状态 - 1:正常 2:注销",
  42388. "type": "integer"
  42389. },
  42390. "usertype": {
  42391. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者",
  42392. "type": "integer"
  42393. },
  42394. "wechat": {
  42395. "description": "微信(加密存储)",
  42396. "type": "string"
  42397. },
  42398. "wskhinfo": {
  42399. "description": "开户申请信息(JSON)",
  42400. "type": "string"
  42401. }
  42402. }
  42403. },
  42404. "models.WrFAProductDetail": {
  42405. "type": "object",
  42406. "properties": {
  42407. "accountid": {
  42408. "description": "资金账号",
  42409. "type": "integer"
  42410. },
  42411. "areauserid": {
  42412. "description": "金融机构ID",
  42413. "type": "integer"
  42414. },
  42415. "financingdays": {
  42416. "description": "天数(天)",
  42417. "type": "integer"
  42418. },
  42419. "interestminlen": {
  42420. "description": "最小起息天数",
  42421. "type": "integer"
  42422. },
  42423. "interestrate": {
  42424. "description": "利率",
  42425. "type": "number"
  42426. },
  42427. "interestratemode": {
  42428. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  42429. "type": "integer"
  42430. },
  42431. "interestsettlemode": {
  42432. "description": "结息方式 - 1:按日结息 3:按月结息",
  42433. "type": "integer"
  42434. },
  42435. "interestsettlevalue": {
  42436. "description": "结息方式值",
  42437. "type": "integer"
  42438. },
  42439. "isautoloan": {
  42440. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  42441. "type": "integer"
  42442. },
  42443. "loantag": {
  42444. "description": "放款标识: \"放款快\" 或者为空",
  42445. "type": "string"
  42446. },
  42447. "marginratio": {
  42448. "description": "保证金比率质押率 - [仓单质押]",
  42449. "type": "number"
  42450. },
  42451. "productdetailid": {
  42452. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  42453. "type": "integer"
  42454. },
  42455. "productid": {
  42456. "description": "金融产品ID",
  42457. "type": "integer"
  42458. },
  42459. "productname": {
  42460. "description": "产品名称",
  42461. "type": "string"
  42462. },
  42463. "updatetime": {
  42464. "description": "更新时间",
  42465. "type": "string"
  42466. },
  42467. "username": {
  42468. "description": "融出方",
  42469. "type": "string"
  42470. }
  42471. }
  42472. },
  42473. "models.WrFactorTypeInfo": {
  42474. "type": "object",
  42475. "properties": {
  42476. "deliverygoodscode": {
  42477. "description": "品种代码",
  42478. "type": "string"
  42479. },
  42480. "deliverygoodsname": {
  42481. "description": "品种名称",
  42482. "type": "string"
  42483. },
  42484. "dgfactoryitemid": {
  42485. "description": "选择项id",
  42486. "type": "integer"
  42487. },
  42488. "dgfactoryitemtypeid": {
  42489. "description": "要素选择项ID (1-仓库 2-品牌)",
  42490. "type": "integer"
  42491. },
  42492. "dgfactoryitemvalue": {
  42493. "description": "要素项值",
  42494. "type": "string"
  42495. },
  42496. "itemtypename": {
  42497. "description": "要素项名称",
  42498. "type": "string"
  42499. },
  42500. "optioncompare": {
  42501. "description": "选择比较串",
  42502. "type": "string"
  42503. },
  42504. "warehouseid": {
  42505. "description": "仓库id",
  42506. "type": "integer"
  42507. },
  42508. "wrfactortypeid": {
  42509. "description": "仓单要素ID",
  42510. "type": "string"
  42511. },
  42512. "wrfactortypename": {
  42513. "description": "要素名称",
  42514. "type": "string"
  42515. },
  42516. "wrfactortypename2": {
  42517. "description": "要素名称(不含仓库)",
  42518. "type": "string"
  42519. },
  42520. "wrstandardcode": {
  42521. "description": "品类代码",
  42522. "type": "string"
  42523. },
  42524. "wrstandardid": {
  42525. "description": "品类id",
  42526. "type": "integer"
  42527. },
  42528. "wrstandardname": {
  42529. "description": "品类名称",
  42530. "type": "string"
  42531. }
  42532. }
  42533. },
  42534. "models.WrFilterItem": {
  42535. "type": "object",
  42536. "properties": {
  42537. "itemcode": {
  42538. "description": "代码",
  42539. "type": "string"
  42540. },
  42541. "itemid": {
  42542. "description": "项id",
  42543. "type": "integer"
  42544. },
  42545. "itemname": {
  42546. "description": "名称",
  42547. "type": "string"
  42548. },
  42549. "itemtype": {
  42550. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  42551. "type": "integer"
  42552. }
  42553. }
  42554. },
  42555. "models.WrFinanceBuyApply": {
  42556. "type": "object",
  42557. "properties": {
  42558. "applydate": {
  42559. "description": "申请时间",
  42560. "type": "string"
  42561. },
  42562. "applystatus": {
  42563. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  42564. "type": "integer"
  42565. },
  42566. "applyuserid": {
  42567. "description": "申请人",
  42568. "type": "integer"
  42569. },
  42570. "auditdate": {
  42571. "description": "审核时间",
  42572. "type": "string"
  42573. },
  42574. "auditremark": {
  42575. "description": "审核备注",
  42576. "type": "string"
  42577. },
  42578. "audituserid": {
  42579. "description": "审核人",
  42580. "type": "integer"
  42581. },
  42582. "buyaccountid": {
  42583. "description": "买方资金账号",
  42584. "type": "integer"
  42585. },
  42586. "buyorsell": {
  42587. "description": "买卖 - 0:买 1:卖",
  42588. "type": "integer"
  42589. },
  42590. "buyuserid": {
  42591. "description": "买方用户ID",
  42592. "type": "integer"
  42593. },
  42594. "buyusername": {
  42595. "description": "买方名称",
  42596. "type": "string"
  42597. },
  42598. "buywrtradeorderid": {
  42599. "description": "融资方买委托单ID",
  42600. "type": "string"
  42601. },
  42602. "deliverygoodscode": {
  42603. "description": "品种代码",
  42604. "type": "string"
  42605. },
  42606. "deliverygoodsid": {
  42607. "description": "品种ID",
  42608. "type": "integer"
  42609. },
  42610. "deliverygoodsname": {
  42611. "description": "品种名称",
  42612. "type": "string"
  42613. },
  42614. "deliverymonth": {
  42615. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  42616. "type": "string"
  42617. },
  42618. "enumdicname": {
  42619. "description": "单位名称",
  42620. "type": "string"
  42621. },
  42622. "financeaccountid": {
  42623. "description": "融资方资金帐户ID",
  42624. "type": "integer"
  42625. },
  42626. "financeapplyid": {
  42627. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  42628. "type": "string"
  42629. },
  42630. "financeareauserid": {
  42631. "description": "融资方用户ID",
  42632. "type": "string"
  42633. },
  42634. "financename": {
  42635. "description": "融出方名称",
  42636. "type": "string"
  42637. },
  42638. "financetype": {
  42639. "description": "融资类型 1-融资回购",
  42640. "type": "integer"
  42641. },
  42642. "financingdays": {
  42643. "description": "天数(天)",
  42644. "type": "integer"
  42645. },
  42646. "freezebuymargin": {
  42647. "description": "冻结融资保证金(买方)",
  42648. "type": "number"
  42649. },
  42650. "handleremark": {
  42651. "description": "处理备注",
  42652. "type": "string"
  42653. },
  42654. "handlestatus": {
  42655. "description": "处理状态",
  42656. "type": "integer"
  42657. },
  42658. "interestminlen": {
  42659. "description": "最小起息天数",
  42660. "type": "integer"
  42661. },
  42662. "interestrate": {
  42663. "description": "利率",
  42664. "type": "number"
  42665. },
  42666. "interestratemode": {
  42667. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  42668. "type": "integer"
  42669. },
  42670. "interestsettlemode": {
  42671. "description": "结息方式 - 1:按日结息 3:按月结息",
  42672. "type": "integer"
  42673. },
  42674. "interestsettlevalue": {
  42675. "description": "结息方式值",
  42676. "type": "integer"
  42677. },
  42678. "isautoloan": {
  42679. "description": "是否自动放款 - 0:手动 1:自动",
  42680. "type": "integer"
  42681. },
  42682. "marginratio": {
  42683. "description": "保证金比率质押率 - [仓单质押]",
  42684. "type": "number"
  42685. },
  42686. "marketid": {
  42687. "description": "市场ID",
  42688. "type": "integer"
  42689. },
  42690. "minivalue": {
  42691. "description": "现货商品最小变动值",
  42692. "type": "integer"
  42693. },
  42694. "optioncompare": {
  42695. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  42696. "type": "string"
  42697. },
  42698. "orderqty": {
  42699. "description": "委托数量(商品数量)",
  42700. "type": "number"
  42701. },
  42702. "productdetailid": {
  42703. "description": "产品组合ID",
  42704. "type": "integer"
  42705. },
  42706. "productid": {
  42707. "description": "金融产品ID",
  42708. "type": "integer"
  42709. },
  42710. "productname": {
  42711. "description": "产品名称",
  42712. "type": "string"
  42713. },
  42714. "remark": {
  42715. "description": "备注",
  42716. "type": "string"
  42717. },
  42718. "scfcontractid": {
  42719. "description": "仓单回购合同ID",
  42720. "type": "string"
  42721. },
  42722. "sellaccountid": {
  42723. "description": "卖方资金账号",
  42724. "type": "integer"
  42725. },
  42726. "selluserid": {
  42727. "description": "卖方用户ID",
  42728. "type": "integer"
  42729. },
  42730. "sellwrtradeorderid": {
  42731. "description": "卖方委托单ID",
  42732. "type": "string"
  42733. },
  42734. "tradeamount": {
  42735. "description": "成交金额(借款金额)",
  42736. "type": "number"
  42737. },
  42738. "tradedate": {
  42739. "description": "交易日(yyyyMMdd)",
  42740. "type": "string"
  42741. },
  42742. "tradeprice": {
  42743. "description": "成交价格",
  42744. "type": "number"
  42745. },
  42746. "warehouseid": {
  42747. "description": "仓库ID",
  42748. "type": "integer"
  42749. },
  42750. "warehousename": {
  42751. "description": "仓库名称",
  42752. "type": "string"
  42753. },
  42754. "wrfactortypeid": {
  42755. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  42756. "type": "string"
  42757. },
  42758. "wrfactortypename": {
  42759. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  42760. "type": "string"
  42761. },
  42762. "wrpricetype": {
  42763. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  42764. "type": "integer"
  42765. },
  42766. "wrstandardcode": {
  42767. "description": "现货商品代码",
  42768. "type": "string"
  42769. },
  42770. "wrstandardid": {
  42771. "description": "现货商品ID",
  42772. "type": "integer"
  42773. },
  42774. "wrstandardname": {
  42775. "description": "商品名称",
  42776. "type": "string"
  42777. },
  42778. "wrtypename": {
  42779. "description": "商品",
  42780. "type": "string"
  42781. }
  42782. }
  42783. },
  42784. "models.WrFriendApply": {
  42785. "type": "object",
  42786. "properties": {
  42787. "applicantid": {
  42788. "description": "申请人",
  42789. "type": "integer"
  42790. },
  42791. "applyname": {
  42792. "description": "申请人名称",
  42793. "type": "string"
  42794. },
  42795. "applysrc": {
  42796. "description": "申请来源 - 1:管理端 2:终端",
  42797. "type": "integer"
  42798. },
  42799. "applystatus": {
  42800. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  42801. "type": "integer"
  42802. },
  42803. "applytime": {
  42804. "description": "申请时间",
  42805. "type": "string"
  42806. },
  42807. "auditname": {
  42808. "description": "审核人名称",
  42809. "type": "string"
  42810. },
  42811. "auditorid": {
  42812. "description": "审核人",
  42813. "type": "integer"
  42814. },
  42815. "auditremark": {
  42816. "description": "审核备注",
  42817. "type": "string"
  42818. },
  42819. "auditsrc": {
  42820. "description": "审核来源 - 1:管理端 2:终端",
  42821. "type": "integer"
  42822. },
  42823. "audittime": {
  42824. "description": "审核时间",
  42825. "type": "string"
  42826. },
  42827. "friendapplyid": {
  42828. "description": "申请ID(SEQ_FRIENDAPPLY)",
  42829. "type": "string"
  42830. },
  42831. "friendname": {
  42832. "description": "好友名字(已脱敏)",
  42833. "type": "string"
  42834. },
  42835. "frienduserid": {
  42836. "description": "好友用户ID",
  42837. "type": "string"
  42838. },
  42839. "remark": {
  42840. "description": "备注",
  42841. "type": "string"
  42842. },
  42843. "userid": {
  42844. "description": "申请人用户ID",
  42845. "type": "integer"
  42846. }
  42847. }
  42848. },
  42849. "models.WrFtDeliveryGoods": {
  42850. "type": "object",
  42851. "properties": {
  42852. "deliverygoodscode": {
  42853. "description": "品种代码",
  42854. "type": "string"
  42855. },
  42856. "deliverygoodsid": {
  42857. "description": "品种ID",
  42858. "type": "integer"
  42859. },
  42860. "deliverygoodsname": {
  42861. "description": "品种名称",
  42862. "type": "string"
  42863. },
  42864. "wdlst": {
  42865. "description": "商品列表",
  42866. "type": "array",
  42867. "items": {
  42868. "$ref": "#/definitions/models.WrFtWrstandard"
  42869. }
  42870. }
  42871. }
  42872. },
  42873. "models.WrFtWrstandard": {
  42874. "type": "object",
  42875. "properties": {
  42876. "enumdicname": {
  42877. "description": "单位名称",
  42878. "type": "string"
  42879. },
  42880. "minivalue": {
  42881. "description": "最小变动值",
  42882. "type": "integer"
  42883. },
  42884. "wrstandardcode": {
  42885. "description": "现货商品代码",
  42886. "type": "string"
  42887. },
  42888. "wrstandardid": {
  42889. "description": "现货商品ID",
  42890. "type": "integer"
  42891. },
  42892. "wrstandardname": {
  42893. "description": "商品名称",
  42894. "type": "string"
  42895. }
  42896. }
  42897. },
  42898. "models.WrGoodsInfo": {
  42899. "type": "object",
  42900. "properties": {
  42901. "haswr": {
  42902. "description": "0:仓单预售 1:仓单贸易",
  42903. "type": "integer"
  42904. },
  42905. "lstitem": {
  42906. "description": "商品信息项",
  42907. "type": "array",
  42908. "items": {
  42909. "$ref": "#/definitions/models.WrTypeItem"
  42910. }
  42911. },
  42912. "lststep": {
  42913. "description": "履约规则",
  42914. "type": "array",
  42915. "items": {
  42916. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  42917. }
  42918. },
  42919. "marketid": {
  42920. "description": "市场id",
  42921. "type": "integer"
  42922. }
  42923. }
  42924. },
  42925. "models.WrGoodsPerformanceStep": {
  42926. "type": "object",
  42927. "properties": {
  42928. "autoid": {
  42929. "description": "AutoID",
  42930. "type": "integer"
  42931. },
  42932. "isauto": {
  42933. "description": "是否自动 - 0:不自动 1:自动",
  42934. "type": "integer"
  42935. },
  42936. "remark": {
  42937. "description": "备注",
  42938. "type": "string"
  42939. },
  42940. "stepdate": {
  42941. "description": "天数信息(T+N)",
  42942. "type": "string"
  42943. },
  42944. "stepdays": {
  42945. "description": "距离上一步天数",
  42946. "type": "integer"
  42947. },
  42948. "stepindex": {
  42949. "description": "步骤序号",
  42950. "type": "integer"
  42951. },
  42952. "stepinfo": {
  42953. "description": "步骤信息(步骤名称+步骤值)",
  42954. "type": "string"
  42955. },
  42956. "steptypeid": {
  42957. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  42958. "type": "integer"
  42959. },
  42960. "steptypename": {
  42961. "description": "步骤名称",
  42962. "type": "string"
  42963. },
  42964. "stepvalue": {
  42965. "description": "期初均价",
  42966. "type": "number"
  42967. },
  42968. "templateid": {
  42969. "description": "履约计划模板ID",
  42970. "type": "integer"
  42971. }
  42972. }
  42973. },
  42974. "models.WrHoldLB": {
  42975. "type": "object",
  42976. "properties": {
  42977. "accountid": {
  42978. "description": "持有人帐户ID",
  42979. "type": "integer"
  42980. },
  42981. "bannerpicurl": {
  42982. "description": "Banner图",
  42983. "type": "string"
  42984. },
  42985. "createtime": {
  42986. "description": "创建时间(过户时间)",
  42987. "type": "string"
  42988. },
  42989. "deliverygoodscode": {
  42990. "description": "品种代码",
  42991. "type": "string"
  42992. },
  42993. "deliverygoodsid": {
  42994. "description": "品种ID",
  42995. "type": "integer"
  42996. },
  42997. "deliverygoodsname": {
  42998. "description": "品种名称",
  42999. "type": "string"
  43000. },
  43001. "enableqty": {
  43002. "description": "可用数量",
  43003. "type": "number"
  43004. },
  43005. "enumdicname": {
  43006. "description": "单位名称",
  43007. "type": "string"
  43008. },
  43009. "freezerqty": {
  43010. "description": "冻结数量",
  43011. "type": "number"
  43012. },
  43013. "ladingbillid": {
  43014. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  43015. "type": "string"
  43016. },
  43017. "minivalue": {
  43018. "description": "现货商品最小变动值",
  43019. "type": "integer"
  43020. },
  43021. "optioncompare": {
  43022. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  43023. "type": "string"
  43024. },
  43025. "parentsubnum": {
  43026. "description": "拆分父子单号",
  43027. "type": "integer"
  43028. },
  43029. "pledgeqty": {
  43030. "description": "质押数量",
  43031. "type": "number"
  43032. },
  43033. "qty": {
  43034. "description": "数量",
  43035. "type": "number"
  43036. },
  43037. "subnum": {
  43038. "description": "提单子单号",
  43039. "type": "integer"
  43040. },
  43041. "thumurls": {
  43042. "description": "缩略图",
  43043. "type": "string"
  43044. },
  43045. "tradedate": {
  43046. "description": "交易日(yyyyMMdd)",
  43047. "type": "string"
  43048. },
  43049. "userid": {
  43050. "description": "持有人ID",
  43051. "type": "integer"
  43052. },
  43053. "warehouseid": {
  43054. "description": "仓库ID",
  43055. "type": "integer"
  43056. },
  43057. "warehousename": {
  43058. "description": "仓库名称",
  43059. "type": "string"
  43060. },
  43061. "wrfactortypeid": {
  43062. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  43063. "type": "string"
  43064. },
  43065. "wrfactortypename": {
  43066. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  43067. "type": "string"
  43068. },
  43069. "wrholdeno": {
  43070. "description": "仓单编号",
  43071. "type": "string"
  43072. },
  43073. "wrid": {
  43074. "description": "仓单变更ID",
  43075. "type": "string"
  43076. },
  43077. "wrstandardcode": {
  43078. "description": "现货商品代码",
  43079. "type": "string"
  43080. },
  43081. "wrstandardid": {
  43082. "description": "现货商品ID",
  43083. "type": "integer"
  43084. },
  43085. "wrstandardname": {
  43086. "description": "商品名称",
  43087. "type": "string"
  43088. },
  43089. "wrtypename": {
  43090. "description": "商品",
  43091. "type": "string"
  43092. }
  43093. }
  43094. },
  43095. "models.WrMarketTradeConfig": {
  43096. "type": "object",
  43097. "properties": {
  43098. "basisdownratio": {
  43099. "description": "浮动价基差下限比例(仓单贸易)",
  43100. "type": "number"
  43101. },
  43102. "basisupratio": {
  43103. "description": "浮动价基差上限比例(仓单贸易)",
  43104. "type": "number"
  43105. },
  43106. "buychargealgorithm": {
  43107. "description": "买方手续费收取方式 1:比率 2:固定",
  43108. "type": "integer"
  43109. },
  43110. "buychargealgorithm2": {
  43111. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  43112. "type": "integer"
  43113. },
  43114. "buychargealgorithmvalue": {
  43115. "description": "买方手续费设置值(交易所部分)",
  43116. "type": "number"
  43117. },
  43118. "buychargealgorithmvalue2": {
  43119. "description": "买方手续费设置值(会员部分)",
  43120. "type": "number"
  43121. },
  43122. "buychargealgorithmvalue3": {
  43123. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  43124. "type": "number"
  43125. },
  43126. "buychargealgorithmvalue4": {
  43127. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  43128. "type": "number"
  43129. },
  43130. "buyfirstmarginalgorithm": {
  43131. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  43132. "type": "integer"
  43133. },
  43134. "buyfirstmarginvalue": {
  43135. "description": "买方出价保证金设置值 - [竞拍]",
  43136. "type": "number"
  43137. },
  43138. "buymarginalgorithm": {
  43139. "description": "买方保证金方式 - 1:比率 2:固定",
  43140. "type": "integer"
  43141. },
  43142. "buymarginvalue": {
  43143. "description": "买方保证金设置值",
  43144. "type": "number"
  43145. },
  43146. "buyreleaseratio": {
  43147. "description": "买方释放比率[2:分步履约]",
  43148. "type": "number"
  43149. },
  43150. "executemode": {
  43151. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  43152. "type": "integer"
  43153. },
  43154. "executeside": {
  43155. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  43156. "type": "integer"
  43157. },
  43158. "failedchargealgorithm": {
  43159. "description": "流拍手续费收取方式 1:比率 2:固定",
  43160. "type": "integer"
  43161. },
  43162. "failedchargevalue": {
  43163. "description": "流拍手续费设置值",
  43164. "type": "number"
  43165. },
  43166. "failedchargevalue2": {
  43167. "description": "流拍卖方手续费设置值",
  43168. "type": "number"
  43169. },
  43170. "holddays": {
  43171. "description": "合同期限[2:分步履约]",
  43172. "type": "integer"
  43173. },
  43174. "listingmode": {
  43175. "description": "挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  43176. "type": "integer"
  43177. },
  43178. "marketid": {
  43179. "description": "市场ID-仓单贸易、竞拍、预售",
  43180. "type": "integer"
  43181. },
  43182. "minqty": {
  43183. "description": "最小执行量[2:分步履约]",
  43184. "type": "number"
  43185. },
  43186. "modifierid": {
  43187. "description": "修改人",
  43188. "type": "integer"
  43189. },
  43190. "nowrquotaflag": {
  43191. "description": "是否校验无仓单额度(仓单贸易) - 0:否 1:是",
  43192. "type": "integer"
  43193. },
  43194. "performancetempid": {
  43195. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  43196. "type": "integer"
  43197. },
  43198. "performancetempid2": {
  43199. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  43200. "type": "integer"
  43201. },
  43202. "performancetempid2s": {
  43203. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  43204. "type": "string"
  43205. },
  43206. "performancetempids": {
  43207. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  43208. "type": "string"
  43209. },
  43210. "performanceway": {
  43211. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  43212. "type": "integer"
  43213. },
  43214. "sellchargealgorithm": {
  43215. "description": "卖方手续费收取方式 1:比率 2:固定",
  43216. "type": "integer"
  43217. },
  43218. "sellchargealgorithm2": {
  43219. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  43220. "type": "integer"
  43221. },
  43222. "sellchargealgorithmvalue": {
  43223. "description": "卖方手续费设置值(交易所部分)",
  43224. "type": "number"
  43225. },
  43226. "sellchargealgorithmvalue2": {
  43227. "description": "卖方手续费设置值(会员部分)",
  43228. "type": "number"
  43229. },
  43230. "sellchargealgorithmvalue3": {
  43231. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  43232. "type": "number"
  43233. },
  43234. "sellchargealgorithmvalue4": {
  43235. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  43236. "type": "number"
  43237. },
  43238. "sellmarginalgorithm": {
  43239. "description": "卖方保证金方式 - 1:比率 2:固定",
  43240. "type": "integer"
  43241. },
  43242. "sellmarginvalue": {
  43243. "description": "卖方保证金设置值",
  43244. "type": "number"
  43245. },
  43246. "sellmarginvalue2": {
  43247. "description": "卖方保证金设置值(无仓单)",
  43248. "type": "number"
  43249. },
  43250. "sellreleaseratio": {
  43251. "description": "卖方释放比率[2:分步履约]",
  43252. "type": "number"
  43253. },
  43254. "updatetime": {
  43255. "description": "更新时间",
  43256. "type": "string"
  43257. }
  43258. }
  43259. },
  43260. "models.WrOrderDetail": {
  43261. "type": "object",
  43262. "properties": {
  43263. "accountid": {
  43264. "description": "交易账号(资金账号)",
  43265. "type": "integer"
  43266. },
  43267. "allfriendsflag": {
  43268. "description": "是否全好友可见 - 0:否 1:是",
  43269. "type": "integer"
  43270. },
  43271. "amount": {
  43272. "description": "期初均价",
  43273. "type": "number"
  43274. },
  43275. "bannerpicurl": {
  43276. "description": "Banner图",
  43277. "type": "string"
  43278. },
  43279. "begindate": {
  43280. "description": "开始交易日(yyyymmdd)",
  43281. "type": "string"
  43282. },
  43283. "buyorsell": {
  43284. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  43285. "type": "integer"
  43286. },
  43287. "canbargain": {
  43288. "description": "是否可议价 - 0:不可 1:可",
  43289. "type": "integer"
  43290. },
  43291. "cancelqty": {
  43292. "description": "撤销数量",
  43293. "type": "number"
  43294. },
  43295. "canpart": {
  43296. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  43297. "type": "integer"
  43298. },
  43299. "delistminqty": {
  43300. "description": "起摘数量",
  43301. "type": "integer"
  43302. },
  43303. "deliverygoodscode": {
  43304. "description": "品种代码",
  43305. "type": "string"
  43306. },
  43307. "deliverygoodsid": {
  43308. "description": "品种ID",
  43309. "type": "integer"
  43310. },
  43311. "deliverygoodsname": {
  43312. "description": "品种名称",
  43313. "type": "string"
  43314. },
  43315. "deliverymonth": {
  43316. "description": "交收月",
  43317. "type": "string"
  43318. },
  43319. "enddate": {
  43320. "description": "结束交易日(yyyymmdd)",
  43321. "type": "string"
  43322. },
  43323. "enumdicname": {
  43324. "description": "单位名称",
  43325. "type": "string"
  43326. },
  43327. "fixedprice": {
  43328. "description": "固定价格 - [挂牌]",
  43329. "type": "number"
  43330. },
  43331. "freezecharge": {
  43332. "description": "期初均价",
  43333. "type": "number"
  43334. },
  43335. "freezemargin": {
  43336. "description": "期初均价",
  43337. "type": "number"
  43338. },
  43339. "futupricemove": {
  43340. "description": "期货升贴水",
  43341. "type": "number"
  43342. },
  43343. "futushow": {
  43344. "description": "期货合约/升贴水",
  43345. "type": "string"
  43346. },
  43347. "goodscode": {
  43348. "description": "期货合约",
  43349. "type": "string"
  43350. },
  43351. "goodsid": {
  43352. "description": "期货商品id",
  43353. "type": "integer"
  43354. },
  43355. "goodsname": {
  43356. "description": "商品名称",
  43357. "type": "string"
  43358. },
  43359. "haswr": {
  43360. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  43361. "type": "integer"
  43362. },
  43363. "isspecified": {
  43364. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  43365. "type": "integer"
  43366. },
  43367. "ladingbillid": {
  43368. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  43369. "type": "string"
  43370. },
  43371. "marginvalue": {
  43372. "description": "期初均价",
  43373. "type": "number"
  43374. },
  43375. "marketid": {
  43376. "description": "市场ID",
  43377. "type": "integer"
  43378. },
  43379. "matchusername": {
  43380. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  43381. "type": "string"
  43382. },
  43383. "minivalue": {
  43384. "description": "现货商品最小变动值",
  43385. "type": "integer"
  43386. },
  43387. "optioncompare": {
  43388. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  43389. "type": "string"
  43390. },
  43391. "orderqty": {
  43392. "description": "委托数量",
  43393. "type": "number"
  43394. },
  43395. "ordertime": {
  43396. "description": "委托时间(挂牌时间)",
  43397. "type": "string"
  43398. },
  43399. "performancetemplateid": {
  43400. "description": "履约模板id",
  43401. "type": "integer"
  43402. },
  43403. "pricemove": {
  43404. "description": "升贴水(浮动价时填写) - [挂牌]",
  43405. "type": "number"
  43406. },
  43407. "taname": {
  43408. "description": "交易用户名称(资金账号名称)",
  43409. "type": "string"
  43410. },
  43411. "thumurls": {
  43412. "description": "缩略图",
  43413. "type": "string"
  43414. },
  43415. "tradedate": {
  43416. "description": "交易日(yyyyMMdd)",
  43417. "type": "string"
  43418. },
  43419. "tradeprice": {
  43420. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  43421. "type": "number"
  43422. },
  43423. "tradeqty": {
  43424. "description": "成交数量",
  43425. "type": "number"
  43426. },
  43427. "userid": {
  43428. "description": "用户ID",
  43429. "type": "integer"
  43430. },
  43431. "validtime": {
  43432. "description": "挂牌有效期",
  43433. "type": "string"
  43434. },
  43435. "validtype": {
  43436. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  43437. "type": "integer"
  43438. },
  43439. "warehouseid": {
  43440. "description": "仓库ID",
  43441. "type": "integer"
  43442. },
  43443. "warehousename": {
  43444. "description": "仓库名称",
  43445. "type": "string"
  43446. },
  43447. "wrfactortypeid": {
  43448. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  43449. "type": "string"
  43450. },
  43451. "wrfactortypename": {
  43452. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  43453. "type": "string"
  43454. },
  43455. "wrpricetype": {
  43456. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  43457. "type": "integer"
  43458. },
  43459. "wrstandardcode": {
  43460. "description": "现货商品代码",
  43461. "type": "string"
  43462. },
  43463. "wrstandardid": {
  43464. "description": "现货商品ID",
  43465. "type": "integer"
  43466. },
  43467. "wrstandardname": {
  43468. "description": "商品名称",
  43469. "type": "string"
  43470. },
  43471. "wrtradeorderid": {
  43472. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  43473. "type": "string"
  43474. },
  43475. "wrtradeorderstatus": {
  43476. "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:撤单解冻贷款失败",
  43477. "type": "integer"
  43478. },
  43479. "wrtradetype": {
  43480. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  43481. "type": "integer"
  43482. },
  43483. "wrtypename": {
  43484. "description": "商品",
  43485. "type": "string"
  43486. }
  43487. }
  43488. },
  43489. "models.WrOrderQuote": {
  43490. "type": "object",
  43491. "properties": {
  43492. "bannerpicurl": {
  43493. "description": "Banner图",
  43494. "type": "string"
  43495. },
  43496. "buyprice": {
  43497. "description": "买价",
  43498. "type": "number"
  43499. },
  43500. "buypricemove": {
  43501. "description": "买升贴水(基差)",
  43502. "type": "number"
  43503. },
  43504. "buyqty": {
  43505. "description": "买量",
  43506. "type": "number"
  43507. },
  43508. "deliverygoodscode": {
  43509. "description": "品种代码",
  43510. "type": "string"
  43511. },
  43512. "deliverygoodsid": {
  43513. "description": "品种id",
  43514. "type": "integer"
  43515. },
  43516. "deliverygoodsname": {
  43517. "description": "品种名称",
  43518. "type": "string"
  43519. },
  43520. "deliverymonth": {
  43521. "description": "交收月",
  43522. "type": "string"
  43523. },
  43524. "enumdicname": {
  43525. "description": "单位名称",
  43526. "type": "string"
  43527. },
  43528. "goodscode": {
  43529. "description": "商品合约(浮动价列表才有)",
  43530. "type": "string"
  43531. },
  43532. "goodsid": {
  43533. "description": "商品id(浮动价列表才有)",
  43534. "type": "integer"
  43535. },
  43536. "minivalue": {
  43537. "description": "现货商品最小变动值",
  43538. "type": "integer"
  43539. },
  43540. "pictureurls": {
  43541. "description": "详情图片(逗号分隔)",
  43542. "type": "string"
  43543. },
  43544. "sellprice": {
  43545. "description": "卖价",
  43546. "type": "number"
  43547. },
  43548. "sellpricemove": {
  43549. "description": "卖升贴水(基差)",
  43550. "type": "number"
  43551. },
  43552. "sellqty": {
  43553. "description": "卖量",
  43554. "type": "number"
  43555. },
  43556. "thumurls": {
  43557. "description": "缩略图片(1:1)(逗号分隔)",
  43558. "type": "string"
  43559. },
  43560. "warehousecode": {
  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",
  43574. "type": "string"
  43575. },
  43576. "wrfactortypename": {
  43577. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  43578. "type": "string"
  43579. },
  43580. "wrgoodsname": {
  43581. "description": "商品(商品名称+仓库要素名称 拼接)",
  43582. "type": "string"
  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. }
  43597. },
  43598. "models.WrOrderQuoteDetail": {
  43599. "type": "object",
  43600. "properties": {
  43601. "buyorsell": {
  43602. "description": "买卖 - 0:买 1:卖",
  43603. "type": "integer"
  43604. },
  43605. "delistminqty": {
  43606. "description": "期初均价",
  43607. "type": "number"
  43608. },
  43609. "deliverymonth": {
  43610. "description": "交收月",
  43611. "type": "string"
  43612. },
  43613. "enumdicname": {
  43614. "description": "单位名称",
  43615. "type": "string"
  43616. },
  43617. "fixedprice": {
  43618. "description": "买(卖)价",
  43619. "type": "number"
  43620. },
  43621. "marketid": {
  43622. "description": "市场id",
  43623. "type": "integer"
  43624. },
  43625. "minivalue": {
  43626. "description": "现货商品最小变动值",
  43627. "type": "integer"
  43628. },
  43629. "orderqty": {
  43630. "description": "买(卖)量(=委托量-成交量)",
  43631. "type": "number"
  43632. },
  43633. "ordertime": {
  43634. "description": "委托时间",
  43635. "type": "string"
  43636. },
  43637. "pricemove": {
  43638. "description": "买(卖)升贴水- 基差",
  43639. "type": "number"
  43640. },
  43641. "userid": {
  43642. "description": "购买方(销售方)用户ID",
  43643. "type": "integer"
  43644. },
  43645. "username": {
  43646. "description": "购买方(销售方)",
  43647. "type": "string"
  43648. },
  43649. "wrtradeorderid": {
  43650. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  43651. "type": "string"
  43652. }
  43653. }
  43654. },
  43655. "models.WrOutInApply": {
  43656. "type": "object",
  43657. "properties": {
  43658. "applyid": {
  43659. "description": "申请单id",
  43660. "type": "string"
  43661. },
  43662. "applystatus": {
  43663. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  43664. "type": "integer"
  43665. },
  43666. "applytime": {
  43667. "description": "申请时间",
  43668. "type": "string"
  43669. },
  43670. "applytype": {
  43671. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  43672. "type": "integer"
  43673. },
  43674. "bannerpicurl": {
  43675. "description": "Banner图",
  43676. "type": "string"
  43677. },
  43678. "begindate": {
  43679. "description": "开始交易日(yyyymmdd)",
  43680. "type": "string"
  43681. },
  43682. "deliverygoodscode": {
  43683. "description": "品种代码",
  43684. "type": "string"
  43685. },
  43686. "deliverygoodsid": {
  43687. "description": "品种ID",
  43688. "type": "integer"
  43689. },
  43690. "deliverygoodsname": {
  43691. "description": "品种名称",
  43692. "type": "string"
  43693. },
  43694. "enddate": {
  43695. "description": "结束交易日(yyyymmdd)",
  43696. "type": "string"
  43697. },
  43698. "enumdicname": {
  43699. "description": "单位名称",
  43700. "type": "string"
  43701. },
  43702. "expresscompany": {
  43703. "description": "物流公司",
  43704. "type": "string"
  43705. },
  43706. "expressnum": {
  43707. "description": "物流单号",
  43708. "type": "string"
  43709. },
  43710. "minivalue": {
  43711. "description": "现货商品最小变动值",
  43712. "type": "integer"
  43713. },
  43714. "optioncompare": {
  43715. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  43716. "type": "string"
  43717. },
  43718. "qty": {
  43719. "description": "数量",
  43720. "type": "integer"
  43721. },
  43722. "userid": {
  43723. "description": "用户id",
  43724. "type": "integer"
  43725. },
  43726. "warehouseid": {
  43727. "description": "仓库ID",
  43728. "type": "integer"
  43729. },
  43730. "warehousename": {
  43731. "description": "仓库名称",
  43732. "type": "string"
  43733. },
  43734. "wrfactortypeid": {
  43735. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  43736. "type": "string"
  43737. },
  43738. "wrfactortypename": {
  43739. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  43740. "type": "string"
  43741. },
  43742. "wrstandardcode": {
  43743. "description": "现货商品代码",
  43744. "type": "string"
  43745. },
  43746. "wrstandardid": {
  43747. "description": "现货商品ID",
  43748. "type": "integer"
  43749. },
  43750. "wrstandardname": {
  43751. "description": "商品名称",
  43752. "type": "string"
  43753. },
  43754. "wrtypename": {
  43755. "description": "商品",
  43756. "type": "string"
  43757. }
  43758. }
  43759. },
  43760. "models.WrPerformancePlan": {
  43761. "type": "object",
  43762. "required": [
  43763. "userid"
  43764. ],
  43765. "properties": {
  43766. "activatemonth": {
  43767. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  43768. "type": "string"
  43769. },
  43770. "amount": {
  43771. "description": "履约金额(总金额)",
  43772. "type": "number"
  43773. },
  43774. "begindate": {
  43775. "description": "开始交易日(yyyymmdd)",
  43776. "type": "string"
  43777. },
  43778. "buyaccountid": {
  43779. "description": "买方账号",
  43780. "type": "integer"
  43781. },
  43782. "buyerfreezeamount": {
  43783. "description": "履约冻结(买履约)",
  43784. "type": "number"
  43785. },
  43786. "buyerfreezeamountremain": {
  43787. "description": "履约冻结剩余(买履约)",
  43788. "type": "number"
  43789. },
  43790. "buyorsell": {
  43791. "description": "买卖方向 0-买 1-卖",
  43792. "type": "integer"
  43793. },
  43794. "buypaidamount": {
  43795. "description": "买方已冻/已扣金额 (已付金额)",
  43796. "type": "number"
  43797. },
  43798. "buyusername": {
  43799. "description": "买方名字",
  43800. "type": "string"
  43801. },
  43802. "contractid": {
  43803. "description": "合同ID",
  43804. "type": "integer"
  43805. },
  43806. "createtime": {
  43807. "description": "创建时间",
  43808. "type": "string"
  43809. },
  43810. "creatorid": {
  43811. "description": "创建人",
  43812. "type": "integer"
  43813. },
  43814. "curstepdeadline": {
  43815. "description": "当前步骤到期时间",
  43816. "type": "string"
  43817. },
  43818. "curstepid": {
  43819. "description": "当前步骤ID",
  43820. "type": "string"
  43821. },
  43822. "curstepname": {
  43823. "description": "当前步骤名称",
  43824. "type": "string"
  43825. },
  43826. "deliverygoodscode": {
  43827. "description": "品种代码",
  43828. "type": "string"
  43829. },
  43830. "deliverygoodsid": {
  43831. "description": "品种ID",
  43832. "type": "integer"
  43833. },
  43834. "deliverygoodsname": {
  43835. "description": "品种名称",
  43836. "type": "string"
  43837. },
  43838. "enddate": {
  43839. "description": "结束交易日(yyyymmdd)",
  43840. "type": "string"
  43841. },
  43842. "enumdicname": {
  43843. "description": "单位名称",
  43844. "type": "string"
  43845. },
  43846. "expressfee": {
  43847. "description": "运费",
  43848. "type": "number"
  43849. },
  43850. "expressfeeconfirmed": {
  43851. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  43852. "type": "integer"
  43853. },
  43854. "hasovershort": {
  43855. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  43856. "type": "integer"
  43857. },
  43858. "haswr": {
  43859. "description": "类型 0-仓单预售 1-仓单贸易",
  43860. "type": "integer"
  43861. },
  43862. "marketid": {
  43863. "description": "市场ID",
  43864. "type": "integer"
  43865. },
  43866. "middleaccountid": {
  43867. "description": "中间商资金账号ID",
  43868. "type": "integer"
  43869. },
  43870. "middleuserid": {
  43871. "description": "中间商用户ID",
  43872. "type": "integer"
  43873. },
  43874. "minivalue": {
  43875. "description": "现货商品最小变动值",
  43876. "type": "integer"
  43877. },
  43878. "optioncompare": {
  43879. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  43880. "type": "string"
  43881. },
  43882. "overshortamount": {
  43883. "description": "溢短金额",
  43884. "type": "number"
  43885. },
  43886. "overshortqty": {
  43887. "description": "溢短数量",
  43888. "type": "number"
  43889. },
  43890. "paymenttype": {
  43891. "description": "付款方式 - 1:冻结 2:扣款",
  43892. "type": "integer"
  43893. },
  43894. "performanceplanid": {
  43895. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  43896. "type": "string"
  43897. },
  43898. "performancestatus": {
  43899. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  43900. "type": "integer"
  43901. },
  43902. "performancetype": {
  43903. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  43904. "type": "integer"
  43905. },
  43906. "qty": {
  43907. "description": "履约数量",
  43908. "type": "number"
  43909. },
  43910. "relatedorderid": {
  43911. "description": "关联单号(履约类型的关联单号)",
  43912. "type": "string"
  43913. },
  43914. "remark": {
  43915. "description": "备注",
  43916. "type": "string"
  43917. },
  43918. "sellaccountid": {
  43919. "description": "卖方账号",
  43920. "type": "integer"
  43921. },
  43922. "sellerfreezeamount": {
  43923. "description": "履约冻结(卖履约)",
  43924. "type": "number"
  43925. },
  43926. "sellerfreezeamountremain": {
  43927. "description": "履约冻结剩余(卖履约)",
  43928. "type": "number"
  43929. },
  43930. "sellreceivedamount": {
  43931. "description": "卖方已收金额",
  43932. "type": "number"
  43933. },
  43934. "sellusername": {
  43935. "description": "卖方名字",
  43936. "type": "string"
  43937. },
  43938. "shipremark": {
  43939. "description": "发货备注[物流单号]",
  43940. "type": "string"
  43941. },
  43942. "starttime": {
  43943. "description": "开始时间",
  43944. "type": "string"
  43945. },
  43946. "steptypeid": {
  43947. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  43948. "type": "integer"
  43949. },
  43950. "typename": {
  43951. "description": "履约类型 名称",
  43952. "type": "string"
  43953. },
  43954. "unpaidamount": {
  43955. "description": "期初均价",
  43956. "type": "number"
  43957. },
  43958. "userid": {
  43959. "description": "用户id",
  43960. "type": "integer"
  43961. },
  43962. "warehouseid": {
  43963. "description": "仓库ID",
  43964. "type": "integer"
  43965. },
  43966. "warehousename": {
  43967. "description": "仓库名称",
  43968. "type": "string"
  43969. },
  43970. "wrfactortypeid": {
  43971. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  43972. "type": "string"
  43973. },
  43974. "wrfactortypename": {
  43975. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  43976. "type": "string"
  43977. },
  43978. "wrstandardcode": {
  43979. "description": "现货商品代码",
  43980. "type": "string"
  43981. },
  43982. "wrstandardid": {
  43983. "description": "现货商品ID",
  43984. "type": "integer"
  43985. },
  43986. "wrstandardname": {
  43987. "description": "商品名称",
  43988. "type": "string"
  43989. },
  43990. "wrtransferuserid": {
  43991. "description": "仓单受让用户",
  43992. "type": "integer"
  43993. },
  43994. "wrtypename": {
  43995. "description": "商品",
  43996. "type": "string"
  43997. }
  43998. }
  43999. },
  44000. "models.WrPerformancePlanStep": {
  44001. "type": "object",
  44002. "properties": {
  44003. "delaydays": {
  44004. "description": "延期申请天数",
  44005. "type": "integer"
  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. "endtime": {
  44020. "description": "结束日期",
  44021. "type": "string"
  44022. },
  44023. "enumdicname": {
  44024. "description": "单位名称",
  44025. "type": "string"
  44026. },
  44027. "executeside": {
  44028. "description": "步骤执行方 - 1:买方 2:卖方",
  44029. "type": "integer"
  44030. },
  44031. "handlestatus": {
  44032. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  44033. "type": "integer"
  44034. },
  44035. "isauto": {
  44036. "description": "是否自动 - 0:不自动 1:自动",
  44037. "type": "integer"
  44038. },
  44039. "islastreceivestep": {
  44040. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  44041. "type": "integer"
  44042. },
  44043. "minivalue": {
  44044. "description": "现货商品最小变动值",
  44045. "type": "integer"
  44046. },
  44047. "optioncompare": {
  44048. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  44049. "type": "string"
  44050. },
  44051. "overdays": {
  44052. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  44053. "type": "integer"
  44054. },
  44055. "performancestepid": {
  44056. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  44057. "type": "string"
  44058. },
  44059. "planid": {
  44060. "description": "所属履约计划ID",
  44061. "type": "string"
  44062. },
  44063. "realamount": {
  44064. "description": "实际完成金额",
  44065. "type": "number"
  44066. },
  44067. "relatedorderid": {
  44068. "description": "关联单号",
  44069. "type": "string"
  44070. },
  44071. "remaindays": {
  44072. "description": "剩余天数",
  44073. "type": "integer"
  44074. },
  44075. "remark": {
  44076. "description": "错误备注",
  44077. "type": "string"
  44078. },
  44079. "starttime": {
  44080. "description": "开始日期",
  44081. "type": "string"
  44082. },
  44083. "stepamount": {
  44084. "description": "步骤金额",
  44085. "type": "number"
  44086. },
  44087. "stepdays": {
  44088. "description": "距离上一步天数(分钟)",
  44089. "type": "integer"
  44090. },
  44091. "stepindex": {
  44092. "description": "步骤序号",
  44093. "type": "integer"
  44094. },
  44095. "steplanchtype": {
  44096. "description": "步骤启动类型 - 1:系统自动 2:手动",
  44097. "type": "integer"
  44098. },
  44099. "stepremark": {
  44100. "description": "步骤备注",
  44101. "type": "string"
  44102. },
  44103. "stepstatus": {
  44104. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  44105. "type": "integer"
  44106. },
  44107. "steptypeid": {
  44108. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  44109. "type": "integer"
  44110. },
  44111. "steptypename": {
  44112. "description": "步骤名称",
  44113. "type": "string"
  44114. },
  44115. "stepvalue": {
  44116. "description": "步骤值",
  44117. "type": "number"
  44118. },
  44119. "warehouseid": {
  44120. "description": "仓库ID",
  44121. "type": "integer"
  44122. },
  44123. "warehousename": {
  44124. "description": "仓库名称",
  44125. "type": "string"
  44126. },
  44127. "wrfactortypeid": {
  44128. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  44129. "type": "string"
  44130. },
  44131. "wrfactortypename": {
  44132. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  44133. "type": "string"
  44134. },
  44135. "wrstandardcode": {
  44136. "description": "现货商品代码",
  44137. "type": "string"
  44138. },
  44139. "wrstandardid": {
  44140. "description": "现货商品ID",
  44141. "type": "integer"
  44142. },
  44143. "wrstandardname": {
  44144. "description": "商品名称",
  44145. "type": "string"
  44146. },
  44147. "wrtypename": {
  44148. "description": "商品",
  44149. "type": "string"
  44150. }
  44151. }
  44152. },
  44153. "models.WrPerformanceStepType": {
  44154. "type": "object",
  44155. "properties": {
  44156. "canauto": {
  44157. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  44158. "type": "integer"
  44159. },
  44160. "steptypeid": {
  44161. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  44162. "type": "integer"
  44163. },
  44164. "steptypename": {
  44165. "description": "步骤类型名称",
  44166. "type": "string"
  44167. }
  44168. }
  44169. },
  44170. "models.WrPerformanceTemplateEx": {
  44171. "type": "object",
  44172. "properties": {
  44173. "autoid": {
  44174. "description": "AutoID 模板id",
  44175. "type": "integer"
  44176. },
  44177. "createtime": {
  44178. "description": "创建时间",
  44179. "type": "string"
  44180. },
  44181. "creatorid": {
  44182. "description": "创建人",
  44183. "type": "integer"
  44184. },
  44185. "lstStep": {
  44186. "description": "步骤信息列表",
  44187. "type": "array",
  44188. "items": {
  44189. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  44190. }
  44191. },
  44192. "paymenttype": {
  44193. "description": "支付方式 - 1:冻结 2:扣款",
  44194. "type": "integer"
  44195. },
  44196. "takemode": {
  44197. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  44198. "type": "integer"
  44199. },
  44200. "templatename": {
  44201. "description": "模板名称",
  44202. "type": "string"
  44203. },
  44204. "templatetype": {
  44205. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  44206. "type": "integer"
  44207. },
  44208. "userid": {
  44209. "description": "所属用户",
  44210. "type": "integer"
  44211. }
  44212. }
  44213. },
  44214. "models.WrPosition": {
  44215. "type": "object",
  44216. "properties": {
  44217. "accountid": {
  44218. "description": "帐户ID",
  44219. "type": "integer"
  44220. },
  44221. "buyexcuteqty": {
  44222. "description": "采购履约中数量",
  44223. "type": "number"
  44224. },
  44225. "creditcurqty": {
  44226. "description": "授信当前数量(预售仓单:预售当前量)",
  44227. "type": "number"
  44228. },
  44229. "creditenableqty": {
  44230. "description": "授信可用数量(预售仓单: 可用数量)",
  44231. "type": "number"
  44232. },
  44233. "creditfreezeqty": {
  44234. "description": "授信冻结数量(预售仓单: 当前数量)",
  44235. "type": "number"
  44236. },
  44237. "credittotalqty": {
  44238. "description": "授信总数量(预售仓单:预售总量)",
  44239. "type": "number"
  44240. },
  44241. "credittradeqty": {
  44242. "description": "授信成交数量(预售仓单:成交总量)",
  44243. "type": "number"
  44244. },
  44245. "deliverygoodscode": {
  44246. "description": "品种代码",
  44247. "type": "string"
  44248. },
  44249. "deliverygoodsid": {
  44250. "description": "品种ID",
  44251. "type": "integer"
  44252. },
  44253. "deliverygoodsname": {
  44254. "description": "品种名称",
  44255. "type": "string"
  44256. },
  44257. "enalbeqty": {
  44258. "description": "可用数量",
  44259. "type": "number"
  44260. },
  44261. "enumdicname": {
  44262. "description": "单位名称",
  44263. "type": "string"
  44264. },
  44265. "freezeqty": {
  44266. "description": "总冻结数量",
  44267. "type": "number"
  44268. },
  44269. "haswr": {
  44270. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  44271. "type": "integer"
  44272. },
  44273. "minivalue": {
  44274. "description": "现货商品最小变动值",
  44275. "type": "integer"
  44276. },
  44277. "modifytime": {
  44278. "description": "修改时间(过户时间)",
  44279. "type": "string"
  44280. },
  44281. "optioncompare": {
  44282. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  44283. "type": "string"
  44284. },
  44285. "pledgeqty": {
  44286. "description": "质押数量",
  44287. "type": "number"
  44288. },
  44289. "querytype": {
  44290. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  44291. "type": "integer"
  44292. },
  44293. "sellexcuteqty": {
  44294. "description": "销售履约中数量",
  44295. "type": "number"
  44296. },
  44297. "totalqty": {
  44298. "description": "总数量(库存数量)",
  44299. "type": "number"
  44300. },
  44301. "warehouseid": {
  44302. "description": "仓库ID",
  44303. "type": "integer"
  44304. },
  44305. "warehousename": {
  44306. "description": "仓库名称",
  44307. "type": "string"
  44308. },
  44309. "wrfactortypeid": {
  44310. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  44311. "type": "string"
  44312. },
  44313. "wrfactortypename": {
  44314. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  44315. "type": "string"
  44316. },
  44317. "wrpositionid": {
  44318. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  44319. "type": "string"
  44320. },
  44321. "wrpositionno": {
  44322. "description": "仓单编号",
  44323. "type": "string"
  44324. },
  44325. "wrstandardcode": {
  44326. "description": "现货商品代码",
  44327. "type": "string"
  44328. },
  44329. "wrstandardid": {
  44330. "description": "现货商品ID",
  44331. "type": "integer"
  44332. },
  44333. "wrstandardname": {
  44334. "description": "商品名称",
  44335. "type": "string"
  44336. },
  44337. "wrtypename": {
  44338. "description": "商品",
  44339. "type": "string"
  44340. },
  44341. "wruserid": {
  44342. "description": "持有人ID",
  44343. "type": "integer"
  44344. }
  44345. }
  44346. },
  44347. "models.WrPreSaleInfo": {
  44348. "type": "object",
  44349. "properties": {
  44350. "bannerpicurl": {
  44351. "description": "Banner图",
  44352. "type": "string"
  44353. },
  44354. "baseqty": {
  44355. "description": "中签基数",
  44356. "type": "number"
  44357. },
  44358. "createtime": {
  44359. "description": "创建时间",
  44360. "type": "string"
  44361. },
  44362. "deliverygoodsid": {
  44363. "description": "现货品种ID",
  44364. "type": "integer"
  44365. },
  44366. "enddate": {
  44367. "description": "预售结束日期",
  44368. "type": "string"
  44369. },
  44370. "enumdicname": {
  44371. "description": "单位名称",
  44372. "type": "string"
  44373. },
  44374. "lotteryflag": {
  44375. "description": "摇号标识 - 0:未摇号 1:已摇号",
  44376. "type": "integer"
  44377. },
  44378. "lotteryqty": {
  44379. "description": "摇号总量",
  44380. "type": "number"
  44381. },
  44382. "luckyqty": {
  44383. "description": "已中签量",
  44384. "type": "number"
  44385. },
  44386. "marketid": {
  44387. "description": "市场ID",
  44388. "type": "integer"
  44389. },
  44390. "maxbuyqty": {
  44391. "description": "单人最大申购量",
  44392. "type": "number"
  44393. },
  44394. "maxluckyqty": {
  44395. "description": "单人最大中签量",
  44396. "type": "number"
  44397. },
  44398. "pictureurls": {
  44399. "description": "详情图片(逗号分隔)",
  44400. "type": "string"
  44401. },
  44402. "placeqty": {
  44403. "description": "已配售量",
  44404. "type": "number"
  44405. },
  44406. "presaleapplyid": {
  44407. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  44408. "type": "string",
  44409. "example": "0"
  44410. },
  44411. "presaleqty": {
  44412. "description": "预售总量",
  44413. "type": "number"
  44414. },
  44415. "presalestatus": {
  44416. "description": "预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭",
  44417. "type": "integer"
  44418. },
  44419. "sellaccountid": {
  44420. "description": "发行方资金账户ID",
  44421. "type": "integer"
  44422. },
  44423. "selluserid": {
  44424. "description": "发行方用户ID",
  44425. "type": "integer"
  44426. },
  44427. "sellwrtradeorderid": {
  44428. "description": "发行方卖委托单ID",
  44429. "type": "string"
  44430. },
  44431. "startdate": {
  44432. "description": "预售开始日期",
  44433. "type": "string"
  44434. },
  44435. "takestartdate": {
  44436. "description": "提货开始日期",
  44437. "type": "string"
  44438. },
  44439. "thumurls": {
  44440. "description": "缩略图片(1:1)(逗号分隔)",
  44441. "type": "string"
  44442. },
  44443. "tradedate": {
  44444. "description": "交易日",
  44445. "type": "string"
  44446. },
  44447. "unitid": {
  44448. "description": "单位ID",
  44449. "type": "integer"
  44450. },
  44451. "unitprice": {
  44452. "description": "商品单价",
  44453. "type": "number"
  44454. },
  44455. "username": {
  44456. "description": "发行方用户名称",
  44457. "type": "string"
  44458. },
  44459. "warehousecode": {
  44460. "description": "仓库代码(仓库简称)",
  44461. "type": "string"
  44462. },
  44463. "warehouseid": {
  44464. "description": "仓库ID",
  44465. "type": "integer"
  44466. },
  44467. "warehousename": {
  44468. "description": "仓库名称",
  44469. "type": "string"
  44470. },
  44471. "wrfactortypeid": {
  44472. "description": "仓单要素类型ID - 根据现货商品\\仓库生成",
  44473. "type": "string",
  44474. "example": "0"
  44475. },
  44476. "wrstandardid": {
  44477. "description": "现货商品ID",
  44478. "type": "integer"
  44479. },
  44480. "wrstandardname": {
  44481. "description": "现货商品名称",
  44482. "type": "string"
  44483. }
  44484. }
  44485. },
  44486. "models.WrQuoteOrderMyq": {
  44487. "type": "object",
  44488. "properties": {
  44489. "buyorsell": {
  44490. "description": "买卖 - 0:买 1:卖",
  44491. "type": "integer"
  44492. },
  44493. "canbargain": {
  44494. "description": "是否可议价 - 0:不可 1:可",
  44495. "type": "integer"
  44496. },
  44497. "canpart": {
  44498. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  44499. "type": "integer"
  44500. },
  44501. "delistminqty": {
  44502. "description": "期初均价",
  44503. "type": "number"
  44504. },
  44505. "deliverygoodscode": {
  44506. "description": "品种代码",
  44507. "type": "string"
  44508. },
  44509. "deliverygoodsid": {
  44510. "description": "品种ID",
  44511. "type": "integer"
  44512. },
  44513. "deliverygoodsname": {
  44514. "description": "品种名称",
  44515. "type": "string"
  44516. },
  44517. "deliverymonth": {
  44518. "description": "交收月",
  44519. "type": "string"
  44520. },
  44521. "enumdicname": {
  44522. "description": "单位名称",
  44523. "type": "string"
  44524. },
  44525. "fixedprice": {
  44526. "description": "买(卖)价",
  44527. "type": "number"
  44528. },
  44529. "goodscode": {
  44530. "description": "商品合约代码",
  44531. "type": "string"
  44532. },
  44533. "marginflag": {
  44534. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  44535. "type": "integer"
  44536. },
  44537. "marginvalue": {
  44538. "description": "保证金设置值",
  44539. "type": "number"
  44540. },
  44541. "minivalue": {
  44542. "description": "现货商品最小变动值",
  44543. "type": "integer"
  44544. },
  44545. "orderqty": {
  44546. "description": "买(卖)量(=委托量-成交量)",
  44547. "type": "number"
  44548. },
  44549. "ordertime": {
  44550. "description": "委托时间",
  44551. "type": "string"
  44552. },
  44553. "performancetemplateid": {
  44554. "description": "履约模板id",
  44555. "type": "integer"
  44556. },
  44557. "pricemove": {
  44558. "description": "买(卖)升贴水- 基差",
  44559. "type": "number"
  44560. },
  44561. "templatename": {
  44562. "description": "履约模板名称",
  44563. "type": "string"
  44564. },
  44565. "userid": {
  44566. "description": "购买方(销售方)用户ID",
  44567. "type": "integer"
  44568. },
  44569. "username": {
  44570. "description": "购买方(销售方)",
  44571. "type": "string"
  44572. },
  44573. "validtime": {
  44574. "description": "有效期限",
  44575. "type": "string"
  44576. },
  44577. "validtype": {
  44578. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  44579. "type": "integer"
  44580. },
  44581. "warehousename": {
  44582. "description": "仓库名称",
  44583. "type": "string"
  44584. },
  44585. "wrfactortypeid": {
  44586. "description": "仓单要素id",
  44587. "type": "string"
  44588. },
  44589. "wrstandardcode": {
  44590. "description": "现货商品代码",
  44591. "type": "string"
  44592. },
  44593. "wrstandardid": {
  44594. "description": "现货商品ID",
  44595. "type": "integer"
  44596. },
  44597. "wrstandardname": {
  44598. "description": "商品名称",
  44599. "type": "string"
  44600. },
  44601. "wrtradeorderid": {
  44602. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  44603. "type": "string"
  44604. },
  44605. "wrtypename": {
  44606. "description": "商品",
  44607. "type": "string"
  44608. }
  44609. }
  44610. },
  44611. "models.WrReckonSpotGoodsTradeSum": {
  44612. "type": "object",
  44613. "properties": {
  44614. "begindate": {
  44615. "description": "开始日期(结果含开始日期) yyyymmdd",
  44616. "type": "string"
  44617. },
  44618. "enddate": {
  44619. "description": "结束日期(结果含结束日期) yyyymmdd",
  44620. "type": "string"
  44621. },
  44622. "istoday": {
  44623. "description": "是否当日",
  44624. "type": "boolean"
  44625. },
  44626. "marketid": {
  44627. "description": "市场ID",
  44628. "type": "integer"
  44629. },
  44630. "price": {
  44631. "description": "价格 = 日成交金额 / 日成交数量",
  44632. "type": "string"
  44633. },
  44634. "reckondate": {
  44635. "description": "日期 格式 yyyymmdd",
  44636. "type": "string"
  44637. },
  44638. "tradeamount": {
  44639. "description": "期初均价",
  44640. "type": "number"
  44641. },
  44642. "tradeqty": {
  44643. "description": "期初均价",
  44644. "type": "number"
  44645. },
  44646. "wrstandardid": {
  44647. "description": "现货商品ID",
  44648. "type": "integer"
  44649. }
  44650. }
  44651. },
  44652. "models.WrScfContract": {
  44653. "type": "object",
  44654. "properties": {
  44655. "borroweruserid": {
  44656. "description": "借款用户ID",
  44657. "type": "integer"
  44658. },
  44659. "buybackwrpositionqty": {
  44660. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  44661. "type": "number"
  44662. },
  44663. "closeinterest": {
  44664. "description": "已结利息 -\u003e 已结费用",
  44665. "type": "number"
  44666. },
  44667. "currisklevel": {
  44668. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  44669. "type": "integer"
  44670. },
  44671. "deadline": {
  44672. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  44673. "type": "string"
  44674. },
  44675. "deliverygoodscode": {
  44676. "description": "品种代码",
  44677. "type": "string"
  44678. },
  44679. "deliverygoodsid": {
  44680. "description": "品种ID",
  44681. "type": "integer"
  44682. },
  44683. "deliverygoodsname": {
  44684. "description": "品种名称",
  44685. "type": "string"
  44686. },
  44687. "enumdicname": {
  44688. "description": "单位名称",
  44689. "type": "string"
  44690. },
  44691. "financingdays": {
  44692. "description": "天数(天)",
  44693. "type": "integer"
  44694. },
  44695. "initmargin": {
  44696. "description": "保证金 - [仓单回购]",
  44697. "type": "number"
  44698. },
  44699. "interestamount": {
  44700. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  44701. "type": "number"
  44702. },
  44703. "interestdebt": {
  44704. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  44705. "type": "number"
  44706. },
  44707. "interestminlen": {
  44708. "description": "最小起息天数",
  44709. "type": "integer"
  44710. },
  44711. "interestrate": {
  44712. "description": "利率",
  44713. "type": "number"
  44714. },
  44715. "interestratemode": {
  44716. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  44717. "type": "integer"
  44718. },
  44719. "interestsettlemode": {
  44720. "description": "结息方式 - 1:按日结息 3:按月结息",
  44721. "type": "integer"
  44722. },
  44723. "interestsettlevalue": {
  44724. "description": "结息方式值",
  44725. "type": "integer"
  44726. },
  44727. "isautoloan": {
  44728. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  44729. "type": "integer"
  44730. },
  44731. "lastcloseinterestday": {
  44732. "description": "最近结息日(yyyyMMdd)",
  44733. "type": "string"
  44734. },
  44735. "lenderamount": {
  44736. "description": "贷款金额 -\u003e 借款金额",
  44737. "type": "number"
  44738. },
  44739. "lenderuserid": {
  44740. "description": "贷款方用户ID -\u003e 融出方用户ID",
  44741. "type": "integer"
  44742. },
  44743. "lenderusername": {
  44744. "description": "融出方",
  44745. "type": "string"
  44746. },
  44747. "marginratio": {
  44748. "description": "保证金比率质押率 - [仓单质押]",
  44749. "type": "number"
  44750. },
  44751. "marketid": {
  44752. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  44753. "type": "integer"
  44754. },
  44755. "minivalue": {
  44756. "description": "现货商品最小变动值",
  44757. "type": "integer"
  44758. },
  44759. "optioncompare": {
  44760. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  44761. "type": "string"
  44762. },
  44763. "pricemove": {
  44764. "description": "估值升贴水值",
  44765. "type": "number"
  44766. },
  44767. "productdetailid": {
  44768. "description": "产品组合ID",
  44769. "type": "integer"
  44770. },
  44771. "productid": {
  44772. "description": "金融产品ID",
  44773. "type": "integer"
  44774. },
  44775. "productname": {
  44776. "description": "产品名称",
  44777. "type": "string"
  44778. },
  44779. "remainamount": {
  44780. "description": "合同剩余金额 -\u003e 剩余金额",
  44781. "type": "number"
  44782. },
  44783. "remainwrpositionqty": {
  44784. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  44785. "type": "number"
  44786. },
  44787. "remark": {
  44788. "description": "备注",
  44789. "type": "string"
  44790. },
  44791. "scfcontractid": {
  44792. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  44793. "type": "string"
  44794. },
  44795. "scfcontractstatus": {
  44796. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  44797. "type": "integer"
  44798. },
  44799. "scfcontracttype": {
  44800. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  44801. "type": "integer"
  44802. },
  44803. "startinterestday": {
  44804. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  44805. "type": "string"
  44806. },
  44807. "totalinterest": {
  44808. "description": "已计利息 -\u003e 已计费用",
  44809. "type": "number"
  44810. },
  44811. "unpaidinterest": {
  44812. "description": "期初均价",
  44813. "type": "number"
  44814. },
  44815. "updatetime": {
  44816. "description": "更新时间",
  44817. "type": "string"
  44818. },
  44819. "warehouseid": {
  44820. "description": "仓库ID",
  44821. "type": "integer"
  44822. },
  44823. "warehousename": {
  44824. "description": "仓库名称",
  44825. "type": "string"
  44826. },
  44827. "wrfactortypeid": {
  44828. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  44829. "type": "string"
  44830. },
  44831. "wrfactortypename": {
  44832. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  44833. "type": "string"
  44834. },
  44835. "wrqty": {
  44836. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  44837. "type": "number"
  44838. },
  44839. "wrstandardcode": {
  44840. "description": "现货商品代码",
  44841. "type": "string"
  44842. },
  44843. "wrstandardid": {
  44844. "description": "现货商品ID",
  44845. "type": "integer"
  44846. },
  44847. "wrstandardname": {
  44848. "description": "商品名称",
  44849. "type": "string"
  44850. },
  44851. "wrtypename": {
  44852. "description": "商品",
  44853. "type": "string"
  44854. }
  44855. }
  44856. },
  44857. "models.WrScfContractInterest": {
  44858. "type": "object",
  44859. "properties": {
  44860. "closeinterest": {
  44861. "description": "已结利息",
  44862. "type": "number"
  44863. },
  44864. "closeintereststatus": {
  44865. "description": "结息状态 - 1:未结 2:已结",
  44866. "type": "integer"
  44867. },
  44868. "closetime": {
  44869. "description": "结息时间",
  44870. "type": "string"
  44871. },
  44872. "closetradedate": {
  44873. "description": "结息交易日",
  44874. "type": "string"
  44875. },
  44876. "creatorid": {
  44877. "description": "操作人ID",
  44878. "type": "integer"
  44879. },
  44880. "dayrate": {
  44881. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  44882. "type": "number"
  44883. },
  44884. "interest": {
  44885. "description": "利息",
  44886. "type": "number"
  44887. },
  44888. "interestamount": {
  44889. "description": "计息金额",
  44890. "type": "number"
  44891. },
  44892. "interestday": {
  44893. "description": "计息日(yyyyMMdd)",
  44894. "type": "string"
  44895. },
  44896. "scfcontractid": {
  44897. "description": "SCF合同ID",
  44898. "type": "string"
  44899. },
  44900. "scfcontractinterestid": {
  44901. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  44902. "type": "integer"
  44903. },
  44904. "updatetime": {
  44905. "description": "更新时间",
  44906. "type": "string"
  44907. }
  44908. }
  44909. },
  44910. "models.WrSearchUser": {
  44911. "type": "object",
  44912. "required": [
  44913. "username"
  44914. ],
  44915. "properties": {
  44916. "userid": {
  44917. "description": "用户ID",
  44918. "type": "integer"
  44919. },
  44920. "username": {
  44921. "description": "用户名称(已脱敏)",
  44922. "type": "string"
  44923. },
  44924. "username2": {
  44925. "description": "用户名称(未脱敏)",
  44926. "type": "string"
  44927. },
  44928. "usertype": {
  44929. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  44930. "type": "integer"
  44931. }
  44932. }
  44933. },
  44934. "models.WrSiteColumnDetail": {
  44935. "type": "object",
  44936. "properties": {
  44937. "brief": {
  44938. "description": "简介",
  44939. "type": "string"
  44940. },
  44941. "context": {
  44942. "description": "内容",
  44943. "type": "string"
  44944. },
  44945. "coverimage": {
  44946. "description": "封面图片",
  44947. "type": "string"
  44948. },
  44949. "creaedate": {
  44950. "description": "创建时间",
  44951. "type": "string"
  44952. },
  44953. "id": {
  44954. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  44955. "type": "integer"
  44956. },
  44957. "istop": {
  44958. "description": "是否置顶 - 0:不置 1:置顶",
  44959. "type": "integer"
  44960. },
  44961. "publishdate": {
  44962. "description": "发布日期",
  44963. "type": "string"
  44964. },
  44965. "title": {
  44966. "description": "标题",
  44967. "type": "string"
  44968. },
  44969. "updatedate": {
  44970. "description": "修改时间",
  44971. "type": "string"
  44972. }
  44973. }
  44974. },
  44975. "models.WrSpecialMatchOrder": {
  44976. "type": "object",
  44977. "properties": {
  44978. "amount": {
  44979. "description": "金额 = 数量 * 价格",
  44980. "type": "number"
  44981. },
  44982. "buyorsell": {
  44983. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  44984. "type": "integer"
  44985. },
  44986. "cancelqty": {
  44987. "description": "撤销数量",
  44988. "type": "number"
  44989. },
  44990. "deliverygoodscode": {
  44991. "description": "品种代码",
  44992. "type": "string"
  44993. },
  44994. "deliverygoodsid": {
  44995. "description": "品种ID",
  44996. "type": "integer"
  44997. },
  44998. "deliverygoodsname": {
  44999. "description": "品种名称",
  45000. "type": "string"
  45001. },
  45002. "enumdicname": {
  45003. "description": "单位名称",
  45004. "type": "string"
  45005. },
  45006. "fixedprice": {
  45007. "description": "固定价格(价格)",
  45008. "type": "number"
  45009. },
  45010. "haswr": {
  45011. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  45012. "type": "integer"
  45013. },
  45014. "isspecified": {
  45015. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  45016. "type": "integer"
  45017. },
  45018. "marketid": {
  45019. "description": "市场ID",
  45020. "type": "integer"
  45021. },
  45022. "matchuserid": {
  45023. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  45024. "type": "integer"
  45025. },
  45026. "matchusername": {
  45027. "description": "指定方",
  45028. "type": "string"
  45029. },
  45030. "minivalue": {
  45031. "description": "现货商品最小变动值",
  45032. "type": "integer"
  45033. },
  45034. "optioncompare": {
  45035. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  45036. "type": "string"
  45037. },
  45038. "orderqty": {
  45039. "description": "委托数量",
  45040. "type": "number"
  45041. },
  45042. "ordertime": {
  45043. "description": "委托时间",
  45044. "type": "string"
  45045. },
  45046. "pricemove": {
  45047. "description": "升贴水(浮动价时填写) - [挂牌]",
  45048. "type": "number"
  45049. },
  45050. "tradedate": {
  45051. "description": "交易日(yyyyMMdd)",
  45052. "type": "string"
  45053. },
  45054. "tradeprice": {
  45055. "description": "成交价格",
  45056. "type": "number"
  45057. },
  45058. "tradeqty": {
  45059. "description": "成交数量",
  45060. "type": "number"
  45061. },
  45062. "userid": {
  45063. "description": "用户ID",
  45064. "type": "integer"
  45065. },
  45066. "username": {
  45067. "description": "发起方",
  45068. "type": "string"
  45069. },
  45070. "warehouseid": {
  45071. "description": "仓库ID",
  45072. "type": "integer"
  45073. },
  45074. "warehousename": {
  45075. "description": "仓库名称",
  45076. "type": "string"
  45077. },
  45078. "wrfactortypeid": {
  45079. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  45080. "type": "string"
  45081. },
  45082. "wrfactortypename": {
  45083. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  45084. "type": "string"
  45085. },
  45086. "wrpricetype": {
  45087. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  45088. "type": "integer"
  45089. },
  45090. "wrstandardcode": {
  45091. "description": "现货商品代码",
  45092. "type": "string"
  45093. },
  45094. "wrstandardid": {
  45095. "description": "现货商品ID",
  45096. "type": "integer"
  45097. },
  45098. "wrstandardname": {
  45099. "description": "商品名称",
  45100. "type": "string"
  45101. },
  45102. "wrtradeorderid": {
  45103. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  45104. "type": "string"
  45105. },
  45106. "wrtradeorderstatus": {
  45107. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  45108. "type": "integer"
  45109. },
  45110. "wrtradetype": {
  45111. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  45112. "type": "integer"
  45113. },
  45114. "wrtypename": {
  45115. "description": "商品",
  45116. "type": "string"
  45117. }
  45118. }
  45119. },
  45120. "models.WrSpotGroupTradeSum": {
  45121. "type": "object",
  45122. "properties": {
  45123. "deliverygoodscode": {
  45124. "description": "现货品种代码",
  45125. "type": "string"
  45126. },
  45127. "deliverygoodsid": {
  45128. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  45129. "type": "integer"
  45130. },
  45131. "deliverygoodsname": {
  45132. "description": "现货品种名称",
  45133. "type": "string"
  45134. },
  45135. "lastavgprice": {
  45136. "description": "上上个交易日价格(前2天价格)",
  45137. "type": "string"
  45138. },
  45139. "lastreckondate": {
  45140. "description": "上上个交易日(前2天交易日)",
  45141. "type": "string"
  45142. },
  45143. "reckondate": {
  45144. "description": "上个交易日(前1天交易日)",
  45145. "type": "string"
  45146. },
  45147. "todayavgprice": {
  45148. "description": "上个交易日价格(前1天价格)",
  45149. "type": "string"
  45150. },
  45151. "updown": {
  45152. "description": "涨跌",
  45153. "type": "string"
  45154. },
  45155. "updownratio": {
  45156. "description": "涨幅(已格式化, 直接显示即可)",
  45157. "type": "string"
  45158. }
  45159. }
  45160. },
  45161. "models.WrSpotGroupTradeSumDetail": {
  45162. "type": "object",
  45163. "properties": {
  45164. "deliverygoodsid": {
  45165. "description": "现货商品id",
  45166. "type": "integer"
  45167. },
  45168. "price": {
  45169. "description": "价格",
  45170. "type": "number"
  45171. },
  45172. "reckondate": {
  45173. "description": "日期(yyymmdd, 如:20211031)",
  45174. "type": "string"
  45175. }
  45176. }
  45177. },
  45178. "models.WrSpotGroupTradeSumEx": {
  45179. "type": "object",
  45180. "properties": {
  45181. "lst": {
  45182. "description": "指数列表",
  45183. "type": "array",
  45184. "items": {
  45185. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  45186. }
  45187. },
  45188. "prereckondate": {
  45189. "description": "上上个交易日(yyymmdd)",
  45190. "type": "string"
  45191. },
  45192. "reckondate": {
  45193. "description": "上个交易日(yyyymmdd)",
  45194. "type": "string"
  45195. }
  45196. }
  45197. },
  45198. "models.WrStandardFactoryItem": {
  45199. "type": "object",
  45200. "properties": {
  45201. "dgfactoryitemid": {
  45202. "description": "选择项id",
  45203. "type": "integer"
  45204. },
  45205. "dgfactoryitemvalue": {
  45206. "description": "要素项值",
  45207. "type": "string"
  45208. },
  45209. "warehouseid": {
  45210. "description": "仓库id",
  45211. "type": "integer"
  45212. }
  45213. }
  45214. },
  45215. "models.WrStandardFactoryItemEx": {
  45216. "type": "object",
  45217. "properties": {
  45218. "dgfactoryitemtypeid": {
  45219. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  45220. "type": "integer"
  45221. },
  45222. "itemlst": {
  45223. "description": "要素项列表",
  45224. "type": "array",
  45225. "items": {
  45226. "$ref": "#/definitions/models.WrStandardFactoryItem"
  45227. }
  45228. },
  45229. "itemtypename": {
  45230. "description": "要素项类型名称",
  45231. "type": "string"
  45232. },
  45233. "wrstandardid": {
  45234. "description": "品类",
  45235. "type": "integer"
  45236. }
  45237. }
  45238. },
  45239. "models.WrTradeDetail": {
  45240. "type": "object",
  45241. "properties": {
  45242. "accountid": {
  45243. "description": "资金账号",
  45244. "type": "integer"
  45245. },
  45246. "bannerpicurl": {
  45247. "description": "Banner图",
  45248. "type": "string"
  45249. },
  45250. "begindate": {
  45251. "description": "开始交易日(yyyymmdd)",
  45252. "type": "string"
  45253. },
  45254. "buyorsell": {
  45255. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  45256. "type": "integer"
  45257. },
  45258. "chargevalue": {
  45259. "description": "手续费",
  45260. "type": "number"
  45261. },
  45262. "deliverygoodscode": {
  45263. "description": "品种代码",
  45264. "type": "string"
  45265. },
  45266. "deliverygoodsid": {
  45267. "description": "品种ID",
  45268. "type": "integer"
  45269. },
  45270. "deliverygoodsname": {
  45271. "description": "品种名称",
  45272. "type": "string"
  45273. },
  45274. "deliverymonth": {
  45275. "description": "交收月",
  45276. "type": "string"
  45277. },
  45278. "enddate": {
  45279. "description": "结束交易日(yyyymmdd)",
  45280. "type": "string"
  45281. },
  45282. "enumdicname": {
  45283. "description": "单位名称",
  45284. "type": "string"
  45285. },
  45286. "haswr": {
  45287. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  45288. "type": "integer"
  45289. },
  45290. "marketid": {
  45291. "description": "市场ID",
  45292. "type": "integer"
  45293. },
  45294. "matchaccountid": {
  45295. "description": "对手账号",
  45296. "type": "integer"
  45297. },
  45298. "matchusername": {
  45299. "description": "对手方",
  45300. "type": "string"
  45301. },
  45302. "minivalue": {
  45303. "description": "现货商品最小变动值",
  45304. "type": "integer"
  45305. },
  45306. "optioncompare": {
  45307. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  45308. "type": "string"
  45309. },
  45310. "thumurls": {
  45311. "description": "缩略图",
  45312. "type": "string"
  45313. },
  45314. "tradedate": {
  45315. "description": "交易日(yyyyMMdd)",
  45316. "type": "string"
  45317. },
  45318. "tradeprice": {
  45319. "description": "成交价格",
  45320. "type": "number"
  45321. },
  45322. "tradeqty": {
  45323. "description": "成交数量",
  45324. "type": "number"
  45325. },
  45326. "tradetime": {
  45327. "description": "成交时间",
  45328. "type": "string"
  45329. },
  45330. "userid": {
  45331. "description": "用户ID",
  45332. "type": "integer"
  45333. },
  45334. "warehouseid": {
  45335. "description": "仓库ID",
  45336. "type": "integer"
  45337. },
  45338. "warehousename": {
  45339. "description": "仓库名称",
  45340. "type": "string"
  45341. },
  45342. "wrfactortypeid": {
  45343. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  45344. "type": "string"
  45345. },
  45346. "wrfactortypename": {
  45347. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  45348. "type": "string"
  45349. },
  45350. "wrstandardcode": {
  45351. "description": "现货商品代码",
  45352. "type": "string"
  45353. },
  45354. "wrstandardid": {
  45355. "description": "现货商品ID",
  45356. "type": "integer"
  45357. },
  45358. "wrstandardname": {
  45359. "description": "商品名称",
  45360. "type": "string"
  45361. },
  45362. "wrtradedetailid": {
  45363. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  45364. "type": "string"
  45365. },
  45366. "wrtradetype": {
  45367. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  45368. "type": "integer"
  45369. },
  45370. "wrtypename": {
  45371. "description": "商品",
  45372. "type": "string"
  45373. }
  45374. }
  45375. },
  45376. "models.WrTradeOrderDetail": {
  45377. "type": "object",
  45378. "properties": {
  45379. "buyorsell": {
  45380. "description": "买卖方向 0-买 1-卖",
  45381. "type": "integer"
  45382. },
  45383. "goodsid": {
  45384. "description": "商品id",
  45385. "type": "integer"
  45386. },
  45387. "orderid": {
  45388. "description": "委托单号",
  45389. "type": "string"
  45390. },
  45391. "orderprice": {
  45392. "description": "期初均价",
  45393. "type": "number"
  45394. },
  45395. "orderqty": {
  45396. "description": "委托数量",
  45397. "type": "integer"
  45398. },
  45399. "userid": {
  45400. "description": "用户id",
  45401. "type": "integer"
  45402. },
  45403. "username": {
  45404. "description": "用户名称(已脱敏)",
  45405. "type": "string"
  45406. }
  45407. }
  45408. },
  45409. "models.WrTypeItem": {
  45410. "type": "object",
  45411. "properties": {
  45412. "name": {
  45413. "description": "名称",
  45414. "type": "string"
  45415. },
  45416. "value": {
  45417. "description": "值",
  45418. "type": "string"
  45419. }
  45420. }
  45421. },
  45422. "models.WrUserFriend": {
  45423. "type": "object",
  45424. "properties": {
  45425. "friendname": {
  45426. "description": "朋友名称(已脱敏)",
  45427. "type": "string"
  45428. },
  45429. "frienduserid": {
  45430. "description": "朋友id",
  45431. "type": "integer"
  45432. },
  45433. "isfriend": {
  45434. "description": "是否好友 0-不是 1-是",
  45435. "type": "integer"
  45436. },
  45437. "userid": {
  45438. "description": "用户id",
  45439. "type": "integer"
  45440. }
  45441. }
  45442. },
  45443. "models.WrUserReceiptInfo": {
  45444. "type": "object",
  45445. "properties": {
  45446. "address": {
  45447. "description": "地址[发票类型:企业]",
  45448. "type": "string"
  45449. },
  45450. "autoid": {
  45451. "description": "AutoID",
  45452. "type": "integer"
  45453. },
  45454. "contactinfo": {
  45455. "description": "联系方式",
  45456. "type": "string"
  45457. },
  45458. "idnum": {
  45459. "description": "身份证号码[发票类型:个人]",
  45460. "type": "string"
  45461. },
  45462. "isdefault": {
  45463. "description": "是否默认地址 - 0:否 1:是",
  45464. "type": "integer"
  45465. },
  45466. "receiptaccount": {
  45467. "description": "发票帐号[发票类型:企业]",
  45468. "type": "string"
  45469. },
  45470. "receiptbank": {
  45471. "description": "发票开户行[发票类型:企业]",
  45472. "type": "string"
  45473. },
  45474. "receipttype": {
  45475. "description": "发票类型 - 1:个人 2:企业",
  45476. "type": "integer"
  45477. },
  45478. "taxpayerid": {
  45479. "description": "纳税人识别号",
  45480. "type": "string"
  45481. },
  45482. "userid": {
  45483. "description": "用户ID",
  45484. "type": "integer"
  45485. },
  45486. "username": {
  45487. "description": "户名(个人姓名或企业名称)",
  45488. "type": "string"
  45489. }
  45490. }
  45491. },
  45492. "models.Wrtradetradequote": {
  45493. "type": "object",
  45494. "properties": {
  45495. "buyaccountid": {
  45496. "description": "买方账号ID",
  45497. "type": "integer"
  45498. },
  45499. "buychargevalue": {
  45500. "description": "买方手续费",
  45501. "type": "number"
  45502. },
  45503. "buyuserid": {
  45504. "description": "买方用户ID",
  45505. "type": "integer"
  45506. },
  45507. "deliverygoodsid": {
  45508. "description": "现货品种ID",
  45509. "type": "integer"
  45510. },
  45511. "exchangerate": {
  45512. "description": "汇率",
  45513. "type": "number"
  45514. },
  45515. "marketid": {
  45516. "description": "市场ID",
  45517. "type": "integer"
  45518. },
  45519. "oritradeamount": {
  45520. "description": "成交金额[商品币种]",
  45521. "type": "number"
  45522. },
  45523. "performanceplanid": {
  45524. "description": "履约计划ID/合同ID",
  45525. "type": "integer"
  45526. },
  45527. "sellaccountid": {
  45528. "description": "卖方账号ID",
  45529. "type": "integer"
  45530. },
  45531. "sellchargevalue": {
  45532. "description": "卖方手续费",
  45533. "type": "number"
  45534. },
  45535. "selluserid": {
  45536. "description": "卖方用户ID",
  45537. "type": "integer"
  45538. },
  45539. "tradeamount": {
  45540. "description": "成交金额",
  45541. "type": "number"
  45542. },
  45543. "tradedate": {
  45544. "description": "交易日(yyyyMMdd)",
  45545. "type": "string"
  45546. },
  45547. "tradeprice": {
  45548. "description": "成交价格",
  45549. "type": "number"
  45550. },
  45551. "tradeqty": {
  45552. "description": "成交数量",
  45553. "type": "integer"
  45554. },
  45555. "tradetime": {
  45556. "description": "成交时间",
  45557. "type": "string"
  45558. },
  45559. "wrfactortypeid": {
  45560. "description": "仓单要素类型ID",
  45561. "type": "integer"
  45562. },
  45563. "wrstandardid": {
  45564. "description": "现货商品ID",
  45565. "type": "integer"
  45566. },
  45567. "wrtradedetailid": {
  45568. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  45569. "type": "integer"
  45570. }
  45571. }
  45572. },
  45573. "models.XHBRAND": {
  45574. "type": "object",
  45575. "properties": {
  45576. "brandid": {
  45577. "description": "品牌id",
  45578. "type": "integer"
  45579. },
  45580. "brandname": {
  45581. "description": "品牌名称",
  45582. "type": "string"
  45583. },
  45584. "isvalid": {
  45585. "description": "是否有效 0-无效 1-有效",
  45586. "type": "integer"
  45587. }
  45588. }
  45589. },
  45590. "models.XHDeliveryGoods": {
  45591. "type": "object",
  45592. "properties": {
  45593. "areauserid": {
  45594. "description": "所属机构",
  45595. "type": "integer"
  45596. },
  45597. "bdlst": {
  45598. "description": "品牌列表",
  45599. "type": "array",
  45600. "items": {
  45601. "$ref": "#/definitions/models.XHBRAND"
  45602. }
  45603. },
  45604. "deliverygoodscode": {
  45605. "description": "现货品种代码",
  45606. "type": "string"
  45607. },
  45608. "deliverygoodsid": {
  45609. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  45610. "type": "integer"
  45611. },
  45612. "deliverygoodsname": {
  45613. "description": "现货品种名称",
  45614. "type": "string"
  45615. },
  45616. "dgstatus": {
  45617. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  45618. "type": "integer"
  45619. },
  45620. "filterSubEmpty": {
  45621. "description": "过滤下级为空的",
  45622. "type": "integer"
  45623. },
  45624. "isvalid": {
  45625. "description": "是否有效 - 0:无效 1:有效",
  45626. "type": "integer"
  45627. },
  45628. "remark": {
  45629. "description": "备注",
  45630. "type": "string"
  45631. },
  45632. "unitid": {
  45633. "description": "单位id(目前看,数据库中是空值)",
  45634. "type": "integer"
  45635. },
  45636. "wdlst": {
  45637. "description": "品类(现货商品)列表",
  45638. "type": "array",
  45639. "items": {
  45640. "$ref": "#/definitions/models.XHWrstandard"
  45641. }
  45642. }
  45643. }
  45644. },
  45645. "models.XHMiddleGoods": {
  45646. "type": "object",
  45647. "properties": {
  45648. "GPLST": {
  45649. "description": "期货品种列表",
  45650. "type": "array",
  45651. "items": {
  45652. "$ref": "#/definitions/models.TBGoodsGroup"
  45653. }
  45654. },
  45655. "convertratio": {
  45656. "description": "拆算系数",
  45657. "type": "number"
  45658. },
  45659. "costratio": {
  45660. "description": "成本权重",
  45661. "type": "number"
  45662. },
  45663. "deliverygoodsid": {
  45664. "description": "现货商品id",
  45665. "type": "integer"
  45666. },
  45667. "enumdicname": {
  45668. "description": "单位名称",
  45669. "type": "string"
  45670. },
  45671. "middlegoodscode": {
  45672. "description": "套保品种代码",
  45673. "type": "string"
  45674. },
  45675. "middlegoodsid": {
  45676. "description": "套保品种id",
  45677. "type": "integer"
  45678. },
  45679. "middlegoodsname": {
  45680. "description": "套保品种名称",
  45681. "type": "string"
  45682. },
  45683. "unitid": {
  45684. "description": "单位id",
  45685. "type": "integer"
  45686. }
  45687. }
  45688. },
  45689. "models.XHWrstandard": {
  45690. "type": "object",
  45691. "properties": {
  45692. "bannerpicurl": {
  45693. "description": "banner图",
  45694. "type": "string"
  45695. },
  45696. "deliverygoodsid": {
  45697. "description": "品种ID",
  45698. "type": "integer"
  45699. },
  45700. "enumdicname": {
  45701. "description": "单位名称",
  45702. "type": "string"
  45703. },
  45704. "mglst": {
  45705. "description": "套保品列表",
  45706. "type": "array",
  45707. "items": {
  45708. "$ref": "#/definitions/models.XHMiddleGoods"
  45709. }
  45710. },
  45711. "pictureurls": {
  45712. "description": "详情图片(逗号分隔)",
  45713. "type": "string"
  45714. },
  45715. "thumurls": {
  45716. "description": "缩略图片(1:1)(逗号分隔)",
  45717. "type": "string"
  45718. },
  45719. "unitid": {
  45720. "description": "单位id",
  45721. "type": "integer"
  45722. },
  45723. "vatrate": {
  45724. "description": "增值税率",
  45725. "type": "number"
  45726. },
  45727. "wrstandardcode": {
  45728. "description": "现货商品代码",
  45729. "type": "string"
  45730. },
  45731. "wrstandardid": {
  45732. "description": "现货商品ID(SEQ_WRSTANDARD)",
  45733. "type": "integer"
  45734. },
  45735. "wrstandardname": {
  45736. "description": "现货商品名称",
  45737. "type": "string"
  45738. }
  45739. }
  45740. },
  45741. "models.XhcpSellBackApplyEx": {
  45742. "type": "object",
  45743. "required": [
  45744. "userid"
  45745. ],
  45746. "properties": {
  45747. "applyremark": {
  45748. "description": "申请备注",
  45749. "type": "string"
  45750. },
  45751. "expirytype": {
  45752. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  45753. "type": "integer"
  45754. },
  45755. "goodsspec": {
  45756. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  45757. "type": "integer"
  45758. },
  45759. "holeflag": {
  45760. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  45761. "type": "integer"
  45762. },
  45763. "isunopened": {
  45764. "description": "是否原封 - 1:否 2:是",
  45765. "type": "integer"
  45766. },
  45767. "mpflag": {
  45768. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  45769. "type": "integer"
  45770. },
  45771. "openflag": {
  45772. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  45773. "type": "integer"
  45774. },
  45775. "phonenum": {
  45776. "description": "联系电话",
  45777. "type": "string"
  45778. },
  45779. "userid": {
  45780. "description": "所属用户ID",
  45781. "type": "integer"
  45782. },
  45783. "zpflag": {
  45784. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  45785. "type": "integer"
  45786. }
  45787. }
  45788. },
  45789. "models.Xhcpsellbackapply": {
  45790. "type": "object",
  45791. "required": [
  45792. "userid"
  45793. ],
  45794. "properties": {
  45795. "applyid": {
  45796. "description": "申请人",
  45797. "type": "integer"
  45798. },
  45799. "applyremark": {
  45800. "description": "申请备注",
  45801. "type": "string"
  45802. },
  45803. "applysrc": {
  45804. "description": "申请来源 - 1:管理端 2:终端",
  45805. "type": "integer"
  45806. },
  45807. "applystatus": {
  45808. "description": "申请状态 - 1:待确认 2:已处理",
  45809. "type": "integer"
  45810. },
  45811. "applytime": {
  45812. "description": "申请时间",
  45813. "type": "string"
  45814. },
  45815. "auditremark": {
  45816. "description": "审核备注",
  45817. "type": "string"
  45818. },
  45819. "auditsrc": {
  45820. "description": "审核来源 - 1:管理端 2:终端",
  45821. "type": "integer"
  45822. },
  45823. "expirytype": {
  45824. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  45825. "type": "integer"
  45826. },
  45827. "goodsspec": {
  45828. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  45829. "type": "integer"
  45830. },
  45831. "holeflag": {
  45832. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  45833. "type": "integer"
  45834. },
  45835. "isunopened": {
  45836. "description": "是否原封 - 1:否 2:是",
  45837. "type": "integer"
  45838. },
  45839. "mpflag": {
  45840. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  45841. "type": "integer"
  45842. },
  45843. "openflag": {
  45844. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  45845. "type": "integer"
  45846. },
  45847. "phonenum": {
  45848. "description": "联系电话",
  45849. "type": "string"
  45850. },
  45851. "sellbackapplyid": {
  45852. "description": "回收申请ID - SEQ_XHCP_SELLBACKAPPLY",
  45853. "type": "string"
  45854. },
  45855. "userid": {
  45856. "description": "所属用户ID",
  45857. "type": "integer"
  45858. },
  45859. "zpflag": {
  45860. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  45861. "type": "integer"
  45862. }
  45863. }
  45864. },
  45865. "order.QueryHisTradeDetailRsp": {
  45866. "type": "object",
  45867. "required": [
  45868. "accountid",
  45869. "buyorsell",
  45870. "goodsid",
  45871. "histradedate",
  45872. "marketid",
  45873. "memberuserid",
  45874. "orderid",
  45875. "tradeamount",
  45876. "tradedate",
  45877. "tradeid",
  45878. "tradeprice",
  45879. "tradeqty",
  45880. "tradetime"
  45881. ],
  45882. "properties": {
  45883. "accountid": {
  45884. "description": "账户ID[报价币种]",
  45885. "type": "integer"
  45886. },
  45887. "advanceratio": {
  45888. "description": "首付比率",
  45889. "type": "number"
  45890. },
  45891. "buildtype": {
  45892. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  45893. "type": "integer"
  45894. },
  45895. "buyorsell": {
  45896. "description": "方向 - 0:买 1:卖",
  45897. "type": "integer"
  45898. },
  45899. "charge": {
  45900. "description": "手续费",
  45901. "type": "number"
  45902. },
  45903. "closecharge": {
  45904. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  45905. "type": "number"
  45906. },
  45907. "closeexchagechargevalue": {
  45908. "description": "平仓交易所手续费设置值",
  45909. "type": "number"
  45910. },
  45911. "closefeealgorithm": {
  45912. "description": "平仓手续费收取方式 1:比率 2:固定",
  45913. "type": "integer"
  45914. },
  45915. "closememberchargevalue": {
  45916. "description": "平仓会员手续费设置值",
  45917. "type": "number"
  45918. },
  45919. "closepl": {
  45920. "description": "平仓盈亏",
  45921. "type": "number"
  45922. },
  45923. "closepl2": {
  45924. "description": "平仓盈亏[逐笔]",
  45925. "type": "number"
  45926. },
  45927. "closeqty": {
  45928. "description": "平仓数量(先建后平操作 需要记录)",
  45929. "type": "number"
  45930. },
  45931. "creditamount": {
  45932. "description": "授信金额",
  45933. "type": "number"
  45934. },
  45935. "decimalplace": {
  45936. "description": "商品报价小数位",
  45937. "type": "integer"
  45938. },
  45939. "enumdicname": {
  45940. "description": "单位名称",
  45941. "type": "string"
  45942. },
  45943. "gcaccountid": {
  45944. "description": "账户ID[合约币种]",
  45945. "type": "integer"
  45946. },
  45947. "goodscode": {
  45948. "description": "商品代码",
  45949. "type": "string"
  45950. },
  45951. "goodsid": {
  45952. "description": "商品ID",
  45953. "type": "integer"
  45954. },
  45955. "goodsname": {
  45956. "description": "商品名称",
  45957. "type": "string"
  45958. },
  45959. "goodunitid": {
  45960. "description": "商品单位id",
  45961. "type": "integer"
  45962. },
  45963. "histradedate": {
  45964. "description": "历史交易日",
  45965. "type": "string"
  45966. },
  45967. "intclosepl": {
  45968. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  45969. "type": "integer"
  45970. },
  45971. "isconfirmexercise": {
  45972. "description": "是否确认行权- 0:否 1:是",
  45973. "type": "integer"
  45974. },
  45975. "ismain": {
  45976. "description": "是否主单 - 0:不是 1:是",
  45977. "type": "integer"
  45978. },
  45979. "ispreexercise": {
  45980. "description": "是否预申报- 0:否 1:是",
  45981. "type": "integer"
  45982. },
  45983. "isreckoned": {
  45984. "description": "是否结算 - 0:未结算 1:已结算",
  45985. "type": "integer"
  45986. },
  45987. "isvaliddata": {
  45988. "description": "是否有效 - 0:无效 1:有效",
  45989. "type": "integer"
  45990. },
  45991. "listingselecttype": {
  45992. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  45993. "type": "integer"
  45994. },
  45995. "marketid": {
  45996. "description": "市场ID",
  45997. "type": "integer"
  45998. },
  45999. "marketname": {
  46000. "description": "市场名称",
  46001. "type": "string"
  46002. },
  46003. "matchaccountid": {
  46004. "description": "对手账号id",
  46005. "type": "integer"
  46006. },
  46007. "memberuserid": {
  46008. "description": "会员id 个人投资者 需要填写",
  46009. "type": "integer"
  46010. },
  46011. "opencharge": {
  46012. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  46013. "type": "number"
  46014. },
  46015. "openexchagechargevalue": {
  46016. "description": "建仓交易所手续费设置值",
  46017. "type": "number"
  46018. },
  46019. "openfeealgorithm": {
  46020. "description": "建仓手续费收取方式 1:比率 2:固定",
  46021. "type": "integer"
  46022. },
  46023. "openmemberchargevalue": {
  46024. "description": "建仓会员手续费设置值",
  46025. "type": "number"
  46026. },
  46027. "openqty": {
  46028. "description": "开仓数量(先建后平操作 需要记录)",
  46029. "type": "number"
  46030. },
  46031. "optiontype": {
  46032. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  46033. "type": "integer"
  46034. },
  46035. "orderid": {
  46036. "description": "委托单号",
  46037. "type": "string"
  46038. },
  46039. "payamount": {
  46040. "description": "支付金额(付款金额)",
  46041. "type": "number"
  46042. },
  46043. "performanceplanid": {
  46044. "description": "履约计划ID[期权]",
  46045. "type": "integer"
  46046. },
  46047. "performancestatus": {
  46048. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  46049. "type": "integer"
  46050. },
  46051. "preexerciseprice": {
  46052. "description": "预申报价格",
  46053. "type": "number"
  46054. },
  46055. "premium": {
  46056. "description": "权利金 - [持仓单的权利金]",
  46057. "type": "number"
  46058. },
  46059. "qtydecimalplace": {
  46060. "description": "商品报价小数位",
  46061. "type": "integer"
  46062. },
  46063. "recvamount": {
  46064. "description": "到账金额 = 成交金额 - 手续费",
  46065. "type": "number"
  46066. },
  46067. "relatedouttradeid": {
  46068. "description": "关联外部成交单ID",
  46069. "type": "integer"
  46070. },
  46071. "status": {
  46072. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  46073. "type": "integer"
  46074. },
  46075. "totalamount": {
  46076. "description": "订单总额 = 成交金额 + 手续费",
  46077. "type": "number"
  46078. },
  46079. "tradeamount": {
  46080. "description": "成交金额[账户币种,用于所有权]",
  46081. "type": "number"
  46082. },
  46083. "tradedate": {
  46084. "description": "交易日(yyyyMMdd)",
  46085. "type": "string"
  46086. },
  46087. "tradeid": {
  46088. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  46089. "type": "string"
  46090. },
  46091. "trademode": {
  46092. "description": "交易模式",
  46093. "type": "integer"
  46094. },
  46095. "tradeprice": {
  46096. "description": "成交价格",
  46097. "type": "number"
  46098. },
  46099. "tradeproperty": {
  46100. "description": "交易属性",
  46101. "type": "integer"
  46102. },
  46103. "tradeqty": {
  46104. "description": "成交数量",
  46105. "type": "number"
  46106. },
  46107. "tradetime": {
  46108. "description": "成交时间",
  46109. "type": "string"
  46110. },
  46111. "tradetype": {
  46112. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  46113. "type": "integer"
  46114. }
  46115. }
  46116. },
  46117. "order.QueryHisTradeOrderDetailRsp": {
  46118. "type": "object",
  46119. "required": [
  46120. "accountid",
  46121. "buildtype",
  46122. "buyorsell",
  46123. "goodsid",
  46124. "histradedate",
  46125. "marketid",
  46126. "memberuserid",
  46127. "operatetype",
  46128. "orderid",
  46129. "orderqty",
  46130. "ordertime",
  46131. "pricemode",
  46132. "tradedate",
  46133. "validtype"
  46134. ],
  46135. "properties": {
  46136. "accountid": {
  46137. "description": "账户ID[报价币种]",
  46138. "type": "integer"
  46139. },
  46140. "buildtype": {
  46141. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  46142. "type": "integer"
  46143. },
  46144. "buyorsell": {
  46145. "description": "买卖 - 0:买 1:卖",
  46146. "type": "integer"
  46147. },
  46148. "cancelorderid": {
  46149. "description": "撤单单号(撤单时填写)",
  46150. "type": "string"
  46151. },
  46152. "cancelqty": {
  46153. "description": "撤单数量",
  46154. "type": "number"
  46155. },
  46156. "clientordertime": {
  46157. "description": "客户端委托时间",
  46158. "type": "string"
  46159. },
  46160. "clientticket": {
  46161. "description": "客户端流水号",
  46162. "type": "string"
  46163. },
  46164. "clienttype": {
  46165. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  46166. "type": "integer"
  46167. },
  46168. "closeexchagechargevalue": {
  46169. "description": "平仓交易所手续费设置值",
  46170. "type": "number"
  46171. },
  46172. "closefeealgorithm": {
  46173. "description": "平仓手续费收取方式 1:比率 2:固定",
  46174. "type": "integer"
  46175. },
  46176. "closefreezecharge": {
  46177. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  46178. "type": "number"
  46179. },
  46180. "closememberchargevalue": {
  46181. "description": "平仓会员手续费设置值",
  46182. "type": "number"
  46183. },
  46184. "closeqty": {
  46185. "description": "平仓数量(先建后平操作 需要记录)",
  46186. "type": "number"
  46187. },
  46188. "closetradeqty": {
  46189. "description": "平仓成交数量(先建后平操作,需要记录)",
  46190. "type": "number"
  46191. },
  46192. "closeunfreezecharge": {
  46193. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  46194. "type": "number"
  46195. },
  46196. "decimalplace": {
  46197. "description": "商品报价小数位",
  46198. "type": "integer"
  46199. },
  46200. "delistingtype": {
  46201. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  46202. "type": "integer"
  46203. },
  46204. "enumdicname": {
  46205. "description": "单位名称",
  46206. "type": "string"
  46207. },
  46208. "freezecharge": {
  46209. "description": "冻结手续费",
  46210. "type": "number"
  46211. },
  46212. "freezemargin": {
  46213. "description": "冻结保证金(冻结交易金额)",
  46214. "type": "number"
  46215. },
  46216. "gcaccountid": {
  46217. "description": "账户ID[合约币种]",
  46218. "type": "integer"
  46219. },
  46220. "goodscode": {
  46221. "description": "商品代码",
  46222. "type": "string"
  46223. },
  46224. "goodsid": {
  46225. "description": "商品ID",
  46226. "type": "integer"
  46227. },
  46228. "goodsname": {
  46229. "description": "商品名称",
  46230. "type": "string"
  46231. },
  46232. "goodunitid": {
  46233. "description": "商品单位id",
  46234. "type": "integer"
  46235. },
  46236. "histradedate": {
  46237. "description": "历史交易日",
  46238. "type": "string"
  46239. },
  46240. "isconfirmexercise": {
  46241. "description": "是否确认行权- 0:否 1:是",
  46242. "type": "integer"
  46243. },
  46244. "ispreexercise": {
  46245. "description": "是否预申报- 0:否 1:是",
  46246. "type": "integer"
  46247. },
  46248. "isvaliddata": {
  46249. "description": "是否有效 - 0:无效 1:有效",
  46250. "type": "integer"
  46251. },
  46252. "listingselecttype": {
  46253. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  46254. "type": "integer"
  46255. },
  46256. "marginalgorithm": {
  46257. "description": "保证金收取方式 1:比率 2:固定",
  46258. "type": "integer"
  46259. },
  46260. "marginvalue": {
  46261. "description": "即市保证金设置值",
  46262. "type": "number"
  46263. },
  46264. "marketid": {
  46265. "description": "市场ID",
  46266. "type": "integer"
  46267. },
  46268. "marketmaxsub": {
  46269. "description": "市价最大偏移范围",
  46270. "type": "number"
  46271. },
  46272. "marketname": {
  46273. "description": "市场名称",
  46274. "type": "string"
  46275. },
  46276. "memberuserid": {
  46277. "description": "所属会员UserID",
  46278. "type": "integer"
  46279. },
  46280. "openexchagechargevalue": {
  46281. "description": "建仓交易所手续费设置值",
  46282. "type": "number"
  46283. },
  46284. "openfeealgorithm": {
  46285. "description": "建仓手续费收取方式 1:比率 2:固定",
  46286. "type": "integer"
  46287. },
  46288. "openfreezecharge": {
  46289. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  46290. "type": "number"
  46291. },
  46292. "openmemberchargevalue": {
  46293. "description": "建仓会员手续费设置值",
  46294. "type": "number"
  46295. },
  46296. "openqty": {
  46297. "description": "开仓数量(先建后平操作,需要记录)",
  46298. "type": "number"
  46299. },
  46300. "opentradeqty": {
  46301. "description": "开仓成交数量(先建后平操作,需要记录)",
  46302. "type": "number"
  46303. },
  46304. "openunfreezecharge": {
  46305. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  46306. "type": "number"
  46307. },
  46308. "operatetype": {
  46309. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  46310. "type": "integer"
  46311. },
  46312. "operatorid": {
  46313. "description": "登录账号(LoginID)",
  46314. "type": "integer"
  46315. },
  46316. "optiontype": {
  46317. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  46318. "type": "integer"
  46319. },
  46320. "orderid": {
  46321. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  46322. "type": "string"
  46323. },
  46324. "orderprice": {
  46325. "description": "委托价格",
  46326. "type": "number"
  46327. },
  46328. "orderqty": {
  46329. "description": "委托数量",
  46330. "type": "number"
  46331. },
  46332. "ordersrc": {
  46333. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  46334. "type": "integer"
  46335. },
  46336. "orderstatus": {
  46337. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  46338. "type": "integer"
  46339. },
  46340. "ordertime": {
  46341. "description": "委托时间",
  46342. "type": "string"
  46343. },
  46344. "preexerciseprice": {
  46345. "description": "预申报价格",
  46346. "type": "number"
  46347. },
  46348. "premium": {
  46349. "description": "权利金",
  46350. "type": "number"
  46351. },
  46352. "preorderid": {
  46353. "description": "关联预埋单号(止盈止损单时填写)",
  46354. "type": "string"
  46355. },
  46356. "pricemode": {
  46357. "description": "取价方式 - 1:市价 2: 限价",
  46358. "type": "integer"
  46359. },
  46360. "qtydecimalplace": {
  46361. "description": "成交量小数位",
  46362. "type": "integer"
  46363. },
  46364. "quoteid": {
  46365. "description": "报价单ID",
  46366. "type": "integer"
  46367. },
  46368. "relatedid": {
  46369. "description": "关联单号(交割单)",
  46370. "type": "string"
  46371. },
  46372. "retcode": {
  46373. "description": "错误代码",
  46374. "type": "integer"
  46375. },
  46376. "sessionid": {
  46377. "description": "会话ID",
  46378. "type": "integer"
  46379. },
  46380. "tradedate": {
  46381. "description": "交易日(yyyyMMdd)",
  46382. "type": "string"
  46383. },
  46384. "trademode": {
  46385. "description": "交易模式",
  46386. "type": "integer"
  46387. },
  46388. "tradeproperty": {
  46389. "description": "交易属性",
  46390. "type": "integer"
  46391. },
  46392. "tradeqty": {
  46393. "description": "成交数量",
  46394. "type": "number"
  46395. },
  46396. "unfreezecharge": {
  46397. "description": "解冻手续费",
  46398. "type": "number"
  46399. },
  46400. "unfreezemargin": {
  46401. "description": "解冻保证金",
  46402. "type": "number"
  46403. },
  46404. "updatetime": {
  46405. "description": "更新时间",
  46406. "type": "string"
  46407. },
  46408. "uuid": {
  46409. "description": "发起端唯一id",
  46410. "type": "string"
  46411. },
  46412. "validtime": {
  46413. "description": "有效期限",
  46414. "type": "string"
  46415. },
  46416. "validtype": {
  46417. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  46418. "type": "integer"
  46419. },
  46420. "volumetype": {
  46421. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  46422. "type": "integer"
  46423. }
  46424. }
  46425. },
  46426. "order.QueryTradeDetailRsp": {
  46427. "type": "object",
  46428. "required": [
  46429. "accountid",
  46430. "buyorsell",
  46431. "goodsid",
  46432. "marketid",
  46433. "memberuserid",
  46434. "orderid",
  46435. "tradeamount",
  46436. "tradedate",
  46437. "tradeid",
  46438. "tradeprice",
  46439. "tradeqty",
  46440. "tradetime"
  46441. ],
  46442. "properties": {
  46443. "accountid": {
  46444. "description": "账户ID[报价币种]",
  46445. "type": "integer"
  46446. },
  46447. "advanceratio": {
  46448. "description": "首付比率",
  46449. "type": "number"
  46450. },
  46451. "buildtype": {
  46452. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  46453. "type": "integer"
  46454. },
  46455. "buyorsell": {
  46456. "description": "方向 - 0:买 1:卖",
  46457. "type": "integer"
  46458. },
  46459. "charge": {
  46460. "description": "手续费",
  46461. "type": "number"
  46462. },
  46463. "closecharge": {
  46464. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  46465. "type": "number"
  46466. },
  46467. "closeexchagechargevalue": {
  46468. "description": "平仓交易所手续费设置值",
  46469. "type": "number"
  46470. },
  46471. "closefeealgorithm": {
  46472. "description": "平仓手续费收取方式 1:比率 2:固定",
  46473. "type": "integer"
  46474. },
  46475. "closememberchargevalue": {
  46476. "description": "平仓会员手续费设置值",
  46477. "type": "number"
  46478. },
  46479. "closepl": {
  46480. "description": "平仓盈亏",
  46481. "type": "number"
  46482. },
  46483. "closepl2": {
  46484. "description": "平仓盈亏[逐笔]",
  46485. "type": "number"
  46486. },
  46487. "closeqty": {
  46488. "description": "平仓数量(先建后平操作 需要记录)",
  46489. "type": "number"
  46490. },
  46491. "creditamount": {
  46492. "description": "授信金额",
  46493. "type": "number"
  46494. },
  46495. "decimalplace": {
  46496. "description": "商品报价小数位",
  46497. "type": "integer"
  46498. },
  46499. "enumdicname": {
  46500. "description": "单位名称",
  46501. "type": "string"
  46502. },
  46503. "gcaccountid": {
  46504. "description": "账户ID[合约币种]",
  46505. "type": "integer"
  46506. },
  46507. "goodscode": {
  46508. "description": "商品代码",
  46509. "type": "string"
  46510. },
  46511. "goodsid": {
  46512. "description": "商品ID",
  46513. "type": "integer"
  46514. },
  46515. "goodsname": {
  46516. "description": "商品名称",
  46517. "type": "string"
  46518. },
  46519. "goodunitid": {
  46520. "description": "商品单位id",
  46521. "type": "integer"
  46522. },
  46523. "intclosepl": {
  46524. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  46525. "type": "integer"
  46526. },
  46527. "isconfirmexercise": {
  46528. "description": "是否确认行权- 0:否 1:是",
  46529. "type": "integer"
  46530. },
  46531. "ismain": {
  46532. "description": "是否主单 - 0:不是 1:是",
  46533. "type": "integer"
  46534. },
  46535. "ispreexercise": {
  46536. "description": "是否预申报- 0:否 1:是",
  46537. "type": "integer"
  46538. },
  46539. "isreckoned": {
  46540. "description": "是否结算 - 0:未结算 1:已结算",
  46541. "type": "integer"
  46542. },
  46543. "listingselecttype": {
  46544. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  46545. "type": "integer"
  46546. },
  46547. "marketid": {
  46548. "description": "市场ID",
  46549. "type": "integer"
  46550. },
  46551. "marketname": {
  46552. "description": "市场名称",
  46553. "type": "string"
  46554. },
  46555. "matchaccountid": {
  46556. "description": "对手账号id",
  46557. "type": "integer"
  46558. },
  46559. "memberuserid": {
  46560. "description": "会员id 个人投资者 需要填写",
  46561. "type": "integer"
  46562. },
  46563. "opencharge": {
  46564. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  46565. "type": "number"
  46566. },
  46567. "openexchagechargevalue": {
  46568. "description": "建仓交易所手续费设置值",
  46569. "type": "number"
  46570. },
  46571. "openfeealgorithm": {
  46572. "description": "建仓手续费收取方式 1:比率 2:固定",
  46573. "type": "integer"
  46574. },
  46575. "openmemberchargevalue": {
  46576. "description": "建仓会员手续费设置值",
  46577. "type": "number"
  46578. },
  46579. "openqty": {
  46580. "description": "开仓数量(先建后平操作 需要记录)",
  46581. "type": "number"
  46582. },
  46583. "optiontype": {
  46584. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  46585. "type": "integer"
  46586. },
  46587. "orderid": {
  46588. "description": "委托单号",
  46589. "type": "string"
  46590. },
  46591. "payamount": {
  46592. "description": "支付金额(付款金额)",
  46593. "type": "number"
  46594. },
  46595. "performanceplanid": {
  46596. "description": "履约计划ID[期权]",
  46597. "type": "integer"
  46598. },
  46599. "performancestatus": {
  46600. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  46601. "type": "integer"
  46602. },
  46603. "preexerciseprice": {
  46604. "description": "预申报价格",
  46605. "type": "number"
  46606. },
  46607. "premium": {
  46608. "description": "权利金 - [持仓单的权利金]",
  46609. "type": "number"
  46610. },
  46611. "qtydecimalplace": {
  46612. "description": "商品报价小数位",
  46613. "type": "integer"
  46614. },
  46615. "recvamount": {
  46616. "description": "到账金额 = 成交金额 - 手续费",
  46617. "type": "number"
  46618. },
  46619. "relatedouttradeid": {
  46620. "description": "关联外部成交单ID",
  46621. "type": "integer"
  46622. },
  46623. "status": {
  46624. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  46625. "type": "integer"
  46626. },
  46627. "totalamount": {
  46628. "description": "订单总额 = 成交金额 + 手续费",
  46629. "type": "number"
  46630. },
  46631. "tradeamount": {
  46632. "description": "成交金额[账户币种,用于所有权]",
  46633. "type": "number"
  46634. },
  46635. "tradedate": {
  46636. "description": "交易日(yyyyMMdd)",
  46637. "type": "string"
  46638. },
  46639. "tradeid": {
  46640. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  46641. "type": "string"
  46642. },
  46643. "trademode": {
  46644. "description": "交易模式",
  46645. "type": "integer"
  46646. },
  46647. "tradeprice": {
  46648. "description": "成交价格",
  46649. "type": "number"
  46650. },
  46651. "tradeproperty": {
  46652. "description": "交易属性",
  46653. "type": "integer"
  46654. },
  46655. "tradeqty": {
  46656. "description": "成交数量",
  46657. "type": "number"
  46658. },
  46659. "tradetime": {
  46660. "description": "成交时间",
  46661. "type": "string"
  46662. },
  46663. "tradetype": {
  46664. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  46665. "type": "integer"
  46666. }
  46667. }
  46668. },
  46669. "order.QueryTradeOrderDetailRsp": {
  46670. "type": "object",
  46671. "required": [
  46672. "accountid",
  46673. "buildtype",
  46674. "buyorsell",
  46675. "goodsid",
  46676. "marketid",
  46677. "operatetype",
  46678. "orderqty",
  46679. "ordertime",
  46680. "pricemode",
  46681. "tradedate",
  46682. "validtype"
  46683. ],
  46684. "properties": {
  46685. "accountid": {
  46686. "description": "账户ID[报价币种]",
  46687. "type": "integer"
  46688. },
  46689. "buildtype": {
  46690. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  46691. "type": "integer"
  46692. },
  46693. "buyorsell": {
  46694. "description": "买卖 - 0:买 1:卖",
  46695. "type": "integer"
  46696. },
  46697. "cancelorderid": {
  46698. "description": "撤单单号(撤单时填写)",
  46699. "type": "string"
  46700. },
  46701. "cancelqty": {
  46702. "description": "撤单数量",
  46703. "type": "number"
  46704. },
  46705. "clienttype": {
  46706. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  46707. "type": "integer"
  46708. },
  46709. "closefreezecharge": {
  46710. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  46711. "type": "number"
  46712. },
  46713. "closeqty": {
  46714. "description": "平仓数量(先建后平操作 需要记录)",
  46715. "type": "number"
  46716. },
  46717. "closetradeqty": {
  46718. "description": "平仓成交数量(先建后平操作,需要记录)",
  46719. "type": "number"
  46720. },
  46721. "closeunfreezecharge": {
  46722. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  46723. "type": "number"
  46724. },
  46725. "decimalplace": {
  46726. "description": "商品报价小数位",
  46727. "type": "integer"
  46728. },
  46729. "delistingtype": {
  46730. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  46731. "type": "integer"
  46732. },
  46733. "enableqty": {
  46734. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  46735. "type": "number"
  46736. },
  46737. "enumdicname": {
  46738. "description": "单位名称",
  46739. "type": "string"
  46740. },
  46741. "freezecharge": {
  46742. "description": "冻结手续费",
  46743. "type": "number"
  46744. },
  46745. "freezemargin": {
  46746. "description": "冻结保证金(冻结交易金额)",
  46747. "type": "number"
  46748. },
  46749. "goodscode": {
  46750. "description": "商品代码",
  46751. "type": "string"
  46752. },
  46753. "goodsid": {
  46754. "description": "商品ID",
  46755. "type": "integer"
  46756. },
  46757. "goodsname": {
  46758. "description": "商品名称",
  46759. "type": "string"
  46760. },
  46761. "goodunitid": {
  46762. "description": "商品单位id",
  46763. "type": "integer"
  46764. },
  46765. "listingselecttype": {
  46766. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  46767. "type": "integer"
  46768. },
  46769. "marketid": {
  46770. "description": "市场ID",
  46771. "type": "integer"
  46772. },
  46773. "marketname": {
  46774. "description": "市场名称",
  46775. "type": "string"
  46776. },
  46777. "openfreezecharge": {
  46778. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  46779. "type": "number"
  46780. },
  46781. "openqty": {
  46782. "description": "开仓数量(先建后平操作,需要记录)",
  46783. "type": "number"
  46784. },
  46785. "opentradeqty": {
  46786. "description": "开仓成交数量(先建后平操作,需要记录)",
  46787. "type": "number"
  46788. },
  46789. "openunfreezecharge": {
  46790. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  46791. "type": "number"
  46792. },
  46793. "operatetype": {
  46794. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  46795. "type": "integer"
  46796. },
  46797. "operatorid": {
  46798. "description": "登录账号(LoginID)",
  46799. "type": "integer"
  46800. },
  46801. "orderid": {
  46802. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  46803. "type": "string"
  46804. },
  46805. "orderprice": {
  46806. "description": "委托价格",
  46807. "type": "number"
  46808. },
  46809. "orderqty": {
  46810. "description": "委托数量",
  46811. "type": "number"
  46812. },
  46813. "ordersrc": {
  46814. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  46815. "type": "integer"
  46816. },
  46817. "orderstatus": {
  46818. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  46819. "type": "integer"
  46820. },
  46821. "ordertime": {
  46822. "description": "委托时间",
  46823. "type": "string"
  46824. },
  46825. "preorderid": {
  46826. "description": "关联预埋单号(止盈止损单时填写)",
  46827. "type": "string"
  46828. },
  46829. "pricemode": {
  46830. "description": "取价方式 - 1:市价 2: 限价",
  46831. "type": "integer"
  46832. },
  46833. "qtydecimalplace": {
  46834. "description": "商品报价小数位",
  46835. "type": "integer"
  46836. },
  46837. "relatedid": {
  46838. "description": "关联单号(交割单)",
  46839. "type": "string"
  46840. },
  46841. "tradedate": {
  46842. "description": "交易日(yyyyMMdd)",
  46843. "type": "string"
  46844. },
  46845. "trademode": {
  46846. "description": "交易模式",
  46847. "type": "integer"
  46848. },
  46849. "tradeqty": {
  46850. "description": "成交数量",
  46851. "type": "number"
  46852. },
  46853. "unfreezecharge": {
  46854. "description": "解冻手续费",
  46855. "type": "number"
  46856. },
  46857. "unfreezemargin": {
  46858. "description": "解冻保证金",
  46859. "type": "number"
  46860. },
  46861. "validtime": {
  46862. "description": "有效期限",
  46863. "type": "string"
  46864. },
  46865. "validtype": {
  46866. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  46867. "type": "integer"
  46868. },
  46869. "volumetype": {
  46870. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  46871. "type": "integer"
  46872. }
  46873. }
  46874. },
  46875. "order.QueryTradePositionRsp": {
  46876. "type": "object",
  46877. "required": [
  46878. "goodsid"
  46879. ],
  46880. "properties": {
  46881. "accountid": {
  46882. "description": "资金账户",
  46883. "type": "integer"
  46884. },
  46885. "agreeunit": {
  46886. "description": "合约单位",
  46887. "type": "number"
  46888. },
  46889. "averageprice": {
  46890. "description": "持仓均价",
  46891. "type": "number"
  46892. },
  46893. "buyorsell": {
  46894. "description": "方向 - 0:买 1:卖",
  46895. "type": "integer"
  46896. },
  46897. "closetotalqty": {
  46898. "description": "平仓总数量",
  46899. "type": "number"
  46900. },
  46901. "curholderamount": {
  46902. "description": "当前持仓总金额[商品币种]",
  46903. "type": "number"
  46904. },
  46905. "curpositionqty": {
  46906. "description": "当前持仓总数量",
  46907. "type": "number"
  46908. },
  46909. "currencyid": {
  46910. "description": "报价货币ID",
  46911. "type": "integer"
  46912. },
  46913. "curtdposition": {
  46914. "description": "期末今日头寸",
  46915. "type": "number"
  46916. },
  46917. "decimalplace": {
  46918. "description": "报价小数位",
  46919. "type": "integer"
  46920. },
  46921. "enableqty": {
  46922. "description": "可用量",
  46923. "type": "number"
  46924. },
  46925. "fretdposition": {
  46926. "description": "冻结今日头寸",
  46927. "type": "number"
  46928. },
  46929. "frozenqty": {
  46930. "description": "持仓冻结数量",
  46931. "type": "number"
  46932. },
  46933. "goodscode": {
  46934. "description": "商品代码",
  46935. "type": "string"
  46936. },
  46937. "goodsid": {
  46938. "description": "商品Id",
  46939. "type": "integer"
  46940. },
  46941. "goodsname": {
  46942. "description": "商品名称",
  46943. "type": "string"
  46944. },
  46945. "goodunit": {
  46946. "description": "报价单位",
  46947. "type": "string"
  46948. },
  46949. "goodunitid": {
  46950. "description": "报价单位ID",
  46951. "type": "integer"
  46952. },
  46953. "holderamount": {
  46954. "description": "期初持仓总金额[商品币种]",
  46955. "type": "number"
  46956. },
  46957. "lastprice": {
  46958. "description": "最新价",
  46959. "type": "number"
  46960. },
  46961. "marketamount": {
  46962. "description": "市值",
  46963. "type": "number"
  46964. },
  46965. "marketid": {
  46966. "description": "所属市场ID",
  46967. "type": "integer"
  46968. },
  46969. "openreqqty": {
  46970. "description": "开仓申请数量(用于比较最大持仓数量)",
  46971. "type": "number"
  46972. },
  46973. "opentotalqty": {
  46974. "description": "开仓总数量",
  46975. "type": "number"
  46976. },
  46977. "otherfrozenqty": {
  46978. "description": "持仓其他冻结数量(交割冻结)",
  46979. "type": "number"
  46980. },
  46981. "positionpl": {
  46982. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  46983. "type": "number"
  46984. },
  46985. "positionplrate": {
  46986. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  46987. "type": "number"
  46988. },
  46989. "positionqty": {
  46990. "description": "期初持仓数量",
  46991. "type": "number"
  46992. },
  46993. "qtydecimalplace": {
  46994. "description": "成交量小数位",
  46995. "type": "integer"
  46996. },
  46997. "refgoodscode": {
  46998. "description": "参考商品代码",
  46999. "type": "string"
  47000. },
  47001. "refgoodsid": {
  47002. "description": "参考商品ID",
  47003. "type": "integer"
  47004. },
  47005. "tnqty": {
  47006. "description": "T+N冻结总量",
  47007. "type": "number"
  47008. },
  47009. "tnusedqty": {
  47010. "description": "T+N使用量(可以使用T+N的冻结数量)",
  47011. "type": "number"
  47012. },
  47013. "trademode": {
  47014. "description": "交易模式",
  47015. "type": "integer"
  47016. },
  47017. "tradeproperty": {
  47018. "description": "交易属性",
  47019. "type": "integer"
  47020. },
  47021. "usedmargin": {
  47022. "description": "占用保证金[商品币种]",
  47023. "type": "number"
  47024. }
  47025. }
  47026. },
  47027. "pb.GoodsMarginCfgStruct": {
  47028. "type": "object",
  47029. "properties": {
  47030. "CustomerTypeID": {
  47031. "description": "投资者客户类型",
  47032. "type": "integer"
  47033. },
  47034. "GoodsID": {
  47035. "description": "商品ID",
  47036. "type": "integer"
  47037. },
  47038. "IsDefault": {
  47039. "description": "是否默认标志位",
  47040. "type": "integer"
  47041. },
  47042. "LockMarginValue": {
  47043. "description": "锁仓保证金",
  47044. "type": "number"
  47045. },
  47046. "MarginAlgorithm": {
  47047. "description": "保证金计算方式",
  47048. "type": "integer"
  47049. },
  47050. "MarketMarginValue": {
  47051. "description": "即市保证金值",
  47052. "type": "number"
  47053. },
  47054. "RealMarginAlgorithm": {
  47055. "description": "实付保证金计算方式",
  47056. "type": "integer"
  47057. },
  47058. "RealMarginValue": {
  47059. "description": "实付比例",
  47060. "type": "number"
  47061. },
  47062. "ReckonMarginValue": {
  47063. "description": "结算保证金值",
  47064. "type": "number"
  47065. }
  47066. }
  47067. },
  47068. "quote.HistoryData": {
  47069. "type": "object",
  47070. "properties": {
  47071. "c": {
  47072. "description": "收盘价",
  47073. "type": "number"
  47074. },
  47075. "f": {
  47076. "description": "是否补充数据",
  47077. "type": "boolean"
  47078. },
  47079. "h": {
  47080. "description": "最高价",
  47081. "type": "number"
  47082. },
  47083. "hv": {
  47084. "description": "持仓量",
  47085. "type": "integer"
  47086. },
  47087. "l": {
  47088. "description": "最低价",
  47089. "type": "number"
  47090. },
  47091. "o": {
  47092. "description": "开盘价",
  47093. "type": "number"
  47094. },
  47095. "s": {
  47096. "description": "结算价,日线周期(包括)以上才有",
  47097. "type": "number"
  47098. },
  47099. "ts": {
  47100. "description": "时间",
  47101. "type": "string"
  47102. },
  47103. "tt": {
  47104. "description": "总金额",
  47105. "type": "number"
  47106. },
  47107. "tv": {
  47108. "description": "总量(成交量)",
  47109. "type": "integer"
  47110. }
  47111. }
  47112. },
  47113. "quote.HistoryTikData": {
  47114. "type": "object",
  47115. "properties": {
  47116. "AV": {
  47117. "description": "卖量",
  47118. "type": "integer"
  47119. },
  47120. "Ask": {
  47121. "description": "卖价",
  47122. "type": "number"
  47123. },
  47124. "BV": {
  47125. "description": "买量",
  47126. "type": "integer"
  47127. },
  47128. "Bid": {
  47129. "description": "买价",
  47130. "type": "number"
  47131. },
  47132. "HI": {
  47133. "description": "单笔持仓",
  47134. "type": "integer"
  47135. },
  47136. "HV": {
  47137. "description": "持仓量",
  47138. "type": "integer"
  47139. },
  47140. "PE": {
  47141. "description": "现价",
  47142. "type": "number"
  47143. },
  47144. "TDR": {
  47145. "description": "交易方向,0:买 1:卖",
  47146. "type": "integer"
  47147. },
  47148. "TK": {
  47149. "description": "交易类型",
  47150. "type": "integer"
  47151. },
  47152. "TS": {
  47153. "description": "行情时间文本",
  47154. "type": "string"
  47155. },
  47156. "TT": {
  47157. "description": "现金额",
  47158. "type": "number"
  47159. },
  47160. "Vol": {
  47161. "description": "现量",
  47162. "type": "integer"
  47163. }
  47164. }
  47165. },
  47166. "quote.QueryQuoteDayRsp": {
  47167. "type": "object",
  47168. "properties": {
  47169. "ask": {
  47170. "description": "卖1",
  47171. "type": "number"
  47172. },
  47173. "ask10": {
  47174. "description": "卖10",
  47175. "type": "number"
  47176. },
  47177. "ask2": {
  47178. "description": "卖2",
  47179. "type": "number"
  47180. },
  47181. "ask3": {
  47182. "description": "卖3",
  47183. "type": "number"
  47184. },
  47185. "ask4": {
  47186. "description": "卖4",
  47187. "type": "number"
  47188. },
  47189. "ask5": {
  47190. "description": "卖5",
  47191. "type": "number"
  47192. },
  47193. "ask6": {
  47194. "description": "卖6",
  47195. "type": "number"
  47196. },
  47197. "ask7": {
  47198. "description": "卖7",
  47199. "type": "number"
  47200. },
  47201. "ask8": {
  47202. "description": "卖8",
  47203. "type": "number"
  47204. },
  47205. "ask9": {
  47206. "description": "卖9",
  47207. "type": "number"
  47208. },
  47209. "askorderid": {
  47210. "description": "卖单号1",
  47211. "type": "integer"
  47212. },
  47213. "askorderid2": {
  47214. "description": "卖单号2",
  47215. "type": "integer"
  47216. },
  47217. "askorderid3": {
  47218. "description": "卖单号3",
  47219. "type": "integer"
  47220. },
  47221. "askorderid4": {
  47222. "description": "卖单号4",
  47223. "type": "integer"
  47224. },
  47225. "askorderid5": {
  47226. "description": "卖单号5",
  47227. "type": "integer"
  47228. },
  47229. "askordervolume": {
  47230. "description": "卖单量1",
  47231. "type": "integer"
  47232. },
  47233. "askordervolume10": {
  47234. "description": "卖单量10",
  47235. "type": "integer"
  47236. },
  47237. "askordervolume2": {
  47238. "description": "卖单量2",
  47239. "type": "integer"
  47240. },
  47241. "askordervolume3": {
  47242. "description": "卖单量3",
  47243. "type": "integer"
  47244. },
  47245. "askordervolume4": {
  47246. "description": "卖单量4",
  47247. "type": "integer"
  47248. },
  47249. "askordervolume5": {
  47250. "description": "卖单量5",
  47251. "type": "integer"
  47252. },
  47253. "askordervolume6": {
  47254. "description": "卖单量6",
  47255. "type": "integer"
  47256. },
  47257. "askordervolume7": {
  47258. "description": "卖单量7",
  47259. "type": "integer"
  47260. },
  47261. "askordervolume8": {
  47262. "description": "卖单量8",
  47263. "type": "integer"
  47264. },
  47265. "askordervolume9": {
  47266. "description": "卖单量9",
  47267. "type": "integer"
  47268. },
  47269. "askqueueinfo": {
  47270. "description": "大利市卖港股用",
  47271. "type": "string"
  47272. },
  47273. "askvolume": {
  47274. "description": "卖量1",
  47275. "type": "integer"
  47276. },
  47277. "askvolume10": {
  47278. "description": "卖量10",
  47279. "type": "integer"
  47280. },
  47281. "askvolume2": {
  47282. "description": "卖量2",
  47283. "type": "integer"
  47284. },
  47285. "askvolume3": {
  47286. "description": "卖量3",
  47287. "type": "integer"
  47288. },
  47289. "askvolume4": {
  47290. "description": "卖量4",
  47291. "type": "integer"
  47292. },
  47293. "askvolume5": {
  47294. "description": "卖量5",
  47295. "type": "integer"
  47296. },
  47297. "askvolume6": {
  47298. "description": "卖量6",
  47299. "type": "integer"
  47300. },
  47301. "askvolume7": {
  47302. "description": "卖量7",
  47303. "type": "integer"
  47304. },
  47305. "askvolume8": {
  47306. "description": "卖量8",
  47307. "type": "integer"
  47308. },
  47309. "askvolume9": {
  47310. "description": "卖量9",
  47311. "type": "integer"
  47312. },
  47313. "averageprice": {
  47314. "description": "均价",
  47315. "type": "number"
  47316. },
  47317. "bid": {
  47318. "description": "买1",
  47319. "type": "number"
  47320. },
  47321. "bid10": {
  47322. "description": "买10",
  47323. "type": "number"
  47324. },
  47325. "bid2": {
  47326. "description": "买2",
  47327. "type": "number"
  47328. },
  47329. "bid3": {
  47330. "description": "买3",
  47331. "type": "number"
  47332. },
  47333. "bid4": {
  47334. "description": "买4",
  47335. "type": "number"
  47336. },
  47337. "bid5": {
  47338. "description": "买5",
  47339. "type": "number"
  47340. },
  47341. "bid6": {
  47342. "description": "买6",
  47343. "type": "number"
  47344. },
  47345. "bid7": {
  47346. "description": "买7",
  47347. "type": "number"
  47348. },
  47349. "bid8": {
  47350. "description": "买8",
  47351. "type": "number"
  47352. },
  47353. "bid9": {
  47354. "description": "买9",
  47355. "type": "number"
  47356. },
  47357. "bidorderid": {
  47358. "description": "买单号1",
  47359. "type": "integer"
  47360. },
  47361. "bidorderid2": {
  47362. "description": "买单号2",
  47363. "type": "integer"
  47364. },
  47365. "bidorderid3": {
  47366. "description": "买单号3",
  47367. "type": "integer"
  47368. },
  47369. "bidorderid4": {
  47370. "description": "买单号4",
  47371. "type": "integer"
  47372. },
  47373. "bidorderid5": {
  47374. "description": "买单号5",
  47375. "type": "integer"
  47376. },
  47377. "bidordervolume": {
  47378. "description": "买单量1",
  47379. "type": "integer"
  47380. },
  47381. "bidordervolume10": {
  47382. "description": "买单量10",
  47383. "type": "integer"
  47384. },
  47385. "bidordervolume2": {
  47386. "description": "买单量2",
  47387. "type": "integer"
  47388. },
  47389. "bidordervolume3": {
  47390. "description": "买单量3",
  47391. "type": "integer"
  47392. },
  47393. "bidordervolume4": {
  47394. "description": "买单量4",
  47395. "type": "integer"
  47396. },
  47397. "bidordervolume5": {
  47398. "description": "买单量5",
  47399. "type": "integer"
  47400. },
  47401. "bidordervolume6": {
  47402. "description": "买单量6",
  47403. "type": "integer"
  47404. },
  47405. "bidordervolume7": {
  47406. "description": "买单量7",
  47407. "type": "integer"
  47408. },
  47409. "bidordervolume8": {
  47410. "description": "买单量8",
  47411. "type": "integer"
  47412. },
  47413. "bidordervolume9": {
  47414. "description": "买单量9",
  47415. "type": "integer"
  47416. },
  47417. "bidqueueinfo": {
  47418. "description": "大利市买港股用",
  47419. "type": "string"
  47420. },
  47421. "bidvolume": {
  47422. "description": "买量1",
  47423. "type": "integer"
  47424. },
  47425. "bidvolume10": {
  47426. "description": "买量10",
  47427. "type": "integer"
  47428. },
  47429. "bidvolume2": {
  47430. "description": "买量2",
  47431. "type": "integer"
  47432. },
  47433. "bidvolume3": {
  47434. "description": "买量3",
  47435. "type": "integer"
  47436. },
  47437. "bidvolume4": {
  47438. "description": "买量4",
  47439. "type": "integer"
  47440. },
  47441. "bidvolume5": {
  47442. "description": "买量5",
  47443. "type": "integer"
  47444. },
  47445. "bidvolume6": {
  47446. "description": "买量6",
  47447. "type": "integer"
  47448. },
  47449. "bidvolume7": {
  47450. "description": "买量7",
  47451. "type": "integer"
  47452. },
  47453. "bidvolume8": {
  47454. "description": "买量8",
  47455. "type": "integer"
  47456. },
  47457. "bidvolume9": {
  47458. "description": "买量9",
  47459. "type": "integer"
  47460. },
  47461. "calloptionpremiums": {
  47462. "description": "认购期权1",
  47463. "type": "integer"
  47464. },
  47465. "calloptionpremiums2": {
  47466. "description": "认购期权2",
  47467. "type": "integer"
  47468. },
  47469. "calloptionpremiums3": {
  47470. "description": "认购期权3",
  47471. "type": "integer"
  47472. },
  47473. "calloptionpremiums4": {
  47474. "description": "认购期权4",
  47475. "type": "integer"
  47476. },
  47477. "calloptionpremiums5": {
  47478. "description": "认购期权5",
  47479. "type": "integer"
  47480. },
  47481. "cleartime": {
  47482. "description": "清盘时间",
  47483. "type": "integer"
  47484. },
  47485. "exchangecode": {
  47486. "description": "交易所代码",
  47487. "type": "integer"
  47488. },
  47489. "exchangedate": {
  47490. "description": "交易日",
  47491. "type": "integer"
  47492. },
  47493. "goodscode": {
  47494. "description": "商品代码",
  47495. "type": "string"
  47496. },
  47497. "grepmarketprice": {
  47498. "description": "暗盘价 港股专用",
  47499. "type": "number"
  47500. },
  47501. "highest": {
  47502. "description": "最高价",
  47503. "type": "number"
  47504. },
  47505. "holdincrement": {
  47506. "description": "单笔持仓",
  47507. "type": "integer"
  47508. },
  47509. "holdvolume": {
  47510. "description": "持仓",
  47511. "type": "integer"
  47512. },
  47513. "iep": {
  47514. "description": "平衡价 港股专用",
  47515. "type": "number"
  47516. },
  47517. "iev": {
  47518. "description": "平衡量 港股专用",
  47519. "type": "number"
  47520. },
  47521. "inventory": {
  47522. "description": "库存",
  47523. "type": "integer"
  47524. },
  47525. "iscleared": {
  47526. "description": "是否清盘标志",
  47527. "type": "integer"
  47528. },
  47529. "issettled": {
  47530. "description": "是否结算标志",
  47531. "type": "integer"
  47532. },
  47533. "last": {
  47534. "description": "最新价",
  47535. "type": "number"
  47536. },
  47537. "lastlot": {
  47538. "description": "最新成交手数",
  47539. "type": "integer"
  47540. },
  47541. "lasttime": {
  47542. "description": "行情时间(只有现价变化行情时间才变化)",
  47543. "type": "string"
  47544. },
  47545. "lastturnover": {
  47546. "description": "最新成交金额",
  47547. "type": "number"
  47548. },
  47549. "lastvolume": {
  47550. "description": "最新成交量",
  47551. "type": "integer"
  47552. },
  47553. "limitdown": {
  47554. "description": "跌停价",
  47555. "type": "number"
  47556. },
  47557. "limitup": {
  47558. "description": "涨停价",
  47559. "type": "number"
  47560. },
  47561. "lowest": {
  47562. "description": "最低价",
  47563. "type": "number"
  47564. },
  47565. "nontotalholdervolume": {
  47566. "description": "非交易持仓量",
  47567. "type": "integer"
  47568. },
  47569. "nontotallot": {
  47570. "description": "非交易总手数",
  47571. "type": "integer"
  47572. },
  47573. "nontotalturnover": {
  47574. "description": "非交易总金额",
  47575. "type": "integer"
  47576. },
  47577. "nontotalvolume": {
  47578. "description": "非交易总量",
  47579. "type": "integer"
  47580. },
  47581. "opened": {
  47582. "description": "开盘价",
  47583. "type": "number"
  47584. },
  47585. "opentime": {
  47586. "description": "开盘时间",
  47587. "type": "string"
  47588. },
  47589. "orderid": {
  47590. "description": "序号",
  47591. "type": "integer"
  47592. },
  47593. "preclose": {
  47594. "description": "昨收",
  47595. "type": "number"
  47596. },
  47597. "preholdvolume": {
  47598. "description": "昨持仓",
  47599. "type": "integer"
  47600. },
  47601. "presettle": {
  47602. "description": "昨结价",
  47603. "type": "number"
  47604. },
  47605. "publictradetype": {
  47606. "description": "公共交易标志类型 港股专用",
  47607. "type": "string"
  47608. },
  47609. "putoptionpremiums": {
  47610. "description": "认沽期权1",
  47611. "type": "integer"
  47612. },
  47613. "putoptionpremiums2": {
  47614. "description": "认沽期权2",
  47615. "type": "integer"
  47616. },
  47617. "putoptionpremiums3": {
  47618. "description": "认沽期权3",
  47619. "type": "integer"
  47620. },
  47621. "putoptionpremiums4": {
  47622. "description": "认沽期权4",
  47623. "type": "integer"
  47624. },
  47625. "putoptionpremiums5": {
  47626. "description": "认沽期权5",
  47627. "type": "integer"
  47628. },
  47629. "settle": {
  47630. "description": "结算价",
  47631. "type": "number"
  47632. },
  47633. "strikeprice": {
  47634. "description": "发行价",
  47635. "type": "number"
  47636. },
  47637. "totalaskvolume": {
  47638. "description": "内盘",
  47639. "type": "integer"
  47640. },
  47641. "totalbidvolume": {
  47642. "description": "外盘",
  47643. "type": "integer"
  47644. },
  47645. "totallot": {
  47646. "description": "总手数",
  47647. "type": "integer"
  47648. },
  47649. "totalturnover": {
  47650. "description": "总金额",
  47651. "type": "number"
  47652. },
  47653. "totalvolume": {
  47654. "description": "总量",
  47655. "type": "integer"
  47656. },
  47657. "utclasttime": {
  47658. "description": "utc的行情时间",
  47659. "type": "string"
  47660. }
  47661. }
  47662. },
  47663. "quote.QueryTSDataRsp": {
  47664. "type": "object",
  47665. "properties": {
  47666. "Count": {
  47667. "description": "交易日应有数据个数",
  47668. "type": "integer"
  47669. },
  47670. "decimalPlace": {
  47671. "description": "小数位",
  47672. "type": "integer"
  47673. },
  47674. "endTime": {
  47675. "description": "结束时间",
  47676. "type": "string"
  47677. },
  47678. "goodsCode": {
  47679. "description": "商品代码",
  47680. "type": "string"
  47681. },
  47682. "historyDatas": {
  47683. "description": "历史数据",
  47684. "type": "array",
  47685. "items": {
  47686. "$ref": "#/definitions/quote.HistoryData"
  47687. }
  47688. },
  47689. "outGoodsCode": {
  47690. "description": "外部商品代码",
  47691. "type": "string"
  47692. },
  47693. "preSettle": {
  47694. "description": "昨结价",
  47695. "type": "number"
  47696. },
  47697. "runSteps": {
  47698. "description": "交易日开休市计划",
  47699. "type": "array",
  47700. "items": {
  47701. "$ref": "#/definitions/quote.TSDataRunStep"
  47702. }
  47703. },
  47704. "startTime": {
  47705. "description": "开始时间",
  47706. "type": "string"
  47707. },
  47708. "tradeDate": {
  47709. "description": "交易日",
  47710. "type": "string"
  47711. }
  47712. }
  47713. },
  47714. "quote.TSDataRunStep": {
  47715. "type": "object",
  47716. "properties": {
  47717. "end": {
  47718. "description": "真实结束时间",
  47719. "type": "string"
  47720. },
  47721. "endflag": {
  47722. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  47723. "type": "integer"
  47724. },
  47725. "endtime": {
  47726. "description": "结束时间(HH:mm)",
  47727. "type": "string"
  47728. },
  47729. "endweekday": {
  47730. "description": "结束周几",
  47731. "type": "integer"
  47732. },
  47733. "groupid": {
  47734. "description": "分组ID",
  47735. "type": "integer"
  47736. },
  47737. "runstep": {
  47738. "description": "运行阶段 - 2:连续交易",
  47739. "type": "integer"
  47740. },
  47741. "sectionid": {
  47742. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  47743. "type": "integer"
  47744. },
  47745. "start": {
  47746. "description": "真实开始时间",
  47747. "type": "string"
  47748. },
  47749. "startflag": {
  47750. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  47751. "type": "integer"
  47752. },
  47753. "starttime": {
  47754. "description": "起始时间(HH:mm)",
  47755. "type": "string"
  47756. },
  47757. "startweekday": {
  47758. "description": "起始周几",
  47759. "type": "integer"
  47760. },
  47761. "tradeweekday": {
  47762. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  47763. "type": "integer"
  47764. }
  47765. }
  47766. },
  47767. "szdz.QueryConvertLogRsp": {
  47768. "type": "object",
  47769. "required": [
  47770. "logid"
  47771. ],
  47772. "properties": {
  47773. "accountid": {
  47774. "description": "资金账户ID",
  47775. "type": "integer"
  47776. },
  47777. "clientticket": {
  47778. "description": "客户端流水号",
  47779. "type": "string"
  47780. },
  47781. "converttype": {
  47782. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  47783. "type": "integer"
  47784. },
  47785. "createtime": {
  47786. "description": "记账时间",
  47787. "type": "string"
  47788. },
  47789. "daymaxvalue": {
  47790. "description": "配置当日最大转入限制",
  47791. "type": "number"
  47792. },
  47793. "daymaxvalue2": {
  47794. "description": "配置当日最大转入限制(转入)",
  47795. "type": "number"
  47796. },
  47797. "goodscode": {
  47798. "description": "商品代码",
  47799. "type": "string"
  47800. },
  47801. "goodsname": {
  47802. "description": "商品名称",
  47803. "type": "string"
  47804. },
  47805. "handlestatus": {
  47806. "description": "处理状态",
  47807. "type": "integer"
  47808. },
  47809. "innergoodsid": {
  47810. "description": "内部商品ID",
  47811. "type": "integer"
  47812. },
  47813. "inratio": {
  47814. "description": "配置转入比值",
  47815. "type": "integer"
  47816. },
  47817. "invalue": {
  47818. "description": "目标值",
  47819. "type": "number"
  47820. },
  47821. "logid": {
  47822. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  47823. "type": "integer"
  47824. },
  47825. "mobile": {
  47826. "description": "手机号码(加密存储)",
  47827. "type": "string"
  47828. },
  47829. "outergoodscode": {
  47830. "description": "外部商品代码[JD\\PD]",
  47831. "type": "string"
  47832. },
  47833. "outratio": {
  47834. "description": "配置转出比值",
  47835. "type": "integer"
  47836. },
  47837. "outvalue": {
  47838. "description": "源值",
  47839. "type": "number"
  47840. },
  47841. "pddecimalplace": {
  47842. "description": "PD小数位",
  47843. "type": "integer"
  47844. },
  47845. "qty": {
  47846. "description": "数量",
  47847. "type": "string"
  47848. },
  47849. "remark": {
  47850. "description": "备注",
  47851. "type": "string"
  47852. },
  47853. "sessionid": {
  47854. "description": "会话ID",
  47855. "type": "integer"
  47856. },
  47857. "timemaxvalue": {
  47858. "description": "配置单次最大转入限制",
  47859. "type": "number"
  47860. },
  47861. "timemaxvalue2": {
  47862. "description": "配置单次最大转入限制(转入)",
  47863. "type": "number"
  47864. },
  47865. "timeminvalue": {
  47866. "description": "配置单次最小数量限制",
  47867. "type": "number"
  47868. },
  47869. "timeminvalue2": {
  47870. "description": "配置单次最小数量限制(转入)",
  47871. "type": "number"
  47872. },
  47873. "tradedate": {
  47874. "description": "交易日(yyyyMMdd)",
  47875. "type": "string"
  47876. },
  47877. "userid": {
  47878. "description": "用户ID",
  47879. "type": "integer"
  47880. }
  47881. }
  47882. },
  47883. "szdz.QueryGoodsPickupRsp": {
  47884. "type": "object",
  47885. "required": [
  47886. "takeorderid"
  47887. ],
  47888. "properties": {
  47889. "accountid": {
  47890. "description": "账户ID",
  47891. "type": "integer"
  47892. },
  47893. "address": {
  47894. "description": "提货人详细地址",
  47895. "type": "string"
  47896. },
  47897. "auditer": {
  47898. "description": "审核人",
  47899. "type": "integer"
  47900. },
  47901. "audittime": {
  47902. "description": "审核时间",
  47903. "type": "string"
  47904. },
  47905. "cardnum": {
  47906. "description": "提货人证件号码",
  47907. "type": "string"
  47908. },
  47909. "cardtypeid": {
  47910. "description": "提货人证件类型",
  47911. "type": "integer"
  47912. },
  47913. "checkremark": {
  47914. "description": "审核备注",
  47915. "type": "string"
  47916. },
  47917. "goodscode": {
  47918. "description": "商品代码",
  47919. "type": "string"
  47920. },
  47921. "goodsid": {
  47922. "description": "商品ID",
  47923. "type": "integer"
  47924. },
  47925. "goodsname": {
  47926. "description": "商品名称",
  47927. "type": "string"
  47928. },
  47929. "handlestatus": {
  47930. "description": "处理状态",
  47931. "type": "integer"
  47932. },
  47933. "marketid": {
  47934. "description": "市场ID",
  47935. "type": "integer"
  47936. },
  47937. "phonenum": {
  47938. "description": "提货人联系方式",
  47939. "type": "string"
  47940. },
  47941. "qty": {
  47942. "description": "提货数量",
  47943. "type": "number"
  47944. },
  47945. "recivername": {
  47946. "description": "提货人姓名",
  47947. "type": "string"
  47948. },
  47949. "reqtime": {
  47950. "description": "更新时间",
  47951. "type": "string"
  47952. },
  47953. "takemode": {
  47954. "description": "提货方式 - 2:自提 3:配送",
  47955. "type": "integer"
  47956. },
  47957. "takeorderid": {
  47958. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  47959. "type": "string"
  47960. },
  47961. "takeorderstatus": {
  47962. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  47963. "type": "integer"
  47964. },
  47965. "takeremark": {
  47966. "description": "提货备注",
  47967. "type": "string"
  47968. },
  47969. "tradedate": {
  47970. "description": "交易日(yyyyMMdd)",
  47971. "type": "string"
  47972. },
  47973. "userid": {
  47974. "description": "用户ID",
  47975. "type": "integer"
  47976. }
  47977. }
  47978. },
  47979. "szdz.QueryRecieptOrderRsp": {
  47980. "type": "object",
  47981. "required": [
  47982. "ordertime"
  47983. ],
  47984. "properties": {
  47985. "accountName": {
  47986. "description": "所属账号名称(已脱敏)",
  47987. "type": "string"
  47988. },
  47989. "accountid": {
  47990. "description": "资金账号",
  47991. "type": "integer"
  47992. },
  47993. "buyorsell": {
  47994. "description": "方向 - 0:买 1:卖",
  47995. "type": "integer"
  47996. },
  47997. "enableqty": {
  47998. "description": "可摘数量",
  47999. "type": "integer"
  48000. },
  48001. "goodscode": {
  48002. "description": "商品代码",
  48003. "type": "string"
  48004. },
  48005. "goodsid": {
  48006. "description": "商品ID",
  48007. "type": "integer"
  48008. },
  48009. "goodsname": {
  48010. "description": "商品名称",
  48011. "type": "string"
  48012. },
  48013. "orderid": {
  48014. "description": "委托单号",
  48015. "type": "string"
  48016. },
  48017. "orderprice": {
  48018. "description": "委托价格",
  48019. "type": "number"
  48020. },
  48021. "ordertime": {
  48022. "description": "委托时间",
  48023. "type": "string"
  48024. },
  48025. "tradedate": {
  48026. "description": "交易日(yyyyMMdd)",
  48027. "type": "string"
  48028. }
  48029. }
  48030. },
  48031. "szdz.QuerySZDZTradePositionRsp": {
  48032. "type": "object",
  48033. "properties": {
  48034. "accountid": {
  48035. "description": "账号Id",
  48036. "type": "integer"
  48037. },
  48038. "agreeunit": {
  48039. "description": "合约单位",
  48040. "type": "number"
  48041. },
  48042. "averageprice": {
  48043. "description": "持仓均价",
  48044. "type": "number"
  48045. },
  48046. "buyorsell": {
  48047. "description": "方向 - 0:买 1:卖",
  48048. "type": "integer"
  48049. },
  48050. "closetotalqty": {
  48051. "description": "平仓总数量",
  48052. "type": "integer"
  48053. },
  48054. "curholderamount": {
  48055. "description": "当前持仓总金额",
  48056. "type": "number"
  48057. },
  48058. "curpositionqty": {
  48059. "description": "当前持仓总数量",
  48060. "type": "integer"
  48061. },
  48062. "currencyid": {
  48063. "description": "报价货币ID",
  48064. "type": "integer"
  48065. },
  48066. "curtdposition": {
  48067. "description": "期末今日头寸",
  48068. "type": "integer"
  48069. },
  48070. "decimalplace": {
  48071. "description": "报价小数位",
  48072. "type": "integer"
  48073. },
  48074. "enableqty": {
  48075. "description": "可用量",
  48076. "type": "integer"
  48077. },
  48078. "fretdposition": {
  48079. "description": "冻结今日头寸",
  48080. "type": "integer"
  48081. },
  48082. "frozenqty": {
  48083. "description": "持仓冻结数量",
  48084. "type": "integer"
  48085. },
  48086. "goodscode": {
  48087. "description": "商品代码(内部)",
  48088. "type": "string"
  48089. },
  48090. "goodsid": {
  48091. "description": "商品Id",
  48092. "type": "integer"
  48093. },
  48094. "goodsname": {
  48095. "description": "商品名称",
  48096. "type": "string"
  48097. },
  48098. "goodunit": {
  48099. "description": "报价单位",
  48100. "type": "string"
  48101. },
  48102. "goodunitid": {
  48103. "description": "报价单位ID",
  48104. "type": "integer"
  48105. },
  48106. "holderamount": {
  48107. "description": "期初持仓总金额",
  48108. "type": "number"
  48109. },
  48110. "marketid": {
  48111. "description": "市场ID",
  48112. "type": "integer"
  48113. },
  48114. "openreqqty": {
  48115. "description": "开仓申请数量",
  48116. "type": "integer"
  48117. },
  48118. "opentotalqty": {
  48119. "description": "开仓总数量",
  48120. "type": "integer"
  48121. },
  48122. "otherfrozenqty": {
  48123. "description": "持仓其他冻结数量(交割冻结)",
  48124. "type": "integer"
  48125. },
  48126. "positionqty": {
  48127. "description": "期初持仓数量",
  48128. "type": "integer"
  48129. },
  48130. "szdz3freezqty": {
  48131. "description": "尚志大宗转换冻结总数量",
  48132. "type": "integer"
  48133. },
  48134. "tnqty": {
  48135. "description": "T+N冻结总量",
  48136. "type": "integer"
  48137. },
  48138. "tnusedqty": {
  48139. "description": "T+N使用量",
  48140. "type": "integer"
  48141. },
  48142. "trademode": {
  48143. "description": "交易模式",
  48144. "type": "integer"
  48145. },
  48146. "usedmargin": {
  48147. "description": "占用保证金",
  48148. "type": "number"
  48149. }
  48150. }
  48151. },
  48152. "taaccount.QueryAmountLogRsp": {
  48153. "type": "object",
  48154. "required": [
  48155. "accountid",
  48156. "amount",
  48157. "amountadjusttype",
  48158. "autoid",
  48159. "balance",
  48160. "createtime",
  48161. "currentbalance",
  48162. "operatetype"
  48163. ],
  48164. "properties": {
  48165. "accountid": {
  48166. "description": "资金账户ID",
  48167. "type": "integer"
  48168. },
  48169. "agoodscode": {
  48170. "description": "竞拍商品代码",
  48171. "type": "string"
  48172. },
  48173. "agoodsname": {
  48174. "description": "竞拍商品名称",
  48175. "type": "string"
  48176. },
  48177. "amount": {
  48178. "description": "资金金额",
  48179. "type": "number"
  48180. },
  48181. "amountadjusttype": {
  48182. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  48183. "type": "integer"
  48184. },
  48185. "autoid": {
  48186. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  48187. "type": "integer"
  48188. },
  48189. "balance": {
  48190. "description": "期初余额",
  48191. "type": "number"
  48192. },
  48193. "businesscode": {
  48194. "description": "业务编号",
  48195. "type": "integer"
  48196. },
  48197. "createtime": {
  48198. "description": "发生时间",
  48199. "type": "string"
  48200. },
  48201. "currencyid": {
  48202. "description": "币种ID",
  48203. "type": "integer"
  48204. },
  48205. "currentbalance": {
  48206. "description": "期末余额(变动后金额)",
  48207. "type": "number"
  48208. },
  48209. "dgoodscode": {
  48210. "description": "交割商品代码",
  48211. "type": "string"
  48212. },
  48213. "dgoodsname": {
  48214. "description": "交割商品名称",
  48215. "type": "string"
  48216. },
  48217. "goodscode": {
  48218. "description": "商品代码",
  48219. "type": "string"
  48220. },
  48221. "goodsid": {
  48222. "description": "商品ID",
  48223. "type": "integer"
  48224. },
  48225. "goodsname": {
  48226. "description": "商品名称",
  48227. "type": "string"
  48228. },
  48229. "marketid": {
  48230. "description": "市场ID",
  48231. "type": "integer"
  48232. },
  48233. "marketname": {
  48234. "description": "市场名称",
  48235. "type": "string"
  48236. },
  48237. "moneyticket": {
  48238. "description": "资金流水号:银行端流水号",
  48239. "type": "integer"
  48240. },
  48241. "operatetype": {
  48242. "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:营销收款",
  48243. "type": "integer"
  48244. },
  48245. "relationorderid": {
  48246. "description": "关联单号",
  48247. "type": "string"
  48248. },
  48249. "remark": {
  48250. "description": "备注",
  48251. "type": "string"
  48252. },
  48253. "trademode": {
  48254. "description": "交易模式",
  48255. "type": "integer"
  48256. }
  48257. }
  48258. },
  48259. "taaccount.QueryHisAmountLogRsp": {
  48260. "type": "object",
  48261. "required": [
  48262. "accountid",
  48263. "amount",
  48264. "amountadjusttype",
  48265. "autoid",
  48266. "balance",
  48267. "createtime",
  48268. "currentbalance",
  48269. "histradedate",
  48270. "operatetype"
  48271. ],
  48272. "properties": {
  48273. "accountid": {
  48274. "description": "资金账户ID",
  48275. "type": "integer"
  48276. },
  48277. "agoodscode": {
  48278. "description": "竞拍商品代码",
  48279. "type": "string"
  48280. },
  48281. "agoodsname": {
  48282. "description": "竞拍商品名称",
  48283. "type": "string"
  48284. },
  48285. "amount": {
  48286. "description": "资金金额",
  48287. "type": "number"
  48288. },
  48289. "amountadjusttype": {
  48290. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  48291. "type": "integer"
  48292. },
  48293. "autoid": {
  48294. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  48295. "type": "integer"
  48296. },
  48297. "balance": {
  48298. "description": "期初余额",
  48299. "type": "number"
  48300. },
  48301. "businesscode": {
  48302. "description": "业务编号",
  48303. "type": "integer"
  48304. },
  48305. "createtime": {
  48306. "description": "发生时间",
  48307. "type": "string"
  48308. },
  48309. "currencyid": {
  48310. "description": "币种ID",
  48311. "type": "integer"
  48312. },
  48313. "currentbalance": {
  48314. "description": "期末余额(变动后金额)",
  48315. "type": "number"
  48316. },
  48317. "dgoodscode": {
  48318. "description": "交割商品代码",
  48319. "type": "string"
  48320. },
  48321. "dgoodsname": {
  48322. "description": "交割商品名称",
  48323. "type": "string"
  48324. },
  48325. "goodscode": {
  48326. "description": "商品代码",
  48327. "type": "string"
  48328. },
  48329. "goodsid": {
  48330. "description": "商品ID",
  48331. "type": "integer"
  48332. },
  48333. "goodsname": {
  48334. "description": "商品名称",
  48335. "type": "string"
  48336. },
  48337. "histradedate": {
  48338. "description": "历史交易日",
  48339. "type": "string"
  48340. },
  48341. "isvaliddata": {
  48342. "description": "是否有效 - 0:无效 1:有效",
  48343. "type": "integer"
  48344. },
  48345. "marketid": {
  48346. "description": "市场ID",
  48347. "type": "integer"
  48348. },
  48349. "marketname": {
  48350. "description": "市场名称",
  48351. "type": "string"
  48352. },
  48353. "moneyticket": {
  48354. "description": "资金流水号:银行端流水号",
  48355. "type": "integer"
  48356. },
  48357. "operatetype": {
  48358. "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:营销收款",
  48359. "type": "integer"
  48360. },
  48361. "relationorderid": {
  48362. "description": "关联单号",
  48363. "type": "string"
  48364. },
  48365. "remark": {
  48366. "description": "备注",
  48367. "type": "string"
  48368. },
  48369. "trademode": {
  48370. "description": "交易模式",
  48371. "type": "integer"
  48372. }
  48373. }
  48374. },
  48375. "trade.QueryRecieptOrderRsp": {
  48376. "type": "object",
  48377. "required": [
  48378. "ordertime"
  48379. ],
  48380. "properties": {
  48381. "accountName": {
  48382. "description": "所属账号名称(已脱敏)",
  48383. "type": "string"
  48384. },
  48385. "accountid": {
  48386. "description": "资金账号",
  48387. "type": "integer"
  48388. },
  48389. "buyorsell": {
  48390. "description": "方向 - 0:买 1:卖",
  48391. "type": "integer"
  48392. },
  48393. "enableqty": {
  48394. "description": "可摘数量",
  48395. "type": "integer"
  48396. },
  48397. "goodscode": {
  48398. "description": "商品代码",
  48399. "type": "string"
  48400. },
  48401. "goodsid": {
  48402. "description": "商品ID",
  48403. "type": "integer"
  48404. },
  48405. "goodsname": {
  48406. "description": "商品名称",
  48407. "type": "string"
  48408. },
  48409. "orderid": {
  48410. "description": "委托单号",
  48411. "type": "string"
  48412. },
  48413. "orderprice": {
  48414. "description": "委托价格",
  48415. "type": "number"
  48416. },
  48417. "ordertime": {
  48418. "description": "委托时间",
  48419. "type": "string"
  48420. },
  48421. "tradedate": {
  48422. "description": "交易日(yyyyMMdd)",
  48423. "type": "string"
  48424. }
  48425. }
  48426. },
  48427. "user.LoginQueryRsp": {
  48428. "type": "object",
  48429. "properties": {
  48430. "areaRoles": {
  48431. "description": "所属角色信息",
  48432. "type": "array",
  48433. "items": {
  48434. "$ref": "#/definitions/models.Arearole"
  48435. }
  48436. },
  48437. "exchangeRateConfigs": {
  48438. "description": "汇率信息",
  48439. "type": "array",
  48440. "items": {
  48441. "$ref": "#/definitions/models.Exchangerateconfig"
  48442. }
  48443. },
  48444. "externalExchanges": {
  48445. "description": "外部交易所",
  48446. "type": "array",
  48447. "items": {
  48448. "$ref": "#/definitions/models.Externalexchange"
  48449. }
  48450. },
  48451. "goodsgroups": {
  48452. "description": "商品组",
  48453. "type": "array",
  48454. "items": {
  48455. "$ref": "#/definitions/models.Goodsgroup"
  48456. }
  48457. },
  48458. "loginAccount": {
  48459. "description": "登录账号",
  48460. "$ref": "#/definitions/models.Loginaccount"
  48461. },
  48462. "markets": {
  48463. "description": "市场",
  48464. "type": "array",
  48465. "items": {
  48466. "$ref": "#/definitions/models.Market"
  48467. }
  48468. },
  48469. "systemParams": {
  48470. "description": "系统参数",
  48471. "type": "array",
  48472. "items": {
  48473. "$ref": "#/definitions/models.Systemparam"
  48474. }
  48475. },
  48476. "userAccount": {
  48477. "description": "用户账号",
  48478. "$ref": "#/definitions/models.Useraccount"
  48479. },
  48480. "userInfo": {
  48481. "description": "用户信息",
  48482. "$ref": "#/definitions/models.Userinfo"
  48483. },
  48484. "username": {
  48485. "description": "用户姓名",
  48486. "type": "string"
  48487. }
  48488. }
  48489. }
  48490. },
  48491. "securityDefinitions": {
  48492. "ApiKeyAuth": {
  48493. "type": "apiKey",
  48494. "name": "Authorization",
  48495. "in": "header"
  48496. },
  48497. "Group": {
  48498. "type": "apiKey",
  48499. "name": "Group",
  48500. "in": "header"
  48501. },
  48502. "LoginID": {
  48503. "type": "apiKey",
  48504. "name": "LoginID",
  48505. "in": "header"
  48506. }
  48507. }
  48508. }`
  48509. // SwaggerInfo holds exported Swagger Info so clients can modify it
  48510. var SwaggerInfo = &swag.Spec{
  48511. Version: "1.0",
  48512. Host: "",
  48513. BasePath: "",
  48514. Schemes: []string{},
  48515. Title: "MTP2.0 查询服务 API",
  48516. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  48517. InfoInstanceName: "swagger",
  48518. SwaggerTemplate: docTemplate,
  48519. }
  48520. func init() {
  48521. swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
  48522. }