swagger.yaml 438 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. rulekey:
  35. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  36. type: string
  37. sort:
  38. description: 排序
  39. type: integer
  40. title:
  41. description: 标题
  42. type: string
  43. type:
  44. description: 类型,1:菜单 2:按钮
  45. type: integer
  46. type: object
  47. common.QueryImageConfigsRsp:
  48. properties:
  49. areauserid:
  50. description: 所属机构ID
  51. type: integer
  52. configid:
  53. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  54. type: integer
  55. createdate:
  56. description: 创建时间
  57. type: string
  58. creatorid:
  59. description: 创建人
  60. type: integer
  61. imagepath:
  62. description: 图片
  63. type: string
  64. imagetype:
  65. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  66. type: integer
  67. isshow:
  68. description: 是否展示 - 0:不展示 1:展示
  69. type: integer
  70. marketid:
  71. description: 市场ID
  72. type: integer
  73. modifierid:
  74. description: 操作人
  75. type: integer
  76. sort:
  77. description: 排序
  78. type: integer
  79. title:
  80. description: 标题
  81. type: string
  82. trademode:
  83. description: 交易模式
  84. type: integer
  85. updatedate:
  86. description: 修改时间
  87. type: string
  88. url:
  89. description: 链接(地址或商品ID)
  90. type: string
  91. urltype:
  92. description: 链接类型 - 1:直接地址 2:商品ID
  93. type: integer
  94. required:
  95. - configid
  96. type: object
  97. common.QueryNoticeRsp:
  98. properties:
  99. auditoruserid:
  100. description: 审核人
  101. type: integer
  102. auditremark:
  103. description: 审核备注
  104. type: string
  105. audittime:
  106. description: 审核日期
  107. type: string
  108. autoid:
  109. description: 自增ID
  110. type: integer
  111. content:
  112. description: 内容
  113. type: string
  114. createtime:
  115. description: 创建时间
  116. type: string
  117. creatorid:
  118. description: 建仓人
  119. type: integer
  120. endtime:
  121. description: 结束时间
  122. type: string
  123. istop:
  124. description: 是否置顶 - 0:不置顶 1:置顶
  125. type: integer
  126. msgiconurl:
  127. description: 消息图标Url
  128. type: string
  129. msgtype:
  130. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  131. type: integer
  132. publisher:
  133. description: 消息发布者
  134. type: string
  135. readed:
  136. description: 是否已读
  137. type: boolean
  138. scheduletime:
  139. description: 计划发送时间
  140. type: string
  141. sendtype:
  142. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  143. type: integer
  144. sentstatus:
  145. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  146. type: integer
  147. title:
  148. description: 标题
  149. type: string
  150. userid:
  151. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  152. type: integer
  153. required:
  154. - autoid
  155. type: object
  156. common.QueryProvincesAndCitiesRsp:
  157. properties:
  158. cities:
  159. description: 市
  160. items:
  161. $ref: '#/definitions/models.Division'
  162. type: array
  163. province:
  164. $ref: '#/definitions/models.Division'
  165. description: 省
  166. type: object
  167. type: object
  168. common.QueryTableDefineRsp:
  169. properties:
  170. columns:
  171. description: 列头信息数组
  172. items:
  173. $ref: '#/definitions/models.Tablecolumnconfig'
  174. type: array
  175. remark:
  176. description: Remark
  177. type: string
  178. tabelmenu:
  179. description: 列表菜单
  180. type: string
  181. tablekey:
  182. description: 列表Key
  183. type: string
  184. tablename:
  185. description: 列表名称
  186. type: string
  187. tabletype:
  188. description: 列表类型 - 1:管理端 2:终端
  189. type: integer
  190. required:
  191. - tablekey
  192. type: object
  193. common.QueryTraderMenuRsp:
  194. properties:
  195. OperationMenu:
  196. description: 功能菜单
  197. items:
  198. $ref: '#/definitions/models.OperationPrimaryMenu'
  199. type: array
  200. QuoteMenu:
  201. description: 报价牌分类菜单
  202. items:
  203. $ref: '#/definitions/models.QuotePrimaryMenu'
  204. type: array
  205. type: object
  206. cptrade.Cptradepositioncancel:
  207. properties:
  208. accountid:
  209. description: 申请人账户ID
  210. type: integer
  211. applystatus:
  212. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  213. type: integer
  214. applytime:
  215. description: 申请时间
  216. type: string
  217. cancelid:
  218. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  219. type: integer
  220. cancelqty:
  221. description: 注销数量
  222. type: integer
  223. createtime:
  224. description: 创建时间
  225. type: string
  226. creatorid:
  227. description: 创建人ID
  228. type: integer
  229. creatorname:
  230. description: 创建人
  231. type: string
  232. goodscode:
  233. description: 订单商品代码
  234. type: string
  235. goodsid:
  236. description: 商品ID
  237. type: integer
  238. goodsname:
  239. description: 订单商品名称
  240. type: string
  241. goodunit:
  242. description: 报价单位
  243. type: string
  244. handlestatus:
  245. description: 处理状态
  246. type: integer
  247. marketid:
  248. description: 市场ID
  249. type: integer
  250. marketname:
  251. description: 市场名称
  252. type: string
  253. tradedate:
  254. description: 交易日(yyyyMMdd)
  255. type: string
  256. userid:
  257. description: 申请人ID
  258. type: integer
  259. required:
  260. - cancelid
  261. type: object
  262. cptrade.Cptradepresaleapply:
  263. properties:
  264. accountid:
  265. description: 申请人账户ID
  266. type: integer
  267. applyid:
  268. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  269. type: integer
  270. applyremark:
  271. description: 申请备注
  272. type: string
  273. applystatus:
  274. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  275. type: integer
  276. applytime:
  277. description: 申请时间
  278. type: string
  279. attachmenturl:
  280. description: 附件地址
  281. type: string
  282. endtime:
  283. description: 预售结束时间
  284. type: string
  285. goodscode:
  286. description: 商品代码
  287. type: string
  288. goodsid:
  289. description: 商品ID
  290. type: integer
  291. goodsname:
  292. description: 商品名称
  293. type: string
  294. goodunit:
  295. description: 报价单位
  296. type: string
  297. handlestatus:
  298. description: 处理状态
  299. type: integer
  300. marketid:
  301. description: 预售市场ID
  302. type: integer
  303. marketname:
  304. description: 预售市场名称
  305. type: string
  306. presaleqty:
  307. description: 预售数量
  308. type: integer
  309. relatedgoodscode:
  310. description: 关联交易合约代码
  311. type: string
  312. relatedgoodsid:
  313. description: 关联交易合约ID
  314. type: integer
  315. relatedgoodsname:
  316. description: 关联交易合约名称
  317. type: string
  318. starttime:
  319. description: 预售开始时间
  320. type: string
  321. tradedate:
  322. description: 交易日(yyyyMMdd)
  323. type: string
  324. trademode:
  325. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  326. type: integer
  327. userid:
  328. description: 申请人ID
  329. type: integer
  330. required:
  331. - applyid
  332. type: object
  333. cptrade.Cptradeusergoodsdata:
  334. properties:
  335. EnabledQty:
  336. description: 可用量
  337. type: integer
  338. GoodsCode:
  339. description: 订单商品代码
  340. type: string
  341. GoodsName:
  342. description: 订单商品名称
  343. type: string
  344. WRStandardCode:
  345. description: 仓单标准代码
  346. type: string
  347. WRStandardName:
  348. description: 仓单标准名称
  349. type: string
  350. accountid:
  351. description: 账户ID
  352. type: integer
  353. cancelqty:
  354. description: 注销量
  355. type: integer
  356. curpresaleqty:
  357. description: 当前预售量
  358. type: integer
  359. deliveryqty:
  360. description: 交割量
  361. type: integer
  362. freezeamount:
  363. description: 冻结金额
  364. type: number
  365. goodsid:
  366. description: 商品ID
  367. type: integer
  368. goodunit:
  369. description: 报价单位
  370. type: string
  371. hasspotfreeze:
  372. description: 是否有现货冻结 - 0:否 1:有
  373. type: integer
  374. inqty:
  375. description: 转入量(总数量)
  376. type: integer
  377. marketid:
  378. description: 市场ID
  379. type: integer
  380. presaledamount:
  381. description: 已预售总金额
  382. type: integer
  383. presaledqty:
  384. description: 已预售量
  385. type: integer
  386. userid:
  387. description: 用户ID
  388. type: integer
  389. wrstandardid:
  390. description: 仓单标准ID
  391. type: integer
  392. required:
  393. - accountid
  394. - goodsid
  395. type: object
  396. cptrade.QueryCPTradeMyBidRsp:
  397. properties:
  398. accountid:
  399. description: 账户ID[报价币种]
  400. type: integer
  401. goodsid:
  402. description: 商品ID
  403. type: integer
  404. goodunit:
  405. description: 报价单位
  406. type: string
  407. marketid:
  408. description: 市场ID
  409. type: integer
  410. orderid:
  411. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  412. type: integer
  413. orderprice:
  414. description: 委托价格
  415. type: number
  416. orderqty:
  417. description: 委托数量
  418. type: integer
  419. ordertime:
  420. description: 委托时间
  421. type: string
  422. ordertotalprice:
  423. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  424. type: number
  425. ordertotalweight:
  426. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  427. type: integer
  428. totaltotalprice:
  429. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  430. type: number
  431. tradeprice:
  432. description: 成交价格
  433. type: number
  434. tradeqty:
  435. description: 成交数量
  436. type: integer
  437. required:
  438. - accountid
  439. - goodsid
  440. - marketid
  441. - orderid
  442. - orderqty
  443. - ordertime
  444. - tradeprice
  445. - tradeqty
  446. type: object
  447. cptrade.QueryCPTradeOrderDetailRsq:
  448. properties:
  449. accountid:
  450. description: 账户ID[报价币种]
  451. type: integer
  452. buildtype:
  453. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  454. type: integer
  455. buyorsell:
  456. description: 买卖 - 0:买 1:卖
  457. type: integer
  458. cancelorderid:
  459. description: 撤单单号(撤单时填写)
  460. type: integer
  461. cancelqty:
  462. description: 撤单数量
  463. type: integer
  464. clientordertime:
  465. description: 客户端委托时间
  466. type: string
  467. clientticket:
  468. description: 客户端流水号
  469. type: string
  470. clienttype:
  471. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  472. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  473. type: integer
  474. closeexchagechargevalue:
  475. description: 平仓交易所手续费设置值
  476. type: number
  477. closefeealgorithm:
  478. description: 平仓手续费收取方式 1:比率 2:固定
  479. type: integer
  480. closefreezecharge:
  481. description: 平仓冻结手续费(先建后平操作,需要记录)
  482. type: number
  483. closememberchargevalue:
  484. description: 平仓会员手续费设置值
  485. type: number
  486. closeqty:
  487. description: 平仓数量(先建后平操作 需要记录)
  488. type: integer
  489. closetradeqty:
  490. description: 平仓成交数量(先建后平操作,需要记录)
  491. type: integer
  492. closeunfreezecharge:
  493. description: 平仓解冻手续费(先建后平操作,需要记录)
  494. type: number
  495. delistingtype:
  496. description: 摘牌类型 - 1:价格最优 2:点选成交
  497. type: integer
  498. freezecharge:
  499. description: 冻结手续费
  500. type: number
  501. freezemargin:
  502. description: 冻结保证金(冻结交易金额)
  503. type: number
  504. gcaccountid:
  505. description: 账户ID[合约币种]
  506. type: integer
  507. goodsid:
  508. description: 商品ID
  509. type: integer
  510. isconfirmexercise:
  511. description: 是否确认行权- 0:否 1:是
  512. type: integer
  513. ispreexercise:
  514. description: 是否预申报- 0:否 1:是
  515. type: integer
  516. listingselecttype:
  517. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  518. type: integer
  519. marginalgorithm:
  520. description: 保证金收取方式 1:比率 2:固定
  521. type: integer
  522. marginvalue:
  523. description: 即市保证金设置值
  524. type: number
  525. marketid:
  526. description: 市场ID
  527. type: integer
  528. marketmaxsub:
  529. description: 市价最大偏移范围
  530. type: number
  531. memberuserid:
  532. description: 所属会员UserID
  533. type: integer
  534. openexchagechargevalue:
  535. description: 建仓交易所手续费设置值
  536. type: number
  537. openfeealgorithm:
  538. description: 建仓手续费收取方式 1:比率 2:固定
  539. type: integer
  540. openfreezecharge:
  541. description: 开仓冻结手续费(先建后平操作,需要记录)
  542. type: number
  543. openmemberchargevalue:
  544. description: 建仓会员手续费设置值
  545. type: number
  546. openqty:
  547. description: 开仓数量(先建后平操作,需要记录)
  548. type: integer
  549. opentradeqty:
  550. description: 开仓成交数量(先建后平操作,需要记录)
  551. type: integer
  552. openunfreezecharge:
  553. description: 开仓解冻手续费(先建后平操作,需要记录)
  554. type: number
  555. operatetype:
  556. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  557. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  558. 15:管理端协议转让
  559. type: integer
  560. operatorid:
  561. description: 登录账号(LoginID)
  562. type: integer
  563. optiontype:
  564. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  565. type: integer
  566. orderprice:
  567. description: 委托价格
  568. type: number
  569. orderqty:
  570. description: 委托数量
  571. type: integer
  572. ordersrc:
  573. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  574. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  575. type: integer
  576. orderstatus:
  577. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  578. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  579. 16:成交失败违约(荷兰式竞拍专用)
  580. type: integer
  581. ordertime:
  582. description: 委托时间
  583. type: string
  584. preexerciseprice:
  585. description: 预申报价格
  586. type: number
  587. premium:
  588. description: 权利金
  589. type: number
  590. preorderid:
  591. description: 关联预埋单号(止盈止损单时填写)
  592. type: integer
  593. pricemode:
  594. description: '取价方式 - 1:市价 2: 限价'
  595. type: integer
  596. quoteid:
  597. description: 报价单ID
  598. type: integer
  599. relatedid:
  600. description: 关联单号(交割单)
  601. type: integer
  602. retcode:
  603. description: 错误代码
  604. type: integer
  605. sessionid:
  606. description: 会话ID
  607. type: integer
  608. strorderid:
  609. description: 委托单号
  610. type: string
  611. tradedate:
  612. description: 交易日(yyyyMMdd)
  613. type: string
  614. tradeproperty:
  615. description: 交易属性
  616. type: integer
  617. tradeqty:
  618. description: 成交数量
  619. type: integer
  620. unfreezecharge:
  621. description: 解冻手续费
  622. type: number
  623. unfreezemargin:
  624. description: 解冻保证金
  625. type: number
  626. updatetime:
  627. description: 更新时间
  628. type: string
  629. uuid:
  630. description: 发起端唯一id
  631. type: string
  632. validtime:
  633. description: 有效期限
  634. type: string
  635. validtype:
  636. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  637. type: integer
  638. volumetype:
  639. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  640. type: integer
  641. required:
  642. - accountid
  643. - buildtype
  644. - buyorsell
  645. - goodsid
  646. - marketid
  647. - memberuserid
  648. - operatetype
  649. - orderqty
  650. - ordertime
  651. - pricemode
  652. - strorderid
  653. - tradedate
  654. - validtype
  655. type: object
  656. cptrade.QueryMyCPTradeGoodsRsp:
  657. properties:
  658. accountid:
  659. description: 卖方账户ID
  660. type: integer
  661. agreeunit:
  662. description: 合约单位
  663. type: number
  664. applyid:
  665. description: 关联申请ID
  666. type: integer
  667. attachmenturl:
  668. description: 附件地址
  669. type: string
  670. createtime:
  671. description: 创建时间
  672. type: string
  673. currencyid:
  674. description: 报价货币ID
  675. type: integer
  676. decimalplace:
  677. description: 报价小数位
  678. type: integer
  679. endtime:
  680. description: 预售结束时间
  681. type: string
  682. floorprice:
  683. description: 底价[大宗式竞拍]
  684. type: number
  685. goodscode:
  686. description: 商品代码(预售)
  687. type: string
  688. goodsdetail:
  689. description: 详情[大宗]
  690. type: string
  691. goodsid:
  692. description: 商品ID(自增ID SEQ_GOODS)
  693. type: integer
  694. goodsname:
  695. description: 商品名称(预售)
  696. type: string
  697. goodunit:
  698. description: 报价单位
  699. type: string
  700. goodunitid:
  701. description: 报价单位ID
  702. type: integer
  703. marketid:
  704. description: 所属市场ID
  705. type: integer
  706. marketname:
  707. description: 预售市场名称
  708. type: string
  709. presaledamount:
  710. description: 已预售总金额(预售结束时更新)
  711. type: number
  712. presaledqty:
  713. description: 已预售量(预售结束时更新)
  714. type: integer
  715. presalemode:
  716. description: 预售模式 - 1:一口价 2:大宗式竞拍
  717. type: integer
  718. presaleqty:
  719. description: 预售数量
  720. type: integer
  721. refprice:
  722. description: 参考价格[一口价]
  723. type: number
  724. relatedgoodscode:
  725. description: 商品代码(订单)
  726. type: string
  727. relatedgoodsid:
  728. description: 关联交易合约ID
  729. type: integer
  730. relatedgoodsname:
  731. description: 商品名称(订单)
  732. type: string
  733. relatedmarketid:
  734. description: 关联交易合约市场ID
  735. type: integer
  736. sellstatus:
  737. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  738. type: integer
  739. startprice:
  740. description: 起拍价[大宗式竞拍]
  741. type: number
  742. starttime:
  743. description: 预售开始时间
  744. type: string
  745. tradedate:
  746. description: 交易日(yyyyMMdd)
  747. type: string
  748. tradeprice:
  749. description: 成交价[大宗]
  750. type: number
  751. userid:
  752. description: 卖方用户ID
  753. type: integer
  754. required:
  755. - goodscode
  756. - goodsid
  757. - goodsname
  758. - marketid
  759. - relatedgoodscode
  760. - relatedgoodsname
  761. type: object
  762. cptrade.QueryPresaleGoodsExRsp:
  763. properties:
  764. attachmenturl:
  765. description: 附件地址
  766. type: string
  767. createtime:
  768. description: 创建时间
  769. type: string
  770. endtime:
  771. description: 预售结束时间
  772. type: string
  773. floorprice:
  774. description: 底价[大宗式竞拍]
  775. type: number
  776. goodsdetail:
  777. description: 详情[大宗]
  778. type: string
  779. goodsid:
  780. description: 商品ID(预售)
  781. type: integer
  782. goodunit:
  783. description: 报价单位
  784. type: string
  785. marketid:
  786. description: 预售市场ID - 根据预售模式选择市场
  787. type: integer
  788. presaledamount:
  789. description: 已预售总金额(预售结束时更新)
  790. type: number
  791. presaledqty:
  792. description: 已预售量(预售结束时更新)
  793. type: integer
  794. presalemode:
  795. description: 预售模式 - 1:一口价 2:大宗式竞拍
  796. type: integer
  797. presaleqty:
  798. description: 预售数量
  799. type: integer
  800. refprice:
  801. description: 参考价格[一口价]
  802. type: number
  803. relatedgoodsid:
  804. description: 关联交易合约ID
  805. type: integer
  806. relatedmarketid:
  807. description: 关联交易合约市场ID
  808. type: integer
  809. sellstatus:
  810. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  811. type: integer
  812. startprice:
  813. description: 起拍价[大宗式竞拍]
  814. type: number
  815. starttime:
  816. description: 预售开始时间
  817. type: string
  818. tradedate:
  819. description: 交易日(yyyyMMdd)
  820. type: string
  821. tradeprice:
  822. description: 成交价[大宗]
  823. type: number
  824. required:
  825. - goodsid
  826. type: object
  827. delivery.QueryDeliveryRelationRsp:
  828. properties:
  829. begindate:
  830. description: 起始日期(yyyyMMdd)
  831. type: string
  832. buytemplateid:
  833. description: 买履约计划模板ID
  834. type: integer
  835. deliverygoodscode:
  836. description: 品种代码
  837. type: string
  838. deliverygoodsid:
  839. description: 交割商品
  840. type: integer
  841. deliverygoodsname:
  842. description: 品种名称
  843. type: string
  844. deliverymode:
  845. description: 交割方式 - 1:点选式 2:申报式
  846. type: integer
  847. deliverypricerule:
  848. description: 交割价规则- 1:行情价 2:建仓价
  849. type: integer
  850. deliverytype:
  851. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  852. type: integer
  853. enddate:
  854. description: 结束日期(yyyyMMdd)
  855. type: string
  856. goodscode:
  857. description: 商品代码
  858. type: string
  859. goodsid:
  860. description: 交易合约ID
  861. type: integer
  862. goodsname:
  863. description: 商品名称
  864. type: string
  865. marketid:
  866. description: 市场ID
  867. type: integer
  868. mindeliveryqty:
  869. description: 最小交割系数(K)
  870. type: integer
  871. p2deliveryprice:
  872. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  873. type: number
  874. p2deliveryratio:
  875. description: P2合约系数(p)
  876. type: integer
  877. p2goodsid:
  878. description: P2合约ID
  879. type: integer
  880. p2pricemode:
  881. description: P2合约价格方式 - 1:商品价 2:固定值
  882. type: integer
  883. pdeliveryprice:
  884. description: P合约价格(商品价时填写0,固定值时填写固定值)
  885. type: number
  886. pdeliveryratio:
  887. description: P合约系数(n)
  888. type: integer
  889. pgoodsid:
  890. description: P合约ID
  891. type: integer
  892. ppricemode:
  893. description: P合约价格方式 - 1:商品价 2:固定值
  894. type: integer
  895. rratio:
  896. description: 兑换系数(R)
  897. type: integer
  898. rratio1:
  899. description: 兑换系数(交易合约)(R1)
  900. type: integer
  901. rratio2:
  902. description: 兑换系数(仓单标准)(R2)
  903. type: integer
  904. selltemplateid:
  905. description: 卖履约计划模板ID
  906. type: integer
  907. wrstandardid:
  908. description: 仓单标准ID
  909. type: integer
  910. xdeliveryratio:
  911. description: 交易合约系数(m)
  912. type: integer
  913. required:
  914. - begindate
  915. - enddate
  916. - goodsid
  917. - mindeliveryqty
  918. - xdeliveryratio
  919. type: object
  920. ermcp.ExposureDetailRsp:
  921. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  922. ermcp.ExposureHedgePosDetailRsp:
  923. $ref: '#/definitions/models.ErmcpHedgePositionDetail'
  924. ermcp.ExposureHedgePositionRsp:
  925. $ref: '#/definitions/models.ErmcpHedgePosition'
  926. ermcp.ExposureSpotDetailRsp:
  927. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  928. ermcp.ExposureSpotRsp:
  929. $ref: '#/definitions/models.AreaSpotModel'
  930. ermcp.HisExposureRsp:
  931. $ref: '#/definitions/models.ErmcpHisExposureS'
  932. ermcp.PendingAuditCntRsp:
  933. $ref: '#/definitions/models.ErmcpPendingAudit'
  934. ermcp.QryAvalidGPRsp:
  935. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  936. ermcp.QryGGCovertCfgRsp:
  937. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  938. ermcp.QryMGChangeLogRsp:
  939. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  940. ermcp.QryMiddleGoodsDetailRsp:
  941. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  942. ermcp.QryMiddleGoodsRsp:
  943. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  944. ermcp.QryOPLogRsp:
  945. $ref: '#/definitions/models.ErmcpOPLogModel'
  946. ermcp.QryUserInfoRsp:
  947. $ref: '#/definitions/models.ErmcpUserModel'
  948. ermcp.QryWarehouseRsp:
  949. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  950. ermcp.QueryErmcpTradePositionRsp:
  951. properties:
  952. agreeunit:
  953. description: 合约单位
  954. type: number
  955. buyorsell:
  956. description: 方向 - 0:买 1:卖
  957. type: integer
  958. curpositionqty:
  959. description: 持仓(总仓数量, 期末头寸)
  960. type: integer
  961. curtdposition:
  962. description: 今仓数量(期末今日头寸)
  963. type: integer
  964. curtdpositionenabled:
  965. description: 今仓可用
  966. type: integer
  967. decimalplace:
  968. description: 报价小数位
  969. type: integer
  970. enableqty:
  971. description: 可用(总仓可用)
  972. type: integer
  973. exexchangename:
  974. description: 外部交易所名称
  975. type: string
  976. goodscode:
  977. description: 商品代码(内部)
  978. type: string
  979. goodsid:
  980. description: 商品ID(自增ID SEQ_GOODS)
  981. type: integer
  982. goodsname:
  983. description: 商品名称
  984. type: string
  985. last:
  986. description: 现价
  987. type: number
  988. marketid:
  989. description: 所属市场ID
  990. type: integer
  991. openaverageprice:
  992. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  993. type: number
  994. opencost:
  995. description: 开仓成本
  996. type: number
  997. openpl:
  998. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  999. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1000. type: number
  1001. outgoodscode:
  1002. description: 商品代码(外部)
  1003. type: string
  1004. positionaverageprice:
  1005. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1006. type: number
  1007. positioncost:
  1008. description: 持仓成本
  1009. type: number
  1010. positionpl:
  1011. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1012. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1013. type: number
  1014. positionplrate:
  1015. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1016. type: number
  1017. usedmargin:
  1018. description: 占用保证金
  1019. type: number
  1020. type: object
  1021. ermcp.RealtimeExposurePositionRsp:
  1022. $ref: '#/definitions/models.ErmcpExposurePostion'
  1023. ermcp.RealtimeExposureRsp:
  1024. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1025. erms2.QueryArbitrageStrategyRsp:
  1026. properties:
  1027. applybasis:
  1028. description: 申请基差
  1029. type: number
  1030. asapplyid:
  1031. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1032. type: string
  1033. asname:
  1034. description: 策略名称
  1035. type: string
  1036. asno:
  1037. description: 策略编号
  1038. type: string
  1039. basischangepl:
  1040. description: 基差变动损益[结算更新]
  1041. type: number
  1042. biztype:
  1043. description: 业务类型 - 1:正向套利 -1:反向套利
  1044. type: integer
  1045. closetradedate:
  1046. description: 完结交易日(yyyyMMdd)
  1047. type: string
  1048. curbasis:
  1049. description: 当前基差[结算更新]
  1050. type: number
  1051. deliverygoodsid:
  1052. description: 现货品种ID
  1053. type: integer
  1054. futureavgprice:
  1055. description: 期货建仓均价
  1056. type: number
  1057. futurecloseamount:
  1058. description: 期货平仓金额
  1059. type: number
  1060. futurecloseqty:
  1061. description: 期货平仓数量
  1062. type: number
  1063. futureopenamount:
  1064. description: 期货开仓金额
  1065. type: number
  1066. futureopenqty:
  1067. description: 期货开仓数量
  1068. type: number
  1069. futurepl:
  1070. description: 期货总盈亏[结算更新]
  1071. type: number
  1072. futureqty:
  1073. description: 期货持仓数量
  1074. type: number
  1075. futurequote:
  1076. description: 期货额度
  1077. type: number
  1078. goodsgroupid:
  1079. description: 期货品种ID
  1080. type: integer
  1081. marketid:
  1082. description: 市场ID
  1083. type: integer
  1084. netexposure:
  1085. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1086. type: number
  1087. netexposurepl:
  1088. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1089. type: number
  1090. netexposurerate:
  1091. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1092. type: number
  1093. openbasis:
  1094. description: 建仓基差
  1095. type: number
  1096. pricedspotqty:
  1097. description: 已定价现货数量
  1098. type: number
  1099. pricedspotqtynotax:
  1100. description: 已定价现货不含税数量
  1101. type: number
  1102. remark:
  1103. description: 备注
  1104. type: string
  1105. spotavgprice:
  1106. description: 现货均价
  1107. type: number
  1108. spotbuyamount:
  1109. description: 现货采购金额
  1110. type: number
  1111. spotbuyqty:
  1112. description: 现货采购数量
  1113. type: number
  1114. spotpl:
  1115. description: 现货总盈亏[结算更新]
  1116. type: number
  1117. spotquota:
  1118. description: 现货额度
  1119. type: number
  1120. spotsellamount:
  1121. description: 现货销售金额
  1122. type: number
  1123. spotsellqty:
  1124. description: 现货销售数量
  1125. type: number
  1126. spotusedquota:
  1127. description: 现货占用资金
  1128. type: number
  1129. strategystatus:
  1130. description: 策略状态 - 0:未结束 1:已结束
  1131. type: integer
  1132. totalpl:
  1133. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1134. type: number
  1135. tradedate:
  1136. description: 交易日(yyyyMMdd)
  1137. type: string
  1138. updatetime:
  1139. description: 更新时间
  1140. type: string
  1141. usedquota:
  1142. description: 已占用资金
  1143. type: number
  1144. userid:
  1145. description: 所属机构
  1146. type: integer
  1147. required:
  1148. - asapplyid
  1149. type: object
  1150. erms2.QueryInnerTradeDetailRsp:
  1151. properties:
  1152. accountid:
  1153. description: 账号ID
  1154. type: integer
  1155. agreeunit:
  1156. description: 合约单位
  1157. type: number
  1158. asapplyid:
  1159. description: 策略申请ID
  1160. type: integer
  1161. asname:
  1162. description: 策略名称
  1163. type: string
  1164. asno:
  1165. description: 策略编号
  1166. type: string
  1167. buyorsell:
  1168. description: 方向 - 0:买 1:卖
  1169. type: integer
  1170. channelbuildtype:
  1171. description: 委托单据类型 0:无 1:建仓 2:平仓
  1172. type: integer
  1173. closetype:
  1174. description: 平仓方式 - 0:无 1:平今 2:平昨
  1175. type: integer
  1176. decimalplace:
  1177. description: 报价小数位
  1178. type: integer
  1179. detailtype:
  1180. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1181. type: integer
  1182. exexchangecode:
  1183. description: 外部交易所代码
  1184. type: string
  1185. exexchangename:
  1186. description: 外部交易所名称
  1187. type: string
  1188. goodscode:
  1189. description: 商品代码(合约)
  1190. type: string
  1191. goodsgroupid:
  1192. description: 商品组ID(品种ID)
  1193. type: integer
  1194. goodsgroupname:
  1195. description: 商品组名称(品种)
  1196. type: string
  1197. goodsid:
  1198. description: 商品ID
  1199. type: integer
  1200. goodsname:
  1201. description: 商品名称(合约)
  1202. type: string
  1203. goodunit:
  1204. description: 报价单位
  1205. type: string
  1206. marketid:
  1207. description: 市场ID
  1208. type: integer
  1209. orderid:
  1210. description: 委托单号
  1211. type: string
  1212. outgoodscode:
  1213. description: 商品代码(外部)
  1214. type: string
  1215. relatedouttradeid:
  1216. description: 关联外部成交单ID
  1217. type: string
  1218. remark:
  1219. description: 备注
  1220. type: string
  1221. spotcontractid:
  1222. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1223. type: integer
  1224. spotcontractno:
  1225. description: 现货合同编号
  1226. type: string
  1227. tradeid:
  1228. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1229. type: string
  1230. tradeprice:
  1231. description: 成交价格
  1232. type: number
  1233. tradeqty:
  1234. description: 成交数量
  1235. type: integer
  1236. tradetime:
  1237. description: 成交时间
  1238. type: string
  1239. updatetime:
  1240. description: 更新时间
  1241. type: string
  1242. required:
  1243. - asapplyid
  1244. - buyorsell
  1245. - goodscode
  1246. - goodsgroupid
  1247. - goodsgroupname
  1248. - goodsname
  1249. - tradeid
  1250. type: object
  1251. erms2.QuerySpotContractRsp:
  1252. properties:
  1253. accountid:
  1254. description: 资金账户ID
  1255. type: integer
  1256. areauserid:
  1257. description: 所属机构
  1258. type: integer
  1259. closedate:
  1260. description: 终止日期
  1261. type: string
  1262. closeremark:
  1263. description: 结束备注
  1264. type: string
  1265. closetradedate:
  1266. description: 完结交易日(yyyyMMdd)
  1267. type: string
  1268. closetype:
  1269. description: 终止类型 - 1:违约 2:提前终止
  1270. type: integer
  1271. contractamount:
  1272. description: 合同金额
  1273. type: number
  1274. contractattachment:
  1275. description: 合同附件
  1276. type: string
  1277. contractno:
  1278. description: 现货合同编号
  1279. type: string
  1280. contractqty:
  1281. description: 合同数量(数值) (用于计算)
  1282. type: number
  1283. contractqtychar:
  1284. description: 合同数量\已订价数量 (用于显示)
  1285. type: string
  1286. contractstatus:
  1287. description: 合同状态 - 0:未结束 1:已结束
  1288. type: integer
  1289. contracttype:
  1290. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1291. type: integer
  1292. customeraccountid:
  1293. description: 客户资金账户ID
  1294. type: integer
  1295. customeruserid:
  1296. description: 客户ID
  1297. type: integer
  1298. deliverygoodsdesc:
  1299. description: 品种说明
  1300. type: string
  1301. deliverygoodsid:
  1302. description: 现货品种ID
  1303. type: integer
  1304. handlestatus:
  1305. description: 处理状态
  1306. type: integer
  1307. invoiceatt:
  1308. description: 发票附件
  1309. type: string
  1310. invoicedatetime:
  1311. description: 开收票更新时间
  1312. type: string
  1313. invoiceopentime:
  1314. description: 开票时间
  1315. type: string
  1316. invoiceremark:
  1317. description: 发票备注
  1318. type: string
  1319. invoicestatus:
  1320. description: 开收票状态 - 0:未开票 1:已开票
  1321. type: integer
  1322. lastdate:
  1323. description: 交货时间
  1324. type: string
  1325. marketid:
  1326. description: 市场ID
  1327. type: integer
  1328. paydatetime:
  1329. description: 收付款更新时间
  1330. type: string
  1331. payremark:
  1332. description: 收付款备注
  1333. type: string
  1334. paystatus:
  1335. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1336. type: integer
  1337. positionqty:
  1338. description: 头寸数量 - 合同数量去小数部分
  1339. type: integer
  1340. producttype:
  1341. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1342. type: integer
  1343. relatedqty:
  1344. description: 已关联数量
  1345. type: number
  1346. relatedstatus:
  1347. description: 关联完结状态 - 0:未结束 1:已结束
  1348. type: integer
  1349. remark:
  1350. description: 备注
  1351. type: string
  1352. signdate:
  1353. description: 签订日期
  1354. type: string
  1355. spotcontractid:
  1356. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1357. type: string
  1358. spotdatetime:
  1359. description: 收发货更新时间
  1360. type: string
  1361. spotprice:
  1362. description: 价格
  1363. type: number
  1364. spotremark:
  1365. description: 收发货备注
  1366. type: string
  1367. spotstatus:
  1368. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1369. type: integer
  1370. tradedate:
  1371. description: 交易日(yyyyMMdd)
  1372. type: string
  1373. userid:
  1374. description: 业务员用户ID
  1375. type: integer
  1376. warehouseid:
  1377. description: 仓库ID
  1378. type: integer
  1379. wrfactortypeid:
  1380. description: 仓单要素类型ID
  1381. type: integer
  1382. wrstandardid:
  1383. description: 仓单标准ID(SEQ_WRSTANDARD)
  1384. type: integer
  1385. required:
  1386. - spotcontractid
  1387. type: object
  1388. erms3.AddErms2ASApplyReq:
  1389. properties:
  1390. applybasis:
  1391. description: 申请基差
  1392. type: number
  1393. applystatus:
  1394. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1395. type: integer
  1396. asapplyid:
  1397. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1398. type: integer
  1399. asname:
  1400. description: 策略名称
  1401. type: string
  1402. asno:
  1403. description: 策略编号
  1404. type: string
  1405. auditid:
  1406. description: 审核人
  1407. type: integer
  1408. auditremark:
  1409. description: 审核备注
  1410. type: string
  1411. audittime:
  1412. description: 审核时间
  1413. type: string
  1414. biztype:
  1415. description: 业务类型 - 1:正向套利 2:反向套利
  1416. type: integer
  1417. createtime:
  1418. description: 创建时间
  1419. type: string
  1420. creatorid:
  1421. description: 创建人
  1422. type: integer
  1423. deliverygoodsid:
  1424. description: 现货品种ID
  1425. type: integer
  1426. futurequote:
  1427. description: 期货额度
  1428. type: number
  1429. goodsgroupid:
  1430. description: 期货品种ID
  1431. type: integer
  1432. marketid:
  1433. description: 市场ID
  1434. type: integer
  1435. remark:
  1436. description: 备注
  1437. type: string
  1438. spotquota:
  1439. description: 现货额度
  1440. type: number
  1441. tradedate:
  1442. description: 交易日(yyyyMMdd)
  1443. type: string
  1444. userid:
  1445. description: 所属机构
  1446. type: integer
  1447. required:
  1448. - asapplyid
  1449. type: object
  1450. erms3.AddErms2SpotTradeApplyReq:
  1451. properties:
  1452. applyjsondetail:
  1453. description: 申请明细(JSON)
  1454. type: string
  1455. applystatus:
  1456. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1457. type: integer
  1458. areauserid:
  1459. description: 所属机构
  1460. type: integer
  1461. auditid:
  1462. description: 审核人
  1463. type: integer
  1464. auditremark:
  1465. description: 审核备注
  1466. type: string
  1467. audittime:
  1468. description: 审核时间
  1469. type: string
  1470. createtime:
  1471. description: 创建时间
  1472. type: string
  1473. creatorid:
  1474. description: 创建人
  1475. type: integer
  1476. deliverygoodsid:
  1477. description: 现货品种ID
  1478. type: integer
  1479. futureaccountid:
  1480. description: 期货资金账户
  1481. type: integer
  1482. goodsgroupid:
  1483. description: 期货品种
  1484. type: integer
  1485. marketid:
  1486. description: 市场ID
  1487. type: integer
  1488. remark:
  1489. description: 备注
  1490. type: string
  1491. spotaccountid:
  1492. description: 现货资金账户
  1493. type: integer
  1494. spottradeid:
  1495. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1496. type: integer
  1497. spottradename:
  1498. description: 业务名称
  1499. type: string
  1500. spottradeno:
  1501. description: 业务编号
  1502. type: string
  1503. tradedate:
  1504. description: 交易日(yyyyMMdd)
  1505. type: string
  1506. wrstandardid:
  1507. description: 仓单标准ID
  1508. type: integer
  1509. required:
  1510. - spottradeid
  1511. type: object
  1512. erms3.AddSpotContractApplyReq:
  1513. properties:
  1514. accountid:
  1515. description: 资金账户ID
  1516. type: integer
  1517. areauserid:
  1518. description: 所属机构
  1519. type: integer
  1520. contractattachment:
  1521. description: 合同附件
  1522. type: string
  1523. contractno:
  1524. description: 现货合同编号
  1525. type: string
  1526. contracttype:
  1527. description: 现货合同类型 - 1:采购 -1:销售
  1528. type: integer
  1529. creatorid:
  1530. description: 申请人
  1531. type: integer
  1532. customeraccountid:
  1533. description: 客户资金账户ID
  1534. type: integer
  1535. customeruserid:
  1536. description: 客户ID
  1537. type: integer
  1538. details:
  1539. description: 明细
  1540. items:
  1541. $ref: '#/definitions/erms3.SoptContractDetail'
  1542. type: array
  1543. orimargin:
  1544. description: 初始保证金
  1545. type: number
  1546. remark:
  1547. description: 备注
  1548. type: string
  1549. signdate:
  1550. description: 签订日期
  1551. type: string
  1552. required:
  1553. - accountid
  1554. - areauserid
  1555. - contractno
  1556. - contracttype
  1557. - customeraccountid
  1558. - customeruserid
  1559. - details
  1560. - orimargin
  1561. - signdate
  1562. type: object
  1563. erms3.AddSpotContractApplyRsp:
  1564. properties:
  1565. contractno:
  1566. description: 现货合同编号
  1567. type: string
  1568. spotcontractid:
  1569. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  1570. type: integer
  1571. required:
  1572. - contractno
  1573. type: object
  1574. erms3.AddUserInfoApplyReq:
  1575. properties:
  1576. accountid:
  1577. description: 交易系统帐号Id (加密存储)
  1578. type: integer
  1579. areacode:
  1580. description: 机构代码
  1581. type: string
  1582. areaid:
  1583. description: 机构Id
  1584. type: integer
  1585. attachment1:
  1586. description: 附件1
  1587. type: string
  1588. attachment2:
  1589. description: 附件2
  1590. type: string
  1591. attachment3:
  1592. description: 附件3
  1593. type: string
  1594. attachment4:
  1595. description: 附件4
  1596. type: string
  1597. attachment5:
  1598. description: 附件5
  1599. type: string
  1600. auditedby:
  1601. description: 审核人
  1602. type: string
  1603. auditime:
  1604. description: 审核时间
  1605. type: string
  1606. auditsrc:
  1607. description: 审核来源 - 1:管理端 2:终端
  1608. type: integer
  1609. bankaccount:
  1610. description: 银行帐号 (加密存储)
  1611. type: string
  1612. bankaccountname:
  1613. description: 收款人名称
  1614. type: string
  1615. bankcardbackphotourl:
  1616. description: 银行卡背面照地址
  1617. type: string
  1618. bankcardfrontphotourl:
  1619. description: 银行卡正面照地址
  1620. type: string
  1621. bankid:
  1622. description: 银行编码
  1623. type: string
  1624. bankname:
  1625. description: 银行名称
  1626. type: string
  1627. bankpictureurl:
  1628. description: 银行卡正面地址
  1629. type: string
  1630. biznature:
  1631. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  1632. type: integer
  1633. bizscope:
  1634. description: 企业经营范围(企业)
  1635. type: string
  1636. biztype:
  1637. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  1638. type: integer
  1639. brokerid:
  1640. description: 经纪人ID(加密存储)
  1641. type: string
  1642. cardaddress:
  1643. description: 证件地址 (加密存储)
  1644. type: string
  1645. cardbackphotourl:
  1646. description: 背面证件照地址
  1647. type: string
  1648. cardfrontphotourl:
  1649. description: 正面证件照地址
  1650. type: string
  1651. cardnum:
  1652. description: 证件号码 (加密存储)
  1653. type: string
  1654. cardtype:
  1655. description: 证件类型
  1656. type: integer
  1657. cityid:
  1658. description: 市
  1659. type: integer
  1660. company:
  1661. description: 公司(个人)
  1662. type: string
  1663. contactcardbackphotourl:
  1664. description: 联系人证件背面图片地址
  1665. type: string
  1666. contactcardfrontphotourl:
  1667. description: 联系人证件正面图片地址
  1668. type: string
  1669. contactname:
  1670. description: 联系人
  1671. type: string
  1672. countryid:
  1673. description: 国家
  1674. type: integer
  1675. createtime:
  1676. description: 开户申请时间
  1677. type: string
  1678. cusbankid:
  1679. description: 签约类型
  1680. type: string
  1681. cusbankname:
  1682. description: 签约类型名称
  1683. type: string
  1684. customername:
  1685. description: 客户名称(企业名称)
  1686. type: string
  1687. districtid:
  1688. description: 地区
  1689. type: integer
  1690. email:
  1691. description: Email地址(加密存储)
  1692. type: string
  1693. halfbodyphotourl:
  1694. description: 半身照地址
  1695. type: string
  1696. headurl:
  1697. description: 头像地址
  1698. type: string
  1699. ipaddress:
  1700. description: IP地址
  1701. type: string
  1702. isvalidate:
  1703. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  1704. type: string
  1705. legalcardbackphotourl:
  1706. description: 法人身份证背面照地址
  1707. type: string
  1708. legalcardfrontphotourl:
  1709. description: 法人身份证正面照地址
  1710. type: string
  1711. legalpersonname:
  1712. description: 法人姓名(企业)
  1713. type: string
  1714. logincode:
  1715. description: 登录帐号 (加密存储)
  1716. type: string
  1717. memberareaid:
  1718. description: 所属会员ID
  1719. type: integer
  1720. mobile2:
  1721. description: 手机号码[明文-尚志]
  1722. type: string
  1723. mobilephone:
  1724. description: 手机号码 (加密存储)
  1725. type: string
  1726. modifiedby:
  1727. description: 修改人帐号
  1728. type: integer
  1729. modifiedtime:
  1730. description: 修改时间
  1731. type: string
  1732. nickname:
  1733. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  1734. type: string
  1735. openmode:
  1736. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  1737. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  1738. type: integer
  1739. otherurl:
  1740. description: 其它图片地址[使用分号分隔]
  1741. type: string
  1742. postalcode:
  1743. description: 邮政编码
  1744. type: string
  1745. provinceid:
  1746. description: 省
  1747. type: integer
  1748. proxystatementurl:
  1749. description: 授权委托书
  1750. type: string
  1751. qq:
  1752. description: QQ(加密存储
  1753. type: string
  1754. referral:
  1755. description: 推荐人编码
  1756. type: string
  1757. remark:
  1758. description: 备注
  1759. type: string
  1760. removebeforestatus:
  1761. description: REMOVEBEFORESTATUS
  1762. type: integer
  1763. sex:
  1764. description: 性别 - 0:女 1:男
  1765. type: integer
  1766. signedstatus:
  1767. description: 账户一号签签约状态
  1768. type: integer
  1769. signpdfurl:
  1770. description: 签约pdf文件
  1771. type: string
  1772. subbranch:
  1773. description: 开户支行
  1774. type: string
  1775. taxpayernum:
  1776. description: 纳税人识别号
  1777. type: string
  1778. telphone:
  1779. description: 联系电话(加密存储)
  1780. type: string
  1781. userid:
  1782. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  1783. type: integer
  1784. userinfotype:
  1785. description: 用户信息类型 - 1:个人 2:企业
  1786. type: integer
  1787. username:
  1788. description: 用户姓名
  1789. type: string
  1790. userstate:
  1791. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  1792. type: integer
  1793. usertype:
  1794. description: 用户类型 - 1:投资者 2:机构
  1795. type: integer
  1796. videourl:
  1797. description: 视频地址
  1798. type: string
  1799. wechat:
  1800. description: 微信号 (加密存储)
  1801. type: string
  1802. required:
  1803. - userid
  1804. type: object
  1805. erms3.CustomerInfo:
  1806. properties:
  1807. accountids:
  1808. description: 资金账户ID列表
  1809. items:
  1810. type: integer
  1811. type: array
  1812. customername:
  1813. description: 名称(企业名称)
  1814. type: string
  1815. mobile:
  1816. description: 手机号码
  1817. type: string
  1818. userid:
  1819. description: 用户ID
  1820. type: integer
  1821. required:
  1822. - userid
  1823. type: object
  1824. erms3.ModifyUserInfoApplyReq:
  1825. properties:
  1826. accountid:
  1827. description: 交易系统帐号Id (加密存储)
  1828. type: integer
  1829. areacode:
  1830. description: 机构代码
  1831. type: string
  1832. areaid:
  1833. description: 机构Id
  1834. type: integer
  1835. attachment1:
  1836. description: 附件1
  1837. type: string
  1838. attachment2:
  1839. description: 附件2
  1840. type: string
  1841. attachment3:
  1842. description: 附件3
  1843. type: string
  1844. attachment4:
  1845. description: 附件4
  1846. type: string
  1847. attachment5:
  1848. description: 附件5
  1849. type: string
  1850. auditedby:
  1851. description: 审核人
  1852. type: string
  1853. auditime:
  1854. description: 审核时间
  1855. type: string
  1856. auditsrc:
  1857. description: 审核来源 - 1:管理端 2:终端
  1858. type: integer
  1859. bankaccount:
  1860. description: 银行帐号 (加密存储)
  1861. type: string
  1862. bankaccountname:
  1863. description: 收款人名称
  1864. type: string
  1865. bankcardbackphotourl:
  1866. description: 银行卡背面照地址
  1867. type: string
  1868. bankcardfrontphotourl:
  1869. description: 银行卡正面照地址
  1870. type: string
  1871. bankid:
  1872. description: 银行编码
  1873. type: string
  1874. bankname:
  1875. description: 银行名称
  1876. type: string
  1877. bankpictureurl:
  1878. description: 银行卡正面地址
  1879. type: string
  1880. biznature:
  1881. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  1882. type: integer
  1883. bizscope:
  1884. description: 企业经营范围(企业)
  1885. type: string
  1886. biztype:
  1887. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  1888. type: integer
  1889. brokerid:
  1890. description: 经纪人ID(加密存储)
  1891. type: string
  1892. cardaddress:
  1893. description: 证件地址 (加密存储)
  1894. type: string
  1895. cardbackphotourl:
  1896. description: 背面证件照地址
  1897. type: string
  1898. cardfrontphotourl:
  1899. description: 正面证件照地址
  1900. type: string
  1901. cardnum:
  1902. description: 证件号码 (加密存储)
  1903. type: string
  1904. cardtype:
  1905. description: 证件类型
  1906. type: integer
  1907. cityid:
  1908. description: 市
  1909. type: integer
  1910. company:
  1911. description: 公司(个人)
  1912. type: string
  1913. contactcardbackphotourl:
  1914. description: 联系人证件背面图片地址
  1915. type: string
  1916. contactcardfrontphotourl:
  1917. description: 联系人证件正面图片地址
  1918. type: string
  1919. contactname:
  1920. description: 联系人
  1921. type: string
  1922. countryid:
  1923. description: 国家
  1924. type: integer
  1925. createtime:
  1926. description: 开户申请时间
  1927. type: string
  1928. cusbankid:
  1929. description: 签约类型
  1930. type: string
  1931. cusbankname:
  1932. description: 签约类型名称
  1933. type: string
  1934. customername:
  1935. description: 客户名称(企业名称)
  1936. type: string
  1937. districtid:
  1938. description: 地区
  1939. type: integer
  1940. email:
  1941. description: Email地址(加密存储)
  1942. type: string
  1943. halfbodyphotourl:
  1944. description: 半身照地址
  1945. type: string
  1946. headurl:
  1947. description: 头像地址
  1948. type: string
  1949. ipaddress:
  1950. description: IP地址
  1951. type: string
  1952. isvalidate:
  1953. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  1954. type: string
  1955. legalcardbackphotourl:
  1956. description: 法人身份证背面照地址
  1957. type: string
  1958. legalcardfrontphotourl:
  1959. description: 法人身份证正面照地址
  1960. type: string
  1961. legalpersonname:
  1962. description: 法人姓名(企业)
  1963. type: string
  1964. logincode:
  1965. description: 登录帐号 (加密存储)
  1966. type: string
  1967. memberareaid:
  1968. description: 所属会员ID
  1969. type: integer
  1970. mobile2:
  1971. description: 手机号码[明文-尚志]
  1972. type: string
  1973. mobilephone:
  1974. description: 手机号码 (加密存储)
  1975. type: string
  1976. modifiedby:
  1977. description: 修改人帐号
  1978. type: integer
  1979. modifiedtime:
  1980. description: 修改时间
  1981. type: string
  1982. nickname:
  1983. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  1984. type: string
  1985. openmode:
  1986. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  1987. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  1988. type: integer
  1989. otherurl:
  1990. description: 其它图片地址[使用分号分隔]
  1991. type: string
  1992. postalcode:
  1993. description: 邮政编码
  1994. type: string
  1995. provinceid:
  1996. description: 省
  1997. type: integer
  1998. proxystatementurl:
  1999. description: 授权委托书
  2000. type: string
  2001. qq:
  2002. description: QQ(加密存储
  2003. type: string
  2004. referral:
  2005. description: 推荐人编码
  2006. type: string
  2007. remark:
  2008. description: 备注
  2009. type: string
  2010. removebeforestatus:
  2011. description: REMOVEBEFORESTATUS
  2012. type: integer
  2013. sex:
  2014. description: 性别 - 0:女 1:男
  2015. type: integer
  2016. signedstatus:
  2017. description: 账户一号签签约状态
  2018. type: integer
  2019. signpdfurl:
  2020. description: 签约pdf文件
  2021. type: string
  2022. subbranch:
  2023. description: 开户支行
  2024. type: string
  2025. taxpayernum:
  2026. description: 纳税人识别号
  2027. type: string
  2028. telphone:
  2029. description: 联系电话(加密存储)
  2030. type: string
  2031. userid:
  2032. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2033. type: integer
  2034. userinfotype:
  2035. description: 用户信息类型 - 1:个人 2:企业
  2036. type: integer
  2037. username:
  2038. description: 用户姓名
  2039. type: string
  2040. userstate:
  2041. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2042. type: integer
  2043. usertype:
  2044. description: 用户类型 - 1:投资者 2:机构
  2045. type: integer
  2046. videourl:
  2047. description: 视频地址
  2048. type: string
  2049. wechat:
  2050. description: 微信号 (加密存储)
  2051. type: string
  2052. required:
  2053. - userid
  2054. type: object
  2055. erms3.QryAuditContractRsp:
  2056. properties:
  2057. accountid:
  2058. description: 交易员ID
  2059. type: string
  2060. applystatus:
  2061. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2062. type: integer
  2063. curdeliveryqty:
  2064. description: 未交收量
  2065. type: integer
  2066. customername:
  2067. description: 采购方ID
  2068. type: string
  2069. deliverygoodsid:
  2070. description: 品种ID
  2071. type: string
  2072. deliveryqty:
  2073. description: 交收量
  2074. type: integer
  2075. enumdicname:
  2076. description: 单位名称
  2077. type: string
  2078. matchaccountid:
  2079. description: 业务员ID
  2080. type: string
  2081. matchcustomername:
  2082. description: 销售方ID
  2083. type: string
  2084. pricedqty:
  2085. description: 定价量
  2086. type: number
  2087. signdate:
  2088. description: 签订日期
  2089. type: string
  2090. spotcontractid:
  2091. description: 合同ID
  2092. type: string
  2093. totaldqty:
  2094. description: 合同量
  2095. type: number
  2096. unpricedqty:
  2097. description: 未定价量
  2098. type: number
  2099. wrstandardname:
  2100. description: 商品名称
  2101. type: string
  2102. required:
  2103. - matchcustomername
  2104. - spotcontractid
  2105. type: object
  2106. erms3.QryPendingBizRsp:
  2107. $ref: '#/definitions/models.PendingAuditBizModel'
  2108. erms3.QueryBusinessInfoRsp:
  2109. properties:
  2110. businessid:
  2111. description: 业务ID.
  2112. type: integer
  2113. buyamount:
  2114. description: 采购额.
  2115. type: number
  2116. buyqty:
  2117. description: 采购量.
  2118. type: string
  2119. futurepl:
  2120. description: 期货盈亏.
  2121. type: number
  2122. futureqty:
  2123. description: 期货敞口.
  2124. type: string
  2125. goodsid:
  2126. description: 商品名称/商品代码.
  2127. type: string
  2128. hedgingqty:
  2129. description: 套保量.
  2130. type: string
  2131. sellamount:
  2132. description: 销售额.
  2133. type: number
  2134. sellqty:
  2135. description: 销售量.
  2136. type: string
  2137. spotmarketvalue:
  2138. description: 现货市值.
  2139. type: number
  2140. spotpl:
  2141. description: 浮动权益.
  2142. type: number
  2143. spotqty:
  2144. description: 现货量.
  2145. type: string
  2146. statu:
  2147. description: 状态,0-未结束 1-已结束.
  2148. type: integer
  2149. totalpl:
  2150. description: 总盈亏.
  2151. type: number
  2152. totalqty:
  2153. description: 总敞口.
  2154. type: string
  2155. type:
  2156. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2157. type: integer
  2158. type: object
  2159. erms3.QuerySpotContractAppleFormRsp:
  2160. properties:
  2161. goodses:
  2162. description: 合约列表
  2163. items:
  2164. $ref: '#/definitions/models.GoodsIDAndName'
  2165. type: array
  2166. oppositeusers:
  2167. description: 对方账号列表
  2168. items:
  2169. $ref: '#/definitions/erms3.CustomerInfo'
  2170. type: array
  2171. ouruser:
  2172. $ref: '#/definitions/erms3.CustomerInfo'
  2173. description: 我方账号
  2174. type: object
  2175. warehouseinfos:
  2176. description: 仓库信息列表
  2177. items:
  2178. $ref: '#/definitions/models.Warehouseinfo'
  2179. type: array
  2180. wrstandards:
  2181. description: 仓单标准列表
  2182. items:
  2183. $ref: '#/definitions/models.WRStandardInfo'
  2184. type: array
  2185. type: object
  2186. erms3.QuerySpotContractInfoRsp:
  2187. properties:
  2188. accountid:
  2189. description: 表示交易员ID.
  2190. type: integer
  2191. curdeliveryqty:
  2192. description: 表示未交收量.
  2193. type: number
  2194. customername:
  2195. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2196. type: string
  2197. deliverygoodsid:
  2198. description: 表示品种ID.
  2199. type: string
  2200. deliveryqty:
  2201. description: 表示交收量.
  2202. type: number
  2203. matchaccountid:
  2204. description: 表示业务员ID.
  2205. type: integer
  2206. matchcustomername:
  2207. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2208. type: string
  2209. priceqty:
  2210. description: 表示定价量.
  2211. type: number
  2212. relatedbizid:
  2213. description: 表示业务ID.
  2214. type: string
  2215. signdate:
  2216. description: 表示签订日期.
  2217. type: string
  2218. spotcontractid:
  2219. description: 合同ID
  2220. type: string
  2221. status:
  2222. description: 表示状态,0-履约中 1-已完成.
  2223. type: integer
  2224. totalqty:
  2225. description: 表示合同量.
  2226. type: number
  2227. unpricedqty:
  2228. description: 表示未定价量.
  2229. type: number
  2230. wrstandardname:
  2231. description: 表示商品ID.
  2232. type: string
  2233. type: object
  2234. erms3.QueryUserInfoAppliesRsp:
  2235. properties:
  2236. biznature:
  2237. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2238. type: integer
  2239. contactname:
  2240. description: 联系人
  2241. type: string
  2242. createtime:
  2243. description: 开户申请时间
  2244. type: string
  2245. userid:
  2246. description: 用户ID(自增ID)
  2247. type: integer
  2248. userinfotype:
  2249. description: 用户信息类型 - 1:个人 2:企业
  2250. type: integer
  2251. username:
  2252. description: 用户姓名
  2253. type: string
  2254. userstate:
  2255. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2256. type: integer
  2257. required:
  2258. - userid
  2259. type: object
  2260. erms3.QueryUserInfosRsp:
  2261. properties:
  2262. biznature:
  2263. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2264. type: integer
  2265. contactname:
  2266. description: 联系人
  2267. type: string
  2268. customername:
  2269. description: 客户名称(企业名称)
  2270. type: string
  2271. userid:
  2272. description: 用户ID
  2273. type: integer
  2274. userinfotype:
  2275. description: 用户信息类型 - 1:个人 2:企业
  2276. type: integer
  2277. userstatus:
  2278. description: 用户状态 - 1:正常 2:注销
  2279. type: integer
  2280. required:
  2281. - userid
  2282. type: object
  2283. erms3.SoptContractDetail:
  2284. properties:
  2285. deliverygoodsdesc:
  2286. description: 现货品种说明
  2287. type: string
  2288. deliverygoodsid:
  2289. description: 现货品种ID
  2290. type: integer
  2291. deliverygoodsname:
  2292. description: 现货品种名称
  2293. type: string
  2294. pointdesc:
  2295. description: 点价描述
  2296. type: string
  2297. producttype:
  2298. description: 产品类型 1:标准仓单 2:等标 3:非标
  2299. type: integer
  2300. producttypename:
  2301. description: 产品类型名称
  2302. type: string
  2303. spotPointOrderVoList:
  2304. description: 点价列表
  2305. items:
  2306. $ref: '#/definitions/erms3.SpotPointOrder'
  2307. type: array
  2308. spotPriceOrderList:
  2309. description: 定价列表
  2310. items:
  2311. $ref: '#/definitions/erms3.SpotPriceOrder'
  2312. type: array
  2313. unitname:
  2314. description: 单位名称
  2315. type: string
  2316. warehouseid:
  2317. description: 仓库ID
  2318. type: integer
  2319. warehousename:
  2320. description: 仓库名称
  2321. type: string
  2322. wrstandardid:
  2323. description: 交易标的ID
  2324. type: integer
  2325. wrstandardname:
  2326. description: 交易标的名称
  2327. type: string
  2328. required:
  2329. - deliverygoodsid
  2330. - producttype
  2331. - unitname
  2332. - warehouseid
  2333. - wrstandardid
  2334. - wrstandardname
  2335. type: object
  2336. erms3.SpotPointOrder:
  2337. properties:
  2338. basic:
  2339. description: 基差
  2340. type: number
  2341. deliveryenddate:
  2342. description: 交收结束日期
  2343. type: string
  2344. deliverystartdate:
  2345. description: 交收开始日期
  2346. type: string
  2347. enddate:
  2348. description: 点价结束日期
  2349. type: string
  2350. goodsid:
  2351. description: 商品ID
  2352. type: integer
  2353. goodsname:
  2354. description: 商品名称
  2355. type: string
  2356. qty:
  2357. description: 数量
  2358. type: number
  2359. startdate:
  2360. description: 点价开始日期
  2361. type: string
  2362. required:
  2363. - basic
  2364. - goodsid
  2365. - qty
  2366. type: object
  2367. erms3.SpotPriceOrder:
  2368. properties:
  2369. amount:
  2370. description: 金额
  2371. type: number
  2372. deliveryenddate:
  2373. description: 交收结束日期
  2374. type: string
  2375. deliverystartdate:
  2376. description: 交收开始日期
  2377. type: string
  2378. price:
  2379. description: 价格
  2380. type: number
  2381. qty:
  2382. description: 数量
  2383. type: number
  2384. required:
  2385. - amount
  2386. - price
  2387. - qty
  2388. type: object
  2389. hsby.GetHsbyMyCountRsp:
  2390. properties:
  2391. myCouponCount:
  2392. description: 我的优惠卷数量
  2393. type: integer
  2394. myOrderDetailListingCount:
  2395. description: 我的订单求购中数量
  2396. type: integer
  2397. myOrderDetailPreCount:
  2398. description: 我的订单抢购中数量
  2399. type: integer
  2400. myPackageUnReceiveCount:
  2401. description: 我的包裹待收货数量
  2402. type: integer
  2403. myPackageUnSendCount:
  2404. description: 我的包裹待发货数量
  2405. type: integer
  2406. myPayOrderCount:
  2407. description: 我的订单待付款数量
  2408. type: integer
  2409. type: object
  2410. hsby.QueryProvincesAndCitiesRsp:
  2411. properties:
  2412. cities:
  2413. description: 市
  2414. items:
  2415. $ref: '#/definitions/models.Division'
  2416. type: array
  2417. province:
  2418. $ref: '#/definitions/models.Division'
  2419. description: 省
  2420. type: object
  2421. type: object
  2422. models.AreaSpotModel:
  2423. properties:
  2424. areauserid:
  2425. description: 所属机构
  2426. type: integer
  2427. decreaseqty:
  2428. description: 减少数量=-(销售已定价数量+采购计划数量)
  2429. type: number
  2430. increaseqty:
  2431. description: 增加数量=销售计划数量+采购已定价数量
  2432. type: number
  2433. oritoalspotqty:
  2434. description: 昨日数量
  2435. type: number
  2436. totalspotqty:
  2437. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2438. type: number
  2439. updatetime:
  2440. description: 更新时间
  2441. type: string
  2442. wrstandardcode:
  2443. description: 现货品种代码
  2444. type: string
  2445. wrstandardid:
  2446. description: 现货商品ID
  2447. type: integer
  2448. wrstandardname:
  2449. description: 现货品种
  2450. type: string
  2451. type: object
  2452. models.Arearole:
  2453. properties:
  2454. createtime:
  2455. description: 创建时间
  2456. type: string
  2457. creatorid:
  2458. description: 创建人ID
  2459. type: integer
  2460. isreturnscore:
  2461. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  2462. type: integer
  2463. modifierid:
  2464. description: 修改人ID
  2465. type: integer
  2466. modifytime:
  2467. description: 修改时间
  2468. type: string
  2469. orgtype:
  2470. description: 组织机构类型 1:机构 2:交易员
  2471. type: integer
  2472. outuserid:
  2473. description: 外部账户[场外期权做市商]
  2474. type: string
  2475. parentuserid:
  2476. description: 上级组织机构(组织机构)
  2477. type: integer
  2478. roletype:
  2479. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  2480. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  2481. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员
  2482. type: integer
  2483. rootuserid:
  2484. description: 顶级组织机构用户ID(组织机构)
  2485. type: integer
  2486. shoppassword:
  2487. description: 商城店铺登陆密码(商城店铺角色使用)
  2488. type: string
  2489. sublevelpath:
  2490. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  2491. type: string
  2492. tradeaccountid:
  2493. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  2494. type: integer
  2495. transurl:
  2496. description: 物流地址(物流机构)
  2497. type: string
  2498. userid:
  2499. description: 机构用户ID其他做市关系,都设置为 1
  2500. type: integer
  2501. required:
  2502. - roletype
  2503. - userid
  2504. type: object
  2505. models.Clientfixedadconfig:
  2506. properties:
  2507. adsort:
  2508. description: 排序
  2509. type: integer
  2510. adtype:
  2511. description: 广告位类型 - 1:新品抢购(HSBY)
  2512. type: integer
  2513. areauserid:
  2514. description: 所属机构ID
  2515. type: integer
  2516. createdate:
  2517. description: 创建时间
  2518. type: string
  2519. creatorid:
  2520. description: 创建人
  2521. type: integer
  2522. imagepath:
  2523. description: 图片
  2524. type: string
  2525. isshow:
  2526. description: 是否展示 - 0:不展示 1:展示
  2527. type: integer
  2528. modifierid:
  2529. description: 操作人
  2530. type: integer
  2531. recsize:
  2532. description: 推荐尺寸
  2533. type: string
  2534. title:
  2535. description: 标题
  2536. type: string
  2537. updatedate:
  2538. description: 更新时间
  2539. type: string
  2540. urlcontent:
  2541. description: 链接(地址或商品ID)
  2542. type: string
  2543. urltype:
  2544. description: 链接类型 - 1:直接地址 2:商品ID
  2545. type: integer
  2546. required:
  2547. - adsort
  2548. - adtype
  2549. type: object
  2550. models.Division:
  2551. properties:
  2552. autoid:
  2553. description: 自增ID
  2554. type: integer
  2555. divisioncode:
  2556. description: 行政代码
  2557. type: string
  2558. divisionlevel:
  2559. description: 行政级别
  2560. type: string
  2561. divisionname:
  2562. description: 行政名称
  2563. type: string
  2564. modifierid:
  2565. description: 修改人
  2566. type: integer
  2567. modifytime:
  2568. description: 修改时间
  2569. type: string
  2570. parentcode:
  2571. description: 上级行政代码
  2572. type: string
  2573. pathname:
  2574. description: 路径名称
  2575. type: string
  2576. postcode:
  2577. description: 邮政编码
  2578. type: string
  2579. separablename:
  2580. description: 可拆分的全称
  2581. type: string
  2582. shortcode:
  2583. description: 地区简码
  2584. type: string
  2585. required:
  2586. - autoid
  2587. - divisioncode
  2588. type: object
  2589. models.Enumdicitem:
  2590. properties:
  2591. autoid:
  2592. description: 自增ID
  2593. type: integer
  2594. bankmappedvalue:
  2595. description: 银行服务对应值
  2596. type: string
  2597. enumdiccode:
  2598. description: 所属枚举代码
  2599. type: string
  2600. enumdicid:
  2601. description: 所属枚举ID
  2602. type: integer
  2603. enumdicname:
  2604. description: 枚举项名称
  2605. type: string
  2606. enumitemname:
  2607. description: 枚举项值
  2608. type: integer
  2609. enumitemstatus:
  2610. description: 枚举项状态 - 1.启用 2.不启用
  2611. type: integer
  2612. enumitemvalue:
  2613. description: 通用值 - [币种通用简写]
  2614. type: string
  2615. param1:
  2616. description: 参数1[币种:币种小数位]
  2617. type: string
  2618. param2:
  2619. description: 参数1[币种:币种显示单位]
  2620. type: string
  2621. remark:
  2622. description: 备注
  2623. type: string
  2624. required:
  2625. - autoid
  2626. - enumdiccode
  2627. - enumdicid
  2628. - enumitemname
  2629. type: object
  2630. models.Ermcp3AreaSpot:
  2631. properties:
  2632. areauserid:
  2633. description: 所属机构
  2634. type: integer
  2635. decreaseqty:
  2636. description: 减少数量=-(销售已定价数量+采购计划数量)
  2637. type: number
  2638. deliverygoodscode:
  2639. description: 现货品种代码
  2640. type: string
  2641. deliverygoodsid:
  2642. description: 现货品种id
  2643. type: integer
  2644. deliverygoodsname:
  2645. description: 现货品种名称
  2646. type: string
  2647. enumdicname:
  2648. description: 单位名称
  2649. type: string
  2650. goodsunitid:
  2651. description: 现货品种单位id
  2652. type: integer
  2653. increaseqty:
  2654. description: 增加数量=销售计划数量+采购已定价数量
  2655. type: number
  2656. oritoalspotqty:
  2657. description: 昨日数量
  2658. type: number
  2659. totalspotqty:
  2660. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2661. type: number
  2662. updatetime:
  2663. description: 更新时间
  2664. type: string
  2665. type: object
  2666. models.Ermcp3AreaSpotDetail:
  2667. properties:
  2668. contracttype:
  2669. description: 合同类型 1-采购 -1-销售
  2670. type: integer
  2671. createtime:
  2672. description: 创建时间
  2673. type: string
  2674. deliverygoodscode:
  2675. description: 现货品种代码
  2676. type: string
  2677. deliverygoodsid:
  2678. description: 现货品种id
  2679. type: integer
  2680. deliverygoodsname:
  2681. description: 现货品种名称
  2682. type: string
  2683. enumdicname:
  2684. description: 现货商品单位名称
  2685. type: string
  2686. logtype:
  2687. description: 记录类型 1-套保 2-现货合同
  2688. type: integer
  2689. qty:
  2690. description: 数量
  2691. type: number
  2692. recordname:
  2693. description: 类型名称
  2694. type: string
  2695. relatedid:
  2696. description: 套保计划ID/现货合同ID
  2697. type: string
  2698. relatedno:
  2699. description: 编号
  2700. type: string
  2701. strtime:
  2702. description: 时间
  2703. type: string
  2704. type: object
  2705. models.Ermcp3AreaSpotPLReport:
  2706. properties:
  2707. accountid:
  2708. description: 期货账户ID (作废, 默认为0)
  2709. type: integer
  2710. accountname:
  2711. description: 机构名称
  2712. type: string
  2713. actualpl:
  2714. description: 现货损益
  2715. type: number
  2716. areauserid:
  2717. description: 所属机构\交易用户ID
  2718. type: integer
  2719. biztype:
  2720. description: 业务类型 - 1:套保 2:套利
  2721. type: integer
  2722. brandname:
  2723. description: 品牌名称
  2724. type: string
  2725. curamount:
  2726. description: 期末额
  2727. type: number
  2728. curaverageprice:
  2729. description: 期末均价
  2730. type: number
  2731. curbuyamount:
  2732. description: 期末采购总额
  2733. type: number
  2734. curbuyqty:
  2735. description: 期末采购总量
  2736. type: number
  2737. curmarketvalue:
  2738. description: 参考市值(期末市值)
  2739. type: number
  2740. curqty:
  2741. description: 期末量
  2742. type: number
  2743. currencyid:
  2744. description: 结算币种ID【原值】
  2745. type: integer
  2746. currencyname:
  2747. description: 币种名称
  2748. type: string
  2749. cursellamount:
  2750. description: 期末销售总额
  2751. type: number
  2752. cursellqty:
  2753. description: 期末销售总量
  2754. type: number
  2755. curspotprice:
  2756. description: 参考市价(最新价)
  2757. type: number
  2758. cycletime:
  2759. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  2760. type: string
  2761. cycletype:
  2762. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  2763. type: integer
  2764. deliverygoodscode:
  2765. description: 现货商品代码
  2766. type: string
  2767. deliverygoodsid:
  2768. description: 现货品种ID
  2769. type: integer
  2770. deliverygoodsname:
  2771. description: 现货商品名称
  2772. type: string
  2773. enumdicname:
  2774. description: 现货商品单位名称
  2775. type: string
  2776. floatpl:
  2777. description: 浮动损益
  2778. type: number
  2779. goodsunitid:
  2780. description: 现货商品单位id
  2781. type: integer
  2782. oriamount:
  2783. description: 期初额
  2784. type: number
  2785. oriaverageprice:
  2786. description: 期初均价
  2787. type: number
  2788. oribuyamount:
  2789. description: 期初采购总额
  2790. type: number
  2791. oribuyqty:
  2792. description: 期初采购总量
  2793. type: number
  2794. oriqty:
  2795. description: 期初量
  2796. type: number
  2797. orisellamount:
  2798. description: 期初销售总额
  2799. type: number
  2800. orisellqty:
  2801. description: 期初销售总量
  2802. type: number
  2803. reckondate:
  2804. description: 日照时期(yyyyMMdd)
  2805. type: string
  2806. spotgoodsbrandid:
  2807. description: 现货品牌ID
  2808. type: integer
  2809. todaybuyamount:
  2810. description: 今日采购额(今采购额)
  2811. type: number
  2812. todaybuyaverageprice:
  2813. description: 今日采购均价
  2814. type: number
  2815. todaybuyqty:
  2816. description: 今日采购量(今采购量)
  2817. type: number
  2818. todayinqty:
  2819. description: 今日入库量(今入库量)
  2820. type: number
  2821. todayoutqty:
  2822. description: 今日出库量(今出库量)
  2823. type: number
  2824. todaysellamount:
  2825. description: 今日销售额(今销售额)
  2826. type: number
  2827. todaysellaverageprice:
  2828. description: 今日销售均价
  2829. type: number
  2830. todaysellqty:
  2831. description: 今日销售量(今销售量)
  2832. type: number
  2833. unitid:
  2834. description: 品类单位id
  2835. type: integer
  2836. unitidname:
  2837. description: 品类单位名称
  2838. type: string
  2839. updatetime:
  2840. description: 更新时间
  2841. type: string
  2842. wrfactortypeid:
  2843. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  2844. type: integer
  2845. wrstandardcode:
  2846. description: 品类代码
  2847. type: string
  2848. wrstandardid:
  2849. description: 现货品类ID
  2850. type: string
  2851. wrstandardname:
  2852. description: 品类名称
  2853. type: string
  2854. type: object
  2855. models.Ermcp3AreaStock:
  2856. properties:
  2857. brandname:
  2858. description: 品牌名称
  2859. type: string
  2860. curstock:
  2861. description: 期末库存量(今日量)
  2862. type: number
  2863. deliverygoodscode:
  2864. description: 现货品种代码
  2865. type: string
  2866. deliverygoodsid:
  2867. description: 现货品种id
  2868. type: integer
  2869. deliverygoodsname:
  2870. description: 现货品种名称
  2871. type: string
  2872. enumdicname:
  2873. description: 单位名称
  2874. type: string
  2875. goodsunitid:
  2876. description: 现货商品单位id
  2877. type: integer
  2878. oristock:
  2879. description: 期初库存量(昨日量)
  2880. type: number
  2881. spotgoodsbrandid:
  2882. description: 现货品牌ID
  2883. type: integer
  2884. todaybuyinqty:
  2885. description: 今日采购入库量
  2886. type: number
  2887. todayproduceinqty:
  2888. description: 今日生产入库量
  2889. type: number
  2890. todayproduceoutqty:
  2891. description: 今日生产出库量
  2892. type: number
  2893. todayselloutqty:
  2894. description: 今日销售出库量
  2895. type: number
  2896. unitid:
  2897. description: 单位id
  2898. type: integer
  2899. updatetime:
  2900. description: 更新时间
  2901. type: string
  2902. userid:
  2903. description: 机构ID
  2904. type: integer
  2905. username:
  2906. description: 机构名称
  2907. type: string
  2908. warehousecode:
  2909. description: 仓库代码
  2910. type: string
  2911. warehouseinfoid:
  2912. description: 仓库ID
  2913. type: string
  2914. warehousename:
  2915. description: 仓库名称
  2916. type: string
  2917. warehousetype:
  2918. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2919. type: integer
  2920. wrstandardcode:
  2921. description: 品类代码
  2922. type: string
  2923. wrstandardid:
  2924. description: 品类ID
  2925. type: string
  2926. wrstandardname:
  2927. description: 品类名称
  2928. type: string
  2929. required:
  2930. - userid
  2931. type: object
  2932. models.Ermcp3AreaStockApply:
  2933. properties:
  2934. applyid:
  2935. description: 申请人
  2936. type: integer
  2937. applyname:
  2938. description: 申请人名称
  2939. type: string
  2940. applyremark:
  2941. description: 申请备注
  2942. type: string
  2943. applysrc:
  2944. description: 申请来源 - 1:管理端 2:终端
  2945. type: integer
  2946. applystatus:
  2947. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  2948. type: integer
  2949. applytime:
  2950. description: 申请时间
  2951. type: string
  2952. auditid:
  2953. description: 审核人
  2954. type: integer
  2955. auditname:
  2956. description: 审核人名称
  2957. type: string
  2958. auditremark:
  2959. description: 审核备注
  2960. type: string
  2961. auditsrc:
  2962. description: 审核来源 - 1:管理端 2:终端
  2963. type: integer
  2964. audittime:
  2965. description: 审核时间
  2966. type: string
  2967. audittradedate:
  2968. description: 审核交易日(yyyyMMdd)
  2969. type: string
  2970. brandname:
  2971. description: 品牌名称
  2972. type: string
  2973. buynickname:
  2974. description: 采购方昵称
  2975. type: string
  2976. buyuserid:
  2977. description: 采购方userid
  2978. type: integer
  2979. buyusername:
  2980. description: 采购方名称
  2981. type: string
  2982. contractno:
  2983. description: 合同编号
  2984. type: string
  2985. contractqty:
  2986. description: 合同量
  2987. type: number
  2988. contracttype:
  2989. description: 现货合同类型 - 1:采购 -1:销售
  2990. type: integer
  2991. deliverygoodscode:
  2992. description: 现货品种代码
  2993. type: string
  2994. deliverygoodsid:
  2995. description: 现货品种id
  2996. type: integer
  2997. deliverygoodsname:
  2998. description: 现货品种名称
  2999. type: string
  3000. detailjson:
  3001. description: 明细数据
  3002. type: string
  3003. enumdicname:
  3004. description: 现货商品单位名称
  3005. type: string
  3006. inoutapplyid:
  3007. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3008. type: string
  3009. inouttype:
  3010. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3011. type: integer
  3012. pricetype:
  3013. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3014. type: integer
  3015. qty:
  3016. description: 数量
  3017. type: number
  3018. sellnickname:
  3019. description: 销售方昵称
  3020. type: string
  3021. selluserid:
  3022. description: 销售方userid
  3023. type: integer
  3024. sellusername:
  3025. description: 销售方名称
  3026. type: string
  3027. spotcontractid:
  3028. description: 关联现货合同ID
  3029. type: string
  3030. spotgoodsbrandid:
  3031. description: 现货品牌ID
  3032. type: integer
  3033. unitid:
  3034. description: 单位id
  3035. type: integer
  3036. userid:
  3037. description: 机构ID
  3038. type: integer
  3039. warehousecode:
  3040. description: 仓库代码
  3041. type: string
  3042. warehouseinfoid:
  3043. description: 现货仓库ID
  3044. type: string
  3045. warehousename:
  3046. description: 仓库名称
  3047. type: string
  3048. warehousetype:
  3049. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3050. type: integer
  3051. wrstandardcode:
  3052. description: 品类代码
  3053. type: string
  3054. wrstandardid:
  3055. description: 品类ID
  3056. type: integer
  3057. wrstandardname:
  3058. description: 品类名称
  3059. type: string
  3060. type: object
  3061. models.Ermcp3AreaStockApplySum:
  3062. properties:
  3063. brandname:
  3064. description: 品牌名称
  3065. type: string
  3066. inouttype:
  3067. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3068. type: integer
  3069. spotcontractid:
  3070. description: 关联现货合同ID
  3071. type: string
  3072. spotgoodsbrandid:
  3073. description: 品牌id
  3074. type: integer
  3075. totalqty:
  3076. description: 总数量
  3077. type: number
  3078. wrstandardid:
  3079. description: 品类id
  3080. type: integer
  3081. wrstandardname:
  3082. description: 品类名称
  3083. type: string
  3084. type: object
  3085. models.Ermcp3AreaStockReport:
  3086. properties:
  3087. brandname:
  3088. description: 品牌名称
  3089. type: string
  3090. curstock:
  3091. description: 期末库存量
  3092. type: number
  3093. cycletime:
  3094. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3095. type: string
  3096. cycletype:
  3097. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3098. type: integer
  3099. deliverygoodscode:
  3100. description: 现货品种代码
  3101. type: string
  3102. deliverygoodsid:
  3103. description: 现货品种id
  3104. type: integer
  3105. deliverygoodsname:
  3106. description: 现货品种名称
  3107. type: string
  3108. diffqty:
  3109. description: 库存变化量 = 期末 - 期初
  3110. type: number
  3111. enumdicname:
  3112. description: 单位名称
  3113. type: string
  3114. goodsunitid:
  3115. description: 现货单位id
  3116. type: integer
  3117. oristock:
  3118. description: 期初库存量
  3119. type: number
  3120. reckondate:
  3121. description: 日照时期(yyyyMMdd)
  3122. type: string
  3123. spotgoodsbrandid:
  3124. description: 现货品牌ID
  3125. type: integer
  3126. todaybuyinqty:
  3127. description: 今采购入库量
  3128. type: number
  3129. todayproduceinqty:
  3130. description: 今内部入库量
  3131. type: number
  3132. todayproduceoutqty:
  3133. description: 今内部出库量
  3134. type: number
  3135. todayselloutqty:
  3136. description: 今销售出库量
  3137. type: number
  3138. unbuyinqty:
  3139. description: 采购未入库量(数据库未找到相关字段?)
  3140. type: number
  3141. unitid:
  3142. description: 品类单位id
  3143. type: integer
  3144. unselloutqty:
  3145. description: 销售未出库量(数据库未找到相关字段?)
  3146. type: number
  3147. updatetime:
  3148. description: 更新时间
  3149. type: string
  3150. userid:
  3151. description: 机构ID
  3152. type: integer
  3153. username:
  3154. description: 机构名称
  3155. type: string
  3156. warehousecode:
  3157. description: 仓库代码
  3158. type: string
  3159. warehouseinfoid:
  3160. description: 仓库ID
  3161. type: string
  3162. warehousename:
  3163. description: 仓库名称
  3164. type: string
  3165. warehousetype:
  3166. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3167. type: integer
  3168. wrstandardcode:
  3169. description: 品类代码
  3170. type: string
  3171. wrstandardid:
  3172. description: 品类ID
  3173. type: integer
  3174. wrstandardname:
  3175. description: 品类名称
  3176. type: string
  3177. type: object
  3178. models.Ermcp3ArealSumPL:
  3179. properties:
  3180. areauserid:
  3181. description: 所属机构\交易用户ID
  3182. type: integer
  3183. currencyid:
  3184. description: 结算币种ID
  3185. type: integer
  3186. currencyname:
  3187. description: 币种名称
  3188. type: string
  3189. cycletime:
  3190. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3191. type: string
  3192. cycletype:
  3193. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3194. type: integer
  3195. futureactualpl:
  3196. description: 期货损益
  3197. type: number
  3198. futurefloatpl:
  3199. description: 期货浮动损益
  3200. type: number
  3201. middlegoodsid:
  3202. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  3203. type: integer
  3204. reckondate:
  3205. description: 日照时期(yyyyMMdd)
  3206. type: string
  3207. spotactualpl:
  3208. description: 现货损益
  3209. type: number
  3210. spotfloatpl:
  3211. description: 现货浮动损益
  3212. type: number
  3213. sumactualpl:
  3214. description: 实际损益 = (ActualPL + FutureActualPL)
  3215. type: number
  3216. sumpl:
  3217. description: 汇总损益
  3218. type: number
  3219. updatetime:
  3220. description: 更新时间
  3221. type: string
  3222. type: object
  3223. models.Ermcp3Brand:
  3224. properties:
  3225. areauserid:
  3226. description: 用户id
  3227. type: integer
  3228. brandid:
  3229. description: 品牌id
  3230. type: integer
  3231. brandname:
  3232. description: 品牌名称
  3233. type: string
  3234. deliverygoodsid:
  3235. description: 品种ID
  3236. type: integer
  3237. type: object
  3238. models.Ermcp3Contract:
  3239. properties:
  3240. accountid:
  3241. description: 期货账户id
  3242. type: string
  3243. amount:
  3244. description: 金额 [1:一口价、3:暂定价]
  3245. type: number
  3246. attachment:
  3247. description: 附件
  3248. type: string
  3249. auditremark:
  3250. description: 审核意见
  3251. type: string
  3252. audittime:
  3253. description: 审核时间
  3254. type: string
  3255. biztype:
  3256. description: 业务类型 1-套保 2-套利
  3257. type: integer
  3258. brandname:
  3259. description: 品牌名称
  3260. type: string
  3261. buynickname:
  3262. description: 销售方昵称
  3263. type: string
  3264. buyuserid:
  3265. description: 采购方ID
  3266. type: integer
  3267. buyusername:
  3268. description: 采购方名称
  3269. type: string
  3270. contracctstatus:
  3271. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3272. type: integer
  3273. contractmargin:
  3274. description: 合同保证金
  3275. type: number
  3276. contractno:
  3277. description: 现货合同编号
  3278. type: string
  3279. contracttype:
  3280. description: 现货合同类型 - 1:采购 -1:销售
  3281. type: integer
  3282. convertfactor:
  3283. description: 标仓系数(品类)
  3284. type: number
  3285. createtime:
  3286. description: 创建时间
  3287. type: string
  3288. currencyid:
  3289. description: 币种id
  3290. type: integer
  3291. currencyname:
  3292. description: 币种名称
  3293. type: string
  3294. deliveryenddate:
  3295. description: 交收期(结束)
  3296. type: string
  3297. deliverygoodscode:
  3298. description: 现货品种代码
  3299. type: string
  3300. deliverygoodsid:
  3301. description: 现货品种ID
  3302. type: integer
  3303. deliverygoodsname:
  3304. description: 现货品种名称
  3305. type: string
  3306. deliverystartdate:
  3307. description: 交收期(开始)
  3308. type: string
  3309. enddate:
  3310. description: 点价结束日期 [2:点价 3:暂定价]
  3311. type: string
  3312. enumdicname:
  3313. description: 单位名称
  3314. type: string
  3315. goodscode:
  3316. description: 点价合约代码
  3317. type: string
  3318. goodsid:
  3319. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3320. type: integer
  3321. goodsname:
  3322. description: 点价商品名称
  3323. type: string
  3324. margin:
  3325. description: 当前保证金
  3326. type: number
  3327. meruserid:
  3328. description: 跟单员id
  3329. type: integer
  3330. meruserlogincode:
  3331. description: 跟单员登录代码
  3332. type: string
  3333. price:
  3334. description: 价格\暂定价 [1:一口价、3:暂定价]
  3335. type: number
  3336. pricemove:
  3337. description: 升贴水 [2:点价 3:暂定价]
  3338. type: number
  3339. pricetype:
  3340. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3341. type: integer
  3342. producttype:
  3343. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3344. type: integer
  3345. qty:
  3346. description: 数量
  3347. type: number
  3348. remark:
  3349. description: 备注
  3350. type: string
  3351. saleuserid:
  3352. description: 业务员id
  3353. type: integer
  3354. saleuserlogincode:
  3355. description: 业务员登录代码
  3356. type: string
  3357. sellnickname:
  3358. description: 采购方昵称
  3359. type: string
  3360. selluserid:
  3361. description: 销售方ID
  3362. type: integer
  3363. sellusername:
  3364. description: 销售方名称
  3365. type: string
  3366. spotcontractid:
  3367. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3368. type: string
  3369. spotgoodsbrandid:
  3370. description: 现货品牌ID(DGFactoryItem表的ID)
  3371. type: integer
  3372. spotgoodsdesc:
  3373. description: 商品型号
  3374. type: string
  3375. startdate:
  3376. description: 点价开始日期 [2:点价 3:暂定价]
  3377. type: string
  3378. tradeuserid:
  3379. description: 交易员id
  3380. type: integer
  3381. tradeuserlogincode:
  3382. description: 交易员登录代码
  3383. type: string
  3384. tradeusername:
  3385. description: 交易员名称
  3386. type: string
  3387. unitid:
  3388. description: 单位id(取品类上的单位id)
  3389. type: integer
  3390. updatetime:
  3391. description: 更新时间
  3392. type: string
  3393. userid:
  3394. description: 所属机构ID
  3395. type: integer
  3396. wrstandardcode:
  3397. description: 品类代码
  3398. type: string
  3399. wrstandardid:
  3400. description: 品类ID
  3401. type: integer
  3402. wrstandardname:
  3403. description: 品类名称
  3404. type: string
  3405. type: object
  3406. models.Ermcp3ExposureContractDetail:
  3407. properties:
  3408. biztype:
  3409. description: 业务类型 1-套保 2-套利
  3410. type: integer
  3411. brandname:
  3412. description: 品牌名称
  3413. type: string
  3414. buyuserid:
  3415. description: 采购方id
  3416. type: integer
  3417. buyusername:
  3418. description: 采购方名称
  3419. type: string
  3420. contractno:
  3421. description: 合同编号
  3422. type: string
  3423. contracttype:
  3424. description: 现货合同类型 - 1:采购 -1:销售
  3425. type: integer
  3426. convertratio:
  3427. description: 折算系数(套保品种)
  3428. type: number
  3429. curqty:
  3430. description: 今定价量
  3431. type: number
  3432. deliverygoodscode:
  3433. description: 现货商品代码
  3434. type: string
  3435. deliverygoodsid:
  3436. description: 现货商品id
  3437. type: integer
  3438. deliverygoodsname:
  3439. description: 现货商品名称
  3440. type: string
  3441. diffqty:
  3442. description: 套保品种今变动量
  3443. type: number
  3444. enumdicname:
  3445. description: 单位名称
  3446. type: string
  3447. middlegoodscode:
  3448. description: 套保品种代码
  3449. type: string
  3450. middlegoodsid:
  3451. description: 套保品种id
  3452. type: integer
  3453. middlegoodsname:
  3454. description: 套保品种名称
  3455. type: string
  3456. needarbitrageratio:
  3457. description: 应套利比例
  3458. type: number
  3459. needhedgeratio:
  3460. description: 应套保比例
  3461. type: number
  3462. pricedqty:
  3463. description: 已定价量
  3464. type: number
  3465. qty:
  3466. description: 合同量
  3467. type: number
  3468. selluserid:
  3469. description: 销售方id
  3470. type: integer
  3471. sellusername:
  3472. description: 销售方名称
  3473. type: string
  3474. spotcontractid:
  3475. description: 合同id
  3476. type: string
  3477. tradedate:
  3478. description: 交易日
  3479. type: string
  3480. unitid:
  3481. description: 品类单位id
  3482. type: integer
  3483. userid:
  3484. description: 机构id
  3485. type: integer
  3486. wrstandardcode:
  3487. description: 品类代码
  3488. type: string
  3489. wrstandardid:
  3490. description: 品类id
  3491. type: integer
  3492. wrstandardname:
  3493. description: 品类名称
  3494. type: string
  3495. type: object
  3496. models.Ermcp3ExposureDetail:
  3497. properties:
  3498. areauserid:
  3499. description: 机构ID
  3500. type: integer
  3501. changeQty:
  3502. description: 套保变动量
  3503. type: number
  3504. contracttype:
  3505. description: 现货合同类型 - 1:采购 -1:销售
  3506. type: integer
  3507. convertfactor:
  3508. description: 标仓系数
  3509. type: number
  3510. convertratio:
  3511. description: 套保系数
  3512. type: number
  3513. createtime:
  3514. description: 时间
  3515. type: string
  3516. deliverygoodscode:
  3517. description: 现货品种代码
  3518. type: string
  3519. deliverygoodsid:
  3520. description: 现货品种id
  3521. type: integer
  3522. deliverygoodsname:
  3523. description: 现货品种名称
  3524. type: string
  3525. enumdicname:
  3526. description: 现货商品单位名称
  3527. type: string
  3528. logtype:
  3529. description: 类型 - 1:套保计划 2:现货合同
  3530. type: integer
  3531. mgunitid:
  3532. description: 套保品种单位id
  3533. type: integer
  3534. mgunitidname:
  3535. description: 套保品种单位名称
  3536. type: string
  3537. middlegoodsId:
  3538. description: 套保商品id
  3539. type: integer
  3540. middlegoodscode:
  3541. description: 套保商品代码
  3542. type: string
  3543. middlegoodsname:
  3544. description: 套保商品名称
  3545. type: string
  3546. qty:
  3547. description: 数量
  3548. type: number
  3549. relateNo:
  3550. description: 现货合同/套保计划编号
  3551. type: string
  3552. type: object
  3553. models.Ermcp3ExposureHedgeplanDetail:
  3554. properties:
  3555. biztype:
  3556. description: 业务类型 1-套保 2-套利
  3557. type: integer
  3558. changqty:
  3559. description: 应套保总量变化量
  3560. type: number
  3561. contracttype:
  3562. description: 计划类型 - 1:采购 -1:销售
  3563. type: integer
  3564. convertratio:
  3565. description: 折算系数(套保品种)
  3566. type: number
  3567. deliverygoodsid:
  3568. description: 现货商品id
  3569. type: integer
  3570. diffqty:
  3571. description: 套保品种今变动量
  3572. type: number
  3573. enumdicname:
  3574. description: 单位名称(品类)
  3575. type: string
  3576. hedgeplanid:
  3577. description: 套保计划id
  3578. type: string
  3579. hedgeplanno:
  3580. description: 套保计划编号
  3581. type: string
  3582. hedgeplanstatus:
  3583. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3584. type: integer
  3585. mgunitidname:
  3586. description: 单位名称(套保商品)
  3587. type: string
  3588. middlegoodscode:
  3589. description: 套保品种代码
  3590. type: string
  3591. middlegoodsid:
  3592. description: 套保品种id
  3593. type: integer
  3594. middlegoodsname:
  3595. description: 套保品种名称
  3596. type: string
  3597. needarbitrageratio:
  3598. description: 应套利比例
  3599. type: number
  3600. needhedgeratio:
  3601. description: 应套保比例
  3602. type: number
  3603. pricedqty:
  3604. description: 已定价量
  3605. type: number
  3606. qty:
  3607. description: 合同量
  3608. type: number
  3609. tradedate:
  3610. description: 交易日(登记日)
  3611. type: string
  3612. unitid:
  3613. description: 品类单位id
  3614. type: integer
  3615. userid:
  3616. description: 机构id
  3617. type: integer
  3618. wrstandardcode:
  3619. description: 品类代码
  3620. type: string
  3621. wrstandardid:
  3622. description: 品类id
  3623. type: integer
  3624. wrstandardname:
  3625. description: 品类名称
  3626. type: string
  3627. type: object
  3628. models.Ermcp3ExpourseReport:
  3629. properties:
  3630. accountid:
  3631. description: 期货账户ID (作废, 默认为0)
  3632. type: integer
  3633. accountname:
  3634. description: 机构名称
  3635. type: string
  3636. arbitrageqty:
  3637. description: 套利量
  3638. type: number
  3639. areauserid:
  3640. description: 所属机构\交易用户ID
  3641. type: integer
  3642. buyfutureqty:
  3643. description: 买入期货数量
  3644. type: number
  3645. buyplanqty:
  3646. description: 采购计划数量
  3647. type: number
  3648. buypricedqty:
  3649. description: 采购合同已定价数量
  3650. type: number
  3651. cycletime:
  3652. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3653. type: string
  3654. cycletype:
  3655. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3656. type: integer
  3657. diffexposure:
  3658. description: 变动量(套保敞口)
  3659. type: number
  3660. difffutuqty:
  3661. description: 变动量(期货)
  3662. type: number
  3663. diffhedgeqty:
  3664. description: 变动量(现货应套保总量)
  3665. type: number
  3666. diffmgqtya:
  3667. description: 套保变动量
  3668. type: number
  3669. diffmgqtyb:
  3670. description: 套利变动量
  3671. type: number
  3672. diffqty:
  3673. description: 变动量(总敞口)
  3674. type: number
  3675. diffspotqty:
  3676. description: 变动量(现货)
  3677. type: number
  3678. enumdicname:
  3679. description: 单位名称
  3680. type: string
  3681. hedgeqty:
  3682. description: 套保量
  3683. type: number
  3684. mgneedhedgeratio:
  3685. description: 套保比例(套保品的)
  3686. type: number
  3687. middlegoodsid:
  3688. description: 套保品种ID
  3689. type: integer
  3690. middlegoodsname:
  3691. description: 套保商品名称
  3692. type: string
  3693. middlgoodscode:
  3694. description: 套保商品代码
  3695. type: string
  3696. needarbitrageqty:
  3697. description: 应套利量
  3698. type: number
  3699. needarbitrageratio:
  3700. description: 套利比例(套保品的)
  3701. type: number
  3702. needhedgeexposoure:
  3703. description: 应套保敞口(套保敞口)
  3704. type: number
  3705. needhedgeqty:
  3706. description: 应套保量
  3707. type: number
  3708. needhedgeratio:
  3709. description: 应套保敞口比例
  3710. type: number
  3711. oriarbitrageqty:
  3712. description: 期初套利量
  3713. type: number
  3714. oribuyfutureqty:
  3715. description: 期初买入期货数量
  3716. type: number
  3717. oribuyplanqty:
  3718. description: 期初采购计划数量
  3719. type: number
  3720. oribuypricedqty:
  3721. description: 期初采购合同已定价数量
  3722. type: number
  3723. orihedgeqty:
  3724. description: 期初套保量
  3725. type: number
  3726. orineedarbitrageqty:
  3727. description: 期初应套利量
  3728. type: number
  3729. orineedhedgeexposoure:
  3730. description: 期初应套保敞口
  3731. type: number
  3732. orineedhedgeqty:
  3733. description: 期初应套保量
  3734. type: number
  3735. orisellfutureqty:
  3736. description: 期初卖出期货数量
  3737. type: number
  3738. orisellplanqty:
  3739. description: 期初销售计划数量
  3740. type: number
  3741. orisellpricedqty:
  3742. description: 期初销售合同已定价数量
  3743. type: number
  3744. oritotalexposure:
  3745. description: 期初实时总敞口
  3746. type: number
  3747. oritotalfutureqty:
  3748. description: 期初期货头寸总量
  3749. type: number
  3750. oritotalneedhedgeqty:
  3751. description: 期初应套保总量
  3752. type: number
  3753. oritotalspotqty:
  3754. description: 期初现货头寸总量
  3755. type: number
  3756. reckondate:
  3757. description: 日照时期(yyyyMMdd)
  3758. type: string
  3759. sellfutureqty:
  3760. description: 卖出期货数量
  3761. type: number
  3762. sellplanqty:
  3763. description: 销售计划数量
  3764. type: number
  3765. sellpricedqty:
  3766. description: 销售合同已定价数量
  3767. type: number
  3768. totalexposure:
  3769. description: 实时总敞口(总敞口)
  3770. type: number
  3771. totalfutureqty:
  3772. description: 期货头寸总量(期货总量)
  3773. type: number
  3774. totalhedgeratio:
  3775. description: 敞口比例
  3776. type: number
  3777. totalneedhedgeqty:
  3778. description: 应套保总量(现货应套保总量)
  3779. type: number
  3780. totalspotqty:
  3781. description: 现货头寸总量
  3782. type: number
  3783. unitid:
  3784. description: 单位id
  3785. type: integer
  3786. updatetime:
  3787. description: 更新时间
  3788. type: string
  3789. type: object
  3790. models.Ermcp3FinanceReport:
  3791. properties:
  3792. areauserid:
  3793. description: 所属机构\交易用户ID
  3794. type: integer
  3795. biztype:
  3796. description: 业务类型 - 1:套保 2:套利
  3797. type: integer
  3798. buypreinvoicedamount:
  3799. description: 采购预收票额(预收票额)
  3800. type: number
  3801. buyprepaidamount:
  3802. description: 采购预付款额(预付货款额)
  3803. type: number
  3804. buytodayinvoiceamount:
  3805. description: 采购今收票额(今收票额)
  3806. type: number
  3807. buytodayrefundamount:
  3808. description: 采购今收退款额(今收退款额)
  3809. type: number
  3810. buytodaysettleamount:
  3811. description: 采购今付款额(今付货款额)
  3812. type: number
  3813. buyuninvoicedamount:
  3814. description: 采购应收票额(应收票额)
  3815. type: number
  3816. buyunpaidamount:
  3817. description: 采购应付款额(应付货款额)
  3818. type: number
  3819. currencyid:
  3820. description: 结算币种ID
  3821. type: integer
  3822. currencyname:
  3823. description: 币种名称
  3824. type: string
  3825. cycletime:
  3826. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3827. type: string
  3828. cycletype:
  3829. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3830. type: integer
  3831. deliverygoodsid:
  3832. description: 现货品种ID
  3833. type: integer
  3834. reckondate:
  3835. description: 日照时期(yyyyMMdd)
  3836. type: string
  3837. sellpreinvoicedamount:
  3838. description: 销售预开票额(预开票额)
  3839. type: number
  3840. sellprepaidamount:
  3841. description: 销售预收款额(预收货款额)
  3842. type: number
  3843. selltodayinvoiceamount:
  3844. description: 销售今开票额(今开票额)
  3845. type: number
  3846. selltodayrefundamount:
  3847. description: 销售今付退款额(今付退款额)
  3848. type: number
  3849. selltodaysettleamount:
  3850. description: 销售今收款额(今收货款额)
  3851. type: number
  3852. selluninvoicedamount:
  3853. description: 销售应开票额(应开票额)
  3854. type: number
  3855. sellunpaidamount:
  3856. description: 销售应收款额(应收货款额)
  3857. type: number
  3858. spotgoodsbrandid:
  3859. description: 现货品牌ID
  3860. type: integer
  3861. todaypaysum:
  3862. description: 今付款合计
  3863. type: number
  3864. todayreceivesum:
  3865. description: 今收款合计
  3866. type: number
  3867. updatetime:
  3868. description: 更新时间
  3869. type: string
  3870. wrfactortypeid:
  3871. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  3872. type: integer
  3873. wrstandardid:
  3874. description: 现货商品ID
  3875. type: integer
  3876. type: object
  3877. models.Ermcp3Goods:
  3878. properties:
  3879. agreeunit:
  3880. description: 合约单位(合约乘数)
  3881. type: number
  3882. enumdicname:
  3883. description: 单位名称
  3884. type: string
  3885. exexchangecode:
  3886. description: 交易所代码
  3887. type: string
  3888. goodscode:
  3889. description: 期货商品代码
  3890. type: string
  3891. goodsid:
  3892. description: 期货商品id
  3893. type: integer
  3894. goodsname:
  3895. description: 期货商品名称
  3896. type: string
  3897. type: object
  3898. models.Ermcp3GoodsGroup:
  3899. properties:
  3900. agreeunit:
  3901. description: 合约单位
  3902. type: number
  3903. areauserid:
  3904. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  3905. type: integer
  3906. canshort:
  3907. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  3908. type: integer
  3909. closepricemode:
  3910. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  3911. type: integer
  3912. createtime:
  3913. description: 创建时间
  3914. type: string
  3915. creatorid:
  3916. description: 创建人
  3917. type: integer
  3918. currencyid:
  3919. description: 报价货币ID
  3920. type: integer
  3921. decimalplace:
  3922. description: 报价小数位
  3923. type: integer
  3924. enumdicname:
  3925. description: 单位名称
  3926. type: string
  3927. excludecfg:
  3928. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  3929. type: integer
  3930. exexchangeid:
  3931. description: 外部交易所ID[通道交易]
  3932. type: integer
  3933. goodsgroupid:
  3934. description: 商品组ID(自增ID)
  3935. type: integer
  3936. goodsgroupname:
  3937. description: 商品组名称
  3938. type: string
  3939. goodsgroupstatus:
  3940. description: 商品组状态 - 1:正常 2:注销
  3941. type: integer
  3942. goodunitid:
  3943. description: 报价单位ID
  3944. type: integer
  3945. groupcategroyid:
  3946. description: 品种分类ID
  3947. type: integer
  3948. innerdealmode:
  3949. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  3950. type: integer
  3951. marketid:
  3952. description: 所属市场ID
  3953. type: integer
  3954. modifierid:
  3955. description: 修改人
  3956. type: integer
  3957. modifytime:
  3958. description: 修改时间
  3959. type: string
  3960. outerdealmode:
  3961. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  3962. type: integer
  3963. outergroupcode:
  3964. description: 外部商品组代码[通道交易]
  3965. type: string
  3966. quoteminunit:
  3967. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3968. type: integer
  3969. quotesourcegroupid:
  3970. description: 所属行情源分组ID[参考行情市场用\通道交易]
  3971. type: integer
  3972. syncgoodsqty:
  3973. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  3974. type: integer
  3975. required:
  3976. - areauserid
  3977. type: object
  3978. models.Ermcp3GoodsGroupEx:
  3979. properties:
  3980. convertratio:
  3981. description: 折算系数(品种系数)
  3982. type: number
  3983. enumdicname:
  3984. description: 单位名称
  3985. type: string
  3986. exexchangecode:
  3987. description: 交易所代码
  3988. type: string
  3989. glist:
  3990. description: 合约列表
  3991. items:
  3992. $ref: '#/definitions/models.Ermcp3Goods'
  3993. type: array
  3994. goodsgroupid:
  3995. description: 商品组id
  3996. type: integer
  3997. goodsgroupname:
  3998. description: 商品组名称
  3999. type: string
  4000. goodsunitid:
  4001. description: 单位id
  4002. type: integer
  4003. middlegoodsid:
  4004. description: 套保商品id
  4005. type: integer
  4006. type: object
  4007. models.Ermcp3HedgePlan:
  4008. properties:
  4009. accountid:
  4010. description: 资金账号
  4011. type: integer
  4012. areauserid:
  4013. description: 用户ID
  4014. type: integer
  4015. audittime:
  4016. description: 审核时间
  4017. type: string
  4018. contracttype:
  4019. description: 计划类型 - 1:采购 -1:销售
  4020. type: integer
  4021. convertfactor:
  4022. description: 标仓系数
  4023. type: number
  4024. createtime:
  4025. description: 创建时间
  4026. type: string
  4027. currencyid:
  4028. description: 币种id
  4029. type: integer
  4030. currencyname:
  4031. description: 币种名称
  4032. type: string
  4033. deliverygoodscode:
  4034. description: 现货品种代码
  4035. type: string
  4036. deliverygoodsid:
  4037. description: 现货品种ID
  4038. type: integer
  4039. deliverygoodsname:
  4040. description: 现货品种名称
  4041. type: string
  4042. enumdicname:
  4043. description: 单位名称(现货商品)
  4044. type: string
  4045. hedgeplanid:
  4046. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  4047. type: string
  4048. hedgeplanno:
  4049. description: 套保计划编号(名称)
  4050. type: string
  4051. hedgeplanstatus:
  4052. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4053. type: integer
  4054. planqty:
  4055. description: 计划数量
  4056. type: number
  4057. plantime:
  4058. description: 计划时间
  4059. type: string
  4060. producttype:
  4061. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4062. type: integer
  4063. remark:
  4064. description: 备注
  4065. type: string
  4066. spotgoodsdesc:
  4067. description: 商品型号
  4068. type: string
  4069. taaccountname:
  4070. description: 资金账号名称
  4071. type: string
  4072. tradeuserid:
  4073. description: 交易用户id
  4074. type: integer
  4075. tradeusername:
  4076. description: 交易用户名称
  4077. type: string
  4078. unitid:
  4079. description: 单位id(现货商品)
  4080. type: integer
  4081. updatetime:
  4082. description: 更新时间
  4083. type: string
  4084. wrstandardcode:
  4085. description: 品类代码
  4086. type: string
  4087. wrstandardid:
  4088. description: 品类id
  4089. type: integer
  4090. wrstandardname:
  4091. description: 品类名称
  4092. type: string
  4093. wrunitid:
  4094. description: 品类单位id
  4095. type: integer
  4096. wrunitidame:
  4097. description: 品类单位名称
  4098. type: string
  4099. type: object
  4100. models.Ermcp3MiddleGoodsDetail2:
  4101. properties:
  4102. convertratio:
  4103. description: 套保系数(折算系数)
  4104. type: number
  4105. gplist:
  4106. description: 关联商品组列表
  4107. items:
  4108. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4109. type: array
  4110. mg:
  4111. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4112. description: 套保商品信息
  4113. type: object
  4114. type: object
  4115. models.Ermcp3MiddleGoodsDetailEx:
  4116. properties:
  4117. dglist:
  4118. description: 关联的现货品种列表
  4119. items:
  4120. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  4121. type: array
  4122. gplist:
  4123. description: 关联商品组列表
  4124. items:
  4125. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4126. type: array
  4127. mg:
  4128. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4129. description: 套保商品信息
  4130. type: object
  4131. type: object
  4132. models.Ermcp3SellBuyContract:
  4133. properties:
  4134. accountid:
  4135. description: 期货账户id
  4136. type: string
  4137. accountname:
  4138. description: 账户名称
  4139. type: string
  4140. attachment:
  4141. description: 附件
  4142. type: string
  4143. audittime:
  4144. description: 审核时间
  4145. type: string
  4146. biztype:
  4147. description: 业务类型 1-套保 2-套利
  4148. type: integer
  4149. brandname:
  4150. description: 品牌名称
  4151. type: string
  4152. contracctstatus:
  4153. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4154. type: integer
  4155. contractmargin:
  4156. description: 合同保证金
  4157. type: number
  4158. contractno:
  4159. description: 合同编号
  4160. type: string
  4161. contracttype:
  4162. description: 合同类型 1-采购, -1-销售
  4163. type: integer
  4164. convertfactor:
  4165. description: 标仓系数(品类)
  4166. type: number
  4167. createtime:
  4168. description: 创建时间
  4169. type: string
  4170. currencyid:
  4171. description: 币种id
  4172. type: integer
  4173. currencyname:
  4174. description: 币种名称
  4175. type: string
  4176. daikaiamount:
  4177. description: 应收(开)票额
  4178. type: number
  4179. deliveryenddate:
  4180. description: 交割结束日
  4181. type: string
  4182. deliverygoodscode:
  4183. description: 现货品种代码
  4184. type: string
  4185. deliverygoodsid:
  4186. description: 现货商品ID
  4187. type: integer
  4188. deliverygoodsname:
  4189. description: 现货品种名称
  4190. type: string
  4191. deliverystartdate:
  4192. description: 交割开始日
  4193. type: string
  4194. enddate:
  4195. description: 点价结束日
  4196. type: string
  4197. enumdicname:
  4198. description: 单位名称
  4199. type: string
  4200. goodscode:
  4201. description: 点价商品代码
  4202. type: string
  4203. goodsid:
  4204. description: 点价商品ID
  4205. type: integer
  4206. goodsname:
  4207. description: 点价商品名称
  4208. type: string
  4209. invoiceamount:
  4210. description: 已开票额
  4211. type: number
  4212. loanamount:
  4213. description: 贷款总额=已定价额+调整金额
  4214. type: number
  4215. margin:
  4216. description: 保证金
  4217. type: number
  4218. meruserid:
  4219. description: 跟单员id
  4220. type: integer
  4221. meruserlogincode:
  4222. description: 跟单员登录代码
  4223. type: string
  4224. nickname:
  4225. description: 账户昵称
  4226. type: string
  4227. payamount:
  4228. description: 已收付额(收款或付款)
  4229. type: number
  4230. preinvoiceamount:
  4231. description: 预收(开)票额
  4232. type: number
  4233. prepayamount:
  4234. description: 预收付额
  4235. type: number
  4236. price:
  4237. description: 价格
  4238. type: number
  4239. pricedamount:
  4240. description: 已定价额
  4241. type: number
  4242. pricedavg:
  4243. description: 已点均价
  4244. type: number
  4245. pricedqty:
  4246. description: 已定价量
  4247. type: number
  4248. pricemove:
  4249. description: 升贴水
  4250. type: number
  4251. pricetype:
  4252. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4253. type: integer
  4254. producttype:
  4255. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4256. type: integer
  4257. qty:
  4258. description: 合同量
  4259. type: number
  4260. reckonadjustamount:
  4261. description: 调整金额
  4262. type: number
  4263. reckonedamount:
  4264. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  4265. type: number
  4266. reckonotheramount:
  4267. description: 其它费用
  4268. type: number
  4269. reckonrealqty:
  4270. description: 已确定量
  4271. type: number
  4272. remark:
  4273. description: 备注
  4274. type: string
  4275. saleuserid:
  4276. description: 业务员id
  4277. type: integer
  4278. saleuserlogincode:
  4279. description: 业务员登录代码
  4280. type: string
  4281. spotcontractid:
  4282. description: 合同ID
  4283. type: string
  4284. spotgoodsbrandid:
  4285. description: 现货品牌ID(DGFactoryItem表的ID)
  4286. type: integer
  4287. spotgoodsdesc:
  4288. description: 商品型号(商品规格)
  4289. type: string
  4290. startdate:
  4291. description: 点价开始日
  4292. type: string
  4293. totalamount:
  4294. description: 合计总额
  4295. type: number
  4296. tradeuserid:
  4297. description: 交易员id
  4298. type: integer
  4299. tradeuserlogincode:
  4300. description: 交易员登录代码
  4301. type: string
  4302. tradeusername:
  4303. description: 交易员名称
  4304. type: string
  4305. unpayamount:
  4306. description: 应收付款额(应支付或应收款)
  4307. type: number
  4308. unpricedqty:
  4309. description: 未定价量
  4310. type: number
  4311. unsureqty:
  4312. description: 未确定量
  4313. type: number
  4314. userid:
  4315. description: 机构ID
  4316. type: integer
  4317. wrstandardcode:
  4318. description: 品类代码
  4319. type: string
  4320. wrstandardid:
  4321. description: 品类ID
  4322. type: integer
  4323. wrstandardname:
  4324. description: 品类名称
  4325. type: string
  4326. type: object
  4327. models.Ermcp3SpotGoodsPrice:
  4328. properties:
  4329. areauserid:
  4330. description: 所属机构id
  4331. type: integer
  4332. brandname:
  4333. description: 品牌名称
  4334. type: string
  4335. currencyid:
  4336. description: 报价货币ID
  4337. type: integer
  4338. currencyname:
  4339. description: 币种名称
  4340. type: string
  4341. deliverygoodscode:
  4342. description: 现货商品代码
  4343. type: string
  4344. deliverygoodsid:
  4345. description: 现货商品id
  4346. type: integer
  4347. deliverygoodsname:
  4348. description: 现货商品名称
  4349. type: string
  4350. enumdicname:
  4351. description: 现货商品单位名称
  4352. type: string
  4353. gbenumdicname:
  4354. description: 品类单位名称
  4355. type: string
  4356. gmunitid:
  4357. description: 品类单位id
  4358. type: integer
  4359. isvalid:
  4360. description: 是否有效 - 0:无效 1:有效
  4361. type: integer
  4362. operateid:
  4363. description: 最后操作人
  4364. type: integer
  4365. operatesrc:
  4366. description: 最后操作来源 - 1:管理端 2:终端
  4367. type: integer
  4368. operatetime:
  4369. description: 最后操作时间
  4370. type: string
  4371. operatorname:
  4372. description: 操作人名称
  4373. type: string
  4374. spotgoodsbrandid:
  4375. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  4376. type: integer
  4377. spotgoodsprice:
  4378. description: 现货价格
  4379. type: number
  4380. tradedate:
  4381. description: 交易日(yyyyMMdd)
  4382. type: string
  4383. unitid:
  4384. description: 现货商品单位id
  4385. type: integer
  4386. wrstandardcode:
  4387. description: 品类代码
  4388. type: string
  4389. wrstandardid:
  4390. description: 现货品类ID(通用则为0)
  4391. type: integer
  4392. wrstandardname:
  4393. description: 品类名称
  4394. type: string
  4395. type: object
  4396. models.Ermcp3SpotGoodsPriceLog:
  4397. properties:
  4398. areauserid:
  4399. description: 所属机构id
  4400. type: integer
  4401. brandname:
  4402. description: 品牌名称
  4403. type: string
  4404. currencyid:
  4405. description: 报价货币ID
  4406. type: integer
  4407. deliverygoodscode:
  4408. description: 现货商品代码
  4409. type: string
  4410. deliverygoodsid:
  4411. description: 现货商品id
  4412. type: integer
  4413. deliverygoodsname:
  4414. description: 现货商品名称
  4415. type: string
  4416. enumdicname:
  4417. description: 现货商品单位名称
  4418. type: string
  4419. gbenumdicname:
  4420. description: 品类单位名称
  4421. type: string
  4422. gmunitid:
  4423. description: 品类单位id
  4424. type: integer
  4425. logid:
  4426. description: 日志id
  4427. type: integer
  4428. operateid:
  4429. description: 最后操作人
  4430. type: integer
  4431. operatesrc:
  4432. description: 最后操作来源 - 1:管理端 2:终端
  4433. type: integer
  4434. operatetime:
  4435. description: 最后操作时间
  4436. type: string
  4437. operatorname:
  4438. description: 操作人名称
  4439. type: string
  4440. spotgoodsbrandid:
  4441. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  4442. type: integer
  4443. spotgoodsprice:
  4444. description: 现货价格
  4445. type: number
  4446. tradedate:
  4447. description: 交易日(yyyyMMdd)
  4448. type: string
  4449. unitid:
  4450. description: 现货商品单位id
  4451. type: integer
  4452. wrstandardcode:
  4453. description: 品类代码
  4454. type: string
  4455. wrstandardid:
  4456. description: 现货品类ID(通用则为0)
  4457. type: integer
  4458. wrstandardname:
  4459. description: 品类名称
  4460. type: string
  4461. type: object
  4462. models.Ermcp3Wrstandard:
  4463. properties:
  4464. areauserid:
  4465. description: 所属机构
  4466. type: integer
  4467. convertfactor:
  4468. description: 标仓系数
  4469. type: number
  4470. createtime:
  4471. description: 创建时间
  4472. type: string
  4473. creatorid:
  4474. description: 创建人
  4475. type: integer
  4476. deliverygoodsid:
  4477. description: 现货品种ID
  4478. type: integer
  4479. enumdicname:
  4480. description: 品类单位名称
  4481. type: string
  4482. isvalid:
  4483. description: 是否有效 0-无效(停用) 1-有效(正常)
  4484. type: integer
  4485. minivalue:
  4486. description: 最小变动值
  4487. type: integer
  4488. minivaluedp:
  4489. description: 最小变动值小数位
  4490. type: integer
  4491. realminivalue:
  4492. description: 实际最小变动值
  4493. type: integer
  4494. realminivaluedp:
  4495. description: 实际最小变动值小数位
  4496. type: integer
  4497. remark:
  4498. description: 备注
  4499. type: string
  4500. unitid:
  4501. description: 品类单位ID
  4502. type: integer
  4503. updatetime:
  4504. description: 更新时间
  4505. type: string
  4506. wrstandardcode:
  4507. description: 品类代码
  4508. type: string
  4509. wrstandardid:
  4510. description: 品类ID(SEQ_WRSTANDARD)
  4511. type: integer
  4512. wrstandardname:
  4513. description: 品类名称
  4514. type: string
  4515. type: object
  4516. models.ErmcpAreaSpotDetailModel:
  4517. properties:
  4518. contracttype:
  4519. description: 合同类型 1-采购 -1-销售
  4520. type: integer
  4521. createtime:
  4522. description: 创建时间
  4523. type: string
  4524. enumdicname:
  4525. description: 现货商品单位名称
  4526. type: string
  4527. logtype:
  4528. description: 记录类型 1-套保 2-现货合同
  4529. type: integer
  4530. qty:
  4531. description: 数量
  4532. type: number
  4533. recordname:
  4534. description: 类型名称
  4535. type: string
  4536. relatedid:
  4537. description: 套保计划ID/现货合同ID
  4538. type: string
  4539. relatedno:
  4540. description: 编号
  4541. type: string
  4542. strtime:
  4543. description: 时间
  4544. type: string
  4545. wrstandardcode:
  4546. description: 现货商品代码
  4547. type: string
  4548. wrstandardname:
  4549. description: 现货商品名称
  4550. type: string
  4551. type: object
  4552. models.ErmcpAvalidGoodsGroupModel:
  4553. properties:
  4554. goodsgroupid:
  4555. description: 期货品种id
  4556. type: integer
  4557. goodsgroupname:
  4558. description: 期货品种名称
  4559. type: string
  4560. goodunitid:
  4561. description: 品种单位id
  4562. type: integer
  4563. goodunitname:
  4564. description: 品种单位名称
  4565. type: string
  4566. outergroupcode:
  4567. description: 期货品种代码
  4568. type: string
  4569. type: object
  4570. models.ErmcpBizGroupEx:
  4571. properties:
  4572. acclist:
  4573. description: 账号列表
  4574. items:
  4575. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  4576. type: array
  4577. bizgroupid:
  4578. description: 业务分组id
  4579. type: integer
  4580. biztype:
  4581. description: 业务类型 1-套保 2-套利
  4582. type: integer
  4583. wrlist:
  4584. description: 现货商品表
  4585. items:
  4586. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  4587. type: array
  4588. type: object
  4589. models.ErmcpBizGroupSpotGoods:
  4590. properties:
  4591. areauserid:
  4592. description: 所属机构id
  4593. type: integer
  4594. bizgroupid:
  4595. description: 分组id
  4596. type: integer
  4597. biztype:
  4598. description: 业务类型 1-套保 2-套利
  4599. type: integer
  4600. deliverygoodscode:
  4601. description: 现货商品代码
  4602. type: string
  4603. deliverygoodsid:
  4604. description: 现货商品id
  4605. type: integer
  4606. deliverygoodsname:
  4607. description: 现货商品名称
  4608. type: string
  4609. unitid:
  4610. description: 现货商品单位id
  4611. type: integer
  4612. type: object
  4613. models.ErmcpBizGroupTaAccount:
  4614. properties:
  4615. accountid:
  4616. description: 账号id
  4617. type: integer
  4618. accountname:
  4619. description: 账号名称
  4620. type: string
  4621. areauserid:
  4622. description: 所属机构id
  4623. type: integer
  4624. bizgroupid:
  4625. description: 业务分组id
  4626. type: integer
  4627. ismain:
  4628. description: 是否主账号 1-是 0-否
  4629. type: integer
  4630. type: object
  4631. models.ErmcpDGFactoryItem:
  4632. properties:
  4633. areauserid:
  4634. description: 用户id
  4635. type: integer
  4636. deliverygoodsid:
  4637. description: 现货品种ID
  4638. type: integer
  4639. dgfactoryitemid:
  4640. description: 选择项ID(SEQ_DGFACTORYITEM)
  4641. type: integer
  4642. dgfactoryitemtypeid:
  4643. description: 要素项类型
  4644. type: integer
  4645. dgfactoryitemvalue:
  4646. description: 要素项值(类型为仓库时填写仓库名称)
  4647. type: string
  4648. isvalid:
  4649. description: 是否有效 - 0:无效 1:有效
  4650. type: integer
  4651. orderindex:
  4652. description: 顺序
  4653. type: integer
  4654. warehouseid:
  4655. description: 仓库ID(类型为仓库时填写)
  4656. type: integer
  4657. type: object
  4658. models.ErmcpDeliveryGoods:
  4659. properties:
  4660. agreeunit:
  4661. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  4662. type: integer
  4663. areauserid:
  4664. description: 所属机构
  4665. type: integer
  4666. auditflag:
  4667. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  4668. type: integer
  4669. categoryid:
  4670. description: 类别ID(SEQ_WRCATEGORY)
  4671. type: integer
  4672. deliverygoodscode:
  4673. description: 现货品种代码
  4674. type: string
  4675. deliverygoodsid:
  4676. description: 现货品种ID(SEQ_DELIVERYGOODS)
  4677. type: integer
  4678. deliverygoodsname:
  4679. description: 现货品种名称
  4680. type: string
  4681. deliverygoodstype:
  4682. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  4683. type: integer
  4684. dgstatus:
  4685. description: 品种状态 - 作废 - 0:未激活 1:正常
  4686. type: integer
  4687. enumdicname:
  4688. description: 现货品种单位名称
  4689. type: string
  4690. goodsunitid:
  4691. description: 现货品种单位ID
  4692. type: integer
  4693. isvalid:
  4694. description: 是否有效 - 0:无效 1:有效
  4695. type: integer
  4696. qtydecimalplace:
  4697. description: 成交量小数位
  4698. type: integer
  4699. remark:
  4700. description: 备注
  4701. type: string
  4702. standardqty:
  4703. description: 标准数量(库位数量) [标准品特有]
  4704. type: integer
  4705. standardqtyrange:
  4706. description: 标准数量偏差范围 [标准品特有]
  4707. type: integer
  4708. type: object
  4709. models.ErmcpDeliveryGoodsDetail2:
  4710. properties:
  4711. convertratio:
  4712. description: 套保系数(折算系数)
  4713. type: number
  4714. data:
  4715. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  4716. description: 现货商品基本信息(交割品种)
  4717. type: object
  4718. gblist:
  4719. description: 品牌列表
  4720. items:
  4721. $ref: '#/definitions/models.Ermcp3Brand'
  4722. type: array
  4723. gmlist:
  4724. description: 品类列表(仓单标准)
  4725. items:
  4726. $ref: '#/definitions/models.Ermcp3Wrstandard'
  4727. type: array
  4728. type: object
  4729. models.ErmcpDeliveryGoodsDetailEx:
  4730. properties:
  4731. data:
  4732. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  4733. description: 现货商品基本信息(交割品种)
  4734. type: object
  4735. gblist:
  4736. description: 品牌列表
  4737. items:
  4738. $ref: '#/definitions/models.Ermcp3Brand'
  4739. type: array
  4740. gmlist:
  4741. description: 品类列表(仓单标准)
  4742. items:
  4743. $ref: '#/definitions/models.Ermcp3Wrstandard'
  4744. type: array
  4745. mgList:
  4746. description: 套保列表
  4747. items:
  4748. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  4749. type: array
  4750. type: object
  4751. models.ErmcpExposureDetailModel:
  4752. properties:
  4753. areauserid:
  4754. description: 机构ID
  4755. type: integer
  4756. changeQty:
  4757. description: 套保变动量
  4758. type: number
  4759. contracttype:
  4760. description: 现货合同类型 - 1:采购 -1:销售
  4761. type: integer
  4762. convertfactor:
  4763. description: 标仓系数
  4764. type: number
  4765. convertratio:
  4766. description: 套保系数
  4767. type: number
  4768. createtime:
  4769. description: 时间
  4770. type: string
  4771. enumdicname:
  4772. description: 现货商品单位名称
  4773. type: string
  4774. logtype:
  4775. description: 类型 - 1:套保计划 2:现货合同
  4776. type: integer
  4777. middlegoodsId:
  4778. description: 套保商品id
  4779. type: integer
  4780. middlegoodscode:
  4781. description: 套保商品代码
  4782. type: string
  4783. middlegoodsname:
  4784. description: 套保商品名称
  4785. type: string
  4786. qty:
  4787. description: 数量
  4788. type: number
  4789. relateNo:
  4790. description: 现货合同/套保计划编号
  4791. type: string
  4792. wrstandardcode:
  4793. description: 现货商品代码
  4794. type: string
  4795. wrstandardid:
  4796. description: 现货商品ID
  4797. type: integer
  4798. wrstandardname:
  4799. description: 现货商品名称
  4800. type: string
  4801. type: object
  4802. models.ErmcpExposurePostion:
  4803. properties:
  4804. agreeunit:
  4805. description: 合约单位
  4806. type: string
  4807. areauserid:
  4808. description: 所属机构id
  4809. type: integer
  4810. convertratio:
  4811. description: 期货品种系数(折算系数)
  4812. type: number
  4813. curqty:
  4814. description: 当前持仓
  4815. type: integer
  4816. diffhedgeqty:
  4817. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  4818. type: number
  4819. diffqty:
  4820. description: 持仓变动量=当前持仓-昨日持仓
  4821. type: integer
  4822. goodscode:
  4823. description: 商品代码
  4824. type: string
  4825. goodsid:
  4826. description: 商品id
  4827. type: integer
  4828. goodsname:
  4829. description: 商品名称
  4830. type: string
  4831. middlegoodsid:
  4832. description: 套保商品id
  4833. type: integer
  4834. ydqty:
  4835. description: 昨日持仓
  4836. type: integer
  4837. type: object
  4838. models.ErmcpFuturesCompany:
  4839. properties:
  4840. brokerid:
  4841. description: 经纪公司代码
  4842. type: string
  4843. channeladdress:
  4844. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  4845. type: string
  4846. channelid:
  4847. description: 对冲渠道ID
  4848. type: string
  4849. createtime:
  4850. description: 创建时间
  4851. type: string
  4852. creatorid:
  4853. description: 创建人
  4854. type: string
  4855. fcid:
  4856. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  4857. type: integer
  4858. fcname:
  4859. description: 期货公司名称
  4860. type: string
  4861. isvalid:
  4862. description: 是否有效 - 0:无效 1:有效
  4863. type: integer
  4864. mhpaddress:
  4865. description: MHP服务地址(IP:Port)
  4866. type: string
  4867. riskrulegroupid:
  4868. description: 风控规则组ID
  4869. type: string
  4870. tradefeetmpid:
  4871. description: 手续费模板ID[TradeConfigTmpType为2]
  4872. type: string
  4873. trademargintmpid:
  4874. description: 保证金模板ID [TradeConfigTmpType为1]
  4875. type: string
  4876. traderatetmpid:
  4877. description: 汇率模板ID[TradeConfigTmpType为3]
  4878. type: string
  4879. updatetime:
  4880. description: 更新时间
  4881. type: string
  4882. updatorid:
  4883. description: 更新人
  4884. type: string
  4885. type: object
  4886. models.ErmcpGGConvertCfg:
  4887. properties:
  4888. convertratio:
  4889. description: 折算系数
  4890. type: number
  4891. destgoodsgroupid:
  4892. description: 目标品种ID
  4893. type: integer
  4894. dstcode:
  4895. description: 目录品种代码
  4896. type: string
  4897. dstexchangecode:
  4898. description: 目标期货交易所
  4899. type: string
  4900. dstname:
  4901. description: 目标品种名称
  4902. type: string
  4903. dstunitid:
  4904. description: 目标品种单位ID
  4905. type: integer
  4906. dstunitidname:
  4907. description: 目标品种单位名称
  4908. type: string
  4909. modifytime:
  4910. description: 修改时间
  4911. type: string
  4912. srccode:
  4913. description: 源品种代码
  4914. type: string
  4915. srcexchangecode:
  4916. description: 源期货交易所
  4917. type: string
  4918. srcgoodsgroupid:
  4919. description: 源品种ID
  4920. type: integer
  4921. srcname:
  4922. description: 源品种名称
  4923. type: string
  4924. srcunitid:
  4925. description: 源品种单位ID
  4926. type: integer
  4927. srcunitidname:
  4928. description: 源品种单位名称
  4929. type: string
  4930. type: object
  4931. models.ErmcpGoodsBrand:
  4932. properties:
  4933. areauserid:
  4934. description: 所属机构
  4935. type: integer
  4936. brandid:
  4937. description: BrandID(SEQ_SPOTGOODSBRAND)
  4938. type: integer
  4939. brandname:
  4940. description: 品牌名称
  4941. type: string
  4942. createtime:
  4943. description: 创建时间
  4944. type: string
  4945. creatorid:
  4946. description: 创建人
  4947. type: integer
  4948. creatorsrc:
  4949. description: 创建人来源 - 1:管理端 2:终端
  4950. type: integer
  4951. deliverygoodsid:
  4952. description: 现货品种ID
  4953. type: integer
  4954. isvalid:
  4955. description: 是否有效 - 0:无效 1:有效
  4956. type: integer
  4957. updatetime:
  4958. description: 更新时间
  4959. type: string
  4960. updatorid:
  4961. description: 更新人
  4962. type: integer
  4963. updatorsrc:
  4964. description: 更新人来源 - 1:管理端 2:终端
  4965. type: integer
  4966. wrstandardid:
  4967. description: 现货商品ID
  4968. type: integer
  4969. type: object
  4970. models.ErmcpGoodsModel:
  4971. properties:
  4972. areauserid:
  4973. description: 所属机构
  4974. type: integer
  4975. convertfactor:
  4976. description: 标仓系数
  4977. type: number
  4978. createtime:
  4979. description: 创建时间
  4980. type: string
  4981. creatorid:
  4982. description: 创建人
  4983. type: integer
  4984. creatorsrc:
  4985. description: 创建人来源 - 1:管理端 2:终端
  4986. type: integer
  4987. deliverygoodsid:
  4988. description: 现货品种ID
  4989. type: integer
  4990. isvalid:
  4991. description: 是否有效 - 0:无效 1:有效
  4992. type: integer
  4993. modelid:
  4994. description: ModelID(SEQ_SPOTGOODSMODEL)
  4995. type: integer
  4996. modelname:
  4997. description: 型号名称
  4998. type: string
  4999. updatetime:
  5000. description: 更新时间
  5001. type: string
  5002. updatorid:
  5003. description: 更新人
  5004. type: integer
  5005. updatorsrc:
  5006. description: 更新人来源 - 1:管理端 2:终端
  5007. type: integer
  5008. wrstandardid:
  5009. description: 现货商品ID
  5010. type: integer
  5011. type: object
  5012. models.ErmcpHedgePosition:
  5013. properties:
  5014. accountid:
  5015. description: 资金账号[外部母账户]
  5016. type: integer
  5017. curbuyposition:
  5018. description: 期末买头寸
  5019. type: integer
  5020. cursellposition:
  5021. description: 期末卖头寸
  5022. type: integer
  5023. curtdbuyposition:
  5024. description: 期末今日买头寸
  5025. type: integer
  5026. curtdsellposition:
  5027. description: 期末今日卖头寸
  5028. type: integer
  5029. curydbuyposition:
  5030. description: 期末上日买头寸
  5031. type: integer
  5032. curydsellposition:
  5033. description: 期末上日卖头寸
  5034. type: integer
  5035. decreaseqty:
  5036. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  5037. type: integer
  5038. fretdbuyposition:
  5039. description: 冻结今日买头寸
  5040. type: integer
  5041. fretdsellposition:
  5042. description: 冻结今日卖头寸
  5043. type: integer
  5044. freydbuyposition:
  5045. description: 冻结上日买头寸
  5046. type: integer
  5047. freydsellposition:
  5048. description: 冻结上日卖头寸
  5049. type: integer
  5050. goodscode:
  5051. description: 商品代码
  5052. type: string
  5053. goodsid:
  5054. description: 商品id
  5055. type: integer
  5056. goodsname:
  5057. description: 商品名称
  5058. type: string
  5059. hedgeaccountcode:
  5060. description: 对冲账号
  5061. type: string
  5062. hedgegoodsid:
  5063. description: 对冲合约ID
  5064. type: integer
  5065. increaseqty:
  5066. description: 增加数量 = 期末买头寸 - 期初买头寸
  5067. type: integer
  5068. marketid:
  5069. description: 市场ID
  5070. type: integer
  5071. relateduserid:
  5072. description: 关联用户id
  5073. type: integer
  5074. totalcurqty:
  5075. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  5076. type: integer
  5077. totalydqty:
  5078. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  5079. type: integer
  5080. tradedate:
  5081. description: 交易日(yyyyMMdd)
  5082. type: string
  5083. ydbuyposition:
  5084. description: 期初买头寸
  5085. type: integer
  5086. ydsellposition:
  5087. description: 期初卖头寸
  5088. type: integer
  5089. type: object
  5090. models.ErmcpHedgePositionDetail:
  5091. properties:
  5092. buyorsell:
  5093. description: 买卖方向 0-买 1-卖
  5094. type: integer
  5095. channelbuildtype:
  5096. description: 开平方向 1-建仓 2-平仓
  5097. type: integer
  5098. goodscode:
  5099. description: 商品代码
  5100. type: string
  5101. goodsname:
  5102. description: 商品名称
  5103. type: string
  5104. hedgegoodsid:
  5105. description: 商品id
  5106. type: integer
  5107. tradeqty:
  5108. description: 数量(成交数量)
  5109. type: integer
  5110. tradetime:
  5111. description: 时间(成交时间)
  5112. type: string
  5113. type: object
  5114. models.ErmcpHisExposure:
  5115. properties:
  5116. needhedgeexposoure:
  5117. description: 应套保敞口
  5118. type: number
  5119. reckondate:
  5120. description: 日照时期(yyyyMMdd)
  5121. type: string
  5122. totalexposure:
  5123. description: 总敞口
  5124. type: number
  5125. type: object
  5126. models.ErmcpHisExposureS:
  5127. properties:
  5128. data:
  5129. description: 历史敞口
  5130. items:
  5131. $ref: '#/definitions/models.ErmcpHisExposure'
  5132. type: array
  5133. enumdicname:
  5134. description: 单位名称
  5135. type: string
  5136. middlegoodscode:
  5137. description: 套保品种代码
  5138. type: string
  5139. middlegoodsid:
  5140. description: 套保品种ID
  5141. type: integer
  5142. middlegoodsname:
  5143. description: 套保品种名称
  5144. type: string
  5145. type: object
  5146. models.ErmcpLoginTaAccount:
  5147. properties:
  5148. accountid:
  5149. description: 账号id
  5150. type: integer
  5151. accountname:
  5152. description: 账号名称
  5153. type: string
  5154. type: object
  5155. models.ErmcpLoginUser:
  5156. properties:
  5157. acclist:
  5158. description: 关联资金账号
  5159. items:
  5160. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  5161. type: array
  5162. accountname:
  5163. description: 用户名称
  5164. type: string
  5165. clientroleid:
  5166. description: 角色id(usertype=2)
  5167. type: integer
  5168. createtime:
  5169. description: 创建时间
  5170. type: string
  5171. logincode:
  5172. description: 登录代码
  5173. type: string
  5174. loginid:
  5175. description: 登录id(LOGINID)
  5176. type: integer
  5177. loginname:
  5178. description: 登录名称(loginaccount表中的accountname字段)
  5179. type: string
  5180. loginstatus:
  5181. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  5182. type: integer
  5183. memberuserid:
  5184. description: 所属会员id
  5185. type: integer
  5186. mobile:
  5187. description: 手机号
  5188. type: string
  5189. modifytime:
  5190. description: 修改时间
  5191. type: string
  5192. password:
  5193. description: 密码(不可解密)
  5194. type: string
  5195. rolename:
  5196. description: 角色名称
  5197. type: string
  5198. rolestatus:
  5199. description: 角色状态 1-启用 2-停用
  5200. type: integer
  5201. roletype:
  5202. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  5203. type: string
  5204. userid:
  5205. description: 用户id
  5206. type: integer
  5207. usertype:
  5208. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  5209. type: integer
  5210. type: object
  5211. models.ErmcpLoginUserEx:
  5212. properties:
  5213. accountstatus:
  5214. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  5215. type: integer
  5216. mobile:
  5217. description: 手机号
  5218. type: string
  5219. querytype:
  5220. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  5221. type: integer
  5222. roleid:
  5223. description: 角色id(交易账户->用户id)
  5224. type: integer
  5225. rolename:
  5226. description: 角色名称(交易账户->用户名称)
  5227. type: string
  5228. userlist:
  5229. description: 用户列表
  5230. items:
  5231. $ref: '#/definitions/models.ErmcpLoginUser'
  5232. type: array
  5233. usertype:
  5234. description: 用户类型 2-机构 7-企业成员(云平台)
  5235. type: integer
  5236. type: object
  5237. models.ErmcpMiddleGoodsChangeLog:
  5238. properties:
  5239. aftervalue:
  5240. description: 变更后
  5241. type: number
  5242. applyid:
  5243. description: 操作人
  5244. type: integer
  5245. applyname:
  5246. description: 操作人名称
  5247. type: string
  5248. applysrc:
  5249. description: 操作来源 - 1:管理端 2:终端
  5250. type: integer
  5251. beforevalue:
  5252. description: 变更前
  5253. type: number
  5254. changelogtype:
  5255. description: 变更流水类型 - 1:套保比率变更
  5256. type: integer
  5257. handlestatus:
  5258. description: 处理状态
  5259. type: integer
  5260. logdatetime:
  5261. description: 流水日期
  5262. type: string
  5263. logid:
  5264. description: 流水ID
  5265. type: integer
  5266. logremark:
  5267. description: 流水备注
  5268. type: string
  5269. middlegoodsid:
  5270. description: 套保品种ID
  5271. type: integer
  5272. tradedate:
  5273. description: 交易日(yyyyMMdd)
  5274. type: string
  5275. updatetime:
  5276. description: 更新时间
  5277. type: string
  5278. type: object
  5279. models.ErmcpMiddleGoodsDetail:
  5280. properties:
  5281. cvList:
  5282. description: 期货品种折算列表
  5283. items:
  5284. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  5285. type: array
  5286. mg:
  5287. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  5288. description: 套保品种基本信息
  5289. type: object
  5290. wrcList:
  5291. description: 现货品种列表(现货商品折算配置)
  5292. items:
  5293. $ref: '#/definitions/models.WRSConverTDetail'
  5294. type: array
  5295. type: object
  5296. models.ErmcpMiddleGoodsModel:
  5297. properties:
  5298. areauserid:
  5299. description: 机构用户ID
  5300. type: integer
  5301. createtime:
  5302. description: 修改时间
  5303. type: string
  5304. enumdicname:
  5305. description: 单位名称
  5306. type: string
  5307. evaluateratio:
  5308. description: 估价系数
  5309. type: number
  5310. goodsgroupid:
  5311. description: 关联期货品种ID
  5312. type: integer
  5313. goodsunitid:
  5314. description: 单位ID
  5315. type: integer
  5316. isvalid:
  5317. description: 状态 0-无效(停用) 1-有效(正常)
  5318. type: integer
  5319. middlegoodscode:
  5320. description: 套保品种代码
  5321. type: string
  5322. middlegoodsid:
  5323. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5324. type: integer
  5325. middlegoodsname:
  5326. description: 套保品种名称
  5327. type: string
  5328. modifytime:
  5329. description: 修改时间
  5330. type: string
  5331. needhedgeratio:
  5332. description: 套保比率
  5333. type: number
  5334. qtydecimalplace:
  5335. description: 数量小数位
  5336. type: integer
  5337. relatedgoodsid:
  5338. description: 关联交易商品ID
  5339. type: integer
  5340. relatedgoodstype:
  5341. description: 关联商品类型 - 1:期货合约 2:现货品种
  5342. type: integer
  5343. remark:
  5344. description: 备注
  5345. type: string
  5346. type: object
  5347. models.ErmcpOPLogModel:
  5348. properties:
  5349. aftervalue:
  5350. description: 变更后
  5351. type: number
  5352. applyid:
  5353. description: 操作人ID
  5354. type: string
  5355. applyname:
  5356. description: 操作人名称
  5357. type: string
  5358. beforevalue:
  5359. description: 变更前
  5360. type: number
  5361. biztype:
  5362. description: 业务类型 - 1:套保计划 2:现货合同
  5363. type: integer
  5364. contracttype:
  5365. description: 现货合同类型 - 1:采购 -1:销售
  5366. type: integer
  5367. logvalue:
  5368. description: 数值
  5369. type: number
  5370. operatelogtype:
  5371. description: 操作流水类型
  5372. type: integer
  5373. operatelogtypedesc:
  5374. description: 操作流水类型名称
  5375. type: string
  5376. relatedid:
  5377. description: 现货合同ID\套保计划
  5378. type: string
  5379. updatetime:
  5380. description: 更新时间
  5381. type: string
  5382. type: object
  5383. models.ErmcpPendingAudit:
  5384. properties:
  5385. areastockqty:
  5386. description: '待审核数量: 库存申请'
  5387. type: integer
  5388. businessdjqty:
  5389. description: '待审核数量: 点价'
  5390. type: integer
  5391. businessfpqty:
  5392. description: '待审核数量: 发票'
  5393. type: integer
  5394. businessjsqty:
  5395. description: '待审核数量: 结算'
  5396. type: integer
  5397. businesskxqty:
  5398. description: '待审核数量: 款项'
  5399. type: integer
  5400. hedgeplanqty:
  5401. description: '待审核数量: 套保计划'
  5402. type: integer
  5403. spotcontractqty:
  5404. description: '待审核数量: 现货合同'
  5405. type: integer
  5406. userqty:
  5407. description: '待审核数量: 用户'
  5408. type: integer
  5409. type: object
  5410. models.ErmcpRealExposureModel:
  5411. properties:
  5412. AreaUserID:
  5413. description: 所属机构
  5414. type: integer
  5415. BuyFutureQty:
  5416. description: 买入期货数量
  5417. type: number
  5418. BuyPlanQty:
  5419. description: 采购计划数量
  5420. type: number
  5421. BuyPricedQty:
  5422. description: 采购合同已定价数量
  5423. type: number
  5424. MiddleGoodsCode:
  5425. description: 套保品种代码
  5426. type: string
  5427. MiddleGoodsHedgeRatio:
  5428. description: 套保比例
  5429. type: number
  5430. MiddleGoodsID:
  5431. description: 套保品种
  5432. type: integer
  5433. MiddleGoodsName:
  5434. description: 套保品种名称
  5435. type: string
  5436. NeedHedgeExposoure:
  5437. description: 应套保敞口(套保敞口)
  5438. type: number
  5439. NeedHedgeRatio:
  5440. description: 应套保敞口比例
  5441. type: number
  5442. OriBuyFutureQty:
  5443. description: 期初买入期货数量
  5444. type: number
  5445. OriBuyPlanQty:
  5446. description: 期初采购计划数量
  5447. type: number
  5448. OriBuyPricedQty:
  5449. description: 期初采购合同已定价数量
  5450. type: number
  5451. OriSellFutureQty:
  5452. description: 期初卖出期货数量
  5453. type: number
  5454. OriSellPlanQty:
  5455. description: 期初销售计划数量
  5456. type: number
  5457. OriSellPricedQty:
  5458. description: 期初销售合同已定价数量
  5459. type: number
  5460. SellFutureQty:
  5461. description: 卖出期货数量
  5462. type: number
  5463. SellPlanQty:
  5464. description: 销售计划数量
  5465. type: number
  5466. SellPricedQty:
  5467. description: 销售合同已定价数量
  5468. type: number
  5469. TotalExposure:
  5470. description: 总敞口
  5471. type: number
  5472. TotalFutureQty:
  5473. description: 期货总量
  5474. type: number
  5475. TotalHedgeRatio:
  5476. description: 敞口比例
  5477. type: number
  5478. TotalNeedHedgeQty:
  5479. description: 应套保总量(现货应套保总量)
  5480. type: number
  5481. TotalSpotQty:
  5482. description: 现货总量
  5483. type: number
  5484. arbitrageqty:
  5485. description: 套利量
  5486. type: number
  5487. diffArbitrageQty:
  5488. description: 套利变动量
  5489. type: number
  5490. diffExposoureQty:
  5491. description: 变动量(套保敞口)
  5492. type: number
  5493. diffFutuQty:
  5494. description: 变动量(期货总量)
  5495. type: number
  5496. diffHedgeQty:
  5497. description: 套保变动量
  5498. type: number
  5499. diffSpotHedgeQty:
  5500. description: 变动量(现货应套保总量)
  5501. type: number
  5502. diffSpotQty:
  5503. description: 变动量(现货总量) = 现货数量 - 期初现货数量
  5504. type: number
  5505. enumdicname:
  5506. description: 单位名称
  5507. type: string
  5508. hedgeqty:
  5509. description: 套保量
  5510. type: number
  5511. needarbitrageqty:
  5512. description: 应套利量
  5513. type: number
  5514. needarbitrageratio:
  5515. description: 套利比例
  5516. type: number
  5517. needhedgeqty:
  5518. description: 应套保量
  5519. type: number
  5520. oriTotalFutuQty:
  5521. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  5522. type: number
  5523. oriTotalSpotQty:
  5524. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  5525. type: number
  5526. oriarbitrageqty:
  5527. description: 期初套利量
  5528. type: number
  5529. orihedgeqty:
  5530. description: 期初套保量
  5531. type: number
  5532. orineedhedgeexposoure:
  5533. description: 期初套保敞口
  5534. type: number
  5535. oritotalexposure:
  5536. description: 期初总敞口
  5537. type: number
  5538. oritotalfutureqty:
  5539. description: 期初期货总量
  5540. type: number
  5541. oritotalneedhedgeqty:
  5542. description: 期初现货应套保量
  5543. type: number
  5544. type: object
  5545. models.ErmcpRole:
  5546. properties:
  5547. areauserid:
  5548. description: 所属机构
  5549. type: integer
  5550. autoid:
  5551. description: 角色ID(自增ID)
  5552. type: integer
  5553. modifierid:
  5554. description: 修改人(创建人)
  5555. type: integer
  5556. modifiername:
  5557. description: 修改人名称
  5558. type: string
  5559. modifytime:
  5560. description: 修改时间(创建时间)
  5561. type: string
  5562. rolename:
  5563. description: 角色名称
  5564. type: string
  5565. rolestatus:
  5566. description: 角色状态 - 1:启用 2:停用
  5567. type: integer
  5568. roletype:
  5569. description: 角色类型 - 1- 管理端 2- 交易端
  5570. type: integer
  5571. type: object
  5572. models.ErmcpRoleMenu:
  5573. properties:
  5574. iconame:
  5575. description: 菜单图标
  5576. type: string
  5577. ishadrole:
  5578. description: 是否有权限
  5579. type: boolean
  5580. menutype:
  5581. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  5582. type: integer
  5583. parentcode:
  5584. description: 上级资源代码
  5585. type: string
  5586. remark:
  5587. description: 菜单备注
  5588. type: string
  5589. resourcecode:
  5590. description: 菜单代码
  5591. type: string
  5592. resourcelevel:
  5593. description: 级别
  5594. type: integer
  5595. resourcename:
  5596. description: 菜单名称
  5597. type: string
  5598. roleid:
  5599. description: 角色id
  5600. type: integer
  5601. sort:
  5602. description: 排序
  5603. type: integer
  5604. url:
  5605. description: URL
  5606. type: string
  5607. userid:
  5608. description: 用户id
  5609. type: integer
  5610. type: object
  5611. models.ErmcpRoleMenuEx:
  5612. properties:
  5613. menu:
  5614. $ref: '#/definitions/models.ErmcpRoleMenu'
  5615. description: 父级菜单
  5616. type: object
  5617. subMenu:
  5618. description: 子级菜单
  5619. items:
  5620. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  5621. type: array
  5622. type: object
  5623. models.ErmcpTaAccount:
  5624. properties:
  5625. accountid:
  5626. description: 账户id
  5627. type: integer
  5628. accountname:
  5629. description: 账户名称
  5630. type: string
  5631. currencyid:
  5632. description: 币种id
  5633. type: integer
  5634. hedgeaccountcode:
  5635. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  5636. type: string
  5637. ismain:
  5638. description: 是否主账户 0-否 1-是
  5639. type: integer
  5640. parentaccountid:
  5641. description: 父账户id
  5642. type: integer
  5643. relateduserid:
  5644. description: 关联userid
  5645. type: integer
  5646. tradestatus:
  5647. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  5648. type: integer
  5649. userid:
  5650. description: 用户id
  5651. type: integer
  5652. type: object
  5653. models.ErmcpTaAccountEx:
  5654. properties:
  5655. mainAcc:
  5656. $ref: '#/definitions/models.ErmcpTaAccountM'
  5657. description: 主账号
  5658. type: object
  5659. subacclist:
  5660. description: 子账号列表
  5661. items:
  5662. $ref: '#/definitions/models.ErmcpTaAccount'
  5663. type: array
  5664. type: object
  5665. models.ErmcpTaAccountInfo:
  5666. properties:
  5667. accountid:
  5668. description: 资金账户ID
  5669. type: integer
  5670. accountname:
  5671. description: 账户名称
  5672. type: string
  5673. balance:
  5674. description: 期初余额
  5675. type: number
  5676. capitalbalance:
  5677. description: 本金余额[外部子账户实际出入金余额]
  5678. type: number
  5679. closepl:
  5680. description: 今日平仓盈亏
  5681. type: number
  5682. creditdecrease:
  5683. description: 今日授信减少
  5684. type: number
  5685. creditincrease:
  5686. description: 今日授信增加
  5687. type: number
  5688. curdebt:
  5689. description: 期末欠款
  5690. type: number
  5691. currencyid:
  5692. description: 货币ID
  5693. type: integer
  5694. currentbalance:
  5695. description: 期末余额
  5696. type: number
  5697. freezecharge:
  5698. description: 手续费冻结
  5699. type: number
  5700. freezemargin:
  5701. description: 冻结保证金
  5702. type: number
  5703. fromaccountid:
  5704. description: 所属上级账户
  5705. type: integer
  5706. inamount:
  5707. description: 今日入金金额(包括三方入金)
  5708. type: number
  5709. ismain:
  5710. description: 是否母账号 0:不是母账户 1:是母账户
  5711. type: integer
  5712. mortgagecredit:
  5713. description: 授信金额
  5714. type: number
  5715. oridebt:
  5716. description: 期初欠款
  5717. type: number
  5718. orifreezecharge:
  5719. description: 期初手续费冻结
  5720. type: number
  5721. orifreezemargin:
  5722. description: 期初冻结保证金
  5723. type: number
  5724. orimortgagecredit:
  5725. description: 期初授信金额
  5726. type: number
  5727. oriothercredit:
  5728. description: 期初其它授信金额
  5729. type: number
  5730. oriotherfreezemargin:
  5731. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  5732. type: number
  5733. orioutamountfreeze:
  5734. description: 期初出金冻结
  5735. type: number
  5736. oriusedmargin:
  5737. description: 期初占用保证金
  5738. type: number
  5739. othercredit:
  5740. description: 其它授信金额
  5741. type: number
  5742. othercreditdecrease:
  5743. description: 今日其它授信减少
  5744. type: number
  5745. othercreditincrease:
  5746. description: 今日其它授信增加
  5747. type: number
  5748. otherfreezemargin:
  5749. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  5750. type: number
  5751. outamount:
  5752. description: 今日出金金额(包括三方出金)
  5753. type: number
  5754. outamountfreeze:
  5755. description: 出金冻结
  5756. type: number
  5757. outthreshold:
  5758. description: 出金阈值
  5759. type: number
  5760. parentaccountid:
  5761. description: 所属根账号
  5762. type: integer
  5763. paycharge:
  5764. description: 今日手续费支出
  5765. type: number
  5766. relateduserid:
  5767. description: 关联用户
  5768. type: integer
  5769. signstatus:
  5770. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  5771. type: integer
  5772. sublevelpath:
  5773. description: 账号层级路径(逗号分隔,首尾加逗号)
  5774. type: string
  5775. taaccounttype:
  5776. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  5777. type: integer
  5778. thirdinamount:
  5779. description: 今日三方入金
  5780. type: number
  5781. thirdoutamount:
  5782. description: 今日三方出金
  5783. type: number
  5784. tradestatus:
  5785. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  5786. type: integer
  5787. transferamount:
  5788. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  5789. type: number
  5790. usedmargin:
  5791. description: 占用保证金
  5792. type: number
  5793. userid:
  5794. description: 用户ID
  5795. type: integer
  5796. type: object
  5797. models.ErmcpTaAccountM:
  5798. properties:
  5799. accountid:
  5800. description: 账户id
  5801. type: integer
  5802. accountname:
  5803. description: 账户名称
  5804. type: string
  5805. currencyid:
  5806. description: 币种id
  5807. type: integer
  5808. fcid:
  5809. description: 期货公司id
  5810. type: integer
  5811. fcname:
  5812. description: 期货公司代码
  5813. type: string
  5814. hedgeaccountcode:
  5815. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  5816. type: string
  5817. ismain:
  5818. description: 是否主账户 0-否 1-是
  5819. type: integer
  5820. parentaccountid:
  5821. description: 父账户id
  5822. type: integer
  5823. relateduserid:
  5824. description: 关联userid
  5825. type: integer
  5826. tradestatus:
  5827. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  5828. type: integer
  5829. userid:
  5830. description: 用户id
  5831. type: integer
  5832. type: object
  5833. models.ErmcpTradeConfigTMP:
  5834. properties:
  5835. areauserid:
  5836. description: 所属机构
  5837. type: integer
  5838. basiccurrencyid:
  5839. description: 基本币种ID[汇率] - 目标币种
  5840. type: integer
  5841. mainaccountid:
  5842. description: 主账户ID
  5843. type: integer
  5844. modifierid:
  5845. description: 修改人
  5846. type: integer
  5847. remark:
  5848. description: 备注
  5849. type: string
  5850. tradeconfigtmpid:
  5851. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  5852. type: integer
  5853. tradeconfigtmpname:
  5854. description: 交易配置模板名称
  5855. type: string
  5856. tradeconfigtmptype:
  5857. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  5858. type: integer
  5859. updatetime:
  5860. description: 更新时间
  5861. type: string
  5862. type: object
  5863. models.ErmcpUserModel:
  5864. properties:
  5865. address:
  5866. description: 通讯地址
  5867. type: string
  5868. attachment1:
  5869. description: 附件1
  5870. type: string
  5871. audittime:
  5872. description: 审核时间
  5873. type: string
  5874. cardbackphotourl:
  5875. description: 证件反面图片地址
  5876. type: string
  5877. cardfrontphotourl:
  5878. description: 证件正面图片地址
  5879. type: string
  5880. cardnum:
  5881. description: 证件号码
  5882. type: string
  5883. cardtype:
  5884. description: 证件类型
  5885. type: integer
  5886. cardtypename:
  5887. description: 证件类型名称
  5888. type: string
  5889. cityid:
  5890. description: 市
  5891. type: integer
  5892. contactname:
  5893. description: 联系人
  5894. type: string
  5895. countryid:
  5896. description: 国家
  5897. type: integer
  5898. createtime:
  5899. description: 创建时间
  5900. type: string
  5901. customername:
  5902. description: 企业名称
  5903. type: string
  5904. districtid:
  5905. description: 区域
  5906. type: integer
  5907. email:
  5908. description: 邮件
  5909. type: string
  5910. legalpersonname:
  5911. description: 法人姓名(企业)
  5912. type: string
  5913. memberuserid:
  5914. description: 所属机构ID
  5915. type: integer
  5916. mobile:
  5917. description: 手机号码
  5918. type: string
  5919. modifytime:
  5920. description: 修改时间
  5921. type: string
  5922. nickname:
  5923. description: 昵称
  5924. type: string
  5925. provinceid:
  5926. description: 省
  5927. type: integer
  5928. remark:
  5929. description: 备注
  5930. type: string
  5931. status:
  5932. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  5933. type: integer
  5934. statusdesc:
  5935. description: 账户状态中文描述
  5936. type: string
  5937. taxpayernum:
  5938. description: 纳税人识别号
  5939. type: string
  5940. telphone:
  5941. description: 联系电话
  5942. type: string
  5943. userid:
  5944. description: 用户ID
  5945. type: integer
  5946. userinfotype:
  5947. description: 客户类型
  5948. type: string
  5949. type: object
  5950. models.ErmcpWareHouseInfo:
  5951. properties:
  5952. address:
  5953. description: 详细地址
  5954. type: string
  5955. areauserid:
  5956. description: 所属机构
  5957. type: integer
  5958. autoid:
  5959. description: 自增ID(仓库ID)
  5960. type: integer
  5961. cityid:
  5962. description: 市
  5963. type: integer
  5964. contactname:
  5965. description: 联系人
  5966. type: string
  5967. contactnum:
  5968. description: 联系电话
  5969. type: string
  5970. countryid:
  5971. description: 国家
  5972. type: integer
  5973. createtime:
  5974. description: 创建时间
  5975. type: string
  5976. districtid:
  5977. description: 区
  5978. type: integer
  5979. hasvideo:
  5980. description: 是否有视频 - 0:无 1:有
  5981. type: integer
  5982. provinceid:
  5983. description: 省
  5984. type: integer
  5985. remark:
  5986. description: 审核备注
  5987. type: string
  5988. videourl:
  5989. description: 视频地址
  5990. type: string
  5991. warehousecode:
  5992. description: 仓库代码
  5993. type: string
  5994. warehousename:
  5995. description: 仓库名称
  5996. type: string
  5997. warehousestatus:
  5998. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  5999. type: integer
  6000. warehousetype:
  6001. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  6002. type: integer
  6003. type: object
  6004. models.Externalexchange:
  6005. properties:
  6006. autoid:
  6007. description: AutoID - SEQ_EXTERNALEXCHANGE
  6008. type: integer
  6009. exchangefullname:
  6010. description: 外部交易所全称
  6011. type: string
  6012. exexchangecode:
  6013. description: 外部交易所代码
  6014. type: string
  6015. exexchangename:
  6016. description: 外部交易所名称(简称)
  6017. type: string
  6018. ismarketprice:
  6019. description: 是否支持市价 - 0:不支持 1:支持
  6020. type: integer
  6021. quotegear:
  6022. description: 行情档位(1-10)
  6023. type: integer
  6024. showbrokerflag:
  6025. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  6026. type: integer
  6027. updatetime:
  6028. description: 更新时间
  6029. type: string
  6030. required:
  6031. - autoid
  6032. type: object
  6033. models.Funcmenulist:
  6034. properties:
  6035. iconame:
  6036. description: 菜单图标
  6037. type: string
  6038. menutype:
  6039. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  6040. type: integer
  6041. parentcode:
  6042. description: 上级资源代码
  6043. type: string
  6044. remark:
  6045. description: 备注
  6046. type: string
  6047. resourcecode:
  6048. description: 资源代码
  6049. type: string
  6050. resourcelevel:
  6051. description: 级别 1-一级 2-二级 3-三级 4-四级
  6052. type: integer
  6053. resourcename:
  6054. description: 资源名
  6055. type: string
  6056. sort:
  6057. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  6058. type: integer
  6059. url:
  6060. description: URL
  6061. type: string
  6062. required:
  6063. - resourcecode
  6064. type: object
  6065. models.Goods:
  6066. properties:
  6067. agreeunit:
  6068. description: 合约单位
  6069. type: number
  6070. auditaccountid:
  6071. description: 审核操作员账号
  6072. type: integer
  6073. audittime:
  6074. description: 审核时间
  6075. type: string
  6076. cancelaccountid:
  6077. description: 注销操作员账号
  6078. type: integer
  6079. canceltime:
  6080. description: 注销时间
  6081. type: string
  6082. closepricemode:
  6083. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6084. type: integer
  6085. closepriceparam:
  6086. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  6087. type: number
  6088. createtime:
  6089. description: 创建时间
  6090. type: string
  6091. creatorid:
  6092. description: 创建人
  6093. type: integer
  6094. currencyid:
  6095. description: 报价货币ID
  6096. type: integer
  6097. cutmode:
  6098. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  6099. type: integer
  6100. decimalplace:
  6101. description: 报价小数位
  6102. type: integer
  6103. delistingdate:
  6104. description: 商品退市时间(状态:退市) -- 已作废
  6105. type: string
  6106. delistingmode:
  6107. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  6108. type: integer
  6109. deliveryflag:
  6110. description: 交割标志 - 0:不可交割 1:可交割
  6111. type: integer
  6112. forceclosemode:
  6113. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  6114. type: integer
  6115. forceclosevalue:
  6116. description: 定期强平参数 [收益权]
  6117. type: integer
  6118. goodscode:
  6119. description: 商品代码(内部)
  6120. type: string
  6121. goodscurrencyid:
  6122. description: 合约货币ID
  6123. type: integer
  6124. goodsgroupid:
  6125. description: 所属商品组ID
  6126. type: integer
  6127. goodsid:
  6128. description: 商品ID(自增ID SEQ_GOODS)
  6129. type: integer
  6130. goodsname:
  6131. description: 商品名称
  6132. type: string
  6133. goodsquotetype:
  6134. description: '合约报价类型: 1-直接报价 2-间接报价'
  6135. type: integer
  6136. goodsstatus:
  6137. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  6138. type: integer
  6139. goodstradetype:
  6140. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  6141. type: integer
  6142. goodunitid:
  6143. description: 报价单位ID
  6144. type: integer
  6145. hasquoter:
  6146. description: 是否有报价商 - 0:无报价商 1:有报价商
  6147. type: integer
  6148. hqprotecttime:
  6149. description: 行情保护时间(秒)
  6150. type: integer
  6151. innerdealmode:
  6152. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6153. type: integer
  6154. isbuylimited:
  6155. description: 是否限制建仓量 - 0:不限制 1:限制
  6156. type: integer
  6157. lasttradedate:
  6158. description: 最后交易日期(状态:待退市)
  6159. type: string
  6160. listingdate:
  6161. description: 交易开始日期
  6162. type: string
  6163. marketid:
  6164. description: 所属市场ID
  6165. type: integer
  6166. modifierid:
  6167. description: 修改人
  6168. type: integer
  6169. modifystatus:
  6170. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6171. type: integer
  6172. modifytime:
  6173. description: 修改时间
  6174. type: string
  6175. outerdealmode:
  6176. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6177. type: integer
  6178. outgoodscode:
  6179. description: 商品代码(外部)
  6180. type: string
  6181. qtydecimalplace:
  6182. description: 成交量小数位
  6183. type: integer
  6184. quotegear:
  6185. description: 行情档位(1-10)
  6186. type: integer
  6187. quoteminunit:
  6188. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6189. type: integer
  6190. quoteshowtype:
  6191. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6192. type: integer
  6193. quoteshowtypeinterval:
  6194. description: 行情报价间隔时间(秒)(成交价时为0)
  6195. type: integer
  6196. remark:
  6197. description: 备注
  6198. type: string
  6199. required:
  6200. - goodscode
  6201. - goodsid
  6202. - goodsname
  6203. - marketid
  6204. type: object
  6205. models.GoodsIDAndName:
  6206. properties:
  6207. goodscode:
  6208. description: 商品代码(内部)
  6209. type: string
  6210. goodsid:
  6211. description: 商品ID(自增ID SEQ_GOODS)
  6212. type: integer
  6213. goodsname:
  6214. description: 商品名称
  6215. type: string
  6216. marketid:
  6217. description: 所属市场ID
  6218. type: integer
  6219. required:
  6220. - goodscode
  6221. - goodsid
  6222. - goodsname
  6223. - marketid
  6224. type: object
  6225. models.Goodsgroup:
  6226. properties:
  6227. agreeunit:
  6228. description: 合约单位
  6229. type: number
  6230. canshort:
  6231. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6232. type: integer
  6233. closepricemode:
  6234. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6235. type: integer
  6236. closepriceparam:
  6237. description: 强平最新价浮动比例 - 方式为2时使用
  6238. type: number
  6239. createtime:
  6240. description: 创建时间
  6241. type: string
  6242. creatorid:
  6243. description: 创建人
  6244. type: integer
  6245. currencyid:
  6246. description: 报价货币ID
  6247. type: integer
  6248. decimalplace:
  6249. description: 报价小数位
  6250. type: integer
  6251. exercisetype:
  6252. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  6253. type: integer
  6254. exexchangeid:
  6255. description: 外部交易所ID[通道交易]
  6256. type: integer
  6257. goodsgroupid:
  6258. description: 商品组ID(自增ID)
  6259. type: integer
  6260. goodsgroupname:
  6261. description: 商品组名称
  6262. type: string
  6263. goodsgroupstatus:
  6264. description: 商品组状态 - 1:正常 2:注销
  6265. type: integer
  6266. goodunitid:
  6267. description: 报价单位ID
  6268. type: integer
  6269. innerdealmode:
  6270. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6271. type: integer
  6272. isbuylimited:
  6273. description: 是否限制建仓量 - 0:不限制 1:限制
  6274. type: integer
  6275. marketid:
  6276. description: 所属市场ID
  6277. type: integer
  6278. modifierid:
  6279. description: 修改人
  6280. type: integer
  6281. modifytime:
  6282. description: 修改时间
  6283. type: string
  6284. outerdealmode:
  6285. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6286. type: integer
  6287. outergroupcode:
  6288. description: 外部商品组代码[通道交易]
  6289. type: string
  6290. premiumdecimalplace:
  6291. description: 权利金小数位[场外期权]
  6292. type: integer
  6293. premiumspreadalgorithm:
  6294. description: 权利金点差方式[场外期权] 1:比率 2:固定
  6295. type: integer
  6296. premiumspreadvalue:
  6297. description: 权利金点差值[场外期权]
  6298. type: number
  6299. qtydecimalplace:
  6300. description: 成交量小数位
  6301. type: integer
  6302. quotegear:
  6303. description: 行情档位(1-10)
  6304. type: integer
  6305. quoteminunit:
  6306. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6307. type: integer
  6308. quoterid:
  6309. description: 报价商ID[场外期权]
  6310. type: integer
  6311. quotesourcegroupid:
  6312. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6313. type: integer
  6314. syncgoodsqty:
  6315. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6316. type: integer
  6317. required:
  6318. - goodsgroupid
  6319. - goodsgroupname
  6320. - goodsgroupstatus
  6321. - marketid
  6322. type: object
  6323. models.Goodssortbypreposition:
  6324. properties:
  6325. goodscode:
  6326. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  6327. type: string
  6328. goodsgroupcode:
  6329. description: 品种代码
  6330. type: string
  6331. prepositionqty:
  6332. description: 昨持仓量
  6333. type: integer
  6334. sortindex:
  6335. description: 排序
  6336. type: integer
  6337. tradedate:
  6338. description: 交易日
  6339. type: string
  6340. updatetime:
  6341. description: 更新时间
  6342. type: string
  6343. required:
  6344. - goodscode
  6345. - tradedate
  6346. type: object
  6347. models.Hedgeinnerholderdetail:
  6348. properties:
  6349. accountid:
  6350. description: 账号ID
  6351. type: integer
  6352. buyorsell:
  6353. description: 方向 - 0:买 1:卖
  6354. type: integer
  6355. freezeqty:
  6356. description: 冻结数量 - 按单平使用
  6357. type: integer
  6358. goodsid:
  6359. description: 商品ID
  6360. type: integer
  6361. holderamount:
  6362. description: 持仓金额 [商品币种]
  6363. type: number
  6364. holderdays:
  6365. description: 剩余冻结天数
  6366. type: integer
  6367. holderprice:
  6368. description: 持仓价格
  6369. type: number
  6370. holderqty:
  6371. description: 持仓数量
  6372. type: integer
  6373. marketid:
  6374. description: 市场ID
  6375. type: integer
  6376. openprice:
  6377. description: 建仓价格
  6378. type: number
  6379. openqty:
  6380. description: 建仓数量
  6381. type: integer
  6382. parentaccountid:
  6383. description: 所属母账户
  6384. type: integer
  6385. releaseamount:
  6386. description: 释放持仓金额[商品币种]
  6387. type: number
  6388. tradeamount:
  6389. description: 成交金额[账户]
  6390. type: number
  6391. tradedate:
  6392. description: 交易日(yyyyMMdd)
  6393. type: string
  6394. tradeid:
  6395. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6396. type: string
  6397. tradetime:
  6398. description: 交易时间
  6399. type: string
  6400. required:
  6401. - buyorsell
  6402. - tradeid
  6403. type: object
  6404. models.Hedgemarketopenlog:
  6405. properties:
  6406. accountid:
  6407. description: 资金账号[外部母账户]
  6408. type: integer
  6409. fcname:
  6410. description: 期货公司名称
  6411. type: string
  6412. handlestatus:
  6413. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  6414. type: integer
  6415. marketid:
  6416. description: 市场ID
  6417. type: integer
  6418. status:
  6419. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  6420. type: integer
  6421. tradedate:
  6422. description: 交易日(yyyyMMdd)
  6423. type: string
  6424. updatetime:
  6425. description: 更新时间
  6426. type: string
  6427. required:
  6428. - accountid
  6429. type: object
  6430. models.HsbyBuyMyPayOrder:
  6431. properties:
  6432. agreeunit:
  6433. description: 合约单位
  6434. type: number
  6435. buyaccountid:
  6436. description: 买方账号ID[报价币种]
  6437. type: integer
  6438. buyorderid:
  6439. description: 买方委托单号
  6440. type: string
  6441. createtime:
  6442. description: 创建时间
  6443. type: string
  6444. currencysign:
  6445. description: 货币符号
  6446. type: string
  6447. decimalplace:
  6448. description: 报价小数位
  6449. type: integer
  6450. goodscode:
  6451. description: 商品代码(内部)
  6452. type: string
  6453. goodsid:
  6454. description: 商品ID
  6455. type: integer
  6456. goodsname:
  6457. description: 商品名称
  6458. type: string
  6459. marketid:
  6460. description: 市场ID
  6461. type: integer
  6462. offamount:
  6463. description: 优惠金额
  6464. type: number
  6465. originalamount:
  6466. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  6467. type: number
  6468. payamount:
  6469. description: 支付金额 = TradeAmount + TradeCharge
  6470. type: number
  6471. payflag:
  6472. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  6473. type: integer
  6474. paylimitedtime:
  6475. description: 支付期限
  6476. type: string
  6477. paytime:
  6478. description: 付款时间
  6479. type: string
  6480. picurls1:
  6481. description: 预售商品介绍图片[多张用逗号分隔]
  6482. type: string
  6483. picurls2:
  6484. description: 挂牌商品介绍图片[多张用逗号分隔]
  6485. type: string
  6486. sellaccountid:
  6487. description: 卖方账号ID[报价币种]
  6488. type: integer
  6489. sellorderid:
  6490. description: 卖方委托单号
  6491. type: string
  6492. tradeamount:
  6493. description: 成交金额
  6494. type: number
  6495. tradecharge:
  6496. description: 成交手续费(买方)
  6497. type: number
  6498. tradedate:
  6499. description: 交易日(yyyyMMdd)
  6500. type: string
  6501. tradeid:
  6502. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6503. type: string
  6504. trademode:
  6505. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6506. 21:竞拍-大宗式 22:受托竞价
  6507. type: integer
  6508. tradeprice:
  6509. description: 成交价格
  6510. type: number
  6511. tradeqty:
  6512. description: 成交数量
  6513. type: integer
  6514. vendorname1:
  6515. description: 预售商品供应商名称
  6516. type: string
  6517. vendorname2:
  6518. description: 挂牌商品供应商名称
  6519. type: string
  6520. required:
  6521. - goodscode
  6522. - goodsname
  6523. - tradeid
  6524. - trademode
  6525. type: object
  6526. models.HsbyBuyMyTradeDetail:
  6527. properties:
  6528. accountid:
  6529. description: 账户ID[报价币种]
  6530. type: integer
  6531. agreeunit:
  6532. description: 合约单位
  6533. type: number
  6534. amount:
  6535. description: 金额 = 价格 * 数量 * 合约单位
  6536. type: number
  6537. buyorsell:
  6538. description: 买卖 - 0:买 1:卖
  6539. type: integer
  6540. currencysign:
  6541. description: 货币符号
  6542. type: string
  6543. decimalplace:
  6544. description: 报价小数位
  6545. type: integer
  6546. goodscode:
  6547. description: 商品代码(内部)
  6548. type: string
  6549. goodsid:
  6550. description: 商品ID
  6551. type: integer
  6552. goodsname:
  6553. description: 商品名称
  6554. type: string
  6555. marketid:
  6556. description: 市场ID
  6557. type: integer
  6558. orderamount:
  6559. description: 委托金额
  6560. type: number
  6561. orderid:
  6562. description: 单号(成交单号)
  6563. type: string
  6564. picurls1:
  6565. description: 预售商品介绍图片[多张用逗号分隔]
  6566. type: string
  6567. picurls2:
  6568. description: 挂牌商品介绍图片[多张用逗号分隔]
  6569. type: string
  6570. price:
  6571. description: 价格
  6572. type: number
  6573. qty:
  6574. description: 数量
  6575. type: integer
  6576. time:
  6577. description: 时间
  6578. type: string
  6579. trademode:
  6580. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6581. 21:竞拍-大宗式 22:受托竞价
  6582. type: integer
  6583. vendorname1:
  6584. description: 预售商品供应商名称
  6585. type: string
  6586. vendorname2:
  6587. description: 挂牌商品供应商名称
  6588. type: string
  6589. required:
  6590. - accountid
  6591. - buyorsell
  6592. - goodscode
  6593. - goodsid
  6594. - goodsname
  6595. - marketid
  6596. - orderid
  6597. - qty
  6598. - time
  6599. - trademode
  6600. type: object
  6601. models.HsbyGoodsOrderDetail:
  6602. properties:
  6603. buyorsell:
  6604. description: 买卖 - 0:买 1:卖
  6605. type: integer
  6606. currencysign:
  6607. description: 货币符号
  6608. type: string
  6609. customername:
  6610. description: 客户名称(企业名称),已脱敏
  6611. type: string
  6612. enableqty:
  6613. description: 可用数量
  6614. type: integer
  6615. goodunit:
  6616. description: 报价单位
  6617. type: string
  6618. orderid:
  6619. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6620. type: string
  6621. orderprice:
  6622. description: 委托价格
  6623. type: number
  6624. ordertime:
  6625. description: 委托时间
  6626. type: string
  6627. required:
  6628. - buyorsell
  6629. - orderid
  6630. - ordertime
  6631. type: object
  6632. models.HsbyListingGoodsDetail:
  6633. properties:
  6634. agreeunit:
  6635. description: 合约单位
  6636. type: number
  6637. buymaxqty:
  6638. description: 购买上限 [71] - 0为不限
  6639. type: integer
  6640. currency:
  6641. description: 货币
  6642. type: string
  6643. currencysign:
  6644. description: 货币符号
  6645. type: string
  6646. decimalplace:
  6647. description: 报价小数位
  6648. type: integer
  6649. desccityid:
  6650. description: 目的地(市)ID
  6651. type: integer
  6652. descprovinceid:
  6653. description: 目的地(省)ID
  6654. type: integer
  6655. goodscode:
  6656. description: 商品代码(内部)
  6657. type: string
  6658. goodsdesc:
  6659. description: 商品详情
  6660. type: string
  6661. goodsid:
  6662. description: 商品ID(自增ID SEQ_GOODS)
  6663. type: integer
  6664. goodsname:
  6665. description: 商品名称
  6666. type: string
  6667. goodsprice:
  6668. description: 商品价格
  6669. type: number
  6670. hotindex:
  6671. description: 景点热度
  6672. type: integer
  6673. last:
  6674. description: 现价
  6675. type: number
  6676. limitdown:
  6677. description: 跌停价
  6678. type: number
  6679. limitup:
  6680. description: 涨停价
  6681. type: number
  6682. lotsize:
  6683. description: 手数最小变动单位
  6684. type: integer
  6685. marketid:
  6686. description: 所属市场ID
  6687. type: integer
  6688. picurls:
  6689. description: 介绍图片[多张用逗号分隔]
  6690. type: string
  6691. quoteminunit:
  6692. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6693. type: integer
  6694. stepvalue:
  6695. description: 价格最小变动单位
  6696. type: number
  6697. trademode:
  6698. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6699. 21:竞拍-大宗式 22:受托竞价
  6700. type: integer
  6701. vendorattr:
  6702. description: 供应商附件(多张,逗号分隔)
  6703. type: string
  6704. vendorname:
  6705. description: 供应商名称
  6706. type: string
  6707. vendorphone:
  6708. description: 供应商客服电话
  6709. type: string
  6710. videourls:
  6711. description: 介绍视频[多张用逗号分隔]
  6712. type: string
  6713. required:
  6714. - goodscode
  6715. - goodsid
  6716. - goodsname
  6717. - marketid
  6718. - trademode
  6719. type: object
  6720. models.HsbyMarketGoods:
  6721. properties:
  6722. accountid:
  6723. description: 账户ID[报价币种]
  6724. type: integer
  6725. agreeunit:
  6726. description: 合约单位
  6727. type: number
  6728. buyorsell:
  6729. description: 买卖 - 0:买 1:卖
  6730. type: integer
  6731. categoryid:
  6732. description: 类别ID(WRCATEGORY)
  6733. type: integer
  6734. currency:
  6735. description: 货币
  6736. type: string
  6737. currencysign:
  6738. description: 货币符号
  6739. type: string
  6740. customername:
  6741. description: 卖家名称
  6742. type: string
  6743. decimalplace:
  6744. description: 报价小数位
  6745. type: integer
  6746. goodscode:
  6747. description: 商品代码(内部)
  6748. type: string
  6749. goodsid:
  6750. description: 商品ID
  6751. type: integer
  6752. goodsname:
  6753. description: 商品名称
  6754. type: string
  6755. goodsprice:
  6756. description: 商品价格
  6757. type: number
  6758. hascoupon:
  6759. description: 是否可用优惠卷
  6760. type: boolean
  6761. hotindex:
  6762. description: 景点热度
  6763. type: integer
  6764. marketid:
  6765. description: 市场ID
  6766. type: integer
  6767. orderid:
  6768. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6769. type: string
  6770. orderprice:
  6771. description: 委托价格
  6772. type: number
  6773. orderstatus:
  6774. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  6775. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  6776. 16:成交失败违约(荷兰式竞拍专用)
  6777. type: integer
  6778. picurls:
  6779. description: 介绍图片[多张用逗号分隔]
  6780. type: string
  6781. quoteminunit:
  6782. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6783. type: integer
  6784. sellUserID:
  6785. description: 卖方UserID
  6786. type: integer
  6787. trademode:
  6788. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6789. 21:竞拍-大宗式 22:受托竞价
  6790. type: integer
  6791. videourls:
  6792. description: 介绍视频[多张用逗号分隔]
  6793. type: string
  6794. required:
  6795. - accountid
  6796. - buyorsell
  6797. - goodscode
  6798. - goodsid
  6799. - goodsname
  6800. - marketid
  6801. - orderid
  6802. - trademode
  6803. type: object
  6804. models.HsbyMarketGoodsDetail:
  6805. properties:
  6806. accountid:
  6807. description: 账户ID[报价币种]
  6808. type: integer
  6809. agreeunit:
  6810. description: 合约单位
  6811. type: number
  6812. buymaxqty:
  6813. description: 购买上限 [71] - 0为不限
  6814. type: integer
  6815. buyorsell:
  6816. description: 买卖 - 0:买 1:卖
  6817. type: integer
  6818. cancelqty:
  6819. description: 撤单数量
  6820. type: integer
  6821. categoryid:
  6822. description: 类别ID(WRCATEGORY)
  6823. type: integer
  6824. currency:
  6825. description: 货币
  6826. type: string
  6827. currencysign:
  6828. description: 货币符号
  6829. type: string
  6830. customername:
  6831. description: 卖家名称
  6832. type: string
  6833. decimalplace:
  6834. description: 报价小数位
  6835. type: integer
  6836. goodscode:
  6837. description: 商品代码(内部)
  6838. type: string
  6839. goodsdesc:
  6840. description: 商品详情
  6841. type: string
  6842. goodsid:
  6843. description: 商品ID
  6844. type: integer
  6845. goodsname:
  6846. description: 商品名称
  6847. type: string
  6848. goodsprice:
  6849. description: 商品价格
  6850. type: number
  6851. hotindex:
  6852. description: 景点热度
  6853. type: integer
  6854. lotsize:
  6855. description: 手数最小变动单位
  6856. type: integer
  6857. marketid:
  6858. description: 市场ID
  6859. type: integer
  6860. orderid:
  6861. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6862. type: string
  6863. orderprice:
  6864. description: 委托价格
  6865. type: number
  6866. orderqty:
  6867. description: 委托数量
  6868. type: integer
  6869. orderstatus:
  6870. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  6871. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  6872. 16:成交失败违约(荷兰式竞拍专用)
  6873. type: integer
  6874. picurls:
  6875. description: 介绍图片[多张用逗号分隔]
  6876. type: string
  6877. quoteminunit:
  6878. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6879. type: integer
  6880. sellUserID:
  6881. description: 卖方UserID
  6882. type: integer
  6883. trademode:
  6884. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6885. 21:竞拍-大宗式 22:受托竞价
  6886. type: integer
  6887. tradeqty:
  6888. description: 成交数量
  6889. type: integer
  6890. vendorattr:
  6891. description: 供应商附件(多张,逗号分隔)
  6892. type: string
  6893. vendorname:
  6894. description: 供应商名称
  6895. type: string
  6896. vendorphone:
  6897. description: 供应商客服电话
  6898. type: string
  6899. videourls:
  6900. description: 介绍视频[多张用逗号分隔]
  6901. type: string
  6902. required:
  6903. - accountid
  6904. - buyorsell
  6905. - goodscode
  6906. - goodsid
  6907. - goodsname
  6908. - marketid
  6909. - orderid
  6910. - orderqty
  6911. - trademode
  6912. type: object
  6913. models.HsbyMarketInfo:
  6914. properties:
  6915. marketid:
  6916. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  6917. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  6918. type: integer
  6919. marketname:
  6920. description: 市场名称
  6921. type: string
  6922. marketstatus:
  6923. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  6924. type: integer
  6925. trademode:
  6926. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6927. 21:竞拍-大宗式 22:受托竞价
  6928. type: integer
  6929. required:
  6930. - marketid
  6931. - marketstatus
  6932. - trademode
  6933. type: object
  6934. models.HsbyMyGoods:
  6935. properties:
  6936. accountid:
  6937. description: 账号Id
  6938. type: integer
  6939. agreeunit:
  6940. description: 合约单位
  6941. type: number
  6942. buyaverageprice:
  6943. description: 持仓均价
  6944. type: number
  6945. buycurholderamount:
  6946. description: 买当前持仓总金额[商品币种]
  6947. type: number
  6948. buycurpositionqty:
  6949. description: 买当前持仓总数量
  6950. type: integer
  6951. buymaxqty:
  6952. description: 购买上限 [71] - 0为不限
  6953. type: integer
  6954. currencysign:
  6955. description: 货币符号
  6956. type: string
  6957. decimalplace:
  6958. description: 报价小数位
  6959. type: integer
  6960. enableqty:
  6961. description: 可用数量
  6962. type: integer
  6963. goodscode:
  6964. description: 商品代码(内部)
  6965. type: string
  6966. goodsid:
  6967. description: 商品Id
  6968. type: integer
  6969. goodsname:
  6970. description: 商品名称
  6971. type: string
  6972. goodsprice:
  6973. description: 商品价格
  6974. type: number
  6975. goodsstatus:
  6976. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  6977. type: integer
  6978. last:
  6979. description: 现价(仅使用于挂牌点选)
  6980. type: number
  6981. limitdown:
  6982. description: 跌停价(仅使用于挂牌点选)
  6983. type: number
  6984. limitup:
  6985. description: 涨停价(仅使用于挂牌点选)
  6986. type: number
  6987. lotsize:
  6988. description: 手数最小变动单位
  6989. type: integer
  6990. marketid:
  6991. description: 所属市场ID
  6992. type: integer
  6993. picurls:
  6994. description: 介绍图片[多张用逗号分隔]
  6995. type: string
  6996. quoteminunit:
  6997. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6998. type: integer
  6999. stepvalue:
  7000. description: 价格最小变动单位
  7001. type: number
  7002. trademode:
  7003. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7004. 21:竞拍-大宗式 22:受托竞价
  7005. type: integer
  7006. required:
  7007. - accountid
  7008. - goodscode
  7009. - goodsid
  7010. - goodsname
  7011. - marketid
  7012. - trademode
  7013. type: object
  7014. models.HsbyMyPackage:
  7015. properties:
  7016. accountid:
  7017. description: 账户ID
  7018. type: integer
  7019. address:
  7020. description: 提货人详细地址
  7021. type: string
  7022. agreeunit:
  7023. description: 合约单位
  7024. type: number
  7025. amount:
  7026. description: 提货金额
  7027. type: number
  7028. auditer:
  7029. description: 审核人
  7030. type: integer
  7031. audittime:
  7032. description: 审核时间
  7033. type: string
  7034. averageprice:
  7035. description: 均价
  7036. type: number
  7037. cardnum:
  7038. description: 提货人证件号码
  7039. type: string
  7040. cardtypeid:
  7041. description: 提货人证件类型
  7042. type: integer
  7043. checkremark:
  7044. description: 审核备注
  7045. type: string
  7046. currencysign:
  7047. description: 货币符号
  7048. type: string
  7049. decimalplace:
  7050. description: 报价小数位
  7051. type: integer
  7052. goodscode:
  7053. description: 商品代码(内部)
  7054. type: string
  7055. goodsid:
  7056. description: 商品ID
  7057. type: integer
  7058. goodsname:
  7059. description: 商品名称
  7060. type: string
  7061. handlestatus:
  7062. description: 处理状态
  7063. type: integer
  7064. marketid:
  7065. description: 市场ID
  7066. type: integer
  7067. phonenum:
  7068. description: 提货人联系方式
  7069. type: string
  7070. picurls:
  7071. description: 介绍图片[多张用逗号分隔]
  7072. type: string
  7073. qty:
  7074. description: 提货数量
  7075. type: number
  7076. recivername:
  7077. description: 提货人姓名
  7078. type: string
  7079. reqtime:
  7080. description: 更新时间
  7081. type: string
  7082. takemode:
  7083. description: 提货方式 - 2:自提 3:配送
  7084. type: integer
  7085. takeorderid:
  7086. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  7087. type: string
  7088. takeorderstatus:
  7089. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  7090. type: integer
  7091. takeremark:
  7092. description: 提货备注
  7093. type: string
  7094. tradedate:
  7095. description: 交易日(yyyyMMdd)
  7096. type: string
  7097. trademode:
  7098. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7099. 21:竞拍-大宗式 22:受托竞价
  7100. type: integer
  7101. userid:
  7102. description: 用户ID
  7103. type: integer
  7104. vendorname:
  7105. description: 供应商名称
  7106. type: string
  7107. required:
  7108. - goodscode
  7109. - goodsname
  7110. - takeorderid
  7111. - trademode
  7112. type: object
  7113. models.HsbyPreGoods:
  7114. properties:
  7115. agreeunit:
  7116. description: 合约单位
  7117. type: number
  7118. currency:
  7119. description: 货币
  7120. type: string
  7121. currencysign:
  7122. description: 货币符号
  7123. type: string
  7124. decimalplace:
  7125. description: 报价小数位
  7126. type: integer
  7127. desccityid:
  7128. description: 目的地(市)
  7129. type: integer
  7130. descprovinceid:
  7131. description: 目的地(省)
  7132. type: integer
  7133. enableqty:
  7134. description: 剩余数量
  7135. type: integer
  7136. goodscode:
  7137. description: 商品代码(内部)
  7138. type: string
  7139. goodsid:
  7140. description: 商品ID(自增ID SEQ_GOODS)
  7141. type: integer
  7142. goodsname:
  7143. description: 商品名称
  7144. type: string
  7145. goodsstatus:
  7146. description: 商品状态- 2:未上市 3:上市
  7147. type: integer
  7148. lasttradedate:
  7149. description: 最后交易日期(状态:待退市)
  7150. type: string
  7151. listingdate:
  7152. description: 交易开始日期
  7153. type: string
  7154. marketid:
  7155. description: 所属市场ID
  7156. type: integer
  7157. picurls:
  7158. description: 介绍图片[多张用逗号分隔]
  7159. type: string
  7160. presaledqty:
  7161. description: 已预售量(预售结束时更新)
  7162. type: integer
  7163. presaleqty:
  7164. description: 预售数量
  7165. type: integer
  7166. quoteminunit:
  7167. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7168. type: integer
  7169. refprice:
  7170. description: 参考价格[一口价]
  7171. type: number
  7172. relatedgoodsid:
  7173. description: 关联交易合约ID
  7174. type: integer
  7175. trademode:
  7176. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7177. 21:竞拍-大宗式 22:受托竞价
  7178. type: integer
  7179. videourls:
  7180. description: 介绍视频[多张用逗号分隔]
  7181. type: string
  7182. required:
  7183. - goodscode
  7184. - goodsid
  7185. - goodsname
  7186. - marketid
  7187. - trademode
  7188. type: object
  7189. models.HsbyPreGoodsDetail:
  7190. properties:
  7191. agreeunit:
  7192. description: 合约单位
  7193. type: number
  7194. buymaxqty:
  7195. description: 购买上限 [71] - 0为不限
  7196. type: integer
  7197. currency:
  7198. description: 货币
  7199. type: string
  7200. currencysign:
  7201. description: 货币符号
  7202. type: string
  7203. customername:
  7204. description: 发行单位
  7205. type: string
  7206. decimalplace:
  7207. description: 报价小数位
  7208. type: integer
  7209. desccityid:
  7210. description: 目的地(市)ID
  7211. type: integer
  7212. descprovinceid:
  7213. description: 目的地(省)ID
  7214. type: integer
  7215. enableqty:
  7216. description: 剩余数量
  7217. type: integer
  7218. goodscode:
  7219. description: 商品代码(内部)
  7220. type: string
  7221. goodsdesc:
  7222. description: 商品详情
  7223. type: string
  7224. goodsid:
  7225. description: 商品ID(自增ID SEQ_GOODS)
  7226. type: integer
  7227. goodsname:
  7228. description: 商品名称
  7229. type: string
  7230. goodsstatus:
  7231. description: 商品状态- 2:未上市 3:上市
  7232. type: integer
  7233. goodunit:
  7234. description: 报价单位
  7235. type: string
  7236. lasttradedate:
  7237. description: 最后交易日期(状态:待退市)
  7238. type: string
  7239. listingdate:
  7240. description: 交易开始日期
  7241. type: string
  7242. lotsize:
  7243. description: 手数最小变动单位
  7244. type: integer
  7245. marketid:
  7246. description: 所属市场ID
  7247. type: integer
  7248. picurls:
  7249. description: 介绍图片[多张用逗号分隔]
  7250. type: string
  7251. presaledqty:
  7252. description: 已预售量(预售结束时更新)
  7253. type: integer
  7254. presaleqty:
  7255. description: 预售数量
  7256. type: integer
  7257. quoteminunit:
  7258. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7259. type: integer
  7260. refprice:
  7261. description: 参考价格[一口价]
  7262. type: number
  7263. relatedgoodsid:
  7264. description: 关联交易合约ID
  7265. type: integer
  7266. stepvalue:
  7267. description: 价格最小变动单位
  7268. type: number
  7269. trademode:
  7270. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7271. 21:竞拍-大宗式 22:受托竞价
  7272. type: integer
  7273. vendorattr:
  7274. description: 供应商附件(多张,逗号分隔)
  7275. type: string
  7276. vendorname:
  7277. description: 供应商名称
  7278. type: string
  7279. vendorphone:
  7280. description: 供应商客服电话
  7281. type: string
  7282. videourls:
  7283. description: 介绍视频[多张用逗号分隔]
  7284. type: string
  7285. required:
  7286. - goodscode
  7287. - goodsid
  7288. - goodsname
  7289. - marketid
  7290. - trademode
  7291. type: object
  7292. models.HsbySellCollectionOrder:
  7293. properties:
  7294. agreeunit:
  7295. description: 合约单位
  7296. type: number
  7297. buyaccountid:
  7298. description: 买方账号ID[报价币种]
  7299. type: integer
  7300. buyorderid:
  7301. description: 买方委托单号
  7302. type: string
  7303. createtime:
  7304. description: 创建时间
  7305. type: string
  7306. currencysign:
  7307. description: 货币符号
  7308. type: string
  7309. decimalplace:
  7310. description: 报价小数位
  7311. type: integer
  7312. goodscode:
  7313. description: 商品代码(内部)
  7314. type: string
  7315. goodsid:
  7316. description: 商品ID
  7317. type: integer
  7318. goodsname:
  7319. description: 商品名称
  7320. type: string
  7321. marketid:
  7322. description: 市场ID
  7323. type: integer
  7324. offamount:
  7325. description: 优惠金额
  7326. type: number
  7327. payamount:
  7328. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  7329. type: number
  7330. payflag:
  7331. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7332. type: integer
  7333. paylimitedtime:
  7334. description: 支付期限
  7335. type: string
  7336. paytime:
  7337. description: 付款时间
  7338. type: string
  7339. picurls:
  7340. description: 商品介绍图片[多张用逗号分隔]
  7341. type: string
  7342. sellaccountid:
  7343. description: 卖方账号ID[报价币种]
  7344. type: integer
  7345. sellorderid:
  7346. description: 卖方委托单号
  7347. type: string
  7348. tradeamount:
  7349. description: 成交金额
  7350. type: number
  7351. tradecharge:
  7352. description: 成交手续费(买方)
  7353. type: number
  7354. tradedate:
  7355. description: 交易日(yyyyMMdd)
  7356. type: string
  7357. tradeid:
  7358. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7359. type: string
  7360. trademode:
  7361. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7362. 21:竞拍-大宗式 22:受托竞价
  7363. type: integer
  7364. tradeprice:
  7365. description: 成交价格
  7366. type: number
  7367. tradeqty:
  7368. description: 成交数量
  7369. type: integer
  7370. required:
  7371. - goodscode
  7372. - goodsname
  7373. - tradeid
  7374. - trademode
  7375. type: object
  7376. models.HsbySellMyDetail:
  7377. properties:
  7378. accountid:
  7379. description: 账户ID[报价币种]
  7380. type: integer
  7381. agreeunit:
  7382. description: 合约单位
  7383. type: number
  7384. buyorsell:
  7385. description: 买卖 - 0:买 1:卖
  7386. type: integer
  7387. currencysign:
  7388. description: 货币符号
  7389. type: string
  7390. decimalplace:
  7391. description: 报价小数位
  7392. type: integer
  7393. goodscode:
  7394. description: 商品代码(内部)
  7395. type: string
  7396. goodsid:
  7397. description: 商品ID
  7398. type: integer
  7399. goodsname:
  7400. description: 商品名称
  7401. type: string
  7402. marketid:
  7403. description: 市场ID
  7404. type: integer
  7405. orderid:
  7406. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  7407. type: string
  7408. ordertype:
  7409. description: 单据类型:0 - 发布中, 1 - 已完成
  7410. type: integer
  7411. picurls:
  7412. description: 介绍图片[多张用逗号分隔]
  7413. type: string
  7414. price:
  7415. description: 价格
  7416. type: number
  7417. qty:
  7418. description: 数量
  7419. type: integer
  7420. time:
  7421. description: 时间
  7422. type: string
  7423. trademode:
  7424. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7425. 21:竞拍-大宗式 22:受托竞价
  7426. type: integer
  7427. vendorname:
  7428. description: 供应商名称
  7429. type: string
  7430. required:
  7431. - accountid
  7432. - buyorsell
  7433. - goodscode
  7434. - goodsid
  7435. - goodsname
  7436. - marketid
  7437. - orderid
  7438. - time
  7439. - trademode
  7440. type: object
  7441. models.HsbyTopGoods:
  7442. properties:
  7443. agreeunit:
  7444. description: 合约单位
  7445. type: number
  7446. currency:
  7447. description: 货币
  7448. type: string
  7449. currencysign:
  7450. description: 货币符号
  7451. type: string
  7452. decimalplace:
  7453. description: 报价小数位
  7454. type: integer
  7455. desccityid:
  7456. description: 目的地(市)
  7457. type: integer
  7458. descprovinceid:
  7459. description: 目的地(省)
  7460. type: integer
  7461. goodscode:
  7462. description: 商品代码(内部)
  7463. type: string
  7464. goodsid:
  7465. description: 商品ID(自增ID SEQ_GOODS)
  7466. type: integer
  7467. goodsname:
  7468. description: 商品名称
  7469. type: string
  7470. hotindex:
  7471. description: 景点热度
  7472. type: integer
  7473. last:
  7474. description: 现价
  7475. type: number
  7476. marketid:
  7477. description: 所属市场ID
  7478. type: integer
  7479. picurls:
  7480. description: 介绍图片[多张用逗号分隔]
  7481. type: string
  7482. quoteminunit:
  7483. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7484. type: integer
  7485. trademode:
  7486. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7487. 21:竞拍-大宗式 22:受托竞价
  7488. type: integer
  7489. videourls:
  7490. description: 介绍视频[多张用逗号分隔]
  7491. type: string
  7492. required:
  7493. - goodscode
  7494. - goodsid
  7495. - goodsname
  7496. - marketid
  7497. - trademode
  7498. type: object
  7499. models.HybsMyBuyOrderDetail:
  7500. properties:
  7501. accountid:
  7502. description: 账户ID[报价币种]
  7503. type: integer
  7504. agreeunit:
  7505. description: 合约单位
  7506. type: number
  7507. buyorsell:
  7508. description: 买卖 - 0:买 1:卖
  7509. type: integer
  7510. cancelqty:
  7511. description: 撤单数量
  7512. type: integer
  7513. currencysign:
  7514. description: 货币符号
  7515. type: string
  7516. decimalplace:
  7517. description: 报价小数位
  7518. type: integer
  7519. goodscode:
  7520. description: 商品代码(内部)
  7521. type: string
  7522. goodsid:
  7523. description: 商品ID
  7524. type: integer
  7525. goodsname:
  7526. description: 商品名称
  7527. type: string
  7528. listingselecttype:
  7529. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  7530. type: integer
  7531. marketid:
  7532. description: 市场ID
  7533. type: integer
  7534. mybuystatus:
  7535. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  7536. type: integer
  7537. orderamount:
  7538. description: 委托金额
  7539. type: number
  7540. orderid:
  7541. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7542. type: string
  7543. orderprice:
  7544. description: 委托价格
  7545. type: number
  7546. orderqty:
  7547. description: 委托数量
  7548. type: integer
  7549. orderstatus:
  7550. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7551. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7552. 16:成交失败违约(荷兰式竞拍专用)
  7553. type: integer
  7554. ordertime:
  7555. description: 委托时间
  7556. type: string
  7557. picurls1:
  7558. description: 预售商品介绍图片[多张用逗号分隔]
  7559. type: string
  7560. picurls2:
  7561. description: 挂牌商品介绍图片[多张用逗号分隔]
  7562. type: string
  7563. trademode:
  7564. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7565. 21:竞拍-大宗式 22:受托竞价
  7566. type: integer
  7567. tradeqty:
  7568. description: 成交数量
  7569. type: integer
  7570. vendorname1:
  7571. description: 预售商品供应商名称
  7572. type: string
  7573. vendorname2:
  7574. description: 挂牌商品供应商名称
  7575. type: string
  7576. required:
  7577. - accountid
  7578. - buyorsell
  7579. - goodscode
  7580. - goodsid
  7581. - goodsname
  7582. - marketid
  7583. - orderid
  7584. - orderqty
  7585. - ordertime
  7586. - trademode
  7587. type: object
  7588. models.Loginaccount:
  7589. properties:
  7590. canoutin:
  7591. description: 是否可出入金 - 0:不可 1:可
  7592. type: integer
  7593. clientroleid:
  7594. description: 终端角色ID
  7595. type: integer
  7596. haslogined:
  7597. description: 是否已登录 - 0:未登录 1:已登录
  7598. type: integer
  7599. hasupdatedpwd:
  7600. description: 是否已更改密码 - 0:未修改 1:已修改
  7601. type: integer
  7602. lastloginip:
  7603. description: 最新登录地址
  7604. type: string
  7605. lastloginmode:
  7606. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  7607. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  7608. type: integer
  7609. lastloginremark:
  7610. description: 最新登录描述
  7611. type: string
  7612. lastlogintime:
  7613. description: 最新登录时间
  7614. type: string
  7615. logincode:
  7616. description: 登录代码
  7617. type: string
  7618. loginfailnum:
  7619. description: 连续登录失败次数(登录成功时清零)
  7620. type: integer
  7621. loginid:
  7622. description: 登陆账号
  7623. type: integer
  7624. loginport:
  7625. description: 最新登录端口
  7626. type: integer
  7627. loginstatus:
  7628. description: 登录账号状态 1:正常 2:冻结 3:无效
  7629. type: integer
  7630. loginusertype:
  7631. description: 登录账号类型 - 1:投资者 2:机构交易员
  7632. type: integer
  7633. modifierid:
  7634. description: 修改人
  7635. type: integer
  7636. modifytime:
  7637. description: 修改时间
  7638. type: string
  7639. pwdwrongcount:
  7640. description: 密码错误次数
  7641. type: integer
  7642. taaccountrighttype:
  7643. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  7644. type: integer
  7645. unfreezetime:
  7646. description: 账户解冻时间
  7647. type: string
  7648. userid:
  7649. description: 用户ID
  7650. type: integer
  7651. required:
  7652. - loginid
  7653. type: object
  7654. models.MainAccountInfo:
  7655. properties:
  7656. accountid:
  7657. description: 账号id
  7658. type: integer
  7659. accountname:
  7660. description: 账号名称(taaccount表中的名称)
  7661. type: string
  7662. appid:
  7663. description: AppID
  7664. type: string
  7665. authcode:
  7666. description: 授权码
  7667. type: string
  7668. brokerid:
  7669. description: 经纪商id
  7670. type: string
  7671. fcid:
  7672. description: 期货公司id
  7673. type: integer
  7674. fcname:
  7675. description: 期货公司代码
  7676. type: string
  7677. hedgeaccountcode:
  7678. description: 外部账号代码(主账号登录代码)
  7679. type: string
  7680. hedgeaccountpwd:
  7681. description: 密码
  7682. type: string
  7683. ismain:
  7684. description: 是否主账号
  7685. type: integer
  7686. relateduserid:
  7687. description: 关联用户id
  7688. type: integer
  7689. userid:
  7690. description: 关联用户id
  7691. type: integer
  7692. type: object
  7693. models.Market:
  7694. properties:
  7695. auctionwrtype:
  7696. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  7697. type: integer
  7698. canacceptquote:
  7699. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  7700. type: integer
  7701. cangoodsexercise:
  7702. description: '[期权]是否可现货行权- 0:否 1:是'
  7703. type: integer
  7704. cangoodsexercisetype:
  7705. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  7706. type: integer
  7707. canmanualquotestrike:
  7708. description: 是否可手动报行权价- 0:否 1:是 [期权]
  7709. type: integer
  7710. canmutistage:
  7711. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  7712. type: integer
  7713. canpreexercise:
  7714. description: '[期权]是否可预申报- 0:否 1:是'
  7715. type: integer
  7716. clearinterval:
  7717. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  7718. type: integer
  7719. contracttmp:
  7720. description: 合同模板[荷兰式][竞价式][仓单贸易]
  7721. type: string
  7722. exchareaid:
  7723. description: 所属交易所,可以没有
  7724. type: integer
  7725. goodstype:
  7726. description: 商品类型 - 1:交易商品 2:仓单商品
  7727. type: integer
  7728. hasrebate:
  7729. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  7730. type: integer
  7731. hastradecredit:
  7732. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  7733. type: integer
  7734. haswr:
  7735. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  7736. type: integer
  7737. isdeductmargin:
  7738. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  7739. type: integer
  7740. isrecordsource:
  7741. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  7742. type: integer
  7743. isreleasemargin:
  7744. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  7745. type: integer
  7746. marginformula:
  7747. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  7748. type: integer
  7749. marginformula2:
  7750. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  7751. type: integer
  7752. marketid:
  7753. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  7754. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  7755. type: integer
  7756. marketname:
  7757. description: 市场名称
  7758. type: string
  7759. marketserviceid:
  7760. description: 市场服务ID
  7761. type: integer
  7762. marketstatus:
  7763. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  7764. type: integer
  7765. markettype:
  7766. description: 市场类型- 1:非交易服务 2:交易服务
  7767. type: integer
  7768. matchermode:
  7769. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  7770. type: integer
  7771. openmethod:
  7772. description: 开盘模式 - 0 自动 1手动
  7773. type: integer
  7774. otcuserid:
  7775. description: 场外期权做市商[场外期权]
  7776. type: integer
  7777. outersynctime:
  7778. description: 外部同步时间点(h24:mi:ss)[场外期权]
  7779. type: string
  7780. pendingflag:
  7781. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  7782. type: integer
  7783. pendingtime:
  7784. description: 待开市时间[通道交易-对冲](HH:mm)
  7785. type: string
  7786. performancetempid:
  7787. description: 履约计划模板ID - 作废
  7788. type: integer
  7789. premiumquotemode:
  7790. description: 权利金报价方式 - 1:自动 2:手动
  7791. type: integer
  7792. rebateratio:
  7793. description: 返利比率[竞价式]
  7794. type: number
  7795. reckonorder:
  7796. description: 结算顺序
  7797. type: integer
  7798. reckonpricealgorithm:
  7799. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  7800. 6.卖一价 7.买一卖一均价 8.外部结算价'
  7801. type: integer
  7802. reckonpriceparam:
  7803. description: 结算价参数
  7804. type: integer
  7805. reckontime:
  7806. description: 结算时间[通道交易-对冲](HH:mm)
  7807. type: string
  7808. roleprioritytype:
  7809. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  7810. type: integer
  7811. selllistingauditflag:
  7812. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  7813. type: integer
  7814. trademarkettype:
  7815. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  7816. type: integer
  7817. trademode:
  7818. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7819. 21:竞拍-大宗式 22:受托竞价
  7820. type: integer
  7821. tradeproperty:
  7822. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  7823. 8:场外期权
  7824. type: integer
  7825. tradetype:
  7826. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  7827. type: integer
  7828. required:
  7829. - marketid
  7830. - marketstatus
  7831. - openmethod
  7832. - reckonpricealgorithm
  7833. - trademode
  7834. - tradeproperty
  7835. type: object
  7836. models.Marketrun:
  7837. properties:
  7838. afternexttradedate:
  7839. description: 下下交易日
  7840. type: string
  7841. clearquoteflag:
  7842. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  7843. type: integer
  7844. lastreckondate:
  7845. description: 最新交易日(结算成功)
  7846. type: string
  7847. machinedate:
  7848. description: 机器时间
  7849. type: string
  7850. manualflag:
  7851. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  7852. type: integer
  7853. marketid:
  7854. description: 市场ID
  7855. type: integer
  7856. nexttradedate:
  7857. description: 下一交易日
  7858. type: string
  7859. pretradedate:
  7860. description: 上一交易日
  7861. type: string
  7862. reckonflag:
  7863. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  7864. type: integer
  7865. runstatus:
  7866. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  7867. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  7868. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  7869. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  7870. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  7871. 62.今日免清算
  7872. type: integer
  7873. sectionid:
  7874. description: 时间段号[多时段时用]
  7875. type: integer
  7876. tradedate:
  7877. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  7878. type: string
  7879. tradedate2:
  7880. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  7881. type: string
  7882. updatetime:
  7883. description: 更新时间
  7884. type: string
  7885. required:
  7886. - marketid
  7887. - nexttradedate
  7888. - reckonflag
  7889. - runstatus
  7890. - tradedate
  7891. - tradedate2
  7892. type: object
  7893. models.Messageboard:
  7894. properties:
  7895. contactnum:
  7896. description: 联系电话
  7897. type: string
  7898. createtime:
  7899. description: 创建时间
  7900. type: string
  7901. message:
  7902. description: 留言信息
  7903. type: string
  7904. messageboardid:
  7905. description: 留言簿ID(SEQ_MessageBoard)
  7906. type: integer
  7907. userid:
  7908. description: 用户ID
  7909. type: integer
  7910. required:
  7911. - messageboardid
  7912. type: object
  7913. models.MyCoupon:
  7914. properties:
  7915. accountid:
  7916. description: 资金账户ID
  7917. type: integer
  7918. areauserid:
  7919. description: 所属机构
  7920. type: integer
  7921. conditionvalue:
  7922. description: 条件阈值(可为0)
  7923. type: number
  7924. couponcategroy:
  7925. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  7926. type: integer
  7927. couponname:
  7928. description: 优惠券名称
  7929. type: string
  7930. coupontypeid:
  7931. description: 优惠券类型ID
  7932. type: string
  7933. couponvalue:
  7934. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  7935. type: number
  7936. curfreezeqty:
  7937. description: 期末冻结数量
  7938. type: integer
  7939. curqty:
  7940. description: 期末数量
  7941. type: integer
  7942. isgeneral:
  7943. description: 是否通用券 - 0:否 1:是
  7944. type: integer
  7945. isunusable:
  7946. description: 是否不可用
  7947. type: boolean
  7948. limitedflag:
  7949. description: 是否指定商品 - 0:不限 1:限制
  7950. type: integer
  7951. limitedgoodsids:
  7952. description: 指定商品IDs[逗号分隔,前后加逗号]
  7953. type: string
  7954. orifreezeqty:
  7955. description: 期初冻结数量
  7956. type: integer
  7957. oriqty:
  7958. description: 期初数量
  7959. type: integer
  7960. reasontype:
  7961. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  7962. type: integer
  7963. todaydecrease:
  7964. description: 今日减少
  7965. type: integer
  7966. todayincrease:
  7967. description: 今日增加
  7968. type: integer
  7969. userid:
  7970. description: 用户ID
  7971. type: integer
  7972. userscope:
  7973. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  7974. type: string
  7975. required:
  7976. - accountid
  7977. - coupontypeid
  7978. type: object
  7979. models.MyCouponHold:
  7980. properties:
  7981. accountid:
  7982. description: 资金账户ID
  7983. type: integer
  7984. conditionvalue:
  7985. description: 条件阈值(可为0)
  7986. type: number
  7987. couponcategroy:
  7988. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  7989. type: integer
  7990. couponholdid:
  7991. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  7992. type: string
  7993. couponname:
  7994. description: 优惠券名称
  7995. type: string
  7996. coupontypeid:
  7997. description: 优惠券类型ID - SEQ_COUPONTYPE
  7998. type: string
  7999. couponvalue:
  8000. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  8001. type: number
  8002. createtime:
  8003. description: 创建时间
  8004. type: string
  8005. enddate:
  8006. description: 结束日期
  8007. type: string
  8008. giveapplyid:
  8009. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  8010. type: integer
  8011. holdstatus:
  8012. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  8013. type: integer
  8014. isgeneral:
  8015. description: 是否通用券 - 0:否 1:是
  8016. type: integer
  8017. limitedflag:
  8018. description: 是否指定商品 - 0:不限 1:限制
  8019. type: integer
  8020. limitedgoodsids:
  8021. description: 指定商品IDs[逗号分隔]
  8022. type: string
  8023. qty:
  8024. description: 数量(按1平铺)
  8025. type: integer
  8026. startdate:
  8027. description: 开始日期
  8028. type: string
  8029. userid:
  8030. description: 用户ID
  8031. type: integer
  8032. userscope:
  8033. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  8034. type: string
  8035. required:
  8036. - couponholdid
  8037. type: object
  8038. models.MyUsedCoupon:
  8039. properties:
  8040. accountid:
  8041. description: 资金账户ID(买方)
  8042. type: integer
  8043. conditionvalue:
  8044. description: 条件阈值(可为0)
  8045. type: number
  8046. couponcategroy:
  8047. description: 种类 - 1:现金券 2:折扣券
  8048. type: integer
  8049. couponname:
  8050. description: 优惠券名称
  8051. type: string
  8052. coupontypeid:
  8053. description: 优惠券类型ID(买方)
  8054. type: string
  8055. couponvalue:
  8056. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  8057. type: number
  8058. createtime:
  8059. description: 创建时间
  8060. type: string
  8061. goodsid:
  8062. description: 商品ID
  8063. type: integer
  8064. handlestatus:
  8065. description: 处理状态
  8066. type: integer
  8067. marketid:
  8068. description: 市场ID
  8069. type: integer
  8070. offamount:
  8071. description: 优惠金额
  8072. type: number
  8073. orderid:
  8074. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8075. type: string
  8076. sellaccountid:
  8077. description: 资金账户ID(卖方)
  8078. type: integer
  8079. tradeamount:
  8080. description: 成交金额
  8081. type: number
  8082. tradeid:
  8083. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8084. type: string
  8085. usedqty:
  8086. description: 使用数量
  8087. type: integer
  8088. required:
  8089. - coupontypeid
  8090. - orderid
  8091. type: object
  8092. models.OperationPrimaryMenu:
  8093. properties:
  8094. Children:
  8095. description: 二级功能菜单
  8096. items:
  8097. $ref: '#/definitions/models.OperationSecondaryMenu'
  8098. type: array
  8099. Key:
  8100. description: 菜单KEY
  8101. type: string
  8102. Label:
  8103. description: 菜单标题
  8104. type: string
  8105. type: object
  8106. models.OperationSecondaryMenu:
  8107. properties:
  8108. Key:
  8109. description: 菜单KEY
  8110. type: string
  8111. Label:
  8112. description: 菜单标题
  8113. type: string
  8114. TabList:
  8115. description: 三级功能菜单
  8116. items:
  8117. $ref: '#/definitions/models.OperationTabMenu'
  8118. type: array
  8119. type: object
  8120. models.OperationTabMenu:
  8121. properties:
  8122. Key:
  8123. description: 菜单KEY
  8124. type: string
  8125. Label:
  8126. description: 菜单标题
  8127. type: string
  8128. type: object
  8129. models.PendingAuditBizModel:
  8130. properties:
  8131. accountid:
  8132. description: 现货账户
  8133. type: string
  8134. areaname:
  8135. description: 所属部门
  8136. type: string
  8137. bizid:
  8138. description: 业务ID
  8139. type: string
  8140. bizname:
  8141. description: 业务名称
  8142. type: string
  8143. status:
  8144. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  8145. type: integer
  8146. type:
  8147. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  8148. type: integer
  8149. type: object
  8150. models.QueryErrorInfosRsp:
  8151. properties:
  8152. description:
  8153. description: 异常描述
  8154. type: string
  8155. errorcode:
  8156. description: 异常代码
  8157. type: string
  8158. errorid:
  8159. description: 异常ID
  8160. type: integer
  8161. modulecode:
  8162. description: 所属模块
  8163. type: string
  8164. operatecode:
  8165. description: 所属操作
  8166. type: string
  8167. rownumber:
  8168. description: 行号
  8169. type: string
  8170. required:
  8171. - errorid
  8172. type: object
  8173. models.QueryHedgeOrderDetailRsp:
  8174. properties:
  8175. accountid:
  8176. description: 账户ID
  8177. type: integer
  8178. buyorsell:
  8179. description: 买卖 - 0:买 1:卖
  8180. type: integer
  8181. cancellogincode:
  8182. description: 撤单人
  8183. type: string
  8184. channelbuildtype:
  8185. description: 开平标志 - 0:无 1:建仓 2:平仓
  8186. type: integer
  8187. channelinnerorderstatus:
  8188. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  8189. 9:全部成交
  8190. type: integer
  8191. channeloperatetype:
  8192. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  8193. type: integer
  8194. closetype:
  8195. description: 平仓方式 - 0:无 1:平今 2:平昨
  8196. type: integer
  8197. curexchangerate:
  8198. description: 当前汇率
  8199. type: number
  8200. exchangefullname:
  8201. description: 外部交易所全称
  8202. type: string
  8203. goodscode:
  8204. description: 商品代码(内部)
  8205. type: string
  8206. goodsid:
  8207. description: 商品ID
  8208. type: integer
  8209. goodsname:
  8210. description: 商品名称
  8211. type: string
  8212. marketid:
  8213. description: 市场ID
  8214. type: integer
  8215. openfreezemargin:
  8216. description: 冻结保证金(冻结交易金额)
  8217. type: number
  8218. orderid:
  8219. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8220. type: string
  8221. orderlogincode:
  8222. description: 委托人
  8223. type: string
  8224. orderprice:
  8225. description: 委托价格(账户)
  8226. type: number
  8227. orderqty:
  8228. description: 委托数量
  8229. type: integer
  8230. ordertime:
  8231. description: 委托时间
  8232. type: string
  8233. pricemode:
  8234. description: '取价方式 - 1:市价 2: 限价'
  8235. type: integer
  8236. tradedate:
  8237. description: 交易日(yyyyMMdd)
  8238. type: string
  8239. tradeqty:
  8240. description: 成交数量
  8241. type: integer
  8242. type: object
  8243. models.QueryHedgeTradeDetailRsp:
  8244. properties:
  8245. accountid:
  8246. description: 账号ID
  8247. type: integer
  8248. buyorsell:
  8249. description: 方向 - 0:买 1:卖
  8250. type: integer
  8251. channelbuildtype:
  8252. description: 委托单据类型 0:无 1:建仓 2:平仓
  8253. type: integer
  8254. closecharge:
  8255. description: 平仓手续费(账户)
  8256. type: number
  8257. closecharge2:
  8258. description: 平仓手续费(商品)
  8259. type: number
  8260. closepl:
  8261. description: 平仓盈亏(账户)
  8262. type: number
  8263. closepl2:
  8264. description: 平仓盈亏(商品)
  8265. type: number
  8266. closepl3:
  8267. description: 平仓盈亏(账户)(逐笔)
  8268. type: number
  8269. closepl4:
  8270. description: 平仓盈亏(商品)(逐笔)
  8271. type: number
  8272. closetype:
  8273. description: 平仓方式 - 0:无 1:平今 2:平昨
  8274. type: integer
  8275. curexchangerate:
  8276. description: 当前汇率
  8277. type: number
  8278. exchangefullname:
  8279. description: 外部交易所全称
  8280. type: string
  8281. goodscode:
  8282. description: 商品代码(内部)
  8283. type: string
  8284. goodsid:
  8285. description: 商品ID
  8286. type: integer
  8287. goodsname:
  8288. description: 商品名称
  8289. type: string
  8290. marketid:
  8291. description: 市场ID
  8292. type: integer
  8293. opencharge:
  8294. description: 建仓手续费(账户)
  8295. type: number
  8296. opencharge2:
  8297. description: 建仓手续费(商品)
  8298. type: number
  8299. orderid:
  8300. description: 委托单号
  8301. type: string
  8302. orderlogincode:
  8303. description: 委托人
  8304. type: string
  8305. tradeamount:
  8306. description: 成交金额(账户)
  8307. type: number
  8308. tradedate:
  8309. description: 交易日(yyyyMMdd)
  8310. type: string
  8311. tradeid:
  8312. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8313. type: string
  8314. tradeprice:
  8315. description: 成交价格
  8316. type: number
  8317. tradeqty:
  8318. description: 成交数量
  8319. type: integer
  8320. tradetime:
  8321. description: 成交时间
  8322. type: string
  8323. tradetype:
  8324. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  8325. type: integer
  8326. type: object
  8327. models.QuotePrimaryMenu:
  8328. properties:
  8329. Index:
  8330. description: 序号
  8331. type: integer
  8332. Key:
  8333. description: 键名
  8334. type: string
  8335. Name:
  8336. description: 菜单名称
  8337. type: string
  8338. SubMenus:
  8339. description: 子菜单
  8340. items:
  8341. $ref: '#/definitions/models.QuoteSecondaryMenu'
  8342. type: array
  8343. SubTitleType:
  8344. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  8345. type: integer
  8346. TradeModes:
  8347. description: 包含市场交易类型
  8348. type: string
  8349. type: object
  8350. models.QuoteSecondaryMenu:
  8351. properties:
  8352. ExExchangeCode:
  8353. description: 外部交易所代码
  8354. type: string
  8355. ExExchangeID:
  8356. description: 外部交易所ID
  8357. type: integer
  8358. GoodsGroupIDs:
  8359. description: 商品组ID列表
  8360. items:
  8361. type: integer
  8362. type: array
  8363. Index:
  8364. description: 序号
  8365. type: integer
  8366. MarketID:
  8367. description: 市场ID
  8368. type: integer
  8369. MenuTitle:
  8370. description: 菜单标题(市场名称或外部交易所名称)
  8371. type: string
  8372. TradeMode:
  8373. description: 交易模式
  8374. type: integer
  8375. type: object
  8376. models.SearchGoods:
  8377. properties:
  8378. goodscode:
  8379. description: 商品代码(内部)
  8380. type: string
  8381. goodsid:
  8382. description: 商品ID(自增ID SEQ_GOODS)
  8383. type: integer
  8384. goodsname:
  8385. description: 商品名称
  8386. type: string
  8387. marketid:
  8388. description: 所属市场ID
  8389. type: integer
  8390. marketname:
  8391. description: 市场名称
  8392. type: string
  8393. trademode:
  8394. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8395. 21:竞拍-大宗式 22:受托竞价
  8396. type: integer
  8397. required:
  8398. - goodscode
  8399. - goodsid
  8400. - goodsname
  8401. - marketid
  8402. - trademode
  8403. type: object
  8404. models.Systemparam:
  8405. properties:
  8406. loginid:
  8407. description: 更新用户账号,登录账号
  8408. type: string
  8409. modifyflag:
  8410. description: 修改标志0 不允许修改 1 允许修改
  8411. type: integer
  8412. paramcode:
  8413. description: 参数代码
  8414. type: string
  8415. paramname:
  8416. description: 参数名
  8417. type: string
  8418. paramtype:
  8419. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  8420. type: integer
  8421. paramvalue:
  8422. description: 参数值
  8423. type: string
  8424. paramvalue2:
  8425. description: 参数值(CLOB)
  8426. type: string
  8427. regexpress:
  8428. description: 正则表达式
  8429. type: string
  8430. remark:
  8431. description: 备注
  8432. type: string
  8433. serverip:
  8434. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  8435. type: string
  8436. showflag:
  8437. description: 是否显示0 不显示 1 显示
  8438. type: integer
  8439. updatetime:
  8440. description: 更新时间
  8441. type: string
  8442. userid:
  8443. description: 更新用户ID
  8444. type: integer
  8445. required:
  8446. - paramcode
  8447. type: object
  8448. models.Szdz3convertconfig:
  8449. properties:
  8450. canin:
  8451. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  8452. type: integer
  8453. canout:
  8454. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  8455. type: integer
  8456. converttype:
  8457. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  8458. 6:交易转花生米(不设置)
  8459. type: integer
  8460. createtime:
  8461. description: 创建时间
  8462. type: string
  8463. creatorid:
  8464. description: 创建人
  8465. type: integer
  8466. daymaxvalue:
  8467. description: 当日最大转入限制
  8468. type: number
  8469. freezedays:
  8470. description: 冻结天数 [5:花生米转交易]
  8471. type: integer
  8472. innergoodsid:
  8473. description: 内部商品ID[交易]
  8474. type: integer
  8475. inratio:
  8476. description: 目标值
  8477. type: integer
  8478. modifierid:
  8479. description: 修改人
  8480. type: integer
  8481. modifytime:
  8482. description: 修改时间
  8483. type: string
  8484. outergoodscode:
  8485. description: 外部商品代码[JD\PD]
  8486. type: string
  8487. outratio:
  8488. description: 源值
  8489. type: integer
  8490. pddecimalplace:
  8491. description: PD小数位
  8492. type: integer
  8493. timemaxvalue:
  8494. description: 单次最大转入限制
  8495. type: number
  8496. timeminvalue:
  8497. description: 单次最小转入限制
  8498. type: number
  8499. required:
  8500. - converttype
  8501. - innergoodsid
  8502. - outergoodscode
  8503. type: object
  8504. models.Szdz3searchwhitelist:
  8505. properties:
  8506. createtime:
  8507. description: 创建时间
  8508. type: string
  8509. creatorid:
  8510. description: 创建人
  8511. type: integer
  8512. modifierid:
  8513. description: 修改人
  8514. type: integer
  8515. modifytime:
  8516. description: 修改时间
  8517. type: string
  8518. userid:
  8519. description: 用户ID
  8520. type: integer
  8521. required:
  8522. - userid
  8523. type: object
  8524. models.Taaccount:
  8525. properties:
  8526. accountflag:
  8527. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  8528. type: integer
  8529. accountid:
  8530. description: 资金账户ID
  8531. type: integer
  8532. accountname:
  8533. description: 账户名称
  8534. type: string
  8535. balance:
  8536. description: 期初余额
  8537. type: number
  8538. capitalbalance:
  8539. description: 本金余额[外部子账户实际出入金余额]
  8540. type: number
  8541. changeflag:
  8542. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  8543. type: integer
  8544. changetime:
  8545. description: 账户状态变更时间
  8546. type: string
  8547. closepl:
  8548. description: 今日平仓盈亏
  8549. type: number
  8550. creditdecrease:
  8551. description: 今日授信减少
  8552. type: number
  8553. creditincrease:
  8554. description: 今日授信增加
  8555. type: number
  8556. currencyid:
  8557. description: 货币ID
  8558. type: integer
  8559. currentbalance:
  8560. description: 期末余额
  8561. type: number
  8562. freezecharge:
  8563. description: 手续费冻结
  8564. type: number
  8565. freezemargin:
  8566. description: 冻结保证金
  8567. type: number
  8568. fromaccountid:
  8569. description: 所属上级账户
  8570. type: integer
  8571. inamount:
  8572. description: 今日入金金额(包括三方入金)
  8573. type: number
  8574. ismain:
  8575. description: 是否母账号 0:不是母账户 1:是母账户
  8576. type: integer
  8577. ismarketaccount:
  8578. description: 是否机构接单账号 0:不是 1:是
  8579. type: integer
  8580. isreckonaccount:
  8581. description: 是否机构分润账号 0:不是 1:是
  8582. type: integer
  8583. mortgagecredit:
  8584. description: 授信金额
  8585. type: number
  8586. orifreezecharge:
  8587. description: 期初手续费冻结
  8588. type: number
  8589. orifreezemargin:
  8590. description: 期初冻结保证金
  8591. type: number
  8592. orimortgagecredit:
  8593. description: 期初授信金额
  8594. type: number
  8595. oriothercredit:
  8596. description: 期初其它授信金额
  8597. type: number
  8598. oriotherfreezemargin:
  8599. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  8600. type: number
  8601. orioutamountfreeze:
  8602. description: 期初出金冻结
  8603. type: number
  8604. oriusedmargin:
  8605. description: 期初占用保证金
  8606. type: number
  8607. othercredit:
  8608. description: 其它授信金额
  8609. type: number
  8610. othercreditdecrease:
  8611. description: 今日其它授信减少
  8612. type: number
  8613. othercreditincrease:
  8614. description: 今日其它授信增加
  8615. type: number
  8616. otherfreezemargin:
  8617. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  8618. type: number
  8619. otherincome:
  8620. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  8621. type: number
  8622. otherpay:
  8623. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  8624. type: number
  8625. outamount:
  8626. description: 今日出金金额(包括三方出金)
  8627. type: number
  8628. outamountfreeze:
  8629. description: 出金冻结
  8630. type: number
  8631. outthreshold:
  8632. description: 出金阈值
  8633. type: number
  8634. parentaccountid:
  8635. description: 所属根账号
  8636. type: integer
  8637. paycharge:
  8638. description: 今日手续费支出
  8639. type: number
  8640. relatedaccountstatus:
  8641. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  8642. type: integer
  8643. relateduserid:
  8644. description: 关联用户
  8645. type: integer
  8646. serivcegroup:
  8647. description: 服务分组
  8648. type: integer
  8649. signstatus:
  8650. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  8651. type: integer
  8652. sublevelpath:
  8653. description: 账号层级路径(逗号分隔,首尾加逗号)
  8654. type: string
  8655. taaccounttype:
  8656. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  8657. type: integer
  8658. thirdinamount:
  8659. description: 今日三方入金
  8660. type: number
  8661. thirdoutamount:
  8662. description: 今日三方出金
  8663. type: number
  8664. tradestatus:
  8665. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8666. type: integer
  8667. tradestatuschangetime:
  8668. description: 激活时间
  8669. type: string
  8670. transferamount:
  8671. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  8672. type: number
  8673. usedmargin:
  8674. description: 占用保证金
  8675. type: number
  8676. userid:
  8677. description: 用户ID
  8678. type: integer
  8679. required:
  8680. - accountid
  8681. - userid
  8682. type: object
  8683. models.Tablecolumnconfig:
  8684. properties:
  8685. aligntype:
  8686. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  8687. type: integer
  8688. autoid:
  8689. description: AutoID
  8690. type: integer
  8691. columnfield:
  8692. description: 列字段
  8693. type: string
  8694. columntitle:
  8695. description: 列Title
  8696. type: string
  8697. columnwidth:
  8698. description: 列宽
  8699. type: string
  8700. formatterstring:
  8701. description: 格式化字符
  8702. type: string
  8703. formattertype:
  8704. description: 格式化类型
  8705. type: string
  8706. groupname:
  8707. description: 表头分组名称
  8708. type: string
  8709. isshow:
  8710. description: 是否显示 - 0:不显示 1:显示
  8711. type: integer
  8712. needsummary:
  8713. description: 是否需要汇总 - 0:不需要 1:需要
  8714. type: integer
  8715. orderindex:
  8716. description: 顺序
  8717. type: integer
  8718. remark:
  8719. description: 备注
  8720. type: string
  8721. summarytype:
  8722. description: 汇总类型 - 1:加总 2:最后一个
  8723. type: integer
  8724. tablekey:
  8725. description: 列表Key
  8726. type: string
  8727. required:
  8728. - autoid
  8729. type: object
  8730. models.Useraccount:
  8731. properties:
  8732. accountname:
  8733. description: 账户名称(机构名称)
  8734. type: string
  8735. accountstatus:
  8736. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  8737. type: integer
  8738. auditremark:
  8739. description: 审核备注
  8740. type: string
  8741. audittime:
  8742. description: 审核时间
  8743. type: string
  8744. audituserid:
  8745. description: 审核人
  8746. type: integer
  8747. broker:
  8748. description: 所属经纪人ID
  8749. type: integer
  8750. canceltime:
  8751. description: 销户时间
  8752. type: string
  8753. canceluserid:
  8754. description: 销户人
  8755. type: integer
  8756. createtime:
  8757. description: 创建时间
  8758. type: string
  8759. creatorid:
  8760. description: 创建人
  8761. type: integer
  8762. hasauth:
  8763. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  8764. type: integer
  8765. isanonymous:
  8766. description: 是否匿名下单 - 0:否 1:是
  8767. type: integer
  8768. maxinvestornum:
  8769. description: 最大用户数(经纪会员下投资者个数)
  8770. type: integer
  8771. memberuserid:
  8772. description: 所属会员ID
  8773. type: integer
  8774. modifierid:
  8775. description: 修改人
  8776. type: integer
  8777. modifyremark:
  8778. description: 变更备注
  8779. type: string
  8780. modifystatus:
  8781. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  8782. type: integer
  8783. modifytime:
  8784. description: 修改时间
  8785. type: string
  8786. parentuserid:
  8787. description: 所属机构ID
  8788. type: integer
  8789. reckonaccountid:
  8790. description: 默认结算资金账号ID(机构分润使用) 作废
  8791. type: integer
  8792. refercount:
  8793. description: 推荐总人数
  8794. type: integer
  8795. refereeuserid:
  8796. description: 推荐人ID
  8797. type: integer
  8798. refernum:
  8799. description: 推荐码
  8800. type: string
  8801. subarealevelpath:
  8802. description: 子机构层级路径(逗号分隔,首尾加逗号)
  8803. type: string
  8804. userid:
  8805. description: 用户ID
  8806. type: integer
  8807. usertype:
  8808. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  8809. type: integer
  8810. required:
  8811. - userid
  8812. type: object
  8813. models.Userfavoritegoods:
  8814. properties:
  8815. goodsid:
  8816. description: 商品ID
  8817. type: integer
  8818. required:
  8819. - goodsid
  8820. type: object
  8821. models.Userinfo:
  8822. properties:
  8823. address:
  8824. description: 地址
  8825. type: string
  8826. attachment1:
  8827. description: 附件1
  8828. type: string
  8829. attachment2:
  8830. description: 附件2
  8831. type: string
  8832. bankaccount:
  8833. description: 银行帐号 (加密存储)
  8834. type: string
  8835. bankaccountname:
  8836. description: 收款人名称
  8837. type: string
  8838. bankcardfrontphotourl:
  8839. description: 银行卡正面照地址
  8840. type: string
  8841. bankid:
  8842. description: 银行编码
  8843. type: string
  8844. bankname:
  8845. description: 银行名称
  8846. type: string
  8847. biznature:
  8848. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  8849. type: integer
  8850. bizscope:
  8851. description: 企业经营范围(企业)
  8852. type: string
  8853. cardbackphotourl:
  8854. description: 证件背面图片地址
  8855. type: string
  8856. cardfrontphotourl:
  8857. description: 证件正面图片地址
  8858. type: string
  8859. cardnum:
  8860. description: 证件号码(加密存储)
  8861. type: string
  8862. cardtypeid:
  8863. description: 证件类型ID
  8864. type: integer
  8865. cityid:
  8866. description: 市
  8867. type: integer
  8868. company:
  8869. description: 公司(个人)
  8870. type: string
  8871. contactname:
  8872. description: 联系人
  8873. type: string
  8874. countryid:
  8875. description: 国家
  8876. type: integer
  8877. createtime:
  8878. description: 创建时间
  8879. type: string
  8880. creatorid:
  8881. description: 创建人
  8882. type: integer
  8883. customername:
  8884. description: 客户名称(企业名称)
  8885. type: string
  8886. districtid:
  8887. description: 地区
  8888. type: integer
  8889. email:
  8890. description: 邮件(加密存储)
  8891. type: string
  8892. fax:
  8893. description: 传真(加密存储)
  8894. type: string
  8895. halfbodyphotourl:
  8896. description: 半身照地址
  8897. type: string
  8898. hasencrypt:
  8899. description: 数据是否已加密 - 0:未加密 1:已加密
  8900. type: integer
  8901. headurl:
  8902. description: 头像地址
  8903. type: string
  8904. legalcardbackphotourl:
  8905. description: 法人身份证背面照地址
  8906. type: string
  8907. legalcardfrontphotourl:
  8908. description: 法人身份证正面照地址
  8909. type: string
  8910. legalpersonname:
  8911. description: 法人姓名(企业)
  8912. type: string
  8913. mobile:
  8914. description: 手机号码(加密存储)
  8915. type: string
  8916. mobile2:
  8917. description: 手机号码[明文-尚志]
  8918. type: string
  8919. modifierid:
  8920. description: 修改人
  8921. type: integer
  8922. modifiertime:
  8923. description: 修改时间
  8924. type: string
  8925. needinvoice:
  8926. description: 是否需要发票 - 0:不需要 1:需要
  8927. type: integer
  8928. nickname:
  8929. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  8930. type: string
  8931. openmode:
  8932. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  8933. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  8934. type: integer
  8935. otherurl:
  8936. description: 其它图片地址[使用分号分隔]
  8937. type: string
  8938. postalcode:
  8939. description: 邮政编码
  8940. type: string
  8941. provinceid:
  8942. description: 省
  8943. type: integer
  8944. qq:
  8945. description: QQ(加密存储
  8946. type: string
  8947. remark:
  8948. description: 备注
  8949. type: string
  8950. sex:
  8951. description: '用户性别 0: 女 1: 男'
  8952. type: integer
  8953. signpdfurl:
  8954. description: 签约pdf文件
  8955. type: string
  8956. telphone:
  8957. description: 联系电话(加密存储)
  8958. type: string
  8959. userid:
  8960. description: 用户ID
  8961. type: integer
  8962. userinfotype:
  8963. description: 用户信息类型 - 1:个人 2:企业
  8964. type: integer
  8965. userstatus:
  8966. description: 用户状态 - 1:正常 2:注销
  8967. type: integer
  8968. usertype:
  8969. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  8970. type: integer
  8971. wechat:
  8972. description: 微信(加密存储)
  8973. type: string
  8974. wskhinfo:
  8975. description: 开户申请信息(JSON)
  8976. type: string
  8977. required:
  8978. - userid
  8979. type: object
  8980. models.WRSConverTDetail:
  8981. properties:
  8982. convertratio:
  8983. description: 套保系数
  8984. type: number
  8985. deliverygoodscode:
  8986. description: 现货商品代码
  8987. type: string
  8988. deliverygoodsid:
  8989. description: 现货品种ID
  8990. type: integer
  8991. deliverygoodsname:
  8992. description: 现货商品名称
  8993. type: string
  8994. enumdicname:
  8995. description: 单位名称
  8996. type: string
  8997. goodsunitid:
  8998. description: 套保品种单位id
  8999. type: integer
  9000. middlegoodscode:
  9001. description: 套保品种代码
  9002. type: string
  9003. middlegoodsid:
  9004. description: 套保品种ID
  9005. type: integer
  9006. middlegoodsname:
  9007. description: 套保品种名称
  9008. type: string
  9009. modifytime:
  9010. description: 修改时间
  9011. type: string
  9012. wrstandardid:
  9013. description: 品类ID
  9014. type: integer
  9015. type: object
  9016. models.WRStandardInfo:
  9017. properties:
  9018. areauserid:
  9019. description: 所属机构
  9020. type: integer
  9021. convertfactor:
  9022. description: 标仓系数
  9023. type: number
  9024. createtime:
  9025. description: 创建时间
  9026. type: string
  9027. creatorid:
  9028. description: 创建人
  9029. type: integer
  9030. deliverygoodsid:
  9031. description: 品种ID
  9032. type: integer
  9033. deliverygoodsname:
  9034. description: 交割商品名称
  9035. type: string
  9036. factoryitemjson:
  9037. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  9038. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  9039. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  9040. 逗号分隔'
  9041. type: string
  9042. isvalid:
  9043. description: 是否有效 - 0:无效 1:有效
  9044. type: integer
  9045. minivalue:
  9046. description: 最小变动值
  9047. type: integer
  9048. minivaluedp:
  9049. description: 最小变动值小数位
  9050. type: integer
  9051. realminivalue:
  9052. description: 实际最小变动值
  9053. type: integer
  9054. realminivaluedp:
  9055. description: 实际最小变动值小数位
  9056. type: integer
  9057. remark:
  9058. description: 备注
  9059. type: string
  9060. unitid:
  9061. description: 单位ID
  9062. type: integer
  9063. unitname:
  9064. description: 单位
  9065. type: string
  9066. updatetime:
  9067. description: 更新时间
  9068. type: string
  9069. updatorid:
  9070. description: 更新人
  9071. type: integer
  9072. wrsstatus:
  9073. description: 状态 - 作废 - 0:未激活 1:正常
  9074. type: integer
  9075. wrstandardcode:
  9076. description: 现货品类代码
  9077. type: string
  9078. wrstandardid:
  9079. description: 现货品类ID(SEQ_WRSTANDARD)
  9080. type: integer
  9081. wrstandardname:
  9082. description: 现货品类名称
  9083. type: string
  9084. required:
  9085. - wrstandardid
  9086. type: object
  9087. models.Warehouseinfo:
  9088. properties:
  9089. address:
  9090. description: 详细地址
  9091. type: string
  9092. areauserid:
  9093. description: 所属机构
  9094. type: integer
  9095. autoid:
  9096. description: 自增ID
  9097. type: integer
  9098. cityid:
  9099. description: 市
  9100. type: integer
  9101. contactname:
  9102. description: 联系人
  9103. type: string
  9104. contactnum:
  9105. description: 联系电话
  9106. type: string
  9107. countryid:
  9108. description: 国家
  9109. type: integer
  9110. createtime:
  9111. description: 创建时间
  9112. type: string
  9113. districtid:
  9114. description: 区
  9115. type: integer
  9116. hasvideo:
  9117. description: 是否有视频 - 0:无 1:有
  9118. type: integer
  9119. provinceid:
  9120. description: 省
  9121. type: integer
  9122. remark:
  9123. description: 审核备注
  9124. type: string
  9125. videourl:
  9126. description: 视频地址
  9127. type: string
  9128. warehousecode:
  9129. description: 仓库代码
  9130. type: string
  9131. warehousename:
  9132. description: 仓库名称
  9133. type: string
  9134. warehousestatus:
  9135. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  9136. type: integer
  9137. warehousetype:
  9138. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  9139. type: integer
  9140. required:
  9141. - autoid
  9142. - warehousecode
  9143. type: object
  9144. order.QueryHisTradeDetailRsp:
  9145. properties:
  9146. accountid:
  9147. description: 账户ID[报价币种]
  9148. type: integer
  9149. buildtype:
  9150. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  9151. type: integer
  9152. buyorsell:
  9153. description: 方向 - 0:买 1:卖
  9154. type: integer
  9155. charge:
  9156. description: 手续费
  9157. type: number
  9158. closecharge:
  9159. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9160. type: number
  9161. closeexchagechargevalue:
  9162. description: 平仓交易所手续费设置值
  9163. type: number
  9164. closefeealgorithm:
  9165. description: 平仓手续费收取方式 1:比率 2:固定
  9166. type: integer
  9167. closememberchargevalue:
  9168. description: 平仓会员手续费设置值
  9169. type: number
  9170. closepl:
  9171. description: 平仓盈亏
  9172. type: number
  9173. closepl2:
  9174. description: 平仓盈亏[逐笔]
  9175. type: number
  9176. closeqty:
  9177. description: 平仓数量(先建后平操作 需要记录)
  9178. type: integer
  9179. creditamount:
  9180. description: 授信金额
  9181. type: number
  9182. gcaccountid:
  9183. description: 账户ID[合约币种]
  9184. type: integer
  9185. goodscode:
  9186. description: 商品代码
  9187. type: string
  9188. goodsid:
  9189. description: 商品ID
  9190. type: integer
  9191. goodsname:
  9192. description: 商品名称
  9193. type: string
  9194. histradedate:
  9195. description: 历史交易日
  9196. type: string
  9197. intclosepl:
  9198. description: 整型盈亏(用于交易结算试算平衡-收益权)
  9199. type: integer
  9200. isconfirmexercise:
  9201. description: 是否确认行权- 0:否 1:是
  9202. type: integer
  9203. ismain:
  9204. description: 是否主单 - 0:不是 1:是
  9205. type: integer
  9206. ispreexercise:
  9207. description: 是否预申报- 0:否 1:是
  9208. type: integer
  9209. isreckoned:
  9210. description: 是否结算 - 0:未结算 1:已结算
  9211. type: integer
  9212. isvaliddata:
  9213. description: 是否有效 - 0:无效 1:有效
  9214. type: integer
  9215. listingselecttype:
  9216. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9217. type: integer
  9218. marketid:
  9219. description: 市场ID
  9220. type: integer
  9221. marketname:
  9222. description: 市场名称
  9223. type: string
  9224. matchaccountid:
  9225. description: 对手账号id
  9226. type: integer
  9227. memberuserid:
  9228. description: 会员id 个人投资者 需要填写
  9229. type: integer
  9230. opencharge:
  9231. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9232. type: number
  9233. openexchagechargevalue:
  9234. description: 建仓交易所手续费设置值
  9235. type: number
  9236. openfeealgorithm:
  9237. description: 建仓手续费收取方式 1:比率 2:固定
  9238. type: integer
  9239. openmemberchargevalue:
  9240. description: 建仓会员手续费设置值
  9241. type: number
  9242. openqty:
  9243. description: 开仓数量(先建后平操作 需要记录)
  9244. type: integer
  9245. optiontype:
  9246. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  9247. type: integer
  9248. orderid:
  9249. description: 委托单号
  9250. type: string
  9251. performanceplanid:
  9252. description: 履约计划ID[期权]
  9253. type: integer
  9254. performancestatus:
  9255. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  9256. type: integer
  9257. preexerciseprice:
  9258. description: 预申报价格
  9259. type: number
  9260. premium:
  9261. description: 权利金 - [持仓单的权利金]
  9262. type: number
  9263. relatedouttradeid:
  9264. description: 关联外部成交单ID
  9265. type: integer
  9266. status:
  9267. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  9268. type: integer
  9269. tradeamount:
  9270. description: 成交金额[账户币种,用于所有权]
  9271. type: number
  9272. tradedate:
  9273. description: 交易日(yyyyMMdd)
  9274. type: string
  9275. tradeid:
  9276. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9277. type: string
  9278. trademode:
  9279. description: 交易模式
  9280. type: integer
  9281. tradeprice:
  9282. description: 成交价格
  9283. type: number
  9284. tradeproperty:
  9285. description: 交易属性
  9286. type: integer
  9287. tradeqty:
  9288. description: 成交数量
  9289. type: integer
  9290. tradetime:
  9291. description: 成交时间
  9292. type: string
  9293. tradetype:
  9294. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  9295. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  9296. type: integer
  9297. required:
  9298. - accountid
  9299. - buyorsell
  9300. - goodsid
  9301. - histradedate
  9302. - marketid
  9303. - memberuserid
  9304. - orderid
  9305. - tradeamount
  9306. - tradedate
  9307. - tradeid
  9308. - tradeprice
  9309. - tradeqty
  9310. - tradetime
  9311. type: object
  9312. order.QueryHisTradeOrderDetailRsp:
  9313. properties:
  9314. accountid:
  9315. description: 账户ID[报价币种]
  9316. type: integer
  9317. buildtype:
  9318. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  9319. type: integer
  9320. buyorsell:
  9321. description: 买卖 - 0:买 1:卖
  9322. type: integer
  9323. cancelorderid:
  9324. description: 撤单单号(撤单时填写)
  9325. type: string
  9326. cancelqty:
  9327. description: 撤单数量
  9328. type: integer
  9329. clientordertime:
  9330. description: 客户端委托时间
  9331. type: string
  9332. clientticket:
  9333. description: 客户端流水号
  9334. type: string
  9335. clienttype:
  9336. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  9337. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9338. type: integer
  9339. closeexchagechargevalue:
  9340. description: 平仓交易所手续费设置值
  9341. type: number
  9342. closefeealgorithm:
  9343. description: 平仓手续费收取方式 1:比率 2:固定
  9344. type: integer
  9345. closefreezecharge:
  9346. description: 平仓冻结手续费(先建后平操作,需要记录)
  9347. type: number
  9348. closememberchargevalue:
  9349. description: 平仓会员手续费设置值
  9350. type: number
  9351. closeqty:
  9352. description: 平仓数量(先建后平操作 需要记录)
  9353. type: integer
  9354. closetradeqty:
  9355. description: 平仓成交数量(先建后平操作,需要记录)
  9356. type: integer
  9357. closeunfreezecharge:
  9358. description: 平仓解冻手续费(先建后平操作,需要记录)
  9359. type: number
  9360. delistingtype:
  9361. description: 摘牌类型 - 1:价格最优 2:点选成交
  9362. type: integer
  9363. freezecharge:
  9364. description: 冻结手续费
  9365. type: number
  9366. freezemargin:
  9367. description: 冻结保证金(冻结交易金额)
  9368. type: number
  9369. gcaccountid:
  9370. description: 账户ID[合约币种]
  9371. type: integer
  9372. goodscode:
  9373. description: 商品代码
  9374. type: string
  9375. goodsid:
  9376. description: 商品ID
  9377. type: integer
  9378. goodsname:
  9379. description: 商品名称
  9380. type: string
  9381. histradedate:
  9382. description: 历史交易日
  9383. type: string
  9384. isconfirmexercise:
  9385. description: 是否确认行权- 0:否 1:是
  9386. type: integer
  9387. ispreexercise:
  9388. description: 是否预申报- 0:否 1:是
  9389. type: integer
  9390. isvaliddata:
  9391. description: 是否有效 - 0:无效 1:有效
  9392. type: integer
  9393. listingselecttype:
  9394. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9395. type: integer
  9396. marginalgorithm:
  9397. description: 保证金收取方式 1:比率 2:固定
  9398. type: integer
  9399. marginvalue:
  9400. description: 即市保证金设置值
  9401. type: number
  9402. marketid:
  9403. description: 市场ID
  9404. type: integer
  9405. marketmaxsub:
  9406. description: 市价最大偏移范围
  9407. type: number
  9408. marketname:
  9409. description: 市场名称
  9410. type: string
  9411. memberuserid:
  9412. description: 所属会员UserID
  9413. type: integer
  9414. openexchagechargevalue:
  9415. description: 建仓交易所手续费设置值
  9416. type: number
  9417. openfeealgorithm:
  9418. description: 建仓手续费收取方式 1:比率 2:固定
  9419. type: integer
  9420. openfreezecharge:
  9421. description: 开仓冻结手续费(先建后平操作,需要记录)
  9422. type: number
  9423. openmemberchargevalue:
  9424. description: 建仓会员手续费设置值
  9425. type: number
  9426. openqty:
  9427. description: 开仓数量(先建后平操作,需要记录)
  9428. type: integer
  9429. opentradeqty:
  9430. description: 开仓成交数量(先建后平操作,需要记录)
  9431. type: integer
  9432. openunfreezecharge:
  9433. description: 开仓解冻手续费(先建后平操作,需要记录)
  9434. type: number
  9435. operatetype:
  9436. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  9437. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  9438. 15:管理端协议转让
  9439. type: integer
  9440. operatorid:
  9441. description: 登录账号(LoginID)
  9442. type: integer
  9443. optiontype:
  9444. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  9445. type: integer
  9446. orderid:
  9447. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9448. type: string
  9449. orderprice:
  9450. description: 委托价格
  9451. type: number
  9452. orderqty:
  9453. description: 委托数量
  9454. type: integer
  9455. ordersrc:
  9456. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  9457. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  9458. type: integer
  9459. orderstatus:
  9460. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9461. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9462. 16:成交失败违约(荷兰式竞拍专用)
  9463. type: integer
  9464. ordertime:
  9465. description: 委托时间
  9466. type: string
  9467. preexerciseprice:
  9468. description: 预申报价格
  9469. type: number
  9470. premium:
  9471. description: 权利金
  9472. type: number
  9473. preorderid:
  9474. description: 关联预埋单号(止盈止损单时填写)
  9475. type: string
  9476. pricemode:
  9477. description: '取价方式 - 1:市价 2: 限价'
  9478. type: integer
  9479. quoteid:
  9480. description: 报价单ID
  9481. type: integer
  9482. relatedid:
  9483. description: 关联单号(交割单)
  9484. type: string
  9485. retcode:
  9486. description: 错误代码
  9487. type: integer
  9488. sessionid:
  9489. description: 会话ID
  9490. type: integer
  9491. tradedate:
  9492. description: 交易日(yyyyMMdd)
  9493. type: string
  9494. trademode:
  9495. description: 交易模式
  9496. type: integer
  9497. tradeproperty:
  9498. description: 交易属性
  9499. type: integer
  9500. tradeqty:
  9501. description: 成交数量
  9502. type: integer
  9503. unfreezecharge:
  9504. description: 解冻手续费
  9505. type: number
  9506. unfreezemargin:
  9507. description: 解冻保证金
  9508. type: number
  9509. updatetime:
  9510. description: 更新时间
  9511. type: string
  9512. uuid:
  9513. description: 发起端唯一id
  9514. type: string
  9515. validtime:
  9516. description: 有效期限
  9517. type: string
  9518. validtype:
  9519. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  9520. type: integer
  9521. volumetype:
  9522. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  9523. type: integer
  9524. required:
  9525. - accountid
  9526. - buildtype
  9527. - buyorsell
  9528. - goodsid
  9529. - histradedate
  9530. - marketid
  9531. - memberuserid
  9532. - operatetype
  9533. - orderid
  9534. - orderqty
  9535. - ordertime
  9536. - pricemode
  9537. - tradedate
  9538. - validtype
  9539. type: object
  9540. order.QueryTradeDetailRsp:
  9541. properties:
  9542. accountid:
  9543. description: 账户ID[报价币种]
  9544. type: integer
  9545. buildtype:
  9546. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  9547. type: integer
  9548. buyorsell:
  9549. description: 方向 - 0:买 1:卖
  9550. type: integer
  9551. charge:
  9552. description: 手续费
  9553. type: number
  9554. closecharge:
  9555. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9556. type: number
  9557. closeexchagechargevalue:
  9558. description: 平仓交易所手续费设置值
  9559. type: number
  9560. closefeealgorithm:
  9561. description: 平仓手续费收取方式 1:比率 2:固定
  9562. type: integer
  9563. closememberchargevalue:
  9564. description: 平仓会员手续费设置值
  9565. type: number
  9566. closepl:
  9567. description: 平仓盈亏
  9568. type: number
  9569. closepl2:
  9570. description: 平仓盈亏[逐笔]
  9571. type: number
  9572. closeqty:
  9573. description: 平仓数量(先建后平操作 需要记录)
  9574. type: integer
  9575. creditamount:
  9576. description: 授信金额
  9577. type: number
  9578. gcaccountid:
  9579. description: 账户ID[合约币种]
  9580. type: integer
  9581. goodscode:
  9582. description: 商品代码
  9583. type: string
  9584. goodsid:
  9585. description: 商品ID
  9586. type: integer
  9587. goodsname:
  9588. description: 商品名称
  9589. type: string
  9590. intclosepl:
  9591. description: 整型盈亏(用于交易结算试算平衡-收益权)
  9592. type: integer
  9593. isconfirmexercise:
  9594. description: 是否确认行权- 0:否 1:是
  9595. type: integer
  9596. ismain:
  9597. description: 是否主单 - 0:不是 1:是
  9598. type: integer
  9599. ispreexercise:
  9600. description: 是否预申报- 0:否 1:是
  9601. type: integer
  9602. isreckoned:
  9603. description: 是否结算 - 0:未结算 1:已结算
  9604. type: integer
  9605. listingselecttype:
  9606. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9607. type: integer
  9608. marketid:
  9609. description: 市场ID
  9610. type: integer
  9611. marketname:
  9612. description: 市场名称
  9613. type: string
  9614. matchaccountid:
  9615. description: 对手账号id
  9616. type: integer
  9617. memberuserid:
  9618. description: 会员id 个人投资者 需要填写
  9619. type: integer
  9620. opencharge:
  9621. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9622. type: number
  9623. openexchagechargevalue:
  9624. description: 建仓交易所手续费设置值
  9625. type: number
  9626. openfeealgorithm:
  9627. description: 建仓手续费收取方式 1:比率 2:固定
  9628. type: integer
  9629. openmemberchargevalue:
  9630. description: 建仓会员手续费设置值
  9631. type: number
  9632. openqty:
  9633. description: 开仓数量(先建后平操作 需要记录)
  9634. type: integer
  9635. optiontype:
  9636. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  9637. type: integer
  9638. orderid:
  9639. description: 委托单号
  9640. type: string
  9641. performanceplanid:
  9642. description: 履约计划ID[期权]
  9643. type: integer
  9644. performancestatus:
  9645. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  9646. type: integer
  9647. preexerciseprice:
  9648. description: 预申报价格
  9649. type: number
  9650. premium:
  9651. description: 权利金 - [持仓单的权利金]
  9652. type: number
  9653. relatedouttradeid:
  9654. description: 关联外部成交单ID
  9655. type: integer
  9656. status:
  9657. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  9658. type: integer
  9659. tradeamount:
  9660. description: 成交金额[账户币种,用于所有权]
  9661. type: number
  9662. tradedate:
  9663. description: 交易日(yyyyMMdd)
  9664. type: string
  9665. tradeid:
  9666. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9667. type: string
  9668. trademode:
  9669. description: 交易模式
  9670. type: integer
  9671. tradeprice:
  9672. description: 成交价格
  9673. type: number
  9674. tradeproperty:
  9675. description: 交易属性
  9676. type: integer
  9677. tradeqty:
  9678. description: 成交数量
  9679. type: integer
  9680. tradetime:
  9681. description: 成交时间
  9682. type: string
  9683. tradetype:
  9684. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  9685. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  9686. type: integer
  9687. required:
  9688. - accountid
  9689. - buyorsell
  9690. - goodsid
  9691. - marketid
  9692. - memberuserid
  9693. - orderid
  9694. - tradeamount
  9695. - tradedate
  9696. - tradeid
  9697. - tradeprice
  9698. - tradeqty
  9699. - tradetime
  9700. type: object
  9701. order.QueryTradeOrderDetailRsp:
  9702. properties:
  9703. accountid:
  9704. description: 账户ID[报价币种]
  9705. type: integer
  9706. buildtype:
  9707. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  9708. type: integer
  9709. buyorsell:
  9710. description: 买卖 - 0:买 1:卖
  9711. type: integer
  9712. cancelorderid:
  9713. description: 撤单单号(撤单时填写)
  9714. type: string
  9715. cancelqty:
  9716. description: 撤单数量
  9717. type: integer
  9718. clienttype:
  9719. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  9720. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9721. type: integer
  9722. closefreezecharge:
  9723. description: 平仓冻结手续费(先建后平操作,需要记录)
  9724. type: number
  9725. closeqty:
  9726. description: 平仓数量(先建后平操作 需要记录)
  9727. type: integer
  9728. closetradeqty:
  9729. description: 平仓成交数量(先建后平操作,需要记录)
  9730. type: integer
  9731. closeunfreezecharge:
  9732. description: 平仓解冻手续费(先建后平操作,需要记录)
  9733. type: number
  9734. delistingtype:
  9735. description: 摘牌类型 - 1:价格最优 2:点选成交
  9736. type: integer
  9737. enableqty:
  9738. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  9739. type: integer
  9740. freezecharge:
  9741. description: 冻结手续费
  9742. type: number
  9743. freezemargin:
  9744. description: 冻结保证金(冻结交易金额)
  9745. type: number
  9746. goodscode:
  9747. description: 商品代码
  9748. type: string
  9749. goodsid:
  9750. description: 商品ID
  9751. type: integer
  9752. goodsname:
  9753. description: 商品名称
  9754. type: string
  9755. listingselecttype:
  9756. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9757. type: integer
  9758. marketid:
  9759. description: 市场ID
  9760. type: integer
  9761. marketname:
  9762. description: 市场名称
  9763. type: string
  9764. openfreezecharge:
  9765. description: 开仓冻结手续费(先建后平操作,需要记录)
  9766. type: number
  9767. openqty:
  9768. description: 开仓数量(先建后平操作,需要记录)
  9769. type: integer
  9770. opentradeqty:
  9771. description: 开仓成交数量(先建后平操作,需要记录)
  9772. type: integer
  9773. openunfreezecharge:
  9774. description: 开仓解冻手续费(先建后平操作,需要记录)
  9775. type: number
  9776. operatetype:
  9777. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  9778. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  9779. 15:管理端协议转让
  9780. type: integer
  9781. operatorid:
  9782. description: 登录账号(LoginID)
  9783. type: integer
  9784. orderid:
  9785. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9786. type: string
  9787. orderprice:
  9788. description: 委托价格
  9789. type: number
  9790. orderqty:
  9791. description: 委托数量
  9792. type: integer
  9793. ordersrc:
  9794. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  9795. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  9796. type: integer
  9797. orderstatus:
  9798. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9799. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9800. 16:成交失败违约(荷兰式竞拍专用)
  9801. type: integer
  9802. ordertime:
  9803. description: 委托时间
  9804. type: string
  9805. preorderid:
  9806. description: 关联预埋单号(止盈止损单时填写)
  9807. type: string
  9808. pricemode:
  9809. description: '取价方式 - 1:市价 2: 限价'
  9810. type: integer
  9811. relatedid:
  9812. description: 关联单号(交割单)
  9813. type: string
  9814. tradedate:
  9815. description: 交易日(yyyyMMdd)
  9816. type: string
  9817. trademode:
  9818. description: 交易模式
  9819. type: integer
  9820. tradeqty:
  9821. description: 成交数量
  9822. type: integer
  9823. unfreezecharge:
  9824. description: 解冻手续费
  9825. type: number
  9826. unfreezemargin:
  9827. description: 解冻保证金
  9828. type: number
  9829. validtime:
  9830. description: 有效期限
  9831. type: string
  9832. validtype:
  9833. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  9834. type: integer
  9835. volumetype:
  9836. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  9837. type: integer
  9838. required:
  9839. - accountid
  9840. - buildtype
  9841. - buyorsell
  9842. - goodsid
  9843. - marketid
  9844. - operatetype
  9845. - orderqty
  9846. - ordertime
  9847. - pricemode
  9848. - tradedate
  9849. - validtype
  9850. type: object
  9851. order.QueryTradePositionRsp:
  9852. properties:
  9853. accountid:
  9854. description: 资金账户
  9855. type: integer
  9856. agreeunit:
  9857. description: 合约单位
  9858. type: number
  9859. averageprice:
  9860. description: 持仓均价
  9861. type: number
  9862. buyorsell:
  9863. description: 方向 - 0:买 1:卖
  9864. type: integer
  9865. closetotalqty:
  9866. description: 平仓总数量
  9867. type: integer
  9868. curholderamount:
  9869. description: 当前持仓总金额[商品币种]
  9870. type: number
  9871. curpositionqty:
  9872. description: 当前持仓总数量
  9873. type: integer
  9874. currencyid:
  9875. description: 报价货币ID
  9876. type: integer
  9877. curtdposition:
  9878. description: 期末今日头寸
  9879. type: integer
  9880. decimalplace:
  9881. description: 报价小数位
  9882. type: integer
  9883. enableqty:
  9884. description: 可用量
  9885. type: integer
  9886. fretdposition:
  9887. description: 冻结今日头寸
  9888. type: integer
  9889. frozenqty:
  9890. description: 持仓冻结数量
  9891. type: integer
  9892. goodscode:
  9893. description: 商品代码
  9894. type: string
  9895. goodsid:
  9896. description: 商品Id
  9897. type: integer
  9898. goodsname:
  9899. description: 商品名称
  9900. type: string
  9901. goodunit:
  9902. description: 报价单位
  9903. type: string
  9904. goodunitid:
  9905. description: 报价单位ID
  9906. type: integer
  9907. holderamount:
  9908. description: 期初持仓总金额[商品币种]
  9909. type: number
  9910. marketid:
  9911. description: 所属市场ID
  9912. type: integer
  9913. openreqqty:
  9914. description: 开仓申请数量(用于比较最大持仓数量)
  9915. type: integer
  9916. opentotalqty:
  9917. description: 开仓总数量
  9918. type: integer
  9919. otherfrozenqty:
  9920. description: 持仓其他冻结数量(交割冻结)
  9921. type: integer
  9922. positionqty:
  9923. description: 期初持仓数量
  9924. type: integer
  9925. tnqty:
  9926. description: T+N冻结总量
  9927. type: integer
  9928. tnusedqty:
  9929. description: T+N使用量(可以使用T+N的冻结数量)
  9930. type: integer
  9931. trademode:
  9932. description: 交易模式
  9933. type: integer
  9934. usedmargin:
  9935. description: 占用保证金[商品币种]
  9936. type: number
  9937. required:
  9938. - goodsid
  9939. type: object
  9940. quote.HistoryData:
  9941. properties:
  9942. c:
  9943. description: 收盘价
  9944. type: number
  9945. f:
  9946. description: 是否补充数据
  9947. type: boolean
  9948. h:
  9949. description: 最高价
  9950. type: number
  9951. hv:
  9952. description: 持仓量
  9953. type: integer
  9954. l:
  9955. description: 最低价
  9956. type: number
  9957. o:
  9958. description: 开盘价
  9959. type: number
  9960. s:
  9961. description: 结算价,日线周期(包括)以上才有
  9962. type: number
  9963. ts:
  9964. description: 时间
  9965. type: string
  9966. tt:
  9967. description: 总金额
  9968. type: number
  9969. tv:
  9970. description: 总量
  9971. type: integer
  9972. type: object
  9973. quote.HistoryTikData:
  9974. properties:
  9975. AV:
  9976. description: 卖量
  9977. type: integer
  9978. Ask:
  9979. description: 卖价
  9980. type: number
  9981. BV:
  9982. description: 买量
  9983. type: integer
  9984. Bid:
  9985. description: 买价
  9986. type: number
  9987. HI:
  9988. description: 单笔持仓
  9989. type: integer
  9990. HV:
  9991. description: 持仓量
  9992. type: integer
  9993. PE:
  9994. description: 现价
  9995. type: number
  9996. TDR:
  9997. description: 交易方向,0:买 1:卖
  9998. type: integer
  9999. TK:
  10000. description: 交易类型
  10001. type: integer
  10002. TS:
  10003. description: 行情时间文本
  10004. type: string
  10005. TT:
  10006. description: 现金额
  10007. type: number
  10008. Vol:
  10009. description: 现量
  10010. type: integer
  10011. type: object
  10012. quote.QueryQuoteDayRsp:
  10013. properties:
  10014. ask:
  10015. description: 卖1
  10016. type: number
  10017. ask2:
  10018. description: 卖2
  10019. type: number
  10020. ask3:
  10021. description: 卖3
  10022. type: number
  10023. ask4:
  10024. description: 卖4
  10025. type: number
  10026. ask5:
  10027. description: 卖5
  10028. type: number
  10029. ask6:
  10030. description: 卖6
  10031. type: number
  10032. ask7:
  10033. description: 卖7
  10034. type: number
  10035. ask8:
  10036. description: 卖8
  10037. type: number
  10038. ask9:
  10039. description: 卖9
  10040. type: number
  10041. ask10:
  10042. description: 卖10
  10043. type: number
  10044. askorderid:
  10045. description: 卖单号1
  10046. type: integer
  10047. askorderid2:
  10048. description: 卖单号2
  10049. type: integer
  10050. askorderid3:
  10051. description: 卖单号3
  10052. type: integer
  10053. askorderid4:
  10054. description: 卖单号4
  10055. type: integer
  10056. askorderid5:
  10057. description: 卖单号5
  10058. type: integer
  10059. askordervolume:
  10060. description: 卖单量1
  10061. type: integer
  10062. askordervolume2:
  10063. description: 卖单量2
  10064. type: integer
  10065. askordervolume3:
  10066. description: 卖单量3
  10067. type: integer
  10068. askordervolume4:
  10069. description: 卖单量4
  10070. type: integer
  10071. askordervolume5:
  10072. description: 卖单量5
  10073. type: integer
  10074. askordervolume6:
  10075. description: 卖单量6
  10076. type: integer
  10077. askordervolume7:
  10078. description: 卖单量7
  10079. type: integer
  10080. askordervolume8:
  10081. description: 卖单量8
  10082. type: integer
  10083. askordervolume9:
  10084. description: 卖单量9
  10085. type: integer
  10086. askordervolume10:
  10087. description: 卖单量10
  10088. type: integer
  10089. askqueueinfo:
  10090. description: 大利市卖港股用
  10091. type: string
  10092. askvolume:
  10093. description: 卖量1
  10094. type: integer
  10095. askvolume2:
  10096. description: 卖量2
  10097. type: integer
  10098. askvolume3:
  10099. description: 卖量3
  10100. type: integer
  10101. askvolume4:
  10102. description: 卖量4
  10103. type: integer
  10104. askvolume5:
  10105. description: 卖量5
  10106. type: integer
  10107. askvolume6:
  10108. description: 卖量6
  10109. type: integer
  10110. askvolume7:
  10111. description: 卖量7
  10112. type: integer
  10113. askvolume8:
  10114. description: 卖量8
  10115. type: integer
  10116. askvolume9:
  10117. description: 卖量9
  10118. type: integer
  10119. askvolume10:
  10120. description: 卖量10
  10121. type: integer
  10122. averageprice:
  10123. description: 均价
  10124. type: number
  10125. bid:
  10126. description: 买1
  10127. type: number
  10128. bid2:
  10129. description: 买2
  10130. type: number
  10131. bid3:
  10132. description: 买3
  10133. type: number
  10134. bid4:
  10135. description: 买4
  10136. type: number
  10137. bid5:
  10138. description: 买5
  10139. type: number
  10140. bid6:
  10141. description: 买6
  10142. type: number
  10143. bid7:
  10144. description: 买7
  10145. type: number
  10146. bid8:
  10147. description: 买8
  10148. type: number
  10149. bid9:
  10150. description: 买9
  10151. type: number
  10152. bid10:
  10153. description: 买10
  10154. type: number
  10155. bidorderid:
  10156. description: 买单号1
  10157. type: integer
  10158. bidorderid2:
  10159. description: 买单号2
  10160. type: integer
  10161. bidorderid3:
  10162. description: 买单号3
  10163. type: integer
  10164. bidorderid4:
  10165. description: 买单号4
  10166. type: integer
  10167. bidorderid5:
  10168. description: 买单号5
  10169. type: integer
  10170. bidordervolume:
  10171. description: 买单量1
  10172. type: integer
  10173. bidordervolume2:
  10174. description: 买单量2
  10175. type: integer
  10176. bidordervolume3:
  10177. description: 买单量3
  10178. type: integer
  10179. bidordervolume4:
  10180. description: 买单量4
  10181. type: integer
  10182. bidordervolume5:
  10183. description: 买单量5
  10184. type: integer
  10185. bidordervolume6:
  10186. description: 买单量6
  10187. type: integer
  10188. bidordervolume7:
  10189. description: 买单量7
  10190. type: integer
  10191. bidordervolume8:
  10192. description: 买单量8
  10193. type: integer
  10194. bidordervolume9:
  10195. description: 买单量9
  10196. type: integer
  10197. bidordervolume10:
  10198. description: 买单量10
  10199. type: integer
  10200. bidqueueinfo:
  10201. description: 大利市买港股用
  10202. type: string
  10203. bidvolume:
  10204. description: 买量1
  10205. type: integer
  10206. bidvolume2:
  10207. description: 买量2
  10208. type: integer
  10209. bidvolume3:
  10210. description: 买量3
  10211. type: integer
  10212. bidvolume4:
  10213. description: 买量4
  10214. type: integer
  10215. bidvolume5:
  10216. description: 买量5
  10217. type: integer
  10218. bidvolume6:
  10219. description: 买量6
  10220. type: integer
  10221. bidvolume7:
  10222. description: 买量7
  10223. type: integer
  10224. bidvolume8:
  10225. description: 买量8
  10226. type: integer
  10227. bidvolume9:
  10228. description: 买量9
  10229. type: integer
  10230. bidvolume10:
  10231. description: 买量10
  10232. type: integer
  10233. calloptionpremiums:
  10234. description: 认购期权1
  10235. type: integer
  10236. calloptionpremiums2:
  10237. description: 认购期权2
  10238. type: integer
  10239. calloptionpremiums3:
  10240. description: 认购期权3
  10241. type: integer
  10242. calloptionpremiums4:
  10243. description: 认购期权4
  10244. type: integer
  10245. calloptionpremiums5:
  10246. description: 认购期权5
  10247. type: integer
  10248. cleartime:
  10249. description: 清盘时间
  10250. type: integer
  10251. exchangecode:
  10252. description: 交易所代码
  10253. type: integer
  10254. exchangedate:
  10255. description: 交易日
  10256. type: integer
  10257. goodscode:
  10258. description: 商品代码
  10259. type: string
  10260. grepmarketprice:
  10261. description: 暗盘价 港股专用
  10262. type: number
  10263. highest:
  10264. description: 最高价
  10265. type: number
  10266. holdincrement:
  10267. description: 单笔持仓
  10268. type: integer
  10269. holdvolume:
  10270. description: 持仓
  10271. type: integer
  10272. iep:
  10273. description: 平衡价 港股专用
  10274. type: number
  10275. iev:
  10276. description: 平衡量 港股专用
  10277. type: number
  10278. inventory:
  10279. description: 库存
  10280. type: integer
  10281. iscleared:
  10282. description: 是否清盘标志
  10283. type: integer
  10284. issettled:
  10285. description: 是否结算标志
  10286. type: integer
  10287. last:
  10288. description: 最新价
  10289. type: number
  10290. lastlot:
  10291. description: 最新成交手数
  10292. type: integer
  10293. lasttime:
  10294. description: 行情时间(只有现价变化行情时间才变化)
  10295. type: string
  10296. lastturnover:
  10297. description: 最新成交金额
  10298. type: number
  10299. lastvolume:
  10300. description: 最新成交量
  10301. type: integer
  10302. limitdown:
  10303. description: 跌停价
  10304. type: number
  10305. limitup:
  10306. description: 涨停价
  10307. type: number
  10308. lowest:
  10309. description: 最低价
  10310. type: number
  10311. nontotalholdervolume:
  10312. description: 非交易持仓量
  10313. type: integer
  10314. nontotallot:
  10315. description: 非交易总手数
  10316. type: integer
  10317. nontotalturnover:
  10318. description: 非交易总金额
  10319. type: integer
  10320. nontotalvolume:
  10321. description: 非交易总量
  10322. type: integer
  10323. opened:
  10324. description: 开盘价
  10325. type: number
  10326. opentime:
  10327. description: 开盘时间
  10328. type: string
  10329. orderid:
  10330. description: 序号
  10331. type: integer
  10332. preclose:
  10333. description: 昨收
  10334. type: number
  10335. preholdvolume:
  10336. description: 昨持仓
  10337. type: integer
  10338. presettle:
  10339. description: 昨结价
  10340. type: number
  10341. publictradetype:
  10342. description: 公共交易标志类型 港股专用
  10343. type: string
  10344. putoptionpremiums:
  10345. description: 认沽期权1
  10346. type: integer
  10347. putoptionpremiums2:
  10348. description: 认沽期权2
  10349. type: integer
  10350. putoptionpremiums3:
  10351. description: 认沽期权3
  10352. type: integer
  10353. putoptionpremiums4:
  10354. description: 认沽期权4
  10355. type: integer
  10356. putoptionpremiums5:
  10357. description: 认沽期权5
  10358. type: integer
  10359. settle:
  10360. description: 结算价
  10361. type: number
  10362. strikeprice:
  10363. description: 发行价
  10364. type: number
  10365. totalaskvolume:
  10366. description: 内盘
  10367. type: integer
  10368. totalbidvolume:
  10369. description: 外盘
  10370. type: integer
  10371. totallot:
  10372. description: 总手数
  10373. type: integer
  10374. totalturnover:
  10375. description: 总金额
  10376. type: number
  10377. totalvolume:
  10378. description: 总量
  10379. type: integer
  10380. utclasttime:
  10381. description: utc的行情时间
  10382. type: string
  10383. type: object
  10384. quote.QueryTSDataRsp:
  10385. properties:
  10386. Count:
  10387. description: 交易日应有数据个数
  10388. type: integer
  10389. decimalPlace:
  10390. description: 小数位
  10391. type: integer
  10392. endTime:
  10393. description: 结束时间
  10394. type: string
  10395. goodsCode:
  10396. description: 商品代码
  10397. type: string
  10398. historyDatas:
  10399. description: 历史数据
  10400. items:
  10401. $ref: '#/definitions/quote.HistoryData'
  10402. type: array
  10403. outGoodsCode:
  10404. description: 外部商品代码
  10405. type: string
  10406. preSettle:
  10407. description: 昨结价
  10408. type: number
  10409. runSteps:
  10410. description: 交易日开休市计划
  10411. items:
  10412. $ref: '#/definitions/quote.TSDataRunStep'
  10413. type: array
  10414. startTime:
  10415. description: 开始时间
  10416. type: string
  10417. tradeDate:
  10418. description: 交易日
  10419. type: string
  10420. type: object
  10421. quote.TSDataRunStep:
  10422. properties:
  10423. end:
  10424. description: 真实结束时间
  10425. type: string
  10426. endflag:
  10427. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  10428. type: integer
  10429. endtime:
  10430. description: 结束时间(HH:mm)
  10431. type: string
  10432. endweekday:
  10433. description: 结束周几
  10434. type: integer
  10435. groupid:
  10436. description: 分组ID
  10437. type: integer
  10438. runstep:
  10439. description: 运行阶段 - 2:连续交易
  10440. type: integer
  10441. sectionid:
  10442. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  10443. 结束时间=结算时间 结束周几=结算周几
  10444. type: integer
  10445. start:
  10446. description: 真实开始时间
  10447. type: string
  10448. startflag:
  10449. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  10450. type: integer
  10451. starttime:
  10452. description: 起始时间(HH:mm)
  10453. type: string
  10454. startweekday:
  10455. description: 起始周几
  10456. type: integer
  10457. tradeweekday:
  10458. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  10459. type: integer
  10460. type: object
  10461. szdz.QueryConvertLogRsp:
  10462. properties:
  10463. accountid:
  10464. description: 资金账户ID
  10465. type: integer
  10466. clientticket:
  10467. description: 客户端流水号
  10468. type: string
  10469. converttype:
  10470. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  10471. type: integer
  10472. createtime:
  10473. description: 记账时间
  10474. type: string
  10475. daymaxvalue:
  10476. description: 配置当日最大转入限制
  10477. type: number
  10478. daymaxvalue2:
  10479. description: 配置当日最大转入限制(转入)
  10480. type: number
  10481. goodscode:
  10482. description: 商品代码
  10483. type: string
  10484. goodsname:
  10485. description: 商品名称
  10486. type: string
  10487. handlestatus:
  10488. description: 处理状态
  10489. type: integer
  10490. innergoodsid:
  10491. description: 内部商品ID
  10492. type: integer
  10493. inratio:
  10494. description: 配置转入比值
  10495. type: integer
  10496. invalue:
  10497. description: 目标值
  10498. type: number
  10499. logid:
  10500. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10501. type: integer
  10502. mobile:
  10503. description: 手机号码(加密存储)
  10504. type: string
  10505. outergoodscode:
  10506. description: 外部商品代码[JD\PD]
  10507. type: string
  10508. outratio:
  10509. description: 配置转出比值
  10510. type: integer
  10511. outvalue:
  10512. description: 源值
  10513. type: number
  10514. pddecimalplace:
  10515. description: PD小数位
  10516. type: integer
  10517. qty:
  10518. description: 数量
  10519. type: string
  10520. remark:
  10521. description: 备注
  10522. type: string
  10523. sessionid:
  10524. description: 会话ID
  10525. type: integer
  10526. timemaxvalue:
  10527. description: 配置单次最大转入限制
  10528. type: number
  10529. timemaxvalue2:
  10530. description: 配置单次最大转入限制(转入)
  10531. type: number
  10532. timeminvalue:
  10533. description: 配置单次最小数量限制
  10534. type: number
  10535. timeminvalue2:
  10536. description: 配置单次最小数量限制(转入)
  10537. type: number
  10538. tradedate:
  10539. description: 交易日(yyyyMMdd)
  10540. type: string
  10541. userid:
  10542. description: 用户ID
  10543. type: integer
  10544. required:
  10545. - logid
  10546. type: object
  10547. szdz.QueryGoodsPickupRsp:
  10548. properties:
  10549. accountid:
  10550. description: 账户ID
  10551. type: integer
  10552. address:
  10553. description: 提货人详细地址
  10554. type: string
  10555. auditer:
  10556. description: 审核人
  10557. type: integer
  10558. audittime:
  10559. description: 审核时间
  10560. type: string
  10561. cardnum:
  10562. description: 提货人证件号码
  10563. type: string
  10564. cardtypeid:
  10565. description: 提货人证件类型
  10566. type: integer
  10567. checkremark:
  10568. description: 审核备注
  10569. type: string
  10570. goodscode:
  10571. description: 商品代码
  10572. type: string
  10573. goodsid:
  10574. description: 商品ID
  10575. type: integer
  10576. goodsname:
  10577. description: 商品名称
  10578. type: string
  10579. handlestatus:
  10580. description: 处理状态
  10581. type: integer
  10582. marketid:
  10583. description: 市场ID
  10584. type: integer
  10585. phonenum:
  10586. description: 提货人联系方式
  10587. type: string
  10588. qty:
  10589. description: 提货数量
  10590. type: number
  10591. recivername:
  10592. description: 提货人姓名
  10593. type: string
  10594. reqtime:
  10595. description: 更新时间
  10596. type: string
  10597. takemode:
  10598. description: 提货方式 - 2:自提 3:配送
  10599. type: integer
  10600. takeorderid:
  10601. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  10602. type: string
  10603. takeorderstatus:
  10604. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  10605. type: integer
  10606. takeremark:
  10607. description: 提货备注
  10608. type: string
  10609. tradedate:
  10610. description: 交易日(yyyyMMdd)
  10611. type: string
  10612. userid:
  10613. description: 用户ID
  10614. type: integer
  10615. required:
  10616. - takeorderid
  10617. type: object
  10618. szdz.QueryRecieptOrderRsp:
  10619. properties:
  10620. accountName:
  10621. description: 所属账号名称(已脱敏)
  10622. type: string
  10623. accountid:
  10624. description: 资金账号
  10625. type: integer
  10626. buyorsell:
  10627. description: 方向 - 0:买 1:卖
  10628. type: integer
  10629. enableqty:
  10630. description: 可摘数量
  10631. type: integer
  10632. goodscode:
  10633. description: 商品代码
  10634. type: string
  10635. goodsid:
  10636. description: 商品ID
  10637. type: integer
  10638. goodsname:
  10639. description: 商品名称
  10640. type: string
  10641. orderid:
  10642. description: 委托单号
  10643. type: string
  10644. orderprice:
  10645. description: 委托价格
  10646. type: number
  10647. ordertime:
  10648. description: 委托时间
  10649. type: string
  10650. tradedate:
  10651. description: 交易日(yyyyMMdd)
  10652. type: string
  10653. required:
  10654. - ordertime
  10655. type: object
  10656. szdz.QuerySZDZTradePositionRsp:
  10657. properties:
  10658. accountid:
  10659. description: 账号Id
  10660. type: integer
  10661. agreeunit:
  10662. description: 合约单位
  10663. type: number
  10664. averageprice:
  10665. description: 持仓均价
  10666. type: number
  10667. buyorsell:
  10668. description: 方向 - 0:买 1:卖
  10669. type: integer
  10670. closetotalqty:
  10671. description: 平仓总数量
  10672. type: integer
  10673. curholderamount:
  10674. description: 当前持仓总金额
  10675. type: number
  10676. curpositionqty:
  10677. description: 当前持仓总数量
  10678. type: integer
  10679. currencyid:
  10680. description: 报价货币ID
  10681. type: integer
  10682. curtdposition:
  10683. description: 期末今日头寸
  10684. type: integer
  10685. decimalplace:
  10686. description: 报价小数位
  10687. type: integer
  10688. enableqty:
  10689. description: 可用量
  10690. type: integer
  10691. fretdposition:
  10692. description: 冻结今日头寸
  10693. type: integer
  10694. frozenqty:
  10695. description: 持仓冻结数量
  10696. type: integer
  10697. goodscode:
  10698. description: 商品代码(内部)
  10699. type: string
  10700. goodsid:
  10701. description: 商品Id
  10702. type: integer
  10703. goodsname:
  10704. description: 商品名称
  10705. type: string
  10706. goodunit:
  10707. description: 报价单位
  10708. type: string
  10709. goodunitid:
  10710. description: 报价单位ID
  10711. type: integer
  10712. holderamount:
  10713. description: 期初持仓总金额
  10714. type: number
  10715. marketid:
  10716. description: 市场ID
  10717. type: integer
  10718. openreqqty:
  10719. description: 开仓申请数量
  10720. type: integer
  10721. opentotalqty:
  10722. description: 开仓总数量
  10723. type: integer
  10724. otherfrozenqty:
  10725. description: 持仓其他冻结数量(交割冻结)
  10726. type: integer
  10727. positionqty:
  10728. description: 期初持仓数量
  10729. type: integer
  10730. szdz3freezqty:
  10731. description: 尚志大宗转换冻结总数量
  10732. type: integer
  10733. tnqty:
  10734. description: T+N冻结总量
  10735. type: integer
  10736. tnusedqty:
  10737. description: T+N使用量
  10738. type: integer
  10739. trademode:
  10740. description: 交易模式
  10741. type: integer
  10742. usedmargin:
  10743. description: 占用保证金
  10744. type: number
  10745. type: object
  10746. taaccount.QueryAmountLogRsp:
  10747. properties:
  10748. OPERATETYPENAME:
  10749. description: 资金操作类型名称
  10750. type: string
  10751. accountid:
  10752. description: 资金账户ID
  10753. type: integer
  10754. agoodscode:
  10755. description: 竞拍商品代码
  10756. type: string
  10757. agoodsname:
  10758. description: 竞拍商品名称
  10759. type: string
  10760. amount:
  10761. description: 资金金额
  10762. type: number
  10763. amountadjusttype:
  10764. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  10765. type: integer
  10766. autoid:
  10767. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  10768. type: integer
  10769. balance:
  10770. description: 期初余额
  10771. type: number
  10772. businesscode:
  10773. description: 业务编号
  10774. type: integer
  10775. createtime:
  10776. description: 发生时间
  10777. type: string
  10778. currencyid:
  10779. description: 币种ID
  10780. type: integer
  10781. currentbalance:
  10782. description: 期末余额(变动后金额)
  10783. type: number
  10784. dgoodscode:
  10785. description: 交割商品代码
  10786. type: string
  10787. dgoodsname:
  10788. description: 交割商品名称
  10789. type: string
  10790. goodscode:
  10791. description: 商品代码
  10792. type: string
  10793. goodsid:
  10794. description: 商品ID
  10795. type: integer
  10796. goodsname:
  10797. description: 商品名称
  10798. type: string
  10799. marketid:
  10800. description: 市场ID
  10801. type: integer
  10802. marketname:
  10803. description: 市场名称
  10804. type: string
  10805. moneyticket:
  10806. description: 资金流水号:银行端流水号
  10807. type: integer
  10808. operatetype:
  10809. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  10810. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  10811. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  10812. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  10813. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  10814. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  10815. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  10816. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  10817. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  10818. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  10819. type: integer
  10820. relationorderid:
  10821. description: 关联单号
  10822. type: string
  10823. remark:
  10824. description: 备注
  10825. type: string
  10826. trademode:
  10827. description: 交易模式
  10828. type: integer
  10829. required:
  10830. - accountid
  10831. - amount
  10832. - amountadjusttype
  10833. - autoid
  10834. - balance
  10835. - createtime
  10836. - currentbalance
  10837. - operatetype
  10838. type: object
  10839. taaccount.QueryHisAmountLogRsp:
  10840. properties:
  10841. OPERATETYPENAME:
  10842. description: 资金操作类型名称
  10843. type: string
  10844. accountid:
  10845. description: 资金账户ID
  10846. type: integer
  10847. agoodscode:
  10848. description: 竞拍商品代码
  10849. type: string
  10850. agoodsname:
  10851. description: 竞拍商品名称
  10852. type: string
  10853. amount:
  10854. description: 资金金额
  10855. type: number
  10856. amountadjusttype:
  10857. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  10858. type: integer
  10859. autoid:
  10860. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  10861. type: integer
  10862. balance:
  10863. description: 期初余额
  10864. type: number
  10865. businesscode:
  10866. description: 业务编号
  10867. type: integer
  10868. createtime:
  10869. description: 发生时间
  10870. type: string
  10871. currencyid:
  10872. description: 币种ID
  10873. type: integer
  10874. currentbalance:
  10875. description: 期末余额(变动后金额)
  10876. type: number
  10877. dgoodscode:
  10878. description: 交割商品代码
  10879. type: string
  10880. dgoodsname:
  10881. description: 交割商品名称
  10882. type: string
  10883. goodscode:
  10884. description: 商品代码
  10885. type: string
  10886. goodsid:
  10887. description: 商品ID
  10888. type: integer
  10889. goodsname:
  10890. description: 商品名称
  10891. type: string
  10892. histradedate:
  10893. description: 历史交易日
  10894. type: string
  10895. isvaliddata:
  10896. description: 是否有效 - 0:无效 1:有效
  10897. type: integer
  10898. marketid:
  10899. description: 市场ID
  10900. type: integer
  10901. marketname:
  10902. description: 市场名称
  10903. type: string
  10904. moneyticket:
  10905. description: 资金流水号:银行端流水号
  10906. type: integer
  10907. operatetype:
  10908. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  10909. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  10910. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  10911. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  10912. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  10913. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  10914. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  10915. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  10916. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  10917. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  10918. type: integer
  10919. relationorderid:
  10920. description: 关联单号
  10921. type: string
  10922. remark:
  10923. description: 备注
  10924. type: string
  10925. trademode:
  10926. description: 交易模式
  10927. type: integer
  10928. required:
  10929. - accountid
  10930. - amount
  10931. - amountadjusttype
  10932. - autoid
  10933. - balance
  10934. - createtime
  10935. - currentbalance
  10936. - histradedate
  10937. - operatetype
  10938. type: object
  10939. trade.QueryRecieptOrderRsp:
  10940. properties:
  10941. accountName:
  10942. description: 所属账号名称(已脱敏)
  10943. type: string
  10944. accountid:
  10945. description: 资金账号
  10946. type: integer
  10947. buyorsell:
  10948. description: 方向 - 0:买 1:卖
  10949. type: integer
  10950. enableqty:
  10951. description: 可摘数量
  10952. type: integer
  10953. goodscode:
  10954. description: 商品代码
  10955. type: string
  10956. goodsid:
  10957. description: 商品ID
  10958. type: integer
  10959. goodsname:
  10960. description: 商品名称
  10961. type: string
  10962. orderid:
  10963. description: 委托单号
  10964. type: string
  10965. orderprice:
  10966. description: 委托价格
  10967. type: number
  10968. ordertime:
  10969. description: 委托时间
  10970. type: string
  10971. tradedate:
  10972. description: 交易日(yyyyMMdd)
  10973. type: string
  10974. required:
  10975. - ordertime
  10976. type: object
  10977. user.LoginQueryRsp:
  10978. properties:
  10979. areaRoles:
  10980. description: 所属角色信息
  10981. items:
  10982. $ref: '#/definitions/models.Arearole'
  10983. type: array
  10984. externalExchanges:
  10985. description: 外部交易所
  10986. items:
  10987. $ref: '#/definitions/models.Externalexchange'
  10988. type: array
  10989. goodsgroups:
  10990. description: 商品组
  10991. items:
  10992. $ref: '#/definitions/models.Goodsgroup'
  10993. type: array
  10994. loginAccount:
  10995. $ref: '#/definitions/models.Loginaccount'
  10996. description: 登录账号
  10997. type: object
  10998. markets:
  10999. description: 市场
  11000. items:
  11001. $ref: '#/definitions/models.Market'
  11002. type: array
  11003. systemParams:
  11004. description: 系统参数
  11005. items:
  11006. $ref: '#/definitions/models.Systemparam'
  11007. type: array
  11008. userAccount:
  11009. $ref: '#/definitions/models.Useraccount'
  11010. description: 用户账号
  11011. type: object
  11012. userInfo:
  11013. $ref: '#/definitions/models.Userinfo'
  11014. description: 用户信息
  11015. type: object
  11016. username:
  11017. description: 用户姓名
  11018. type: string
  11019. type: object
  11020. info:
  11021. contact: {}
  11022. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  11023. license: {}
  11024. termsOfService: http://muchinfo.cn
  11025. title: MTP2.0 查询服务 API
  11026. version: "1.0"
  11027. paths:
  11028. /CPTrade/QueryCPTradeMyBidInfos:
  11029. get:
  11030. parameters:
  11031. - description: 资金账户
  11032. in: query
  11033. name: accountid
  11034. required: true
  11035. type: integer
  11036. - description: 预售市场ID
  11037. in: query
  11038. name: marketid
  11039. type: integer
  11040. - description: 预售商品ID
  11041. in: query
  11042. name: goodsid
  11043. type: integer
  11044. produces:
  11045. - application/json
  11046. responses:
  11047. "200":
  11048. description: OK
  11049. schema:
  11050. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  11051. "500":
  11052. description: Internal Server Error
  11053. schema:
  11054. $ref: '#/definitions/app.Response'
  11055. security:
  11056. - ApiKeyAuth: []
  11057. summary: 查询产能预售我的出价信息
  11058. tags:
  11059. - 产能预售
  11060. /CPTrade/QueryCPTradeOrderDetail:
  11061. get:
  11062. parameters:
  11063. - description: 预售商品ID
  11064. in: query
  11065. name: goodsid
  11066. type: integer
  11067. - description: 预售市场ID
  11068. in: query
  11069. name: marketid
  11070. type: integer
  11071. - description: 预售商品ID列表 - 格式:1,2,3
  11072. in: query
  11073. name: goodsids
  11074. type: string
  11075. produces:
  11076. - application/json
  11077. responses:
  11078. "200":
  11079. description: OK
  11080. schema:
  11081. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  11082. "500":
  11083. description: Internal Server Error
  11084. schema:
  11085. $ref: '#/definitions/app.Response'
  11086. security:
  11087. - ApiKeyAuth: []
  11088. summary: 查询产能预售委托单信息
  11089. tags:
  11090. - 产能预售
  11091. /CPTrade/QueryMyCPTradeGoods:
  11092. get:
  11093. parameters:
  11094. - description: 资金账户
  11095. in: query
  11096. name: accountid
  11097. required: true
  11098. type: integer
  11099. produces:
  11100. - application/json
  11101. responses:
  11102. "200":
  11103. description: OK
  11104. schema:
  11105. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  11106. "500":
  11107. description: Internal Server Error
  11108. schema:
  11109. $ref: '#/definitions/app.Response'
  11110. security:
  11111. - ApiKeyAuth: []
  11112. summary: 查询我的预售信息
  11113. tags:
  11114. - 产能预售
  11115. /CPTrade/QueryPositionCancel:
  11116. get:
  11117. parameters:
  11118. - description: 账户ID
  11119. in: query
  11120. name: userid
  11121. required: true
  11122. type: integer
  11123. - description: 注销ID
  11124. in: query
  11125. name: cancelid
  11126. type: integer
  11127. - description: 资金账户ID
  11128. in: query
  11129. name: accountid
  11130. type: integer
  11131. produces:
  11132. - application/json
  11133. responses:
  11134. "200":
  11135. description: OK
  11136. schema:
  11137. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  11138. "500":
  11139. description: Internal Server Error
  11140. schema:
  11141. $ref: '#/definitions/app.Response'
  11142. security:
  11143. - ApiKeyAuth: []
  11144. summary: 查询远期订单注销申请信息
  11145. tags:
  11146. - 产能预售
  11147. /CPTrade/QueryPreasleApply:
  11148. get:
  11149. parameters:
  11150. - description: 账户ID
  11151. in: query
  11152. name: userid
  11153. required: true
  11154. type: integer
  11155. - description: 申请ID
  11156. in: query
  11157. name: applyid
  11158. type: integer
  11159. - description: 资金账户ID
  11160. in: query
  11161. name: accountid
  11162. type: integer
  11163. produces:
  11164. - application/json
  11165. responses:
  11166. "200":
  11167. description: OK
  11168. schema:
  11169. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  11170. "500":
  11171. description: Internal Server Error
  11172. schema:
  11173. $ref: '#/definitions/app.Response'
  11174. security:
  11175. - ApiKeyAuth: []
  11176. summary: 查询产能预售申请信息
  11177. tags:
  11178. - 产能预售
  11179. /CPTrade/QueryPresaleGoodsEx:
  11180. get:
  11181. parameters:
  11182. - description: 预售商品ID
  11183. in: query
  11184. name: goodsid
  11185. type: integer
  11186. - description: 预售市场ID
  11187. in: query
  11188. name: marketid
  11189. type: integer
  11190. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  11191. in: query
  11192. name: presalemode
  11193. type: integer
  11194. - description: 预售商品ID列表 - 格式:1,2,3
  11195. in: query
  11196. name: goodsids
  11197. type: string
  11198. - description: 预售商品代码
  11199. in: query
  11200. name: goodscode
  11201. type: string
  11202. produces:
  11203. - application/json
  11204. responses:
  11205. "200":
  11206. description: OK
  11207. schema:
  11208. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  11209. "500":
  11210. description: Internal Server Error
  11211. schema:
  11212. $ref: '#/definitions/app.Response'
  11213. security:
  11214. - ApiKeyAuth: []
  11215. summary: 查询产能预售商品扩展信息
  11216. tags:
  11217. - 产能预售
  11218. /CPTrade/QueryUserGoodsData:
  11219. get:
  11220. parameters:
  11221. - description: 资金账户ID
  11222. in: query
  11223. name: accountid
  11224. required: true
  11225. type: integer
  11226. produces:
  11227. - application/json
  11228. responses:
  11229. "200":
  11230. description: OK
  11231. schema:
  11232. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  11233. "500":
  11234. description: Internal Server Error
  11235. schema:
  11236. $ref: '#/definitions/app.Response'
  11237. security:
  11238. - ApiKeyAuth: []
  11239. summary: 查询远期订单信息
  11240. tags:
  11241. - 产能预售
  11242. /Common/GetAllEnums:
  11243. get:
  11244. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  11245. parameters:
  11246. - description: 起始自增ID
  11247. in: query
  11248. name: autoid
  11249. type: integer
  11250. produces:
  11251. - application/json
  11252. responses:
  11253. "200":
  11254. description: OK
  11255. schema:
  11256. $ref: '#/definitions/models.Enumdicitem'
  11257. "500":
  11258. description: Internal Server Error
  11259. schema:
  11260. $ref: '#/definitions/app.Response'
  11261. summary: 获取所有枚举信息
  11262. tags:
  11263. - 通用服务
  11264. /Common/GetClientMenus:
  11265. get:
  11266. parameters:
  11267. - description: 登录账号
  11268. in: query
  11269. name: loginID
  11270. required: true
  11271. type: integer
  11272. - description: 终端类型,0:PC 1:Mobile
  11273. in: query
  11274. name: clientType
  11275. type: integer
  11276. produces:
  11277. - application/json
  11278. responses:
  11279. "200":
  11280. description: OK
  11281. schema:
  11282. items:
  11283. $ref: '#/definitions/common.ClientMenu'
  11284. type: array
  11285. "500":
  11286. description: Internal Server Error
  11287. schema:
  11288. $ref: '#/definitions/app.Response'
  11289. security:
  11290. - ApiKeyAuth: []
  11291. summary: 获取交易端菜单
  11292. tags:
  11293. - 通用服务
  11294. /Common/GetDivisions:
  11295. get:
  11296. produces:
  11297. - application/json
  11298. responses:
  11299. "200":
  11300. description: OK
  11301. schema:
  11302. $ref: '#/definitions/models.Division'
  11303. "500":
  11304. description: Internal Server Error
  11305. schema:
  11306. $ref: '#/definitions/app.Response'
  11307. summary: 查询区域信息
  11308. tags:
  11309. - 通用服务
  11310. /Common/GetServerTime:
  11311. get:
  11312. produces:
  11313. - application/json
  11314. responses:
  11315. "200":
  11316. description: OK
  11317. schema:
  11318. $ref: '#/definitions/app.Response'
  11319. "500":
  11320. description: Internal Server Error
  11321. schema:
  11322. $ref: '#/definitions/app.Response'
  11323. summary: 获取服务器时间
  11324. tags:
  11325. - 通用服务
  11326. /Common/NoticeReaded:
  11327. post:
  11328. parameters:
  11329. - description: 登录账号
  11330. in: query
  11331. name: loginID
  11332. required: true
  11333. type: integer
  11334. - description: 通知公告ID
  11335. in: query
  11336. name: noticeID
  11337. required: true
  11338. type: integer
  11339. produces:
  11340. - application/json
  11341. responses:
  11342. "200":
  11343. description: OK
  11344. schema:
  11345. $ref: '#/definitions/app.Response'
  11346. "500":
  11347. description: Internal Server Error
  11348. schema:
  11349. $ref: '#/definitions/app.Response'
  11350. security:
  11351. - ApiKeyAuth: []
  11352. summary: 通知公告设置已读请求
  11353. tags:
  11354. - 通用服务
  11355. /Common/QueryErrorInfos:
  11356. get:
  11357. description: 如果传入rowNumber,则返回此rowNumber后的数据
  11358. parameters:
  11359. - description: 起始行号前索引
  11360. in: query
  11361. name: rowNumber
  11362. type: string
  11363. produces:
  11364. - application/json
  11365. responses:
  11366. "200":
  11367. description: OK
  11368. schema:
  11369. $ref: '#/definitions/models.QueryErrorInfosRsp'
  11370. "500":
  11371. description: Internal Server Error
  11372. schema:
  11373. $ref: '#/definitions/app.Response'
  11374. summary: 获取数据库错误信息
  11375. tags:
  11376. - 通用服务
  11377. /Common/QueryImageConfigs:
  11378. get:
  11379. parameters:
  11380. - description: 类型 - 1:App首页轮播 2:我的
  11381. in: query
  11382. name: imageType
  11383. type: integer
  11384. produces:
  11385. - application/json
  11386. responses:
  11387. "200":
  11388. description: OK
  11389. schema:
  11390. $ref: '#/definitions/common.QueryImageConfigsRsp'
  11391. "500":
  11392. description: Internal Server Error
  11393. schema:
  11394. $ref: '#/definitions/app.Response'
  11395. summary: 查询轮播图配置信息
  11396. tags:
  11397. - 通用服务
  11398. /Common/QueryNotice:
  11399. get:
  11400. parameters:
  11401. - description: 页码
  11402. in: query
  11403. name: page
  11404. type: integer
  11405. - description: 每页条数
  11406. in: query
  11407. name: pagesize
  11408. type: integer
  11409. - description: 登录账号
  11410. in: query
  11411. name: loginID
  11412. required: true
  11413. type: integer
  11414. - description: 消息类型 - 1:公告通知 2:系统消息
  11415. in: query
  11416. name: msgType
  11417. type: integer
  11418. - description: 是否只获取未读信息
  11419. in: query
  11420. name: onlyUnRead
  11421. type: boolean
  11422. - description: 自增ID,传入后会返回这个ID后面的记录
  11423. in: query
  11424. name: lastID
  11425. type: integer
  11426. produces:
  11427. - application/json
  11428. responses:
  11429. "200":
  11430. description: OK
  11431. schema:
  11432. $ref: '#/definitions/common.QueryNoticeRsp'
  11433. "500":
  11434. description: Internal Server Error
  11435. schema:
  11436. $ref: '#/definitions/app.Response'
  11437. security:
  11438. - ApiKeyAuth: []
  11439. summary: 通知公告系统消息查询
  11440. tags:
  11441. - 通用服务
  11442. /Common/QueryProvincesAndCities:
  11443. get:
  11444. parameters:
  11445. - description: 省ID
  11446. in: query
  11447. name: provinceID
  11448. type: integer
  11449. produces:
  11450. - application/json
  11451. responses:
  11452. "200":
  11453. description: OK
  11454. schema:
  11455. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  11456. "500":
  11457. description: Internal Server Error
  11458. schema:
  11459. $ref: '#/definitions/app.Response'
  11460. summary: 查询省市信息(不包括区)
  11461. tags:
  11462. - 通用服务
  11463. /Common/QueryTableDefine:
  11464. get:
  11465. parameters:
  11466. - description: 表key
  11467. in: query
  11468. name: tableKey
  11469. type: string
  11470. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  11471. in: query
  11472. name: tableType
  11473. type: integer
  11474. produces:
  11475. - application/json
  11476. responses:
  11477. "200":
  11478. description: OK
  11479. schema:
  11480. $ref: '#/definitions/common.QueryTableDefineRsp'
  11481. "500":
  11482. description: Internal Server Error
  11483. schema:
  11484. $ref: '#/definitions/app.Response'
  11485. summary: 查询交易端列表头信息
  11486. tags:
  11487. - 通用服务
  11488. /Common/QueryTraderMenu:
  11489. get:
  11490. parameters:
  11491. - description: 登录账号
  11492. in: query
  11493. name: loginid
  11494. required: true
  11495. type: integer
  11496. produces:
  11497. - application/json
  11498. responses:
  11499. "200":
  11500. description: OK
  11501. schema:
  11502. $ref: '#/definitions/common.QueryTraderMenuRsp'
  11503. "500":
  11504. description: Internal Server Error
  11505. schema:
  11506. $ref: '#/definitions/app.Response'
  11507. summary: 查询交易端菜单
  11508. tags:
  11509. - 通用服务
  11510. /Delivery/QueryDeliveryRelation:
  11511. get:
  11512. parameters:
  11513. - description: 商品ID
  11514. in: query
  11515. name: goodsid
  11516. type: integer
  11517. - description: 品种ID
  11518. in: query
  11519. name: deliverygoodsid
  11520. type: integer
  11521. - description: 市场ID
  11522. in: query
  11523. name: marketid
  11524. type: integer
  11525. produces:
  11526. - application/json
  11527. responses:
  11528. "200":
  11529. description: OK
  11530. schema:
  11531. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  11532. "500":
  11533. description: Internal Server Error
  11534. schema:
  11535. $ref: '#/definitions/app.Response'
  11536. security:
  11537. - ApiKeyAuth: []
  11538. summary: 查询商品交割关系表
  11539. tags:
  11540. - 交割服务
  11541. /Ermcp/GetErmcpGoods:
  11542. get:
  11543. parameters:
  11544. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  11545. in: query
  11546. name: lastUpdateTime
  11547. type: string
  11548. produces:
  11549. - application/json
  11550. responses:
  11551. "200":
  11552. description: OK
  11553. schema:
  11554. $ref: '#/definitions/models.Goods'
  11555. "500":
  11556. description: Internal Server Error
  11557. schema:
  11558. $ref: '#/definitions/app.Response'
  11559. security:
  11560. - ApiKeyAuth: []
  11561. summary: 查询企业风管期货商品信息
  11562. tags:
  11563. - 企业风险管理(app)
  11564. /Ermcp/GetErmcpGoodsSortByPosition:
  11565. get:
  11566. parameters:
  11567. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  11568. in: query
  11569. name: sortIndex
  11570. type: string
  11571. produces:
  11572. - application/json
  11573. responses:
  11574. "200":
  11575. description: OK
  11576. schema:
  11577. $ref: '#/definitions/models.Goodssortbypreposition'
  11578. "500":
  11579. description: Internal Server Error
  11580. schema:
  11581. $ref: '#/definitions/app.Response'
  11582. security:
  11583. - ApiKeyAuth: []
  11584. summary: 查询企业风管期货主力、次主力商品信息
  11585. tags:
  11586. - 企业风险管理(app)
  11587. /Ermcp/GetErmcpOutAccountStatus:
  11588. get:
  11589. parameters:
  11590. - description: 登录账号
  11591. in: query
  11592. name: loginID
  11593. required: true
  11594. type: integer
  11595. produces:
  11596. - application/json
  11597. responses:
  11598. "200":
  11599. description: OK
  11600. schema:
  11601. $ref: '#/definitions/models.Hedgemarketopenlog'
  11602. "500":
  11603. description: Internal Server Error
  11604. schema:
  11605. $ref: '#/definitions/app.Response'
  11606. security:
  11607. - ApiKeyAuth: []
  11608. summary: 获取目标登录账号当前对冲账号在线状态
  11609. tags:
  11610. - 企业风险管理(app)
  11611. /Ermcp/GetErmcpRoleFuncMenuLists:
  11612. get:
  11613. parameters:
  11614. - description: 登录账号
  11615. in: query
  11616. name: loginID
  11617. required: true
  11618. type: integer
  11619. produces:
  11620. - application/json
  11621. responses:
  11622. "200":
  11623. description: OK
  11624. schema:
  11625. $ref: '#/definitions/models.Funcmenulist'
  11626. "500":
  11627. description: Internal Server Error
  11628. schema:
  11629. $ref: '#/definitions/app.Response'
  11630. security:
  11631. - ApiKeyAuth: []
  11632. summary: 获取企业风管终端权限
  11633. tags:
  11634. - 企业风险管理(app)
  11635. /Ermcp/QueryAccMgrBizGroupSet:
  11636. get:
  11637. parameters:
  11638. - description: 用户ID
  11639. in: query
  11640. name: userid
  11641. required: true
  11642. type: integer
  11643. - description: 现货商品id
  11644. in: query
  11645. name: deliverygoodsid
  11646. type: integer
  11647. produces:
  11648. - application/json
  11649. responses:
  11650. "200":
  11651. description: OK
  11652. schema:
  11653. items:
  11654. $ref: '#/definitions/models.ErmcpBizGroupEx'
  11655. type: array
  11656. "500":
  11657. description: Internal Server Error
  11658. schema:
  11659. $ref: '#/definitions/app.Response'
  11660. security:
  11661. - ApiKeyAuth: []
  11662. summary: 查询业务类型分组(账户管理/账户设置)
  11663. tags:
  11664. - 企业风险管理(app)
  11665. /Ermcp/QueryAccMgrLoginUser:
  11666. get:
  11667. parameters:
  11668. - description: 用户ID
  11669. in: query
  11670. name: userid
  11671. required: true
  11672. type: integer
  11673. - description: 用户类型 2-机构 7-企业成员
  11674. in: query
  11675. name: usertype
  11676. type: integer
  11677. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  11678. in: query
  11679. name: querytype
  11680. required: true
  11681. type: integer
  11682. produces:
  11683. - application/json
  11684. responses:
  11685. "200":
  11686. description: OK
  11687. schema:
  11688. items:
  11689. $ref: '#/definitions/models.ErmcpLoginUserEx'
  11690. type: array
  11691. "500":
  11692. description: Internal Server Error
  11693. schema:
  11694. $ref: '#/definitions/app.Response'
  11695. security:
  11696. - ApiKeyAuth: []
  11697. summary: 查询账户管理登录账号(账户管理/登录账号)
  11698. tags:
  11699. - 企业风险管理(app)
  11700. /Ermcp/QueryAccMgrMainAccountInfo:
  11701. get:
  11702. parameters:
  11703. - description: 用户ID
  11704. in: query
  11705. name: userid
  11706. type: integer
  11707. - description: 主账号id
  11708. in: query
  11709. name: accountid
  11710. type: integer
  11711. produces:
  11712. - application/json
  11713. responses:
  11714. "200":
  11715. description: OK
  11716. schema:
  11717. items:
  11718. $ref: '#/definitions/models.MainAccountInfo'
  11719. type: array
  11720. "500":
  11721. description: Internal Server Error
  11722. schema:
  11723. $ref: '#/definitions/app.Response'
  11724. security:
  11725. - ApiKeyAuth: []
  11726. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  11727. tags:
  11728. - 企业风险管理(app)
  11729. /Ermcp/QueryAccMgrRole:
  11730. get:
  11731. parameters:
  11732. - description: 用户ID
  11733. in: query
  11734. name: userid
  11735. required: true
  11736. type: integer
  11737. produces:
  11738. - application/json
  11739. responses:
  11740. "200":
  11741. description: OK
  11742. schema:
  11743. items:
  11744. $ref: '#/definitions/models.ErmcpRole'
  11745. type: array
  11746. "500":
  11747. description: Internal Server Error
  11748. schema:
  11749. $ref: '#/definitions/app.Response'
  11750. security:
  11751. - ApiKeyAuth: []
  11752. summary: 查询账户管理角色设置(账户管理/角色设置)
  11753. tags:
  11754. - 企业风险管理(app)
  11755. /Ermcp/QueryAccMgrRoleMenu:
  11756. get:
  11757. parameters:
  11758. - description: 用户ID
  11759. in: query
  11760. name: userid
  11761. required: true
  11762. type: integer
  11763. - description: 角色id(可多个,逗号隔开)
  11764. in: query
  11765. name: roleid
  11766. type: string
  11767. produces:
  11768. - application/json
  11769. responses:
  11770. "200":
  11771. description: OK
  11772. schema:
  11773. items:
  11774. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  11775. type: array
  11776. "500":
  11777. description: Internal Server Error
  11778. schema:
  11779. $ref: '#/definitions/app.Response'
  11780. security:
  11781. - ApiKeyAuth: []
  11782. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  11783. tags:
  11784. - 企业风险管理(app)
  11785. /Ermcp/QueryAccMgrTaAccountInfo:
  11786. get:
  11787. parameters:
  11788. - description: 用户ID
  11789. in: query
  11790. name: userid
  11791. required: true
  11792. type: integer
  11793. - description: 账号id
  11794. in: query
  11795. name: accountid
  11796. type: integer
  11797. produces:
  11798. - application/json
  11799. responses:
  11800. "200":
  11801. description: OK
  11802. schema:
  11803. items:
  11804. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  11805. type: array
  11806. "500":
  11807. description: Internal Server Error
  11808. schema:
  11809. $ref: '#/definitions/app.Response'
  11810. security:
  11811. - ApiKeyAuth: []
  11812. summary: 查询账户管理授信(账户管理/账户设置/授信)
  11813. tags:
  11814. - 企业风险管理(app)
  11815. /Ermcp/QueryAccMgrTaaccount:
  11816. get:
  11817. parameters:
  11818. - description: 用户ID
  11819. in: query
  11820. name: userid
  11821. required: true
  11822. type: integer
  11823. produces:
  11824. - application/json
  11825. responses:
  11826. "200":
  11827. description: OK
  11828. schema:
  11829. items:
  11830. $ref: '#/definitions/models.ErmcpTaAccountEx'
  11831. type: array
  11832. "500":
  11833. description: Internal Server Error
  11834. schema:
  11835. $ref: '#/definitions/app.Response'
  11836. security:
  11837. - ApiKeyAuth: []
  11838. summary: 查询账户管理期货账号(账户管理/期货账号)
  11839. tags:
  11840. - 企业风险管理(app)
  11841. /Ermcp/QueryAvaildGoodsGroup:
  11842. get:
  11843. parameters:
  11844. - description: 所属机构ID
  11845. in: query
  11846. name: userid
  11847. required: true
  11848. type: integer
  11849. produces:
  11850. - application/json
  11851. responses:
  11852. "200":
  11853. description: OK
  11854. schema:
  11855. items:
  11856. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  11857. type: array
  11858. "500":
  11859. description: Internal Server Error
  11860. schema:
  11861. $ref: '#/definitions/app.Response'
  11862. security:
  11863. - ApiKeyAuth: []
  11864. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  11865. tags:
  11866. - 企业风险管理(app)
  11867. /Ermcp/QueryChangeLog:
  11868. get:
  11869. parameters:
  11870. - description: 合同ID
  11871. in: query
  11872. name: RelatedId
  11873. required: true
  11874. type: string
  11875. produces:
  11876. - application/json
  11877. responses:
  11878. "200":
  11879. description: OK
  11880. schema:
  11881. items:
  11882. $ref: '#/definitions/ermcp.QryOPLogRsp'
  11883. type: array
  11884. "500":
  11885. description: Internal Server Error
  11886. schema:
  11887. $ref: '#/definitions/app.Response'
  11888. security:
  11889. - ApiKeyAuth: []
  11890. summary: 查询变更记录
  11891. tags:
  11892. - 企业风险管理(app)
  11893. /Ermcp/QueryErmcpHisOrderDetails:
  11894. get:
  11895. parameters:
  11896. - description: 资金账户ID
  11897. in: query
  11898. name: accountID
  11899. required: true
  11900. type: integer
  11901. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  11902. in: query
  11903. name: startDate
  11904. type: string
  11905. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  11906. in: query
  11907. name: endDate
  11908. type: string
  11909. produces:
  11910. - application/json
  11911. responses:
  11912. "200":
  11913. description: OK
  11914. schema:
  11915. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  11916. "500":
  11917. description: Internal Server Error
  11918. schema:
  11919. $ref: '#/definitions/app.Response'
  11920. security:
  11921. - ApiKeyAuth: []
  11922. summary: 获取企业风管期货历史委托单信息
  11923. tags:
  11924. - 企业风险管理(app)
  11925. /Ermcp/QueryErmcpHisTradeDetails:
  11926. get:
  11927. parameters:
  11928. - description: 资金账户ID
  11929. in: query
  11930. name: accountID
  11931. required: true
  11932. type: integer
  11933. - description: 商品ID
  11934. in: query
  11935. name: goodsID
  11936. type: integer
  11937. - description: 买卖方向,0:买 1:卖
  11938. in: query
  11939. name: buyOrSell
  11940. type: integer
  11941. - description: 关联委托单号
  11942. in: query
  11943. name: orderID
  11944. type: integer
  11945. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  11946. in: query
  11947. name: startDate
  11948. type: string
  11949. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  11950. in: query
  11951. name: endDate
  11952. type: string
  11953. produces:
  11954. - application/json
  11955. responses:
  11956. "200":
  11957. description: OK
  11958. schema:
  11959. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  11960. "500":
  11961. description: Internal Server Error
  11962. schema:
  11963. $ref: '#/definitions/app.Response'
  11964. security:
  11965. - ApiKeyAuth: []
  11966. summary: 获取企业风管期货历史成交单信息
  11967. tags:
  11968. - 企业风险管理(app)
  11969. /Ermcp/QueryErmcpInnerHolderDetails:
  11970. get:
  11971. parameters:
  11972. - description: 资金账户ID
  11973. in: query
  11974. name: accountID
  11975. required: true
  11976. type: integer
  11977. - description: 商品ID
  11978. in: query
  11979. name: goodsID
  11980. type: integer
  11981. - description: 买卖方向,0:买 1:卖
  11982. in: query
  11983. name: buyOrSell
  11984. type: integer
  11985. produces:
  11986. - application/json
  11987. responses:
  11988. "200":
  11989. description: OK
  11990. schema:
  11991. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  11992. "500":
  11993. description: Internal Server Error
  11994. schema:
  11995. $ref: '#/definitions/app.Response'
  11996. security:
  11997. - ApiKeyAuth: []
  11998. summary: 获取企业风管期货内部持仓单信息
  11999. tags:
  12000. - 企业风险管理(app)
  12001. /Ermcp/QueryErmcpOrderDetails:
  12002. get:
  12003. parameters:
  12004. - description: 资金账户ID
  12005. in: query
  12006. name: accountID
  12007. required: true
  12008. type: integer
  12009. produces:
  12010. - application/json
  12011. responses:
  12012. "200":
  12013. description: OK
  12014. schema:
  12015. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  12016. "500":
  12017. description: Internal Server Error
  12018. schema:
  12019. $ref: '#/definitions/app.Response'
  12020. security:
  12021. - ApiKeyAuth: []
  12022. summary: 获取企业风管期货委托单信息
  12023. tags:
  12024. - 企业风险管理(app)
  12025. /Ermcp/QueryErmcpTradeDetails:
  12026. get:
  12027. parameters:
  12028. - description: 资金账户ID
  12029. in: query
  12030. name: accountID
  12031. required: true
  12032. type: integer
  12033. - description: 商品ID
  12034. in: query
  12035. name: goodsID
  12036. type: integer
  12037. - description: 买卖方向,0:买 1:卖
  12038. in: query
  12039. name: buyOrSell
  12040. type: integer
  12041. - description: 关联委托单号
  12042. in: query
  12043. name: orderID
  12044. type: integer
  12045. produces:
  12046. - application/json
  12047. responses:
  12048. "200":
  12049. description: OK
  12050. schema:
  12051. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  12052. "500":
  12053. description: Internal Server Error
  12054. schema:
  12055. $ref: '#/definitions/app.Response'
  12056. security:
  12057. - ApiKeyAuth: []
  12058. summary: 获取企业风管期货成交单信息
  12059. tags:
  12060. - 企业风险管理(app)
  12061. /Ermcp/QueryErmcpTradePosition:
  12062. get:
  12063. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  12064. parameters:
  12065. - description: 资金账户ID
  12066. in: query
  12067. name: accountID
  12068. required: true
  12069. type: integer
  12070. - description: 所属市场ID
  12071. in: query
  12072. name: marketID
  12073. type: integer
  12074. produces:
  12075. - application/json
  12076. responses:
  12077. "200":
  12078. description: OK
  12079. schema:
  12080. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  12081. "500":
  12082. description: Internal Server Error
  12083. schema:
  12084. $ref: '#/definitions/app.Response'
  12085. security:
  12086. - ApiKeyAuth: []
  12087. summary: 获取企业风管期货持仓头寸信息
  12088. tags:
  12089. - 企业风险管理(app)
  12090. /Ermcp/QueryExposureDetail:
  12091. get:
  12092. parameters:
  12093. - description: 所属机构ID
  12094. in: query
  12095. name: areaUserId
  12096. required: true
  12097. type: integer
  12098. - description: 套保商品
  12099. in: query
  12100. name: middleGoodsId
  12101. required: true
  12102. type: integer
  12103. produces:
  12104. - application/json
  12105. responses:
  12106. "200":
  12107. description: OK
  12108. schema:
  12109. items:
  12110. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  12111. type: array
  12112. "500":
  12113. description: Internal Server Error
  12114. schema:
  12115. $ref: '#/definitions/app.Response'
  12116. security:
  12117. - ApiKeyAuth: []
  12118. summary: 查询敞口现货明细
  12119. tags:
  12120. - 企业风险管理(app)
  12121. /Ermcp/QueryExposureHedgePosition:
  12122. get:
  12123. parameters:
  12124. - description: 用户id
  12125. in: query
  12126. name: userid
  12127. required: true
  12128. type: integer
  12129. produces:
  12130. - application/json
  12131. responses:
  12132. "200":
  12133. description: OK
  12134. schema:
  12135. items:
  12136. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  12137. type: array
  12138. "500":
  12139. description: Internal Server Error
  12140. schema:
  12141. $ref: '#/definitions/app.Response'
  12142. security:
  12143. - ApiKeyAuth: []
  12144. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  12145. tags:
  12146. - 企业风险管理(app)
  12147. /Ermcp/QueryExposureHedgePositionDetail:
  12148. get:
  12149. parameters:
  12150. - description: 所属机构ID
  12151. in: query
  12152. name: userid
  12153. required: true
  12154. type: integer
  12155. - description: 商品id
  12156. in: query
  12157. name: goodsId
  12158. required: true
  12159. type: integer
  12160. produces:
  12161. - application/json
  12162. responses:
  12163. "200":
  12164. description: OK
  12165. schema:
  12166. items:
  12167. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  12168. type: array
  12169. "500":
  12170. description: Internal Server Error
  12171. schema:
  12172. $ref: '#/definitions/app.Response'
  12173. security:
  12174. - ApiKeyAuth: []
  12175. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  12176. tags:
  12177. - 企业风险管理(app)
  12178. /Ermcp/QueryExposureSpot:
  12179. get:
  12180. parameters:
  12181. - description: 所属机构ID
  12182. in: query
  12183. name: areaUserId
  12184. required: true
  12185. type: integer
  12186. produces:
  12187. - application/json
  12188. responses:
  12189. "200":
  12190. description: OK
  12191. schema:
  12192. items:
  12193. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  12194. type: array
  12195. "500":
  12196. description: Internal Server Error
  12197. schema:
  12198. $ref: '#/definitions/app.Response'
  12199. security:
  12200. - ApiKeyAuth: []
  12201. summary: 查询敞口现货头寸(敞口/现货头寸)
  12202. tags:
  12203. - 企业风险管理(app)
  12204. /Ermcp/QueryExposureSpotDetail:
  12205. get:
  12206. parameters:
  12207. - description: 所属机构ID
  12208. in: query
  12209. name: areaUserId
  12210. required: true
  12211. type: integer
  12212. - description: 现货品种ID
  12213. in: query
  12214. name: wrstandardId
  12215. required: true
  12216. type: integer
  12217. produces:
  12218. - application/json
  12219. responses:
  12220. "200":
  12221. description: OK
  12222. schema:
  12223. items:
  12224. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  12225. type: array
  12226. "500":
  12227. description: Internal Server Error
  12228. schema:
  12229. $ref: '#/definitions/app.Response'
  12230. security:
  12231. - ApiKeyAuth: []
  12232. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  12233. tags:
  12234. - 企业风险管理(app)
  12235. /Ermcp/QueryFuturesCompany:
  12236. get:
  12237. produces:
  12238. - application/json
  12239. responses:
  12240. "200":
  12241. description: OK
  12242. schema:
  12243. items:
  12244. $ref: '#/definitions/models.ErmcpFuturesCompany'
  12245. type: array
  12246. "500":
  12247. description: Internal Server Error
  12248. schema:
  12249. $ref: '#/definitions/app.Response'
  12250. security:
  12251. - ApiKeyAuth: []
  12252. summary: 查询期货公司
  12253. tags:
  12254. - 企业风险管理(app)
  12255. /Ermcp/QueryGGConvertConfig:
  12256. get:
  12257. parameters:
  12258. - description: 品种id(不填则查所有)
  12259. in: query
  12260. name: goodsgroupid
  12261. type: integer
  12262. produces:
  12263. - application/json
  12264. responses:
  12265. "200":
  12266. description: OK
  12267. schema:
  12268. items:
  12269. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  12270. type: array
  12271. "500":
  12272. description: Internal Server Error
  12273. schema:
  12274. $ref: '#/definitions/app.Response'
  12275. security:
  12276. - ApiKeyAuth: []
  12277. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  12278. tags:
  12279. - 企业风险管理(app)
  12280. /Ermcp/QueryGoodsBrand:
  12281. get:
  12282. parameters:
  12283. - description: 用户ID
  12284. in: query
  12285. name: userid
  12286. required: true
  12287. type: integer
  12288. - description: 现货商品ID
  12289. in: query
  12290. name: wrstandardid
  12291. type: integer
  12292. produces:
  12293. - application/json
  12294. responses:
  12295. "200":
  12296. description: OK
  12297. schema:
  12298. items:
  12299. $ref: '#/definitions/models.ErmcpGoodsBrand'
  12300. type: array
  12301. "500":
  12302. description: Internal Server Error
  12303. schema:
  12304. $ref: '#/definitions/app.Response'
  12305. security:
  12306. - ApiKeyAuth: []
  12307. summary: 查询商品品牌
  12308. tags:
  12309. - 企业风险管理(app)
  12310. /Ermcp/QueryGoodsModel:
  12311. get:
  12312. parameters:
  12313. - description: 用户ID
  12314. in: query
  12315. name: userid
  12316. required: true
  12317. type: integer
  12318. produces:
  12319. - application/json
  12320. responses:
  12321. "200":
  12322. description: OK
  12323. schema:
  12324. items:
  12325. $ref: '#/definitions/models.ErmcpGoodsModel'
  12326. type: array
  12327. "500":
  12328. description: Internal Server Error
  12329. schema:
  12330. $ref: '#/definitions/app.Response'
  12331. security:
  12332. - ApiKeyAuth: []
  12333. summary: 查询商品型号
  12334. tags:
  12335. - 企业风险管理(app)
  12336. /Ermcp/QueryHisExposure:
  12337. get:
  12338. parameters:
  12339. - description: 用户id
  12340. in: query
  12341. name: userid
  12342. required: true
  12343. type: integer
  12344. - description: 每个品种记录数
  12345. in: query
  12346. name: lastNum
  12347. required: true
  12348. type: integer
  12349. produces:
  12350. - application/json
  12351. responses:
  12352. "200":
  12353. description: OK
  12354. schema:
  12355. items:
  12356. $ref: '#/definitions/ermcp.HisExposureRsp'
  12357. type: array
  12358. "500":
  12359. description: Internal Server Error
  12360. schema:
  12361. $ref: '#/definitions/app.Response'
  12362. security:
  12363. - ApiKeyAuth: []
  12364. summary: 查询历史敞口(菜单:敞口/历史敞口)
  12365. tags:
  12366. - 企业风险管理(app)
  12367. /Ermcp/QueryMiddleGoods:
  12368. get:
  12369. parameters:
  12370. - description: 所属机构ID
  12371. in: query
  12372. name: userid
  12373. required: true
  12374. type: integer
  12375. - description: 状态 0-停用 1-正常
  12376. in: query
  12377. name: status
  12378. required: true
  12379. type: integer
  12380. produces:
  12381. - application/json
  12382. responses:
  12383. "200":
  12384. description: OK
  12385. schema:
  12386. items:
  12387. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  12388. type: array
  12389. "500":
  12390. description: Internal Server Error
  12391. schema:
  12392. $ref: '#/definitions/app.Response'
  12393. security:
  12394. - ApiKeyAuth: []
  12395. summary: 查询套保品种(菜单:套保品种)
  12396. tags:
  12397. - 企业风险管理(app)
  12398. /Ermcp/QueryMiddleGoodsChangeLog:
  12399. get:
  12400. parameters:
  12401. - description: 所属机构ID
  12402. in: query
  12403. name: userid
  12404. required: true
  12405. type: integer
  12406. - description: 套保品种id
  12407. in: query
  12408. name: middlegoodsid
  12409. required: true
  12410. type: integer
  12411. produces:
  12412. - application/json
  12413. responses:
  12414. "200":
  12415. description: OK
  12416. schema:
  12417. items:
  12418. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  12419. type: array
  12420. "500":
  12421. description: Internal Server Error
  12422. schema:
  12423. $ref: '#/definitions/app.Response'
  12424. security:
  12425. - ApiKeyAuth: []
  12426. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  12427. tags:
  12428. - 企业风险管理(app)
  12429. /Ermcp/QueryMiddleGoodsDetail:
  12430. get:
  12431. parameters:
  12432. - description: 所属机构ID
  12433. in: query
  12434. name: userid
  12435. required: true
  12436. type: integer
  12437. - description: 套保品种id
  12438. in: query
  12439. name: middlegoodsid
  12440. type: integer
  12441. produces:
  12442. - application/json
  12443. responses:
  12444. "200":
  12445. description: OK
  12446. schema:
  12447. items:
  12448. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  12449. type: array
  12450. "500":
  12451. description: Internal Server Error
  12452. schema:
  12453. $ref: '#/definitions/app.Response'
  12454. security:
  12455. - ApiKeyAuth: []
  12456. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  12457. tags:
  12458. - 企业风险管理(app)
  12459. /Ermcp/QueryPendingAuditInfo:
  12460. get:
  12461. parameters:
  12462. - description: 用户ID
  12463. in: query
  12464. name: UserId
  12465. required: true
  12466. type: integer
  12467. produces:
  12468. - application/json
  12469. responses:
  12470. "200":
  12471. description: OK
  12472. schema:
  12473. items:
  12474. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  12475. type: array
  12476. "500":
  12477. description: Internal Server Error
  12478. schema:
  12479. $ref: '#/definitions/app.Response'
  12480. security:
  12481. - ApiKeyAuth: []
  12482. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  12483. tags:
  12484. - 企业风险管理(app)
  12485. /Ermcp/QueryRealtimeExposure:
  12486. get:
  12487. parameters:
  12488. - description: 所属机构ID
  12489. in: query
  12490. name: userid
  12491. required: true
  12492. type: integer
  12493. produces:
  12494. - application/json
  12495. responses:
  12496. "200":
  12497. description: OK
  12498. schema:
  12499. items:
  12500. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  12501. type: array
  12502. "500":
  12503. description: Internal Server Error
  12504. schema:
  12505. $ref: '#/definitions/app.Response'
  12506. security:
  12507. - ApiKeyAuth: []
  12508. summary: 查询实时敞口
  12509. tags:
  12510. - 企业风险管理(app)
  12511. /Ermcp/QueryRealtimeExposurePosition:
  12512. get:
  12513. parameters:
  12514. - description: 用户id
  12515. in: query
  12516. name: userid
  12517. required: true
  12518. type: integer
  12519. - description: 套保商品ID
  12520. in: query
  12521. name: middleGoodsId
  12522. required: true
  12523. type: integer
  12524. produces:
  12525. - application/json
  12526. responses:
  12527. "200":
  12528. description: OK
  12529. schema:
  12530. items:
  12531. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  12532. type: array
  12533. "500":
  12534. description: Internal Server Error
  12535. schema:
  12536. $ref: '#/definitions/app.Response'
  12537. security:
  12538. - ApiKeyAuth: []
  12539. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  12540. tags:
  12541. - 企业风险管理(app)
  12542. /Ermcp/QueryTradeConfigTMP:
  12543. get:
  12544. parameters:
  12545. - description: 所属机构id
  12546. in: query
  12547. name: areauserid
  12548. type: integer
  12549. produces:
  12550. - application/json
  12551. responses:
  12552. "200":
  12553. description: OK
  12554. schema:
  12555. items:
  12556. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  12557. type: array
  12558. "500":
  12559. description: Internal Server Error
  12560. schema:
  12561. $ref: '#/definitions/app.Response'
  12562. security:
  12563. - ApiKeyAuth: []
  12564. summary: 查询交易模板配置
  12565. tags:
  12566. - 企业风险管理(app)
  12567. /Ermcp/QueryUserInfo:
  12568. get:
  12569. parameters:
  12570. - description: 所属机构用户ID
  12571. in: query
  12572. name: MemberUserID
  12573. required: true
  12574. type: integer
  12575. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  12576. in: query
  12577. name: queryType
  12578. required: true
  12579. type: integer
  12580. produces:
  12581. - application/json
  12582. responses:
  12583. "200":
  12584. description: OK
  12585. schema:
  12586. items:
  12587. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  12588. type: array
  12589. "500":
  12590. description: Internal Server Error
  12591. schema:
  12592. $ref: '#/definitions/app.Response'
  12593. security:
  12594. - ApiKeyAuth: []
  12595. summary: 查询客户资料
  12596. tags:
  12597. - 企业风险管理(app)
  12598. /Ermcp/QueryWarehouseInfo:
  12599. get:
  12600. parameters:
  12601. - description: 用户ID
  12602. in: query
  12603. name: userid
  12604. required: true
  12605. type: integer
  12606. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  12607. in: query
  12608. name: status
  12609. type: string
  12610. produces:
  12611. - application/json
  12612. responses:
  12613. "200":
  12614. description: OK
  12615. schema:
  12616. items:
  12617. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  12618. type: array
  12619. "500":
  12620. description: Internal Server Error
  12621. schema:
  12622. $ref: '#/definitions/app.Response'
  12623. security:
  12624. - ApiKeyAuth: []
  12625. summary: 查询仓库信息
  12626. tags:
  12627. - 企业风险管理(app)
  12628. /Ermcp3/QryAreaExpourseContractDetail:
  12629. get:
  12630. parameters:
  12631. - description: 用户ID
  12632. in: query
  12633. name: userid
  12634. required: true
  12635. type: integer
  12636. - description: 套保商品id
  12637. in: query
  12638. name: middlegoodsid
  12639. required: true
  12640. type: integer
  12641. - description: 交易日(格式yyyymmdd)
  12642. in: query
  12643. name: tradedate
  12644. required: true
  12645. type: string
  12646. produces:
  12647. - application/json
  12648. responses:
  12649. "200":
  12650. description: OK
  12651. schema:
  12652. items:
  12653. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  12654. type: array
  12655. "500":
  12656. description: Internal Server Error
  12657. schema:
  12658. $ref: '#/definitions/app.Response'
  12659. security:
  12660. - ApiKeyAuth: []
  12661. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  12662. tags:
  12663. - 企业风险管理v3(app)
  12664. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  12665. get:
  12666. parameters:
  12667. - description: 用户ID
  12668. in: query
  12669. name: userid
  12670. required: true
  12671. type: integer
  12672. - description: 套保商品id
  12673. in: query
  12674. name: middlegoodsid
  12675. required: true
  12676. type: integer
  12677. - description: 交易日(格式yyyymmdd)
  12678. in: query
  12679. name: tradedate
  12680. required: true
  12681. type: string
  12682. produces:
  12683. - application/json
  12684. responses:
  12685. "200":
  12686. description: OK
  12687. schema:
  12688. items:
  12689. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  12690. type: array
  12691. "500":
  12692. description: Internal Server Error
  12693. schema:
  12694. $ref: '#/definitions/app.Response'
  12695. security:
  12696. - ApiKeyAuth: []
  12697. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  12698. tags:
  12699. - 企业风险管理v3(app)
  12700. /Ermcp3/QryAreaExpourseReport:
  12701. get:
  12702. parameters:
  12703. - description: 用户ID
  12704. in: query
  12705. name: userid
  12706. required: true
  12707. type: integer
  12708. - description: 查询类型 1-日报表 2-周期报表 3-日报表(指定时间段[开始交易日,结束交易日]) 4-日报表明细
  12709. in: query
  12710. name: querytype
  12711. required: true
  12712. type: integer
  12713. - description: 交易日(格式yyyymmdd)
  12714. in: query
  12715. name: tradedate
  12716. type: string
  12717. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  12718. in: query
  12719. name: cycletype
  12720. type: integer
  12721. - description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  12722. in: query
  12723. name: cycletime
  12724. type: string
  12725. - description: 开始交易日(格式yyyymmdd)
  12726. in: query
  12727. name: begindate
  12728. type: string
  12729. - description: 结束交易日(格式yyyymmdd)
  12730. in: query
  12731. name: enddate
  12732. type: string
  12733. produces:
  12734. - application/json
  12735. responses:
  12736. "200":
  12737. description: OK
  12738. schema:
  12739. items:
  12740. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  12741. type: array
  12742. "500":
  12743. description: Internal Server Error
  12744. schema:
  12745. $ref: '#/definitions/app.Response'
  12746. security:
  12747. - ApiKeyAuth: []
  12748. summary: 查询敞口报表
  12749. tags:
  12750. - 企业风险管理v3(app)
  12751. /Ermcp3/QryAreaSpotplReport:
  12752. get:
  12753. parameters:
  12754. - description: 用户ID
  12755. in: query
  12756. name: userid
  12757. required: true
  12758. type: integer
  12759. - description: 查询类型 1-日报表 2-周期报表 3-日报表(指定时间段[开始交易日,结束交易日]) 4-日报表明细
  12760. in: query
  12761. name: querytype
  12762. required: true
  12763. type: integer
  12764. - description: 交易日(格式yyyymmdd)
  12765. in: query
  12766. name: tradedate
  12767. type: string
  12768. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  12769. in: query
  12770. name: cycletype
  12771. type: integer
  12772. - description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  12773. in: query
  12774. name: cycletime
  12775. type: string
  12776. - description: 开始交易日(格式yyyymmdd)
  12777. in: query
  12778. name: begindate
  12779. type: string
  12780. - description: 结束交易日(格式yyyymmdd)
  12781. in: query
  12782. name: enddate
  12783. type: string
  12784. produces:
  12785. - application/json
  12786. responses:
  12787. "200":
  12788. description: OK
  12789. schema:
  12790. items:
  12791. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  12792. type: array
  12793. "500":
  12794. description: Internal Server Error
  12795. schema:
  12796. $ref: '#/definitions/app.Response'
  12797. security:
  12798. - ApiKeyAuth: []
  12799. summary: 查询现货报表
  12800. tags:
  12801. - 企业风险管理v3(app)
  12802. /Ermcp3/QryAreaStockReport:
  12803. get:
  12804. parameters:
  12805. - description: 用户ID
  12806. in: query
  12807. name: userid
  12808. required: true
  12809. type: integer
  12810. - description: 查询类型 1-日报表 2-周期报表 3-日报表(指定时间段[开始交易日,结束交易日]) 4-日报表明细
  12811. in: query
  12812. name: querytype
  12813. required: true
  12814. type: integer
  12815. - description: 交易日(格式yyyymmdd)
  12816. in: query
  12817. name: tradedate
  12818. type: string
  12819. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  12820. in: query
  12821. name: cycletype
  12822. type: integer
  12823. - description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  12824. in: query
  12825. name: cycletime
  12826. type: string
  12827. - description: 开始交易日(格式yyyymmdd)
  12828. in: query
  12829. name: begindate
  12830. type: string
  12831. - description: 结束交易日(格式yyyymmdd)
  12832. in: query
  12833. name: enddate
  12834. type: string
  12835. - description: 现货商品ID
  12836. in: query
  12837. name: deliverygoodsid
  12838. type: integer
  12839. - description: 品类ID
  12840. in: query
  12841. name: wrstandardid
  12842. type: integer
  12843. - description: 品牌ID
  12844. in: query
  12845. name: spotgoodsbrandid
  12846. type: integer
  12847. - description: 仓库ID
  12848. in: query
  12849. name: warehouseinfoid
  12850. type: integer
  12851. produces:
  12852. - application/json
  12853. responses:
  12854. "200":
  12855. description: OK
  12856. schema:
  12857. items:
  12858. $ref: '#/definitions/models.Ermcp3AreaStockReport'
  12859. type: array
  12860. "500":
  12861. description: Internal Server Error
  12862. schema:
  12863. $ref: '#/definitions/app.Response'
  12864. security:
  12865. - ApiKeyAuth: []
  12866. summary: 查询库存报表
  12867. tags:
  12868. - 企业风险管理v3(app)
  12869. /Ermcp3/QryAreaSumPL:
  12870. get:
  12871. parameters:
  12872. - description: 用户ID
  12873. in: query
  12874. name: userid
  12875. required: true
  12876. type: integer
  12877. - description: 查询类型 1-日报表 2-周期报表 3-日报表(指定时间段[开始交易日,结束交易日]) 4-日报表明细
  12878. in: query
  12879. name: querytype
  12880. required: true
  12881. type: integer
  12882. - description: 交易日(格式yyyymmdd)
  12883. in: query
  12884. name: tradedate
  12885. type: string
  12886. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  12887. in: query
  12888. name: cycletype
  12889. type: integer
  12890. - description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  12891. in: query
  12892. name: cycletime
  12893. type: string
  12894. - description: 开始交易日(格式yyyymmdd)
  12895. in: query
  12896. name: begindate
  12897. type: string
  12898. - description: 结束交易日(格式yyyymmdd)
  12899. in: query
  12900. name: enddate
  12901. type: string
  12902. - description: 币种id(日报表明细)
  12903. in: query
  12904. name: currencyid
  12905. type: integer
  12906. produces:
  12907. - application/json
  12908. responses:
  12909. "200":
  12910. description: OK
  12911. schema:
  12912. items:
  12913. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  12914. type: array
  12915. "500":
  12916. description: Internal Server Error
  12917. schema:
  12918. $ref: '#/definitions/app.Response'
  12919. security:
  12920. - ApiKeyAuth: []
  12921. summary: 查询汇总损益表
  12922. tags:
  12923. - 企业风险管理v3(app)
  12924. /Ermcp3/QryFinanceReport:
  12925. get:
  12926. parameters:
  12927. - description: 用户ID
  12928. in: query
  12929. name: userid
  12930. required: true
  12931. type: integer
  12932. - description: 查询类型 1-日报表 2-周期报表 3-日报表(指定时间段[开始交易日,结束交易日]) 4-日报表明细
  12933. in: query
  12934. name: querytype
  12935. required: true
  12936. type: integer
  12937. - description: 交易日(格式yyyymmdd)
  12938. in: query
  12939. name: tradedate
  12940. type: string
  12941. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  12942. in: query
  12943. name: cycletype
  12944. type: integer
  12945. - description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  12946. in: query
  12947. name: cycletime
  12948. type: string
  12949. - description: 开始交易日(格式yyyymmdd)
  12950. in: query
  12951. name: begindate
  12952. type: string
  12953. - description: 结束交易日(格式yyyymmdd)
  12954. in: query
  12955. name: enddate
  12956. type: string
  12957. - description: 币种id(日报表明细)
  12958. in: query
  12959. name: currencyid
  12960. type: integer
  12961. produces:
  12962. - application/json
  12963. responses:
  12964. "200":
  12965. description: OK
  12966. schema:
  12967. items:
  12968. $ref: '#/definitions/models.Ermcp3FinanceReport'
  12969. type: array
  12970. "500":
  12971. description: Internal Server Error
  12972. schema:
  12973. $ref: '#/definitions/app.Response'
  12974. security:
  12975. - ApiKeyAuth: []
  12976. summary: 查询财务报表
  12977. tags:
  12978. - 企业风险管理v3(app)
  12979. /Ermcp3/QueryAreaStock:
  12980. get:
  12981. parameters:
  12982. - description: 用户ID
  12983. in: query
  12984. name: userid
  12985. required: true
  12986. type: integer
  12987. produces:
  12988. - application/json
  12989. responses:
  12990. "200":
  12991. description: OK
  12992. schema:
  12993. items:
  12994. $ref: '#/definitions/models.Ermcp3AreaStock'
  12995. type: array
  12996. "500":
  12997. description: Internal Server Error
  12998. schema:
  12999. $ref: '#/definitions/app.Response'
  13000. security:
  13001. - ApiKeyAuth: []
  13002. summary: 查询机构库存(库存管理/当前库存)
  13003. tags:
  13004. - 企业风险管理v3(app)
  13005. /Ermcp3/QueryAreaStockApply:
  13006. get:
  13007. parameters:
  13008. - description: 用户ID
  13009. in: query
  13010. name: userid
  13011. required: true
  13012. type: integer
  13013. - description: 现货商品ID
  13014. in: query
  13015. name: deliverygoodsid
  13016. type: integer
  13017. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  13018. in: query
  13019. name: inouttype
  13020. type: string
  13021. - description: 合同ID
  13022. in: query
  13023. name: spotcontractid
  13024. type: integer
  13025. - description: 品类ID
  13026. in: query
  13027. name: wrstandardid
  13028. type: integer
  13029. - description: 品牌ID
  13030. in: query
  13031. name: spotgoodsbrandid
  13032. type: integer
  13033. - description: 仓库ID
  13034. in: query
  13035. name: warehouseinfoid
  13036. type: integer
  13037. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13038. in: query
  13039. name: applystatus
  13040. type: string
  13041. produces:
  13042. - application/json
  13043. responses:
  13044. "200":
  13045. description: OK
  13046. schema:
  13047. items:
  13048. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  13049. type: array
  13050. "500":
  13051. description: Internal Server Error
  13052. schema:
  13053. $ref: '#/definitions/app.Response'
  13054. security:
  13055. - ApiKeyAuth: []
  13056. summary: 查询库存申请(出入库记录|库存审核)
  13057. tags:
  13058. - 企业风险管理v3(app)
  13059. /Ermcp3/QueryAreaStockApplySum:
  13060. get:
  13061. parameters:
  13062. - description: 合同ID
  13063. in: query
  13064. name: spotcontractid
  13065. type: integer
  13066. produces:
  13067. - application/json
  13068. responses:
  13069. "200":
  13070. description: OK
  13071. schema:
  13072. items:
  13073. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  13074. type: array
  13075. "500":
  13076. description: Internal Server Error
  13077. schema:
  13078. $ref: '#/definitions/app.Response'
  13079. security:
  13080. - ApiKeyAuth: []
  13081. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  13082. tags:
  13083. - 企业风险管理v3(app)
  13084. /Ermcp3/QueryDGFactoryItem:
  13085. get:
  13086. parameters:
  13087. - description: 用户id
  13088. in: query
  13089. name: userid
  13090. type: integer
  13091. - description: 用户类型 2-机构 7-企业成员
  13092. in: query
  13093. name: usertype
  13094. type: integer
  13095. - description: 选择项ID(SEQ_DGFACTORYITEM)
  13096. in: query
  13097. name: dgfactoryitemid
  13098. type: integer
  13099. - description: 现货品种ID
  13100. in: query
  13101. name: deliverygoodsid
  13102. type: integer
  13103. - description: 要素项类型
  13104. in: query
  13105. name: dgfactoryitemtypeid
  13106. type: integer
  13107. - description: 顺序
  13108. in: query
  13109. name: orderindex
  13110. type: integer
  13111. produces:
  13112. - application/json
  13113. responses:
  13114. "200":
  13115. description: OK
  13116. schema:
  13117. items:
  13118. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  13119. type: array
  13120. "500":
  13121. description: Internal Server Error
  13122. schema:
  13123. $ref: '#/definitions/app.Response'
  13124. security:
  13125. - ApiKeyAuth: []
  13126. summary: 查询品种要素定义项
  13127. tags:
  13128. - 企业风险管理v3(app)
  13129. /Ermcp3/QueryDeliveryGoods:
  13130. get:
  13131. parameters:
  13132. - description: 用户id
  13133. in: query
  13134. name: userid
  13135. required: true
  13136. type: integer
  13137. - description: 用户类型 2-机构 7-企业成员
  13138. in: query
  13139. name: usertype
  13140. type: integer
  13141. - description: 排除已配置的业务类型商品 1-套保 2-套利
  13142. in: query
  13143. name: excludecfg
  13144. type: integer
  13145. produces:
  13146. - application/json
  13147. responses:
  13148. "200":
  13149. description: OK
  13150. schema:
  13151. items:
  13152. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  13153. type: array
  13154. "500":
  13155. description: Internal Server Error
  13156. schema:
  13157. $ref: '#/definitions/app.Response'
  13158. security:
  13159. - ApiKeyAuth: []
  13160. summary: 查询现货商品
  13161. tags:
  13162. - 企业风险管理v3(app)
  13163. /Ermcp3/QueryDeliveryGoodsDetail:
  13164. get:
  13165. parameters:
  13166. - description: 用户id
  13167. in: query
  13168. name: userid
  13169. required: true
  13170. type: integer
  13171. - description: 用户类型 2-机构 7-企业成员
  13172. in: query
  13173. name: usertype
  13174. type: integer
  13175. - description: 现货商品id
  13176. in: query
  13177. name: deliverygoodsid
  13178. type: integer
  13179. produces:
  13180. - application/json
  13181. responses:
  13182. "200":
  13183. description: OK
  13184. schema:
  13185. items:
  13186. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  13187. type: array
  13188. "500":
  13189. description: Internal Server Error
  13190. schema:
  13191. $ref: '#/definitions/app.Response'
  13192. security:
  13193. - ApiKeyAuth: []
  13194. summary: 查询现货商品详情
  13195. tags:
  13196. - 企业风险管理v3(app)
  13197. /Ermcp3/QueryExposureDetail:
  13198. get:
  13199. parameters:
  13200. - description: 用户id
  13201. in: query
  13202. name: userid
  13203. required: true
  13204. type: integer
  13205. - description: 用户类型 2-机构 7-企业成员
  13206. in: query
  13207. name: usertype
  13208. type: integer
  13209. - description: 套保商品
  13210. in: query
  13211. name: middlegoodsid
  13212. required: true
  13213. type: integer
  13214. produces:
  13215. - application/json
  13216. responses:
  13217. "200":
  13218. description: OK
  13219. schema:
  13220. items:
  13221. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  13222. type: array
  13223. "500":
  13224. description: Internal Server Error
  13225. schema:
  13226. $ref: '#/definitions/app.Response'
  13227. security:
  13228. - ApiKeyAuth: []
  13229. summary: 查询敞口现货明细
  13230. tags:
  13231. - 企业风险管理v3(app)
  13232. /Ermcp3/QueryExposureSpot:
  13233. get:
  13234. parameters:
  13235. - description: 用户id
  13236. in: query
  13237. name: userid
  13238. required: true
  13239. type: integer
  13240. - description: 用户类型 2-机构 7-企业成员
  13241. in: query
  13242. name: usertype
  13243. type: integer
  13244. produces:
  13245. - application/json
  13246. responses:
  13247. "200":
  13248. description: OK
  13249. schema:
  13250. items:
  13251. $ref: '#/definitions/models.Ermcp3AreaSpot'
  13252. type: array
  13253. "500":
  13254. description: Internal Server Error
  13255. schema:
  13256. $ref: '#/definitions/app.Response'
  13257. security:
  13258. - ApiKeyAuth: []
  13259. summary: 查询敞口现货头寸(敞口/现货头寸)
  13260. tags:
  13261. - 企业风险管理v3(app)
  13262. /Ermcp3/QueryExposureSpotDetail:
  13263. get:
  13264. parameters:
  13265. - description: 用户id
  13266. in: query
  13267. name: userid
  13268. required: true
  13269. type: integer
  13270. - description: 用户类型 2-机构 7-企业成员
  13271. in: query
  13272. name: usertype
  13273. type: integer
  13274. - description: 现货品种ID
  13275. in: query
  13276. name: deliverygoodsid
  13277. required: true
  13278. type: integer
  13279. produces:
  13280. - application/json
  13281. responses:
  13282. "200":
  13283. description: OK
  13284. schema:
  13285. items:
  13286. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  13287. type: array
  13288. "500":
  13289. description: Internal Server Error
  13290. schema:
  13291. $ref: '#/definitions/app.Response'
  13292. security:
  13293. - ApiKeyAuth: []
  13294. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  13295. tags:
  13296. - 企业风险管理v3(app)
  13297. /Ermcp3/QueryGoodsGroup:
  13298. get:
  13299. parameters:
  13300. - description: 用户id
  13301. in: query
  13302. name: userid
  13303. required: true
  13304. type: integer
  13305. - description: 用户类型 2-机构 7-企业成员
  13306. in: query
  13307. name: usertype
  13308. type: integer
  13309. - description: 排除套保品中已关联的商品组 1-排除
  13310. in: query
  13311. name: excludecfg
  13312. type: integer
  13313. produces:
  13314. - application/json
  13315. responses:
  13316. "200":
  13317. description: OK
  13318. schema:
  13319. items:
  13320. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  13321. type: array
  13322. "500":
  13323. description: Internal Server Error
  13324. schema:
  13325. $ref: '#/definitions/app.Response'
  13326. security:
  13327. - ApiKeyAuth: []
  13328. summary: 查询期货商品组
  13329. tags:
  13330. - 企业风险管理v3(app)
  13331. /Ermcp3/QueryGoodsWrstandard:
  13332. get:
  13333. parameters:
  13334. - description: 用户id
  13335. in: query
  13336. name: userid
  13337. required: true
  13338. type: integer
  13339. - description: 用户类型 2-机构 7-企业成员
  13340. in: query
  13341. name: usertype
  13342. type: integer
  13343. - description: 现货商品id
  13344. in: query
  13345. name: deliverygoodsid
  13346. type: integer
  13347. produces:
  13348. - application/json
  13349. responses:
  13350. "200":
  13351. description: OK
  13352. schema:
  13353. items:
  13354. $ref: '#/definitions/models.Ermcp3Wrstandard'
  13355. type: array
  13356. "500":
  13357. description: Internal Server Error
  13358. schema:
  13359. $ref: '#/definitions/app.Response'
  13360. security:
  13361. - ApiKeyAuth: []
  13362. summary: 查询商品品类
  13363. tags:
  13364. - 企业风险管理v3(app)
  13365. /Ermcp3/QueryGoodsbrand:
  13366. get:
  13367. parameters:
  13368. - description: 用户id
  13369. in: query
  13370. name: userid
  13371. required: true
  13372. type: integer
  13373. - description: 用户类型 2-机构 7-企业成员
  13374. in: query
  13375. name: usertype
  13376. type: integer
  13377. produces:
  13378. - application/json
  13379. responses:
  13380. "200":
  13381. description: OK
  13382. schema:
  13383. items:
  13384. $ref: '#/definitions/models.Ermcp3Brand'
  13385. type: array
  13386. "500":
  13387. description: Internal Server Error
  13388. schema:
  13389. $ref: '#/definitions/app.Response'
  13390. security:
  13391. - ApiKeyAuth: []
  13392. summary: 查询商品品牌
  13393. tags:
  13394. - 企业风险管理v3(app)
  13395. /Ermcp3/QueryHedgePlan:
  13396. get:
  13397. parameters:
  13398. - description: 用户ID
  13399. in: query
  13400. name: userid
  13401. required: true
  13402. type: integer
  13403. - description: 用户类型 2-机构 7-企业成员
  13404. in: query
  13405. name: usertype
  13406. type: integer
  13407. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  13408. in: query
  13409. name: hedgeplanstatus
  13410. required: true
  13411. type: string
  13412. produces:
  13413. - application/json
  13414. responses:
  13415. "200":
  13416. description: OK
  13417. schema:
  13418. items:
  13419. $ref: '#/definitions/models.Ermcp3HedgePlan'
  13420. type: array
  13421. "500":
  13422. description: Internal Server Error
  13423. schema:
  13424. $ref: '#/definitions/app.Response'
  13425. security:
  13426. - ApiKeyAuth: []
  13427. summary: 查询套保计划
  13428. tags:
  13429. - 企业风险管理v3(app)
  13430. /Ermcp3/QueryMiddleGoodsDetail:
  13431. get:
  13432. parameters:
  13433. - description: 用户id
  13434. in: query
  13435. name: userid
  13436. required: true
  13437. type: integer
  13438. - description: 用户类型 2-机构 7-企业成员
  13439. in: query
  13440. name: usertype
  13441. type: integer
  13442. - description: 套保品种id
  13443. in: query
  13444. name: middlegoodsid
  13445. type: integer
  13446. produces:
  13447. - application/json
  13448. responses:
  13449. "200":
  13450. description: OK
  13451. schema:
  13452. items:
  13453. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  13454. type: array
  13455. "500":
  13456. description: Internal Server Error
  13457. schema:
  13458. $ref: '#/definitions/app.Response'
  13459. security:
  13460. - ApiKeyAuth: []
  13461. summary: 查询套保品种详情(套保品种/商品详情)
  13462. tags:
  13463. - 企业风险管理v3(app)
  13464. /Ermcp3/QuerySpotContract:
  13465. get:
  13466. parameters:
  13467. - description: 用户id
  13468. in: query
  13469. name: userid
  13470. required: true
  13471. type: integer
  13472. - description: 用户类型 2-机构 7-企业成员
  13473. in: query
  13474. name: usertype
  13475. type: integer
  13476. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  13477. in: query
  13478. name: querytype
  13479. required: true
  13480. type: integer
  13481. - description: 合同ID(SpotContractId)
  13482. in: query
  13483. name: contractid
  13484. type: string
  13485. produces:
  13486. - application/json
  13487. responses:
  13488. "200":
  13489. description: OK
  13490. schema:
  13491. items:
  13492. $ref: '#/definitions/models.Ermcp3Contract'
  13493. type: array
  13494. "500":
  13495. description: Internal Server Error
  13496. schema:
  13497. $ref: '#/definitions/app.Response'
  13498. security:
  13499. - ApiKeyAuth: []
  13500. summary: 查询现货合同
  13501. tags:
  13502. - 企业风险管理v3(app)
  13503. /Ermcp3/QuerySpotContractBS:
  13504. get:
  13505. parameters:
  13506. - description: 用户id
  13507. in: query
  13508. name: userid
  13509. required: true
  13510. type: integer
  13511. - description: 用户类型 2-机构 7-企业成员
  13512. in: query
  13513. name: usertype
  13514. type: integer
  13515. - description: 合同类型 1-采购, -1-销售
  13516. in: query
  13517. name: contracttype
  13518. required: true
  13519. type: integer
  13520. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  13521. in: query
  13522. name: querytype
  13523. required: true
  13524. type: integer
  13525. - description: 合同ID(SpotContractId)
  13526. in: query
  13527. name: contractid
  13528. type: string
  13529. produces:
  13530. - application/json
  13531. responses:
  13532. "200":
  13533. description: OK
  13534. schema:
  13535. items:
  13536. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  13537. type: array
  13538. "500":
  13539. description: Internal Server Error
  13540. schema:
  13541. $ref: '#/definitions/app.Response'
  13542. security:
  13543. - ApiKeyAuth: []
  13544. summary: 查询合同(采购/销售)
  13545. tags:
  13546. - 企业风险管理v3(app)
  13547. /Ermcp3/QuerySpotGoodsPrice:
  13548. get:
  13549. parameters:
  13550. - description: 用户ID
  13551. in: query
  13552. name: userid
  13553. required: true
  13554. type: integer
  13555. produces:
  13556. - application/json
  13557. responses:
  13558. "200":
  13559. description: OK
  13560. schema:
  13561. items:
  13562. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  13563. type: array
  13564. "500":
  13565. description: Internal Server Error
  13566. schema:
  13567. $ref: '#/definitions/app.Response'
  13568. security:
  13569. - ApiKeyAuth: []
  13570. summary: 查询现货市价(现货市价)
  13571. tags:
  13572. - 企业风险管理v3(app)
  13573. /Ermcp3/QuerySpotGoodsPriceLog:
  13574. get:
  13575. parameters:
  13576. - description: 用户ID
  13577. in: query
  13578. name: userid
  13579. required: true
  13580. type: integer
  13581. - description: 现货商品ID
  13582. in: query
  13583. name: deliverygoodsid
  13584. required: true
  13585. type: integer
  13586. - description: 品牌ID
  13587. in: query
  13588. name: brandid
  13589. type: integer
  13590. - description: 品类ID
  13591. in: query
  13592. name: wrstandardid
  13593. type: integer
  13594. produces:
  13595. - application/json
  13596. responses:
  13597. "200":
  13598. description: OK
  13599. schema:
  13600. items:
  13601. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  13602. type: array
  13603. "500":
  13604. description: Internal Server Error
  13605. schema:
  13606. $ref: '#/definitions/app.Response'
  13607. security:
  13608. - ApiKeyAuth: []
  13609. summary: 查询现货市价详情(现货市价/详情)
  13610. tags:
  13611. - 企业风险管理v3(app)
  13612. /Erms2/QueryArbitrageStrategy:
  13613. get:
  13614. parameters:
  13615. - description: 账户ID
  13616. in: query
  13617. name: userid
  13618. required: true
  13619. type: integer
  13620. - description: 商品组ID(品种ID)
  13621. in: query
  13622. name: goodsgroupid
  13623. type: string
  13624. produces:
  13625. - application/json
  13626. responses:
  13627. "200":
  13628. description: OK
  13629. schema:
  13630. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  13631. "500":
  13632. description: Internal Server Error
  13633. schema:
  13634. $ref: '#/definitions/app.Response'
  13635. security:
  13636. - ApiKeyAuth: []
  13637. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  13638. tags:
  13639. - 风险管理
  13640. /Erms2/QueryInnerTradeDetail:
  13641. get:
  13642. parameters:
  13643. - description: 资金账户
  13644. in: query
  13645. name: accountid
  13646. required: true
  13647. type: integer
  13648. produces:
  13649. - application/json
  13650. responses:
  13651. "200":
  13652. description: OK
  13653. schema:
  13654. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  13655. "500":
  13656. description: Internal Server Error
  13657. schema:
  13658. $ref: '#/definitions/app.Response'
  13659. security:
  13660. - ApiKeyAuth: []
  13661. summary: 查询内部成交单信息
  13662. tags:
  13663. - 风险管理
  13664. /Erms2/QuerySpotContract:
  13665. get:
  13666. parameters:
  13667. - description: 策略申请ID
  13668. in: query
  13669. name: asapplyid
  13670. required: true
  13671. type: integer
  13672. - description: 现货合同ID
  13673. in: query
  13674. name: spotcontractid
  13675. type: integer
  13676. produces:
  13677. - application/json
  13678. responses:
  13679. "200":
  13680. description: OK
  13681. schema:
  13682. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  13683. "500":
  13684. description: Internal Server Error
  13685. schema:
  13686. $ref: '#/definitions/app.Response'
  13687. security:
  13688. - ApiKeyAuth: []
  13689. summary: 查询现货合同表信息(指定策略ID、未结束的)
  13690. tags:
  13691. - 风险管理
  13692. /Erms3/AddErms2ASApply:
  13693. post:
  13694. parameters:
  13695. - description: 申请参数
  13696. in: body
  13697. name: jsonBody
  13698. required: true
  13699. schema:
  13700. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  13701. produces:
  13702. - application/json
  13703. responses:
  13704. "200":
  13705. description: OK
  13706. schema:
  13707. $ref: '#/definitions/app.Response'
  13708. "500":
  13709. description: Internal Server Error
  13710. schema:
  13711. $ref: '#/definitions/app.Response'
  13712. security:
  13713. - ApiKeyAuth: []
  13714. summary: 新增期现套利业务申请
  13715. tags:
  13716. - 风险管理v3
  13717. /Erms3/AddErms2SpotTradeApply:
  13718. post:
  13719. parameters:
  13720. - description: 申请参数
  13721. in: body
  13722. name: jsonBody
  13723. required: true
  13724. schema:
  13725. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  13726. produces:
  13727. - application/json
  13728. responses:
  13729. "200":
  13730. description: OK
  13731. schema:
  13732. $ref: '#/definitions/app.Response'
  13733. "500":
  13734. description: Internal Server Error
  13735. schema:
  13736. $ref: '#/definitions/app.Response'
  13737. security:
  13738. - ApiKeyAuth: []
  13739. summary: 新增现货贸易业务申请
  13740. tags:
  13741. - 风险管理v3
  13742. /Erms3/AddSpotContractApply:
  13743. post:
  13744. parameters:
  13745. - description: 申请参数
  13746. in: body
  13747. name: jsonBody
  13748. required: true
  13749. schema:
  13750. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  13751. produces:
  13752. - application/json
  13753. responses:
  13754. "200":
  13755. description: OK
  13756. schema:
  13757. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  13758. "500":
  13759. description: Internal Server Error
  13760. schema:
  13761. $ref: '#/definitions/app.Response'
  13762. security:
  13763. - ApiKeyAuth: []
  13764. summary: 新增现货合同申请
  13765. tags:
  13766. - 风险管理v3
  13767. /Erms3/AddUserInfoApply:
  13768. post:
  13769. parameters:
  13770. - description: 用户信息
  13771. in: body
  13772. name: jsonBody
  13773. required: true
  13774. schema:
  13775. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  13776. produces:
  13777. - application/json
  13778. responses:
  13779. "200":
  13780. description: OK
  13781. schema:
  13782. $ref: '#/definitions/app.Response'
  13783. "500":
  13784. description: Internal Server Error
  13785. schema:
  13786. $ref: '#/definitions/app.Response'
  13787. security:
  13788. - ApiKeyAuth: []
  13789. summary: 新增客户申请
  13790. tags:
  13791. - 风险管理v3
  13792. /Erms3/DeleteUserInfoApply:
  13793. get:
  13794. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  13795. parameters:
  13796. - description: 用户ID
  13797. in: query
  13798. name: userID
  13799. required: true
  13800. type: integer
  13801. produces:
  13802. - application/json
  13803. responses:
  13804. "200":
  13805. description: OK
  13806. schema:
  13807. $ref: '#/definitions/app.Response'
  13808. "500":
  13809. description: Internal Server Error
  13810. schema:
  13811. $ref: '#/definitions/app.Response'
  13812. security:
  13813. - ApiKeyAuth: []
  13814. summary: 删除客户申请
  13815. tags:
  13816. - 风险管理v3
  13817. /Erms3/ModifyUserInfoApply:
  13818. post:
  13819. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  13820. int, "userstate": 2 }'
  13821. parameters:
  13822. - description: 用户信息
  13823. in: body
  13824. name: jsonBody
  13825. required: true
  13826. schema:
  13827. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  13828. produces:
  13829. - application/json
  13830. responses:
  13831. "200":
  13832. description: OK
  13833. schema:
  13834. $ref: '#/definitions/app.Response'
  13835. "500":
  13836. description: Internal Server Error
  13837. schema:
  13838. $ref: '#/definitions/app.Response'
  13839. security:
  13840. - ApiKeyAuth: []
  13841. summary: 修改客户申请
  13842. tags:
  13843. - 风险管理v3
  13844. /Erms3/QueryBusinessInfo:
  13845. get:
  13846. parameters:
  13847. - description: 资金账号ID列表,用逗号分隔
  13848. in: query
  13849. name: accountids
  13850. required: true
  13851. type: string
  13852. - description: 状态,0为未结束 1为已结束
  13853. in: query
  13854. name: status
  13855. required: true
  13856. type: integer
  13857. produces:
  13858. - application/json
  13859. responses:
  13860. "200":
  13861. description: OK
  13862. schema:
  13863. items:
  13864. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  13865. type: array
  13866. "500":
  13867. description: Internal Server Error
  13868. schema:
  13869. $ref: '#/definitions/app.Response'
  13870. security:
  13871. - ApiKeyAuth: []
  13872. summary: 查询业务表单数据
  13873. tags:
  13874. - 风险管理v3
  13875. /Erms3/QueryPendingAuditContract:
  13876. get:
  13877. parameters:
  13878. - description: 资金账号ID列表,逗号隔开
  13879. in: query
  13880. name: accountids
  13881. required: true
  13882. type: string
  13883. - description: 合同类型 1-采购 -1-销售
  13884. in: query
  13885. name: contracttype
  13886. required: true
  13887. type: integer
  13888. - description: 合同模式 1-普通 2-回购
  13889. in: query
  13890. name: contractmode
  13891. required: true
  13892. type: integer
  13893. produces:
  13894. - application/json
  13895. responses:
  13896. "200":
  13897. description: OK
  13898. schema:
  13899. items:
  13900. $ref: '#/definitions/erms3.QryAuditContractRsp'
  13901. type: array
  13902. "500":
  13903. description: Internal Server Error
  13904. schema:
  13905. $ref: '#/definitions/app.Response'
  13906. security:
  13907. - ApiKeyAuth: []
  13908. summary: 查询待审核合同
  13909. tags:
  13910. - 风险管理v3
  13911. /Erms3/QueryPendingBusiness:
  13912. get:
  13913. parameters:
  13914. - description: 资金账号ID列表,逗号隔开
  13915. in: query
  13916. name: accountids
  13917. required: true
  13918. type: string
  13919. produces:
  13920. - application/json
  13921. responses:
  13922. "200":
  13923. description: OK
  13924. schema:
  13925. items:
  13926. $ref: '#/definitions/erms3.QryPendingBizRsp'
  13927. type: array
  13928. "500":
  13929. description: Internal Server Error
  13930. schema:
  13931. $ref: '#/definitions/app.Response'
  13932. security:
  13933. - ApiKeyAuth: []
  13934. summary: 查询待审核基差贸易业务
  13935. tags:
  13936. - 风险管理v3
  13937. /Erms3/QuerySpotContractAppleForm:
  13938. get:
  13939. parameters:
  13940. - description: 登录账号
  13941. in: query
  13942. name: loginID
  13943. required: true
  13944. type: integer
  13945. produces:
  13946. - application/json
  13947. responses:
  13948. "200":
  13949. description: OK
  13950. schema:
  13951. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  13952. "500":
  13953. description: Internal Server Error
  13954. schema:
  13955. $ref: '#/definitions/app.Response'
  13956. security:
  13957. - ApiKeyAuth: []
  13958. summary: 查询合同申请表单数据
  13959. tags:
  13960. - 风险管理v3
  13961. /Erms3/QuerySpotContractDetail:
  13962. get:
  13963. parameters:
  13964. - description: 资金账号ID列表,用逗号分隔
  13965. in: query
  13966. name: accountids
  13967. required: true
  13968. type: string
  13969. - description: 合同类型,1为采购合同 -1为销售合同
  13970. in: query
  13971. name: contracttype
  13972. required: true
  13973. type: integer
  13974. - description: 合同模式,1为普通合同 2为回购销售合同
  13975. in: query
  13976. name: contractmode
  13977. required: true
  13978. type: integer
  13979. - description: 状态,0为履约中 1为已完成
  13980. in: query
  13981. name: status
  13982. required: true
  13983. type: integer
  13984. produces:
  13985. - application/json
  13986. responses:
  13987. "200":
  13988. description: OK
  13989. schema:
  13990. items:
  13991. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  13992. type: array
  13993. "500":
  13994. description: Internal Server Error
  13995. schema:
  13996. $ref: '#/definitions/app.Response'
  13997. security:
  13998. - ApiKeyAuth: []
  13999. summary: 查询合同详细信息
  14000. tags:
  14001. - 风险管理v3
  14002. /Erms3/QueryUserInfoApplies:
  14003. get:
  14004. parameters:
  14005. - description: 页码
  14006. in: query
  14007. name: page
  14008. type: integer
  14009. - description: 每页条数
  14010. in: query
  14011. name: pagesize
  14012. type: integer
  14013. - description: 客户名称,支持模糊查询
  14014. in: query
  14015. name: userName
  14016. type: string
  14017. produces:
  14018. - application/json
  14019. responses:
  14020. "200":
  14021. description: OK
  14022. schema:
  14023. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  14024. "500":
  14025. description: Internal Server Error
  14026. schema:
  14027. $ref: '#/definitions/app.Response'
  14028. security:
  14029. - ApiKeyAuth: []
  14030. summary: 客户申请信息查询
  14031. tags:
  14032. - 风险管理v3
  14033. /Erms3/QueryUserInfos:
  14034. get:
  14035. parameters:
  14036. - description: 页码
  14037. in: query
  14038. name: page
  14039. type: integer
  14040. - description: 每页条数
  14041. in: query
  14042. name: pagesize
  14043. type: integer
  14044. - description: 客户名称,支持模糊查询
  14045. in: query
  14046. name: userName
  14047. type: string
  14048. produces:
  14049. - application/json
  14050. responses:
  14051. "200":
  14052. description: OK
  14053. schema:
  14054. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  14055. "500":
  14056. description: Internal Server Error
  14057. schema:
  14058. $ref: '#/definitions/app.Response'
  14059. security:
  14060. - ApiKeyAuth: []
  14061. summary: 客户信息查询
  14062. tags:
  14063. - 风险管理v3
  14064. /HSBY/GetHsbyMyCount:
  14065. get:
  14066. description: 说明: 不包括已完成的数量。
  14067. parameters:
  14068. - description: 资金账户列表,格式:1,2,3
  14069. in: query
  14070. name: accountIDs
  14071. required: true
  14072. type: string
  14073. produces:
  14074. - application/json
  14075. responses:
  14076. "200":
  14077. description: OK
  14078. schema:
  14079. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  14080. "500":
  14081. description: Internal Server Error
  14082. schema:
  14083. $ref: '#/definitions/app.Response'
  14084. security:
  14085. - ApiKeyAuth: []
  14086. summary: 获取我的订单与包裹数量
  14087. tags:
  14088. - 定制【海商报业】
  14089. /HSBY/QueryClientFixedADConfigs:
  14090. get:
  14091. produces:
  14092. - application/json
  14093. responses:
  14094. "200":
  14095. description: OK
  14096. schema:
  14097. $ref: '#/definitions/models.Clientfixedadconfig'
  14098. "500":
  14099. description: Internal Server Error
  14100. schema:
  14101. $ref: '#/definitions/app.Response'
  14102. security:
  14103. - ApiKeyAuth: []
  14104. summary: 获取终端固定广告配置
  14105. tags:
  14106. - 定制【海商报业】
  14107. /HSBY/QueryHsbyBuyMyTradeDetail:
  14108. get:
  14109. parameters:
  14110. - description: 页码
  14111. in: query
  14112. name: page
  14113. type: integer
  14114. - description: 每页条数
  14115. in: query
  14116. name: pagesize
  14117. type: integer
  14118. - description: 资金账户列表,格式:1,2,3
  14119. in: query
  14120. name: accountIDs
  14121. required: true
  14122. type: string
  14123. produces:
  14124. - application/json
  14125. responses:
  14126. "200":
  14127. description: OK
  14128. schema:
  14129. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  14130. "500":
  14131. description: Internal Server Error
  14132. schema:
  14133. $ref: '#/definitions/app.Response'
  14134. security:
  14135. - ApiKeyAuth: []
  14136. summary: 查询"我的订单 - 已完成"单据信息
  14137. tags:
  14138. - 定制【海商报业】
  14139. /HSBY/QueryHsbyGoodsOrderDetails:
  14140. get:
  14141. description: 说明:查询结果已按委托价格和委托时间排序
  14142. parameters:
  14143. - description: 商品ID
  14144. in: query
  14145. name: goodsID
  14146. required: true
  14147. type: integer
  14148. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  14149. in: query
  14150. name: accountIDs
  14151. type: string
  14152. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  14153. in: query
  14154. name: buyOrSell
  14155. type: integer
  14156. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  14157. in: query
  14158. name: price
  14159. type: number
  14160. - description: 档位,不传则默认为3档
  14161. in: query
  14162. name: speed
  14163. type: integer
  14164. produces:
  14165. - application/json
  14166. responses:
  14167. "200":
  14168. description: OK
  14169. schema:
  14170. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  14171. "500":
  14172. description: Internal Server Error
  14173. schema:
  14174. $ref: '#/definitions/app.Response'
  14175. security:
  14176. - ApiKeyAuth: []
  14177. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  14178. tags:
  14179. - 定制【海商报业】
  14180. /HSBY/QueryHsbyListingGoodsDetail:
  14181. get:
  14182. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  14183. parameters:
  14184. - description: 商品ID
  14185. in: query
  14186. name: goodsID
  14187. required: true
  14188. type: integer
  14189. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  14190. in: query
  14191. name: accountID
  14192. type: integer
  14193. produces:
  14194. - application/json
  14195. responses:
  14196. "200":
  14197. description: OK
  14198. schema:
  14199. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  14200. "500":
  14201. description: Internal Server Error
  14202. schema:
  14203. $ref: '#/definitions/app.Response'
  14204. security:
  14205. - ApiKeyAuth: []
  14206. summary: 查询二级市场(挂牌点选)商品信息详情
  14207. tags:
  14208. - 定制【海商报业】
  14209. /HSBY/QueryHsbyMarketGoodsDetail:
  14210. get:
  14211. parameters:
  14212. - description: 委托单号
  14213. in: query
  14214. name: orderID
  14215. required: true
  14216. type: integer
  14217. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  14218. in: query
  14219. name: accountID
  14220. type: integer
  14221. produces:
  14222. - application/json
  14223. responses:
  14224. "200":
  14225. description: OK
  14226. schema:
  14227. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  14228. "500":
  14229. description: Internal Server Error
  14230. schema:
  14231. $ref: '#/definitions/app.Response'
  14232. security:
  14233. - ApiKeyAuth: []
  14234. summary: 查询三级市场(商城)商品信息详情
  14235. tags:
  14236. - 定制【海商报业】
  14237. /HSBY/QueryHsbyMarketGoodses:
  14238. get:
  14239. parameters:
  14240. - description: 页码
  14241. in: query
  14242. name: page
  14243. type: integer
  14244. - description: 每页条数
  14245. in: query
  14246. name: pagesize
  14247. type: integer
  14248. - description: 市场ID列表,格式:1,2,3
  14249. in: query
  14250. name: marketIDs
  14251. required: true
  14252. type: string
  14253. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  14254. in: query
  14255. name: accountID
  14256. required: true
  14257. type: integer
  14258. - description: 类别ID
  14259. in: query
  14260. name: categoryID
  14261. type: integer
  14262. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  14263. in: query
  14264. name: goodsIDs
  14265. type: string
  14266. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  14267. in: query
  14268. name: couponTypeID
  14269. type: integer
  14270. produces:
  14271. - application/json
  14272. responses:
  14273. "200":
  14274. description: OK
  14275. schema:
  14276. $ref: '#/definitions/models.HsbyMarketGoods'
  14277. "500":
  14278. description: Internal Server Error
  14279. schema:
  14280. $ref: '#/definitions/app.Response'
  14281. security:
  14282. - ApiKeyAuth: []
  14283. summary: 查询特卖商品列表(三级商城)
  14284. tags:
  14285. - 定制【海商报业】
  14286. /HSBY/QueryHsbyMarkets:
  14287. get:
  14288. produces:
  14289. - application/json
  14290. responses:
  14291. "200":
  14292. description: OK
  14293. schema:
  14294. $ref: '#/definitions/models.HsbyMarketInfo'
  14295. "500":
  14296. description: Internal Server Error
  14297. schema:
  14298. $ref: '#/definitions/app.Response'
  14299. security:
  14300. - ApiKeyAuth: []
  14301. summary: 查询海商报业相关市场信息
  14302. tags:
  14303. - 定制【海商报业】
  14304. /HSBY/QueryHsbyMyBuyOrderDetails:
  14305. get:
  14306. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  14307. parameters:
  14308. - description: 资金账户列表,格式:1,2,3
  14309. in: query
  14310. name: accountIDs
  14311. required: true
  14312. type: string
  14313. produces:
  14314. - application/json
  14315. responses:
  14316. "200":
  14317. description: OK
  14318. schema:
  14319. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  14320. "500":
  14321. description: Internal Server Error
  14322. schema:
  14323. $ref: '#/definitions/app.Response'
  14324. security:
  14325. - ApiKeyAuth: []
  14326. summary: 查询“我的订单”信息
  14327. tags:
  14328. - 定制【海商报业】
  14329. /HSBY/QueryHsbyMyGoods:
  14330. get:
  14331. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  14332. parameters:
  14333. - description: 资金账户列表,格式:1,2,3
  14334. in: query
  14335. name: accountIDs
  14336. required: true
  14337. type: string
  14338. produces:
  14339. - application/json
  14340. responses:
  14341. "200":
  14342. description: OK
  14343. schema:
  14344. $ref: '#/definitions/models.HsbyMyGoods'
  14345. "500":
  14346. description: Internal Server Error
  14347. schema:
  14348. $ref: '#/definitions/app.Response'
  14349. security:
  14350. - ApiKeyAuth: []
  14351. summary: 查询“我的商品”信息
  14352. tags:
  14353. - 定制【海商报业】
  14354. /HSBY/QueryHsbyMyPackages:
  14355. get:
  14356. parameters:
  14357. - description: 资金账户列表,格式:1,2,3
  14358. in: query
  14359. name: accountIDs
  14360. required: true
  14361. type: string
  14362. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  14363. in: query
  14364. name: takeOrderStatus
  14365. type: integer
  14366. produces:
  14367. - application/json
  14368. responses:
  14369. "200":
  14370. description: OK
  14371. schema:
  14372. $ref: '#/definitions/models.HsbyMyPackage'
  14373. "500":
  14374. description: Internal Server Error
  14375. schema:
  14376. $ref: '#/definitions/app.Response'
  14377. security:
  14378. - ApiKeyAuth: []
  14379. summary: 查询我的包裹信息
  14380. tags:
  14381. - 定制【海商报业】
  14382. /HSBY/QueryHsbyPreGoodsDetail:
  14383. get:
  14384. parameters:
  14385. - description: 商品ID
  14386. in: query
  14387. name: goodsID
  14388. required: true
  14389. type: integer
  14390. - description: 资金账户,主要用于获取预售商品购买上限
  14391. in: query
  14392. name: accountID
  14393. type: integer
  14394. produces:
  14395. - application/json
  14396. responses:
  14397. "200":
  14398. description: OK
  14399. schema:
  14400. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  14401. "500":
  14402. description: Internal Server Error
  14403. schema:
  14404. $ref: '#/definitions/app.Response'
  14405. security:
  14406. - ApiKeyAuth: []
  14407. summary: 查询一级市场(预售)商品信息详情
  14408. tags:
  14409. - 定制【海商报业】
  14410. /HSBY/QueryHsbyPreGoodses:
  14411. get:
  14412. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  14413. parameters:
  14414. - description: 页码
  14415. in: query
  14416. name: page
  14417. type: integer
  14418. - description: 每页条数
  14419. in: query
  14420. name: pagesize
  14421. type: integer
  14422. - description: 市场ID列表,格式:1,2,3
  14423. in: query
  14424. name: marketIDs
  14425. required: true
  14426. type: string
  14427. - description: 目的地(省)ID
  14428. in: query
  14429. name: descProvinceID
  14430. type: integer
  14431. - description: 目的地(市)ID
  14432. in: query
  14433. name: descCityID
  14434. type: integer
  14435. produces:
  14436. - application/json
  14437. responses:
  14438. "200":
  14439. description: OK
  14440. schema:
  14441. $ref: '#/definitions/models.HsbyPreGoods'
  14442. "500":
  14443. description: Internal Server Error
  14444. schema:
  14445. $ref: '#/definitions/app.Response'
  14446. security:
  14447. - ApiKeyAuth: []
  14448. summary: 查询新品上市商品列表(一级市场预售)
  14449. tags:
  14450. - 定制【海商报业】
  14451. /HSBY/QueryHsbySellMyDetails:
  14452. get:
  14453. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  14454. parameters:
  14455. - description: 页码
  14456. in: query
  14457. name: page
  14458. type: integer
  14459. - description: 每页条数
  14460. in: query
  14461. name: pagesize
  14462. type: integer
  14463. - description: 资金账户列表,格式:1,2,3
  14464. in: query
  14465. name: accountIDs
  14466. required: true
  14467. type: string
  14468. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  14469. in: query
  14470. name: orderType
  14471. type: integer
  14472. produces:
  14473. - application/json
  14474. responses:
  14475. "200":
  14476. description: OK
  14477. schema:
  14478. $ref: '#/definitions/models.HsbySellMyDetail'
  14479. "500":
  14480. description: Internal Server Error
  14481. schema:
  14482. $ref: '#/definitions/app.Response'
  14483. security:
  14484. - ApiKeyAuth: []
  14485. summary: 查询"我的闲置"单据信息
  14486. tags:
  14487. - 定制【海商报业】
  14488. /HSBY/QueryHsbyTopGoodses:
  14489. get:
  14490. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  14491. parameters:
  14492. - description: 页码
  14493. in: query
  14494. name: page
  14495. type: integer
  14496. - description: 每页条数
  14497. in: query
  14498. name: pagesize
  14499. type: integer
  14500. - description: 市场ID列表,格式:1,2,3
  14501. in: query
  14502. name: marketIDs
  14503. required: true
  14504. type: string
  14505. - description: 目的地(省)ID
  14506. in: query
  14507. name: descProvinceID
  14508. type: integer
  14509. - description: 目的地(市)ID
  14510. in: query
  14511. name: descCityID
  14512. type: integer
  14513. produces:
  14514. - application/json
  14515. responses:
  14516. "200":
  14517. description: OK
  14518. schema:
  14519. $ref: '#/definitions/models.HsbyTopGoods'
  14520. "500":
  14521. description: Internal Server Error
  14522. schema:
  14523. $ref: '#/definitions/app.Response'
  14524. security:
  14525. - ApiKeyAuth: []
  14526. summary: 查询热卖商品列表(二级市场挂牌点选)
  14527. tags:
  14528. - 定制【海商报业】
  14529. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  14530. get:
  14531. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  14532. parameters:
  14533. - description: 商品ID
  14534. in: query
  14535. name: goodsID
  14536. required: true
  14537. type: integer
  14538. produces:
  14539. - application/json
  14540. responses:
  14541. "200":
  14542. description: OK
  14543. schema:
  14544. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  14545. "500":
  14546. description: Internal Server Error
  14547. schema:
  14548. $ref: '#/definitions/app.Response'
  14549. security:
  14550. - ApiKeyAuth: []
  14551. summary: 查询游客三级市场(商城)商品信息详情
  14552. tags:
  14553. - 定制【海商报业】
  14554. /HSBY/QueryHsbyVisitorMarketGoodses:
  14555. get:
  14556. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  14557. parameters:
  14558. - description: 页码
  14559. in: query
  14560. name: page
  14561. type: integer
  14562. - description: 每页条数
  14563. in: query
  14564. name: pagesize
  14565. type: integer
  14566. - description: 市场ID列表,格式:1,2,3
  14567. in: query
  14568. name: marketIDs
  14569. required: true
  14570. type: string
  14571. - description: 类别ID
  14572. in: query
  14573. name: categoryID
  14574. type: integer
  14575. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  14576. in: query
  14577. name: goodsIDs
  14578. type: string
  14579. produces:
  14580. - application/json
  14581. responses:
  14582. "200":
  14583. description: OK
  14584. schema:
  14585. $ref: '#/definitions/models.HsbyMarketGoods'
  14586. "500":
  14587. description: Internal Server Error
  14588. schema:
  14589. $ref: '#/definitions/app.Response'
  14590. security:
  14591. - ApiKeyAuth: []
  14592. summary: 查询游客特卖商品列表(三级商城)
  14593. tags:
  14594. - 定制【海商报业】
  14595. /HSBY/QueryMyCollectionOrders:
  14596. get:
  14597. parameters:
  14598. - description: 页码
  14599. in: query
  14600. name: page
  14601. type: integer
  14602. - description: 每页条数
  14603. in: query
  14604. name: pagesize
  14605. type: integer
  14606. - description: 资金账户,格式:1,2,3
  14607. in: query
  14608. name: accountIDs
  14609. required: true
  14610. type: string
  14611. produces:
  14612. - application/json
  14613. responses:
  14614. "200":
  14615. description: OK
  14616. schema:
  14617. $ref: '#/definitions/models.HsbySellCollectionOrder'
  14618. "500":
  14619. description: Internal Server Error
  14620. schema:
  14621. $ref: '#/definitions/app.Response'
  14622. security:
  14623. - ApiKeyAuth: []
  14624. summary: 我的闲置中收款信息查询
  14625. tags:
  14626. - 定制【海商报业】
  14627. /HSBY/QueryMyCouponHolds:
  14628. get:
  14629. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  14630. parameters:
  14631. - description: 资金账户列表,格式:1,2,3
  14632. in: query
  14633. name: accountIDs
  14634. required: true
  14635. type: string
  14636. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  14637. in: query
  14638. name: holdStatus
  14639. type: string
  14640. produces:
  14641. - application/json
  14642. responses:
  14643. "200":
  14644. description: OK
  14645. schema:
  14646. $ref: '#/definitions/models.MyCouponHold'
  14647. "500":
  14648. description: Internal Server Error
  14649. schema:
  14650. $ref: '#/definitions/app.Response'
  14651. security:
  14652. - ApiKeyAuth: []
  14653. summary: 我的优惠卷持仓查询
  14654. tags:
  14655. - 定制【海商报业】
  14656. /HSBY/QueryMyCoupons:
  14657. get:
  14658. parameters:
  14659. - description: 资金账户列表,格式:1,2,3
  14660. in: query
  14661. name: accountIDs
  14662. required: true
  14663. type: string
  14664. - description: 商品ID, 一般与sellUserID配套传入
  14665. in: query
  14666. name: goodsID
  14667. type: integer
  14668. - description: 卖方UserID
  14669. in: query
  14670. name: sellUserID
  14671. type: integer
  14672. produces:
  14673. - application/json
  14674. responses:
  14675. "200":
  14676. description: OK
  14677. schema:
  14678. $ref: '#/definitions/models.MyCoupon'
  14679. "500":
  14680. description: Internal Server Error
  14681. schema:
  14682. $ref: '#/definitions/app.Response'
  14683. security:
  14684. - ApiKeyAuth: []
  14685. summary: 我的优惠卷查询
  14686. tags:
  14687. - 定制【海商报业】
  14688. /HSBY/QueryMyPayOrders:
  14689. get:
  14690. parameters:
  14691. - description: 页码
  14692. in: query
  14693. name: page
  14694. type: integer
  14695. - description: 每页条数
  14696. in: query
  14697. name: pagesize
  14698. type: integer
  14699. - description: 资金账户列表,格式:1,2,3
  14700. in: query
  14701. name: accountIDs
  14702. required: true
  14703. type: string
  14704. - description: 买方委托单号
  14705. in: query
  14706. name: buyOrderID
  14707. type: integer
  14708. - description: 卖方委托单号
  14709. in: query
  14710. name: sellOrderID
  14711. type: integer
  14712. produces:
  14713. - application/json
  14714. responses:
  14715. "200":
  14716. description: OK
  14717. schema:
  14718. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  14719. "500":
  14720. description: Internal Server Error
  14721. schema:
  14722. $ref: '#/definitions/app.Response'
  14723. security:
  14724. - ApiKeyAuth: []
  14725. summary: 获取我的订单中待付款信息
  14726. tags:
  14727. - 定制【海商报业】
  14728. /HSBY/QueryMyUsedCoupon:
  14729. get:
  14730. parameters:
  14731. - description: 资金账户列表,格式:1,2,3
  14732. in: query
  14733. name: accountIDs
  14734. required: true
  14735. type: string
  14736. produces:
  14737. - application/json
  14738. responses:
  14739. "200":
  14740. description: OK
  14741. schema:
  14742. $ref: '#/definitions/models.MyUsedCoupon'
  14743. "500":
  14744. description: Internal Server Error
  14745. schema:
  14746. $ref: '#/definitions/app.Response'
  14747. security:
  14748. - ApiKeyAuth: []
  14749. summary: 已使用优惠卷查询
  14750. tags:
  14751. - 定制【海商报业】
  14752. /HSBY/QueryProvincesAndCities:
  14753. get:
  14754. description: 查询结果只包括二级市场商品已关连的省市信息。
  14755. parameters:
  14756. - description: 省ID
  14757. in: query
  14758. name: provinceID
  14759. type: integer
  14760. produces:
  14761. - application/json
  14762. responses:
  14763. "200":
  14764. description: OK
  14765. schema:
  14766. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  14767. "500":
  14768. description: Internal Server Error
  14769. schema:
  14770. $ref: '#/definitions/app.Response'
  14771. security:
  14772. - ApiKeyAuth: []
  14773. summary: 查询省市信息(不包括区)
  14774. tags:
  14775. - 定制【海商报业】
  14776. /HSBY/SetHsbyMyPackagesStatus:
  14777. post:
  14778. parameters:
  14779. - description: 提货单号
  14780. in: query
  14781. name: takeOrderID
  14782. required: true
  14783. type: string
  14784. - description: 资金账号
  14785. in: query
  14786. name: accountID
  14787. required: true
  14788. type: integer
  14789. produces:
  14790. - application/json
  14791. responses:
  14792. "200":
  14793. description: OK
  14794. schema:
  14795. $ref: '#/definitions/app.Response'
  14796. "500":
  14797. description: Internal Server Error
  14798. schema:
  14799. $ref: '#/definitions/app.Response'
  14800. security:
  14801. - ApiKeyAuth: []
  14802. summary: 设置我的包裹已收货状态
  14803. tags:
  14804. - 定制【海商报业】
  14805. /Market/QueryGoodsesByLoginID:
  14806. get:
  14807. parameters:
  14808. - description: 登录账号
  14809. in: query
  14810. name: loginID
  14811. required: true
  14812. type: integer
  14813. - description: 市场ID列表,格式:1,2,3
  14814. in: query
  14815. name: marketIDs
  14816. type: string
  14817. produces:
  14818. - application/json
  14819. responses:
  14820. "200":
  14821. description: OK
  14822. schema:
  14823. $ref: '#/definitions/models.Goods'
  14824. "500":
  14825. description: Internal Server Error
  14826. schema:
  14827. $ref: '#/definitions/app.Response'
  14828. security:
  14829. - ApiKeyAuth: []
  14830. summary: 获取登录账号有权限的商品信息
  14831. tags:
  14832. - 通用市场
  14833. /Market/QueryMarketRun:
  14834. get:
  14835. parameters:
  14836. - description: 市场ID,不传返回所有
  14837. in: query
  14838. name: marketID
  14839. type: integer
  14840. produces:
  14841. - application/json
  14842. responses:
  14843. "200":
  14844. description: OK
  14845. schema:
  14846. $ref: '#/definitions/models.Marketrun'
  14847. "500":
  14848. description: Internal Server Error
  14849. schema:
  14850. $ref: '#/definitions/app.Response'
  14851. security:
  14852. - ApiKeyAuth: []
  14853. summary: 查询市场运行信息
  14854. tags:
  14855. - 通用市场
  14856. /Market/QueryMarketsByLoginID:
  14857. get:
  14858. parameters:
  14859. - description: 登录账号
  14860. in: query
  14861. name: loginID
  14862. required: true
  14863. type: integer
  14864. produces:
  14865. - application/json
  14866. responses:
  14867. "200":
  14868. description: OK
  14869. schema:
  14870. $ref: '#/definitions/models.Market'
  14871. "500":
  14872. description: Internal Server Error
  14873. schema:
  14874. $ref: '#/definitions/app.Response'
  14875. security:
  14876. - ApiKeyAuth: []
  14877. summary: 获取登录账号有权限的市场信息
  14878. tags:
  14879. - 通用市场
  14880. /Order/QueryHisTradeDetail:
  14881. get:
  14882. parameters:
  14883. - description: 资金账户 - 格式:1,2,3
  14884. in: query
  14885. name: accountID
  14886. required: true
  14887. type: string
  14888. - description: 成交单号
  14889. in: query
  14890. name: tradeID
  14891. type: integer
  14892. - description: 委托单号
  14893. in: query
  14894. name: orderID
  14895. type: integer
  14896. - description: 交易模式 - 格式:1,2,3
  14897. in: query
  14898. name: tradeMode
  14899. type: string
  14900. - description: 委托单据类型
  14901. in: query
  14902. name: buildType
  14903. type: integer
  14904. - description: 成交类别 - 格式:1,2,3
  14905. in: query
  14906. name: tradeType
  14907. type: string
  14908. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14909. in: query
  14910. name: startDate
  14911. type: string
  14912. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14913. in: query
  14914. name: endDate
  14915. type: string
  14916. produces:
  14917. - application/json
  14918. responses:
  14919. "200":
  14920. description: OK
  14921. schema:
  14922. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  14923. "500":
  14924. description: Internal Server Error
  14925. schema:
  14926. $ref: '#/definitions/app.Response'
  14927. security:
  14928. - ApiKeyAuth: []
  14929. summary: 历史成交单查询(合约市场)
  14930. tags:
  14931. - 通用单据
  14932. /Order/QueryHisTradeOrderDetail:
  14933. get:
  14934. parameters:
  14935. - description: 资金账户 - 格式:1,2,3
  14936. in: query
  14937. name: accountID
  14938. required: true
  14939. type: string
  14940. - description: 交易模式 - 格式:1,2,3
  14941. in: query
  14942. name: tradeMode
  14943. type: string
  14944. - description: 委托状态 - 格式:1,2,3
  14945. in: query
  14946. name: orderStatus
  14947. type: string
  14948. - description: 委托单号
  14949. in: query
  14950. name: orderID
  14951. type: integer
  14952. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14953. in: query
  14954. name: startDate
  14955. type: string
  14956. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14957. in: query
  14958. name: endDate
  14959. type: string
  14960. produces:
  14961. - application/json
  14962. responses:
  14963. "200":
  14964. description: OK
  14965. schema:
  14966. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  14967. "500":
  14968. description: Internal Server Error
  14969. schema:
  14970. $ref: '#/definitions/app.Response'
  14971. security:
  14972. - ApiKeyAuth: []
  14973. summary: 历史委托单查询请求(合约市场)
  14974. tags:
  14975. - 通用单据
  14976. /Order/QueryTradeDetail:
  14977. get:
  14978. parameters:
  14979. - description: 资金账户 - 格式:1,2,3
  14980. in: query
  14981. name: accountID
  14982. required: true
  14983. type: string
  14984. - description: 成交单号
  14985. in: query
  14986. name: tradeID
  14987. type: integer
  14988. - description: 委托单号
  14989. in: query
  14990. name: orderID
  14991. type: integer
  14992. - description: 交易模式 - 格式:1,2,3
  14993. in: query
  14994. name: tradeMode
  14995. type: string
  14996. - description: 委托单据类型
  14997. in: query
  14998. name: buildType
  14999. type: integer
  15000. - description: 成交类别 - 格式:1,2,3
  15001. in: query
  15002. name: tradeType
  15003. type: string
  15004. produces:
  15005. - application/json
  15006. responses:
  15007. "200":
  15008. description: OK
  15009. schema:
  15010. $ref: '#/definitions/order.QueryTradeDetailRsp'
  15011. "500":
  15012. description: Internal Server Error
  15013. schema:
  15014. $ref: '#/definitions/app.Response'
  15015. security:
  15016. - ApiKeyAuth: []
  15017. summary: 成交单查询(合约市场)
  15018. tags:
  15019. - 通用单据
  15020. /Order/QueryTradeOrderDetail:
  15021. get:
  15022. parameters:
  15023. - description: 资金账户 - 格式:1,2,3
  15024. in: query
  15025. name: accountID
  15026. required: true
  15027. type: string
  15028. - description: 交易模式 - 格式:1,2,3
  15029. in: query
  15030. name: tradeMode
  15031. type: string
  15032. - description: 委托状态 - 格式:1,2,3
  15033. in: query
  15034. name: orderStatus
  15035. type: string
  15036. - description: 委托单号
  15037. in: query
  15038. name: orderID
  15039. type: integer
  15040. produces:
  15041. - application/json
  15042. responses:
  15043. "200":
  15044. description: OK
  15045. schema:
  15046. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  15047. "500":
  15048. description: Internal Server Error
  15049. schema:
  15050. $ref: '#/definitions/app.Response'
  15051. security:
  15052. - ApiKeyAuth: []
  15053. summary: 委托单查询请求(合约市场)
  15054. tags:
  15055. - 通用单据
  15056. /Order/QueryTradePosition:
  15057. get:
  15058. parameters:
  15059. - description: 资金账户 - 格式:1,2,3
  15060. in: query
  15061. name: accountID
  15062. required: true
  15063. type: string
  15064. - description: 交易模式 - 格式:1,2,3
  15065. in: query
  15066. name: tradeMode
  15067. type: string
  15068. produces:
  15069. - application/json
  15070. responses:
  15071. "200":
  15072. description: OK
  15073. schema:
  15074. $ref: '#/definitions/order.QueryTradePositionRsp'
  15075. "500":
  15076. description: Internal Server Error
  15077. schema:
  15078. $ref: '#/definitions/app.Response'
  15079. security:
  15080. - ApiKeyAuth: []
  15081. summary: 持仓汇总查询(合约市场)
  15082. tags:
  15083. - 通用单据
  15084. /Quote/QueryHistoryDatas:
  15085. get:
  15086. parameters:
  15087. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  15088. 日线'
  15089. in: query
  15090. name: cycleType
  15091. required: true
  15092. type: integer
  15093. - description: 商品代码
  15094. in: query
  15095. name: goodsCode
  15096. required: true
  15097. type: string
  15098. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  15099. in: query
  15100. name: startTime
  15101. type: string
  15102. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  15103. in: query
  15104. name: endTime
  15105. type: string
  15106. - description: 条数
  15107. in: query
  15108. name: count
  15109. type: integer
  15110. - description: 是否按时间顺序排序(默认为时间倒序排序)
  15111. in: query
  15112. name: isAsc
  15113. type: boolean
  15114. produces:
  15115. - application/json
  15116. responses:
  15117. "200":
  15118. description: OK
  15119. schema:
  15120. $ref: '#/definitions/quote.HistoryData'
  15121. "500":
  15122. description: Internal Server Error
  15123. schema:
  15124. $ref: '#/definitions/app.Response'
  15125. security:
  15126. - ApiKeyAuth: []
  15127. summary: 查询行情历史数据
  15128. tags:
  15129. - 行情服务
  15130. /Quote/QueryHistoryTikDatas:
  15131. get:
  15132. parameters:
  15133. - description: 商品代码
  15134. in: query
  15135. name: goodsCode
  15136. required: true
  15137. type: string
  15138. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  15139. in: query
  15140. name: startTime
  15141. type: string
  15142. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  15143. in: query
  15144. name: endTime
  15145. type: string
  15146. - description: 条数
  15147. in: query
  15148. name: count
  15149. type: integer
  15150. - description: 是否按时间顺序排序(默认为时间倒序排序)
  15151. in: query
  15152. name: isAsc
  15153. type: boolean
  15154. produces:
  15155. - application/json
  15156. responses:
  15157. "200":
  15158. description: OK
  15159. schema:
  15160. $ref: '#/definitions/quote.HistoryTikData'
  15161. "500":
  15162. description: Internal Server Error
  15163. schema:
  15164. $ref: '#/definitions/app.Response'
  15165. security:
  15166. - ApiKeyAuth: []
  15167. summary: 查询行情Tik数据
  15168. tags:
  15169. - 行情服务
  15170. /Quote/QueryQuoteDay:
  15171. get:
  15172. parameters:
  15173. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  15174. in: query
  15175. name: goodsCodes
  15176. required: true
  15177. type: string
  15178. produces:
  15179. - application/json
  15180. responses:
  15181. "200":
  15182. description: OK
  15183. schema:
  15184. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  15185. "500":
  15186. description: Internal Server Error
  15187. schema:
  15188. $ref: '#/definitions/app.Response'
  15189. security:
  15190. - ApiKeyAuth: []
  15191. summary: 获取商品盘面信息
  15192. tags:
  15193. - 行情服务
  15194. /Quote/QueryTSData:
  15195. get:
  15196. parameters:
  15197. - description: 商品代码
  15198. in: query
  15199. name: goodsCode
  15200. required: true
  15201. type: string
  15202. produces:
  15203. - application/json
  15204. responses:
  15205. "200":
  15206. description: OK
  15207. schema:
  15208. $ref: '#/definitions/quote.QueryTSDataRsp'
  15209. "500":
  15210. description: Internal Server Error
  15211. schema:
  15212. $ref: '#/definitions/app.Response'
  15213. security:
  15214. - ApiKeyAuth: []
  15215. summary: 分时图数据查询
  15216. tags:
  15217. - 行情服务
  15218. /SZDZ/QueryConvertConfig:
  15219. get:
  15220. parameters:
  15221. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  15222. 6:交易转花生米(不设置)
  15223. in: query
  15224. name: convertType
  15225. type: integer
  15226. - description: 外部商品代码[JD\PD]
  15227. in: query
  15228. name: outerGoodsCode
  15229. type: string
  15230. - description: 内部商品ID列表[交易],格式:1,2,3
  15231. in: query
  15232. name: innerGoodsIDs
  15233. type: string
  15234. produces:
  15235. - application/json
  15236. responses:
  15237. "200":
  15238. description: OK
  15239. schema:
  15240. $ref: '#/definitions/models.Szdz3convertconfig'
  15241. "500":
  15242. description: Internal Server Error
  15243. schema:
  15244. $ref: '#/definitions/app.Response'
  15245. security:
  15246. - ApiKeyAuth: []
  15247. summary: 查询交易系统转换设置
  15248. tags:
  15249. - 定制【尚志大宗】
  15250. /SZDZ/QueryConvertLog:
  15251. get:
  15252. parameters:
  15253. - description: 资金账户 - 格式:1,2,3
  15254. in: query
  15255. name: accountID
  15256. required: true
  15257. type: string
  15258. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  15259. in: query
  15260. name: startDate
  15261. type: string
  15262. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  15263. in: query
  15264. name: endDate
  15265. type: string
  15266. produces:
  15267. - application/json
  15268. responses:
  15269. "200":
  15270. description: OK
  15271. schema:
  15272. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  15273. "500":
  15274. description: Internal Server Error
  15275. schema:
  15276. $ref: '#/definitions/app.Response'
  15277. security:
  15278. - ApiKeyAuth: []
  15279. summary: 交易系统转换流水查询
  15280. tags:
  15281. - 定制【尚志大宗】
  15282. /SZDZ/QueryGoodsPickup:
  15283. get:
  15284. parameters:
  15285. - description: 资金账户 - 格式:1,2,3
  15286. in: query
  15287. name: accountID
  15288. required: true
  15289. type: string
  15290. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  15291. in: query
  15292. name: takeOrderStatus
  15293. type: integer
  15294. produces:
  15295. - application/json
  15296. responses:
  15297. "200":
  15298. description: OK
  15299. schema:
  15300. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  15301. "500":
  15302. description: Internal Server Error
  15303. schema:
  15304. $ref: '#/definitions/app.Response'
  15305. security:
  15306. - ApiKeyAuth: []
  15307. summary: 商品提货单查询
  15308. tags:
  15309. - 定制【尚志大宗】
  15310. /SZDZ/QueryRecieptOrder:
  15311. get:
  15312. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  15313. parameters:
  15314. - description: 页码
  15315. in: query
  15316. name: page
  15317. type: integer
  15318. - description: 每页条数
  15319. in: query
  15320. name: pagesize
  15321. type: integer
  15322. - description: 商品ID
  15323. in: query
  15324. name: goodsID
  15325. required: true
  15326. type: integer
  15327. - description: 所属账户名称
  15328. in: query
  15329. name: accountName
  15330. type: string
  15331. - description: 市场ID
  15332. in: query
  15333. name: marketID
  15334. type: integer
  15335. - description: 方向 - 0:买 1:卖
  15336. in: query
  15337. name: buyorsell
  15338. required: true
  15339. type: integer
  15340. produces:
  15341. - application/json
  15342. responses:
  15343. "200":
  15344. description: OK
  15345. schema:
  15346. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  15347. "500":
  15348. description: Internal Server Error
  15349. schema:
  15350. $ref: '#/definitions/app.Response'
  15351. security:
  15352. - ApiKeyAuth: []
  15353. summary: 点选挂牌委托单据查询(摘牌大厅)
  15354. tags:
  15355. - 定制【尚志大宗】
  15356. /SZDZ/QuerySZDZTradePosition:
  15357. get:
  15358. parameters:
  15359. - description: 资金账户
  15360. in: query
  15361. name: accountID
  15362. required: true
  15363. type: integer
  15364. produces:
  15365. - application/json
  15366. responses:
  15367. "200":
  15368. description: OK
  15369. schema:
  15370. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  15371. "500":
  15372. description: Internal Server Error
  15373. schema:
  15374. $ref: '#/definitions/app.Response'
  15375. security:
  15376. - ApiKeyAuth: []
  15377. summary: 持仓汇总查询(尚志大宗)
  15378. tags:
  15379. - 定制【尚志大宗】
  15380. /SZDZ/SearchWhite:
  15381. get:
  15382. parameters:
  15383. - description: 用户ID
  15384. in: query
  15385. name: userID
  15386. required: true
  15387. type: integer
  15388. produces:
  15389. - application/json
  15390. responses:
  15391. "200":
  15392. description: OK
  15393. schema:
  15394. $ref: '#/definitions/models.Szdz3searchwhitelist'
  15395. "500":
  15396. description: Internal Server Error
  15397. schema:
  15398. $ref: '#/definitions/app.Response'
  15399. security:
  15400. - ApiKeyAuth: []
  15401. summary: 搜索白名单
  15402. tags:
  15403. - 定制【尚志大宗】
  15404. /Search/SearchGoodses:
  15405. get:
  15406. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  15407. parameters:
  15408. - description: 检索内容
  15409. in: query
  15410. name: content
  15411. required: true
  15412. type: string
  15413. - description: 交易模式,格式:1,2,3
  15414. in: query
  15415. name: tradeModes
  15416. type: string
  15417. produces:
  15418. - application/json
  15419. responses:
  15420. "200":
  15421. description: OK
  15422. schema:
  15423. $ref: '#/definitions/models.SearchGoods'
  15424. "500":
  15425. description: Internal Server Error
  15426. schema:
  15427. $ref: '#/definitions/app.Response'
  15428. summary: 检索商品信息
  15429. tags:
  15430. - 检索服务
  15431. /TaAccount/GetTaAccounts:
  15432. get:
  15433. parameters:
  15434. - description: 登录账户
  15435. in: query
  15436. name: loginID
  15437. required: true
  15438. type: integer
  15439. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  15440. in: query
  15441. name: taAccountType
  15442. type: integer
  15443. produces:
  15444. - application/json
  15445. responses:
  15446. "200":
  15447. description: OK
  15448. schema:
  15449. $ref: '#/definitions/models.Taaccount'
  15450. "500":
  15451. description: Internal Server Error
  15452. schema:
  15453. $ref: '#/definitions/app.Response'
  15454. security:
  15455. - ApiKeyAuth: []
  15456. summary: 获取资金账户信息
  15457. tags:
  15458. - 资金账户
  15459. /TaAccount/QueryAmountLog:
  15460. get:
  15461. parameters:
  15462. - description: 页码
  15463. in: query
  15464. name: page
  15465. type: integer
  15466. - description: 每页条数
  15467. in: query
  15468. name: pagesize
  15469. type: integer
  15470. - description: 资金账户 - 格式:1,2,3
  15471. in: query
  15472. name: accountID
  15473. required: true
  15474. type: string
  15475. - description: 资金操作类型 - 格式:1,2,3
  15476. in: query
  15477. name: OperateType
  15478. type: string
  15479. produces:
  15480. - application/json
  15481. responses:
  15482. "200":
  15483. description: OK
  15484. schema:
  15485. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  15486. "500":
  15487. description: Internal Server Error
  15488. schema:
  15489. $ref: '#/definitions/app.Response'
  15490. security:
  15491. - ApiKeyAuth: []
  15492. summary: 资金流水查询(当前)
  15493. tags:
  15494. - 资金账户
  15495. /TaAccount/QueryHisAmountLog:
  15496. get:
  15497. parameters:
  15498. - description: 页码
  15499. in: query
  15500. name: page
  15501. type: integer
  15502. - description: 每页条数
  15503. in: query
  15504. name: pagesize
  15505. type: integer
  15506. - description: 资金账户 - 格式:1,2,3
  15507. in: query
  15508. name: accountID
  15509. required: true
  15510. type: string
  15511. - description: 资金操作类型 - 格式:1,2,3
  15512. in: query
  15513. name: OperateType
  15514. type: string
  15515. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  15516. in: query
  15517. name: startDate
  15518. type: string
  15519. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  15520. in: query
  15521. name: endDate
  15522. type: string
  15523. produces:
  15524. - application/json
  15525. responses:
  15526. "200":
  15527. description: OK
  15528. schema:
  15529. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  15530. "500":
  15531. description: Internal Server Error
  15532. schema:
  15533. $ref: '#/definitions/app.Response'
  15534. security:
  15535. - ApiKeyAuth: []
  15536. summary: 资金流水查询(历史)
  15537. tags:
  15538. - 资金账户
  15539. /Trade/QueryRecieptOrder:
  15540. get:
  15541. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  15542. parameters:
  15543. - description: 页码
  15544. in: query
  15545. name: page
  15546. type: integer
  15547. - description: 每页条数
  15548. in: query
  15549. name: pagesize
  15550. type: integer
  15551. - description: 商品ID
  15552. in: query
  15553. name: goodsID
  15554. required: true
  15555. type: integer
  15556. - description: 所属账户名称
  15557. in: query
  15558. name: accountName
  15559. type: string
  15560. - description: 市场ID
  15561. in: query
  15562. name: marketID
  15563. type: integer
  15564. - description: 方向 - 0:买 1:卖
  15565. in: query
  15566. name: buyorsell
  15567. required: true
  15568. type: integer
  15569. produces:
  15570. - application/json
  15571. responses:
  15572. "200":
  15573. description: OK
  15574. schema:
  15575. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  15576. "500":
  15577. description: Internal Server Error
  15578. schema:
  15579. $ref: '#/definitions/app.Response'
  15580. security:
  15581. - ApiKeyAuth: []
  15582. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  15583. tags:
  15584. - 通用交易
  15585. /User/AddMessageBoard:
  15586. post:
  15587. parameters:
  15588. - description: 用户ID
  15589. in: query
  15590. name: userID
  15591. required: true
  15592. type: integer
  15593. - description: 留言信息
  15594. in: query
  15595. name: message
  15596. required: true
  15597. type: string
  15598. - description: 联系电话
  15599. in: query
  15600. name: contactNum
  15601. required: true
  15602. type: string
  15603. produces:
  15604. - application/json
  15605. responses:
  15606. "200":
  15607. description: OK
  15608. schema:
  15609. $ref: '#/definitions/app.Response'
  15610. "500":
  15611. description: Internal Server Error
  15612. schema:
  15613. $ref: '#/definitions/app.Response'
  15614. security:
  15615. - ApiKeyAuth: []
  15616. summary: 添加用户留言板信息
  15617. tags:
  15618. - 用户信息
  15619. /User/AddUserFavoriteGoods:
  15620. post:
  15621. parameters:
  15622. - description: 用户ID
  15623. in: query
  15624. name: userID
  15625. required: true
  15626. type: integer
  15627. - description: 商品ID
  15628. in: query
  15629. name: goodsID
  15630. required: true
  15631. type: integer
  15632. produces:
  15633. - application/json
  15634. responses:
  15635. "200":
  15636. description: OK
  15637. schema:
  15638. $ref: '#/definitions/app.Response'
  15639. "500":
  15640. description: Internal Server Error
  15641. schema:
  15642. $ref: '#/definitions/app.Response'
  15643. security:
  15644. - ApiKeyAuth: []
  15645. summary: 添加用户商品收藏信息
  15646. tags:
  15647. - 用户信息
  15648. /User/GetLoginID:
  15649. get:
  15650. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  15651. parameters:
  15652. - description: 登录代码
  15653. in: query
  15654. name: username
  15655. required: true
  15656. type: string
  15657. produces:
  15658. - application/json
  15659. responses:
  15660. "200":
  15661. description: OK
  15662. schema:
  15663. $ref: '#/definitions/app.Response'
  15664. "500":
  15665. description: Internal Server Error
  15666. schema:
  15667. $ref: '#/definitions/app.Response'
  15668. summary: 获取登录ID
  15669. tags:
  15670. - 用户信息
  15671. /User/GetUserAccount:
  15672. get:
  15673. parameters:
  15674. - description: 用户ID
  15675. in: query
  15676. name: userID
  15677. required: true
  15678. type: integer
  15679. produces:
  15680. - application/json
  15681. responses:
  15682. "200":
  15683. description: OK
  15684. schema:
  15685. $ref: '#/definitions/models.Useraccount'
  15686. "500":
  15687. description: Internal Server Error
  15688. schema:
  15689. $ref: '#/definitions/app.Response'
  15690. security:
  15691. - ApiKeyAuth: []
  15692. summary: 获取用户账号信息
  15693. tags:
  15694. - 用户信息
  15695. /User/GetUserAuthStatus:
  15696. get:
  15697. parameters:
  15698. - description: 用户ID
  15699. in: query
  15700. name: userID
  15701. required: true
  15702. type: integer
  15703. produces:
  15704. - application/json
  15705. responses:
  15706. "200":
  15707. description: OK
  15708. schema:
  15709. $ref: '#/definitions/app.Response'
  15710. "500":
  15711. description: Internal Server Error
  15712. schema:
  15713. $ref: '#/definitions/app.Response'
  15714. security:
  15715. - ApiKeyAuth: []
  15716. summary: 获取用户实名认证状态
  15717. tags:
  15718. - 用户信息
  15719. /User/LoginQuery:
  15720. get:
  15721. parameters:
  15722. - description: 登录账号
  15723. in: query
  15724. name: loginID
  15725. required: true
  15726. type: integer
  15727. produces:
  15728. - application/json
  15729. responses:
  15730. "200":
  15731. description: OK
  15732. schema:
  15733. $ref: '#/definitions/user.LoginQueryRsp'
  15734. "500":
  15735. description: Internal Server Error
  15736. schema:
  15737. $ref: '#/definitions/app.Response'
  15738. security:
  15739. - ApiKeyAuth: []
  15740. summary: 账户登录后信息查询
  15741. tags:
  15742. - 用户信息
  15743. /User/QueryMessageBoard:
  15744. get:
  15745. parameters:
  15746. - description: 用户ID
  15747. in: query
  15748. name: userID
  15749. required: true
  15750. type: integer
  15751. produces:
  15752. - application/json
  15753. responses:
  15754. "200":
  15755. description: OK
  15756. schema:
  15757. $ref: '#/definitions/models.Messageboard'
  15758. "500":
  15759. description: Internal Server Error
  15760. schema:
  15761. $ref: '#/definitions/app.Response'
  15762. security:
  15763. - ApiKeyAuth: []
  15764. summary: 获取用户留言板信息
  15765. tags:
  15766. - 用户信息
  15767. /User/QueryUserFavoriteGoodses:
  15768. get:
  15769. parameters:
  15770. - description: 用户ID
  15771. in: query
  15772. name: userID
  15773. required: true
  15774. type: integer
  15775. produces:
  15776. - application/json
  15777. responses:
  15778. "200":
  15779. description: OK
  15780. schema:
  15781. $ref: '#/definitions/models.Userfavoritegoods'
  15782. "500":
  15783. description: Internal Server Error
  15784. schema:
  15785. $ref: '#/definitions/app.Response'
  15786. security:
  15787. - ApiKeyAuth: []
  15788. summary: 获取用户商品收藏信息
  15789. tags:
  15790. - 用户信息
  15791. /User/QueryUserInfo:
  15792. get:
  15793. parameters:
  15794. - description: 用户ID
  15795. in: query
  15796. name: userID
  15797. required: true
  15798. type: integer
  15799. - description: 是否解密
  15800. in: query
  15801. name: isDecrypt
  15802. type: boolean
  15803. produces:
  15804. - application/json
  15805. responses:
  15806. "200":
  15807. description: OK
  15808. schema:
  15809. $ref: '#/definitions/models.Userinfo'
  15810. "500":
  15811. description: Internal Server Error
  15812. schema:
  15813. $ref: '#/definitions/app.Response'
  15814. security:
  15815. - ApiKeyAuth: []
  15816. summary: 获取用户信息
  15817. tags:
  15818. - 用户信息
  15819. /User/QueryUserReferNum:
  15820. get:
  15821. parameters:
  15822. - description: 用户ID
  15823. in: query
  15824. name: userID
  15825. required: true
  15826. type: integer
  15827. produces:
  15828. - application/json
  15829. responses:
  15830. "200":
  15831. description: OK
  15832. schema:
  15833. $ref: '#/definitions/app.Response'
  15834. "500":
  15835. description: Internal Server Error
  15836. schema:
  15837. $ref: '#/definitions/app.Response'
  15838. summary: 获取用户邀请码
  15839. tags:
  15840. - 用户信息
  15841. /User/RemoveUserFavoriteGoods:
  15842. post:
  15843. parameters:
  15844. - description: 用户ID
  15845. in: query
  15846. name: userID
  15847. required: true
  15848. type: integer
  15849. - description: 商品ID
  15850. in: query
  15851. name: goodsID
  15852. required: true
  15853. type: integer
  15854. produces:
  15855. - application/json
  15856. responses:
  15857. "200":
  15858. description: OK
  15859. schema:
  15860. $ref: '#/definitions/app.Response'
  15861. "500":
  15862. description: Internal Server Error
  15863. schema:
  15864. $ref: '#/definitions/app.Response'
  15865. security:
  15866. - ApiKeyAuth: []
  15867. summary: 移除用户商品收藏信息
  15868. tags:
  15869. - 用户信息
  15870. /User/UpdateUserAccountStatus:
  15871. post:
  15872. parameters:
  15873. - description: 用户ID
  15874. in: query
  15875. name: userID
  15876. required: true
  15877. type: integer
  15878. - description: 账户状态 - 4:正常 6:注销(停用)
  15879. in: query
  15880. name: accountStatus
  15881. required: true
  15882. type: integer
  15883. produces:
  15884. - application/json
  15885. responses:
  15886. "200":
  15887. description: OK
  15888. schema:
  15889. $ref: '#/definitions/app.Response'
  15890. "500":
  15891. description: Internal Server Error
  15892. schema:
  15893. $ref: '#/definitions/app.Response'
  15894. security:
  15895. - ApiKeyAuth: []
  15896. summary: 更新用户状态
  15897. tags:
  15898. - 用户信息
  15899. /WRTrade/GetAllDeliveryGoods:
  15900. get:
  15901. produces:
  15902. - application/json
  15903. - application/json
  15904. responses:
  15905. "200":
  15906. description: OK
  15907. schema:
  15908. $ref: '#/definitions/app.Response'
  15909. "500":
  15910. description: Internal Server Error
  15911. schema:
  15912. $ref: '#/definitions/app.Response'
  15913. security:
  15914. - ApiKeyAuth: []
  15915. - ApiKeyAuth: []
  15916. summary: 获取带仓单分类的种类信息
  15917. tags:
  15918. - 仓单贸易
  15919. - 仓单贸易
  15920. securityDefinitions:
  15921. ApiKeyAuth:
  15922. in: header
  15923. name: Authorization
  15924. type: apiKey
  15925. swagger: "2.0"