swagger.yaml 439 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951
  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: integer
  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. brandname:
  3799. description: 品牌名称
  3800. type: string
  3801. buypreinvoicedamount:
  3802. description: 采购预收票额(预收票额)
  3803. type: number
  3804. buyprepaidamount:
  3805. description: 采购预付款额(预付货款额)
  3806. type: number
  3807. buytodayinvoiceamount:
  3808. description: 采购今收票额(今收票额)
  3809. type: number
  3810. buytodayrefundamount:
  3811. description: 采购今收退款额(今收退款额)
  3812. type: number
  3813. buytodaysettleamount:
  3814. description: 采购今付款额(今付货款额)
  3815. type: number
  3816. buyuninvoicedamount:
  3817. description: 采购应收票额(应收票额)
  3818. type: number
  3819. buyunpaidamount:
  3820. description: 采购应付款额(应付货款额)
  3821. type: number
  3822. currencyid:
  3823. description: 结算币种ID
  3824. type: integer
  3825. currencyname:
  3826. description: 币种名称
  3827. type: string
  3828. cycletime:
  3829. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3830. type: string
  3831. cycletype:
  3832. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3833. type: integer
  3834. deliverygoodscode:
  3835. description: 现货品种代码
  3836. type: string
  3837. deliverygoodsid:
  3838. description: 现货品种ID
  3839. type: integer
  3840. deliverygoodsname:
  3841. description: 现货品种名称
  3842. type: string
  3843. reckondate:
  3844. description: 日照时期(yyyyMMdd)
  3845. type: string
  3846. sellpreinvoicedamount:
  3847. description: 销售预开票额(预开票额)
  3848. type: number
  3849. sellprepaidamount:
  3850. description: 销售预收款额(预收货款额)
  3851. type: number
  3852. selltodayinvoiceamount:
  3853. description: 销售今开票额(今开票额)
  3854. type: number
  3855. selltodayrefundamount:
  3856. description: 销售今付退款额(今付退款额)
  3857. type: number
  3858. selltodaysettleamount:
  3859. description: 销售今收款额(今收货款额)
  3860. type: number
  3861. selluninvoicedamount:
  3862. description: 销售应开票额(应开票额)
  3863. type: number
  3864. sellunpaidamount:
  3865. description: 销售应收款额(应收货款额)
  3866. type: number
  3867. spotgoodsbrandid:
  3868. description: 现货品牌ID
  3869. type: integer
  3870. todaypaysum:
  3871. description: 今付款合计
  3872. type: number
  3873. todayreceivesum:
  3874. description: 今收款合计
  3875. type: number
  3876. updatetime:
  3877. description: 更新时间
  3878. type: string
  3879. wrfactortypeid:
  3880. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  3881. type: integer
  3882. wrstandardcode:
  3883. description: 品类代码
  3884. type: string
  3885. wrstandardid:
  3886. description: 现货商品ID
  3887. type: integer
  3888. wrstandardname:
  3889. description: 品类名称
  3890. type: string
  3891. type: object
  3892. models.Ermcp3Goods:
  3893. properties:
  3894. agreeunit:
  3895. description: 合约单位(合约乘数)
  3896. type: number
  3897. enumdicname:
  3898. description: 单位名称
  3899. type: string
  3900. exexchangecode:
  3901. description: 交易所代码
  3902. type: string
  3903. goodscode:
  3904. description: 期货商品代码
  3905. type: string
  3906. goodsid:
  3907. description: 期货商品id
  3908. type: integer
  3909. goodsname:
  3910. description: 期货商品名称
  3911. type: string
  3912. type: object
  3913. models.Ermcp3GoodsGroup:
  3914. properties:
  3915. agreeunit:
  3916. description: 合约单位
  3917. type: number
  3918. areauserid:
  3919. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  3920. type: integer
  3921. canshort:
  3922. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  3923. type: integer
  3924. closepricemode:
  3925. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  3926. type: integer
  3927. createtime:
  3928. description: 创建时间
  3929. type: string
  3930. creatorid:
  3931. description: 创建人
  3932. type: integer
  3933. currencyid:
  3934. description: 报价货币ID
  3935. type: integer
  3936. decimalplace:
  3937. description: 报价小数位
  3938. type: integer
  3939. enumdicname:
  3940. description: 单位名称
  3941. type: string
  3942. excludecfg:
  3943. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  3944. type: integer
  3945. exexchangeid:
  3946. description: 外部交易所ID[通道交易]
  3947. type: integer
  3948. goodsgroupid:
  3949. description: 商品组ID(自增ID)
  3950. type: integer
  3951. goodsgroupname:
  3952. description: 商品组名称
  3953. type: string
  3954. goodsgroupstatus:
  3955. description: 商品组状态 - 1:正常 2:注销
  3956. type: integer
  3957. goodunitid:
  3958. description: 报价单位ID
  3959. type: integer
  3960. groupcategroyid:
  3961. description: 品种分类ID
  3962. type: integer
  3963. innerdealmode:
  3964. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  3965. type: integer
  3966. marketid:
  3967. description: 所属市场ID
  3968. type: integer
  3969. modifierid:
  3970. description: 修改人
  3971. type: integer
  3972. modifytime:
  3973. description: 修改时间
  3974. type: string
  3975. outerdealmode:
  3976. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  3977. type: integer
  3978. outergroupcode:
  3979. description: 外部商品组代码[通道交易]
  3980. type: string
  3981. quoteminunit:
  3982. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3983. type: integer
  3984. quotesourcegroupid:
  3985. description: 所属行情源分组ID[参考行情市场用\通道交易]
  3986. type: integer
  3987. syncgoodsqty:
  3988. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  3989. type: integer
  3990. required:
  3991. - areauserid
  3992. type: object
  3993. models.Ermcp3GoodsGroupEx:
  3994. properties:
  3995. convertratio:
  3996. description: 折算系数(品种系数)
  3997. type: number
  3998. enumdicname:
  3999. description: 单位名称
  4000. type: string
  4001. exexchangecode:
  4002. description: 交易所代码
  4003. type: string
  4004. glist:
  4005. description: 合约列表
  4006. items:
  4007. $ref: '#/definitions/models.Ermcp3Goods'
  4008. type: array
  4009. goodsgroupid:
  4010. description: 商品组id
  4011. type: integer
  4012. goodsgroupname:
  4013. description: 商品组名称
  4014. type: string
  4015. goodsunitid:
  4016. description: 单位id
  4017. type: integer
  4018. middlegoodsid:
  4019. description: 套保商品id
  4020. type: integer
  4021. type: object
  4022. models.Ermcp3HedgePlan:
  4023. properties:
  4024. accountid:
  4025. description: 资金账号
  4026. type: integer
  4027. areauserid:
  4028. description: 用户ID
  4029. type: integer
  4030. audittime:
  4031. description: 审核时间
  4032. type: string
  4033. contracttype:
  4034. description: 计划类型 - 1:采购 -1:销售
  4035. type: integer
  4036. convertfactor:
  4037. description: 标仓系数
  4038. type: number
  4039. createtime:
  4040. description: 创建时间
  4041. type: string
  4042. currencyid:
  4043. description: 币种id
  4044. type: integer
  4045. currencyname:
  4046. description: 币种名称
  4047. type: string
  4048. deliverygoodscode:
  4049. description: 现货品种代码
  4050. type: string
  4051. deliverygoodsid:
  4052. description: 现货品种ID
  4053. type: integer
  4054. deliverygoodsname:
  4055. description: 现货品种名称
  4056. type: string
  4057. enumdicname:
  4058. description: 单位名称(现货商品)
  4059. type: string
  4060. hedgeplanid:
  4061. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  4062. type: string
  4063. hedgeplanno:
  4064. description: 套保计划编号(名称)
  4065. type: string
  4066. hedgeplanstatus:
  4067. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4068. type: integer
  4069. planqty:
  4070. description: 计划数量
  4071. type: number
  4072. plantime:
  4073. description: 计划时间
  4074. type: string
  4075. producttype:
  4076. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4077. type: integer
  4078. remark:
  4079. description: 备注
  4080. type: string
  4081. spotgoodsdesc:
  4082. description: 商品型号
  4083. type: string
  4084. taaccountname:
  4085. description: 资金账号名称
  4086. type: string
  4087. tradeuserid:
  4088. description: 交易用户id
  4089. type: integer
  4090. tradeusername:
  4091. description: 交易用户名称
  4092. type: string
  4093. unitid:
  4094. description: 单位id(现货商品)
  4095. type: integer
  4096. updatetime:
  4097. description: 更新时间
  4098. type: string
  4099. wrstandardcode:
  4100. description: 品类代码
  4101. type: string
  4102. wrstandardid:
  4103. description: 品类id
  4104. type: integer
  4105. wrstandardname:
  4106. description: 品类名称
  4107. type: string
  4108. wrunitid:
  4109. description: 品类单位id
  4110. type: integer
  4111. wrunitidame:
  4112. description: 品类单位名称
  4113. type: string
  4114. type: object
  4115. models.Ermcp3MiddleGoodsDetail2:
  4116. properties:
  4117. convertratio:
  4118. description: 套保系数(折算系数)
  4119. type: number
  4120. gplist:
  4121. description: 关联商品组列表
  4122. items:
  4123. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4124. type: array
  4125. mg:
  4126. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4127. description: 套保商品信息
  4128. type: object
  4129. type: object
  4130. models.Ermcp3MiddleGoodsDetailEx:
  4131. properties:
  4132. dglist:
  4133. description: 关联的现货品种列表
  4134. items:
  4135. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  4136. type: array
  4137. gplist:
  4138. description: 关联商品组列表
  4139. items:
  4140. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4141. type: array
  4142. mg:
  4143. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4144. description: 套保商品信息
  4145. type: object
  4146. type: object
  4147. models.Ermcp3SellBuyContract:
  4148. properties:
  4149. accountid:
  4150. description: 期货账户id
  4151. type: string
  4152. accountname:
  4153. description: 账户名称
  4154. type: string
  4155. attachment:
  4156. description: 附件
  4157. type: string
  4158. audittime:
  4159. description: 审核时间
  4160. type: string
  4161. biztype:
  4162. description: 业务类型 1-套保 2-套利
  4163. type: integer
  4164. brandname:
  4165. description: 品牌名称
  4166. type: string
  4167. contracctstatus:
  4168. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4169. type: integer
  4170. contractmargin:
  4171. description: 合同保证金
  4172. type: number
  4173. contractno:
  4174. description: 合同编号
  4175. type: string
  4176. contracttype:
  4177. description: 合同类型 1-采购, -1-销售
  4178. type: integer
  4179. convertfactor:
  4180. description: 标仓系数(品类)
  4181. type: number
  4182. createtime:
  4183. description: 创建时间
  4184. type: string
  4185. currencyid:
  4186. description: 币种id
  4187. type: integer
  4188. currencyname:
  4189. description: 币种名称
  4190. type: string
  4191. daikaiamount:
  4192. description: 应收(开)票额
  4193. type: number
  4194. deliveryenddate:
  4195. description: 交割结束日
  4196. type: string
  4197. deliverygoodscode:
  4198. description: 现货品种代码
  4199. type: string
  4200. deliverygoodsid:
  4201. description: 现货商品ID
  4202. type: integer
  4203. deliverygoodsname:
  4204. description: 现货品种名称
  4205. type: string
  4206. deliverystartdate:
  4207. description: 交割开始日
  4208. type: string
  4209. enddate:
  4210. description: 点价结束日
  4211. type: string
  4212. enumdicname:
  4213. description: 单位名称
  4214. type: string
  4215. goodscode:
  4216. description: 点价商品代码
  4217. type: string
  4218. goodsid:
  4219. description: 点价商品ID
  4220. type: integer
  4221. goodsname:
  4222. description: 点价商品名称
  4223. type: string
  4224. invoiceamount:
  4225. description: 已开票额
  4226. type: number
  4227. loanamount:
  4228. description: 贷款总额=已定价额+调整金额
  4229. type: number
  4230. margin:
  4231. description: 保证金
  4232. type: number
  4233. meruserid:
  4234. description: 跟单员id
  4235. type: integer
  4236. meruserlogincode:
  4237. description: 跟单员登录代码
  4238. type: string
  4239. nickname:
  4240. description: 账户昵称
  4241. type: string
  4242. payamount:
  4243. description: 已收付额(收款或付款)
  4244. type: number
  4245. preinvoiceamount:
  4246. description: 预收(开)票额
  4247. type: number
  4248. prepayamount:
  4249. description: 预收付额
  4250. type: number
  4251. price:
  4252. description: 价格
  4253. type: number
  4254. pricedamount:
  4255. description: 已定价额
  4256. type: number
  4257. pricedavg:
  4258. description: 已点均价
  4259. type: number
  4260. pricedqty:
  4261. description: 已定价量
  4262. type: number
  4263. pricemove:
  4264. description: 升贴水
  4265. type: number
  4266. pricetype:
  4267. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4268. type: integer
  4269. producttype:
  4270. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4271. type: integer
  4272. qty:
  4273. description: 合同量
  4274. type: number
  4275. reckonadjustamount:
  4276. description: 调整金额
  4277. type: number
  4278. reckonedamount:
  4279. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  4280. type: number
  4281. reckonotheramount:
  4282. description: 其它费用
  4283. type: number
  4284. reckonrealqty:
  4285. description: 已确定量
  4286. type: number
  4287. remark:
  4288. description: 备注
  4289. type: string
  4290. saleuserid:
  4291. description: 业务员id
  4292. type: integer
  4293. saleuserlogincode:
  4294. description: 业务员登录代码
  4295. type: string
  4296. spotcontractid:
  4297. description: 合同ID
  4298. type: string
  4299. spotgoodsbrandid:
  4300. description: 现货品牌ID(DGFactoryItem表的ID)
  4301. type: integer
  4302. spotgoodsdesc:
  4303. description: 商品型号(商品规格)
  4304. type: string
  4305. startdate:
  4306. description: 点价开始日
  4307. type: string
  4308. totalamount:
  4309. description: 合计总额
  4310. type: number
  4311. tradeuserid:
  4312. description: 交易员id
  4313. type: integer
  4314. tradeuserlogincode:
  4315. description: 交易员登录代码
  4316. type: string
  4317. tradeusername:
  4318. description: 交易员名称
  4319. type: string
  4320. unpayamount:
  4321. description: 应收付款额(应支付或应收款)
  4322. type: number
  4323. unpricedqty:
  4324. description: 未定价量
  4325. type: number
  4326. unsureqty:
  4327. description: 未确定量
  4328. type: number
  4329. userid:
  4330. description: 机构ID
  4331. type: integer
  4332. wrstandardcode:
  4333. description: 品类代码
  4334. type: string
  4335. wrstandardid:
  4336. description: 品类ID
  4337. type: integer
  4338. wrstandardname:
  4339. description: 品类名称
  4340. type: string
  4341. type: object
  4342. models.Ermcp3SpotGoodsPrice:
  4343. properties:
  4344. areauserid:
  4345. description: 所属机构id
  4346. type: integer
  4347. brandname:
  4348. description: 品牌名称
  4349. type: string
  4350. currencyid:
  4351. description: 报价货币ID
  4352. type: integer
  4353. currencyname:
  4354. description: 币种名称
  4355. type: string
  4356. deliverygoodscode:
  4357. description: 现货商品代码
  4358. type: string
  4359. deliverygoodsid:
  4360. description: 现货商品id
  4361. type: integer
  4362. deliverygoodsname:
  4363. description: 现货商品名称
  4364. type: string
  4365. enumdicname:
  4366. description: 现货商品单位名称
  4367. type: string
  4368. gbenumdicname:
  4369. description: 品类单位名称
  4370. type: string
  4371. gmunitid:
  4372. description: 品类单位id
  4373. type: integer
  4374. isvalid:
  4375. description: 是否有效 - 0:无效 1:有效
  4376. type: integer
  4377. operateid:
  4378. description: 最后操作人
  4379. type: integer
  4380. operatesrc:
  4381. description: 最后操作来源 - 1:管理端 2:终端
  4382. type: integer
  4383. operatetime:
  4384. description: 最后操作时间
  4385. type: string
  4386. operatorname:
  4387. description: 操作人名称
  4388. type: string
  4389. spotgoodsbrandid:
  4390. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  4391. type: integer
  4392. spotgoodsprice:
  4393. description: 现货价格
  4394. type: number
  4395. tradedate:
  4396. description: 交易日(yyyyMMdd)
  4397. type: string
  4398. unitid:
  4399. description: 现货商品单位id
  4400. type: integer
  4401. wrstandardcode:
  4402. description: 品类代码
  4403. type: string
  4404. wrstandardid:
  4405. description: 现货品类ID(通用则为0)
  4406. type: integer
  4407. wrstandardname:
  4408. description: 品类名称
  4409. type: string
  4410. type: object
  4411. models.Ermcp3SpotGoodsPriceLog:
  4412. properties:
  4413. areauserid:
  4414. description: 所属机构id
  4415. type: integer
  4416. brandname:
  4417. description: 品牌名称
  4418. type: string
  4419. currencyid:
  4420. description: 报价货币ID
  4421. type: integer
  4422. deliverygoodscode:
  4423. description: 现货商品代码
  4424. type: string
  4425. deliverygoodsid:
  4426. description: 现货商品id
  4427. type: integer
  4428. deliverygoodsname:
  4429. description: 现货商品名称
  4430. type: string
  4431. enumdicname:
  4432. description: 现货商品单位名称
  4433. type: string
  4434. gbenumdicname:
  4435. description: 品类单位名称
  4436. type: string
  4437. gmunitid:
  4438. description: 品类单位id
  4439. type: integer
  4440. logid:
  4441. description: 日志id
  4442. type: integer
  4443. operateid:
  4444. description: 最后操作人
  4445. type: integer
  4446. operatesrc:
  4447. description: 最后操作来源 - 1:管理端 2:终端
  4448. type: integer
  4449. operatetime:
  4450. description: 最后操作时间
  4451. type: string
  4452. operatorname:
  4453. description: 操作人名称
  4454. type: string
  4455. spotgoodsbrandid:
  4456. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  4457. type: integer
  4458. spotgoodsprice:
  4459. description: 现货价格
  4460. type: number
  4461. tradedate:
  4462. description: 交易日(yyyyMMdd)
  4463. type: string
  4464. unitid:
  4465. description: 现货商品单位id
  4466. type: integer
  4467. wrstandardcode:
  4468. description: 品类代码
  4469. type: string
  4470. wrstandardid:
  4471. description: 现货品类ID(通用则为0)
  4472. type: integer
  4473. wrstandardname:
  4474. description: 品类名称
  4475. type: string
  4476. type: object
  4477. models.Ermcp3Wrstandard:
  4478. properties:
  4479. areauserid:
  4480. description: 所属机构
  4481. type: integer
  4482. convertfactor:
  4483. description: 标仓系数
  4484. type: number
  4485. createtime:
  4486. description: 创建时间
  4487. type: string
  4488. creatorid:
  4489. description: 创建人
  4490. type: integer
  4491. deliverygoodsid:
  4492. description: 现货品种ID
  4493. type: integer
  4494. enumdicname:
  4495. description: 品类单位名称
  4496. type: string
  4497. isvalid:
  4498. description: 是否有效 0-无效(停用) 1-有效(正常)
  4499. type: integer
  4500. minivalue:
  4501. description: 最小变动值
  4502. type: integer
  4503. minivaluedp:
  4504. description: 最小变动值小数位
  4505. type: integer
  4506. realminivalue:
  4507. description: 实际最小变动值
  4508. type: integer
  4509. realminivaluedp:
  4510. description: 实际最小变动值小数位
  4511. type: integer
  4512. remark:
  4513. description: 备注
  4514. type: string
  4515. unitid:
  4516. description: 品类单位ID
  4517. type: integer
  4518. updatetime:
  4519. description: 更新时间
  4520. type: string
  4521. wrstandardcode:
  4522. description: 品类代码
  4523. type: string
  4524. wrstandardid:
  4525. description: 品类ID(SEQ_WRSTANDARD)
  4526. type: integer
  4527. wrstandardname:
  4528. description: 品类名称
  4529. type: string
  4530. type: object
  4531. models.ErmcpAreaSpotDetailModel:
  4532. properties:
  4533. contracttype:
  4534. description: 合同类型 1-采购 -1-销售
  4535. type: integer
  4536. createtime:
  4537. description: 创建时间
  4538. type: string
  4539. enumdicname:
  4540. description: 现货商品单位名称
  4541. type: string
  4542. logtype:
  4543. description: 记录类型 1-套保 2-现货合同
  4544. type: integer
  4545. qty:
  4546. description: 数量
  4547. type: number
  4548. recordname:
  4549. description: 类型名称
  4550. type: string
  4551. relatedid:
  4552. description: 套保计划ID/现货合同ID
  4553. type: string
  4554. relatedno:
  4555. description: 编号
  4556. type: string
  4557. strtime:
  4558. description: 时间
  4559. type: string
  4560. wrstandardcode:
  4561. description: 现货商品代码
  4562. type: string
  4563. wrstandardname:
  4564. description: 现货商品名称
  4565. type: string
  4566. type: object
  4567. models.ErmcpAvalidGoodsGroupModel:
  4568. properties:
  4569. goodsgroupid:
  4570. description: 期货品种id
  4571. type: integer
  4572. goodsgroupname:
  4573. description: 期货品种名称
  4574. type: string
  4575. goodunitid:
  4576. description: 品种单位id
  4577. type: integer
  4578. goodunitname:
  4579. description: 品种单位名称
  4580. type: string
  4581. outergroupcode:
  4582. description: 期货品种代码
  4583. type: string
  4584. type: object
  4585. models.ErmcpBizGroupEx:
  4586. properties:
  4587. acclist:
  4588. description: 账号列表
  4589. items:
  4590. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  4591. type: array
  4592. bizgroupid:
  4593. description: 业务分组id
  4594. type: integer
  4595. biztype:
  4596. description: 业务类型 1-套保 2-套利
  4597. type: integer
  4598. wrlist:
  4599. description: 现货商品表
  4600. items:
  4601. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  4602. type: array
  4603. type: object
  4604. models.ErmcpBizGroupSpotGoods:
  4605. properties:
  4606. areauserid:
  4607. description: 所属机构id
  4608. type: integer
  4609. bizgroupid:
  4610. description: 分组id
  4611. type: integer
  4612. biztype:
  4613. description: 业务类型 1-套保 2-套利
  4614. type: integer
  4615. deliverygoodscode:
  4616. description: 现货商品代码
  4617. type: string
  4618. deliverygoodsid:
  4619. description: 现货商品id
  4620. type: integer
  4621. deliverygoodsname:
  4622. description: 现货商品名称
  4623. type: string
  4624. unitid:
  4625. description: 现货商品单位id
  4626. type: integer
  4627. type: object
  4628. models.ErmcpBizGroupTaAccount:
  4629. properties:
  4630. accountid:
  4631. description: 账号id
  4632. type: integer
  4633. accountname:
  4634. description: 账号名称
  4635. type: string
  4636. areauserid:
  4637. description: 所属机构id
  4638. type: integer
  4639. bizgroupid:
  4640. description: 业务分组id
  4641. type: integer
  4642. ismain:
  4643. description: 是否主账号 1-是 0-否
  4644. type: integer
  4645. type: object
  4646. models.ErmcpDGFactoryItem:
  4647. properties:
  4648. areauserid:
  4649. description: 用户id
  4650. type: integer
  4651. deliverygoodsid:
  4652. description: 现货品种ID
  4653. type: integer
  4654. dgfactoryitemid:
  4655. description: 选择项ID(SEQ_DGFACTORYITEM)
  4656. type: integer
  4657. dgfactoryitemtypeid:
  4658. description: 要素项类型
  4659. type: integer
  4660. dgfactoryitemvalue:
  4661. description: 要素项值(类型为仓库时填写仓库名称)
  4662. type: string
  4663. isvalid:
  4664. description: 是否有效 - 0:无效 1:有效
  4665. type: integer
  4666. orderindex:
  4667. description: 顺序
  4668. type: integer
  4669. warehouseid:
  4670. description: 仓库ID(类型为仓库时填写)
  4671. type: integer
  4672. type: object
  4673. models.ErmcpDeliveryGoods:
  4674. properties:
  4675. agreeunit:
  4676. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  4677. type: integer
  4678. areauserid:
  4679. description: 所属机构
  4680. type: integer
  4681. auditflag:
  4682. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  4683. type: integer
  4684. categoryid:
  4685. description: 类别ID(SEQ_WRCATEGORY)
  4686. type: integer
  4687. deliverygoodscode:
  4688. description: 现货品种代码
  4689. type: string
  4690. deliverygoodsid:
  4691. description: 现货品种ID(SEQ_DELIVERYGOODS)
  4692. type: integer
  4693. deliverygoodsname:
  4694. description: 现货品种名称
  4695. type: string
  4696. deliverygoodstype:
  4697. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  4698. type: integer
  4699. dgstatus:
  4700. description: 品种状态 - 作废 - 0:未激活 1:正常
  4701. type: integer
  4702. enumdicname:
  4703. description: 现货品种单位名称
  4704. type: string
  4705. goodsunitid:
  4706. description: 现货品种单位ID
  4707. type: integer
  4708. isvalid:
  4709. description: 是否有效 - 0:无效 1:有效
  4710. type: integer
  4711. qtydecimalplace:
  4712. description: 成交量小数位
  4713. type: integer
  4714. remark:
  4715. description: 备注
  4716. type: string
  4717. standardqty:
  4718. description: 标准数量(库位数量) [标准品特有]
  4719. type: integer
  4720. standardqtyrange:
  4721. description: 标准数量偏差范围 [标准品特有]
  4722. type: integer
  4723. type: object
  4724. models.ErmcpDeliveryGoodsDetail2:
  4725. properties:
  4726. convertratio:
  4727. description: 套保系数(折算系数)
  4728. type: number
  4729. data:
  4730. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  4731. description: 现货商品基本信息(交割品种)
  4732. type: object
  4733. gblist:
  4734. description: 品牌列表
  4735. items:
  4736. $ref: '#/definitions/models.Ermcp3Brand'
  4737. type: array
  4738. gmlist:
  4739. description: 品类列表(仓单标准)
  4740. items:
  4741. $ref: '#/definitions/models.Ermcp3Wrstandard'
  4742. type: array
  4743. type: object
  4744. models.ErmcpDeliveryGoodsDetailEx:
  4745. properties:
  4746. data:
  4747. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  4748. description: 现货商品基本信息(交割品种)
  4749. type: object
  4750. gblist:
  4751. description: 品牌列表
  4752. items:
  4753. $ref: '#/definitions/models.Ermcp3Brand'
  4754. type: array
  4755. gmlist:
  4756. description: 品类列表(仓单标准)
  4757. items:
  4758. $ref: '#/definitions/models.Ermcp3Wrstandard'
  4759. type: array
  4760. mgList:
  4761. description: 套保列表
  4762. items:
  4763. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  4764. type: array
  4765. type: object
  4766. models.ErmcpExposureDetailModel:
  4767. properties:
  4768. areauserid:
  4769. description: 机构ID
  4770. type: integer
  4771. changeQty:
  4772. description: 套保变动量
  4773. type: number
  4774. contracttype:
  4775. description: 现货合同类型 - 1:采购 -1:销售
  4776. type: integer
  4777. convertfactor:
  4778. description: 标仓系数
  4779. type: number
  4780. convertratio:
  4781. description: 套保系数
  4782. type: number
  4783. createtime:
  4784. description: 时间
  4785. type: string
  4786. enumdicname:
  4787. description: 现货商品单位名称
  4788. type: string
  4789. logtype:
  4790. description: 类型 - 1:套保计划 2:现货合同
  4791. type: integer
  4792. middlegoodsId:
  4793. description: 套保商品id
  4794. type: integer
  4795. middlegoodscode:
  4796. description: 套保商品代码
  4797. type: string
  4798. middlegoodsname:
  4799. description: 套保商品名称
  4800. type: string
  4801. qty:
  4802. description: 数量
  4803. type: number
  4804. relateNo:
  4805. description: 现货合同/套保计划编号
  4806. type: string
  4807. wrstandardcode:
  4808. description: 现货商品代码
  4809. type: string
  4810. wrstandardid:
  4811. description: 现货商品ID
  4812. type: integer
  4813. wrstandardname:
  4814. description: 现货商品名称
  4815. type: string
  4816. type: object
  4817. models.ErmcpExposurePostion:
  4818. properties:
  4819. agreeunit:
  4820. description: 合约单位
  4821. type: string
  4822. areauserid:
  4823. description: 所属机构id
  4824. type: integer
  4825. convertratio:
  4826. description: 期货品种系数(折算系数)
  4827. type: number
  4828. curqty:
  4829. description: 当前持仓
  4830. type: integer
  4831. diffhedgeqty:
  4832. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  4833. type: number
  4834. diffqty:
  4835. description: 持仓变动量=当前持仓-昨日持仓
  4836. type: integer
  4837. goodscode:
  4838. description: 商品代码
  4839. type: string
  4840. goodsid:
  4841. description: 商品id
  4842. type: integer
  4843. goodsname:
  4844. description: 商品名称
  4845. type: string
  4846. middlegoodsid:
  4847. description: 套保商品id
  4848. type: integer
  4849. ydqty:
  4850. description: 昨日持仓
  4851. type: integer
  4852. type: object
  4853. models.ErmcpFuturesCompany:
  4854. properties:
  4855. brokerid:
  4856. description: 经纪公司代码
  4857. type: string
  4858. channeladdress:
  4859. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  4860. type: string
  4861. channelid:
  4862. description: 对冲渠道ID
  4863. type: string
  4864. createtime:
  4865. description: 创建时间
  4866. type: string
  4867. creatorid:
  4868. description: 创建人
  4869. type: string
  4870. fcid:
  4871. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  4872. type: integer
  4873. fcname:
  4874. description: 期货公司名称
  4875. type: string
  4876. isvalid:
  4877. description: 是否有效 - 0:无效 1:有效
  4878. type: integer
  4879. mhpaddress:
  4880. description: MHP服务地址(IP:Port)
  4881. type: string
  4882. riskrulegroupid:
  4883. description: 风控规则组ID
  4884. type: string
  4885. tradefeetmpid:
  4886. description: 手续费模板ID[TradeConfigTmpType为2]
  4887. type: string
  4888. trademargintmpid:
  4889. description: 保证金模板ID [TradeConfigTmpType为1]
  4890. type: string
  4891. traderatetmpid:
  4892. description: 汇率模板ID[TradeConfigTmpType为3]
  4893. type: string
  4894. updatetime:
  4895. description: 更新时间
  4896. type: string
  4897. updatorid:
  4898. description: 更新人
  4899. type: string
  4900. type: object
  4901. models.ErmcpGGConvertCfg:
  4902. properties:
  4903. convertratio:
  4904. description: 折算系数
  4905. type: number
  4906. destgoodsgroupid:
  4907. description: 目标品种ID
  4908. type: integer
  4909. dstcode:
  4910. description: 目录品种代码
  4911. type: string
  4912. dstexchangecode:
  4913. description: 目标期货交易所
  4914. type: string
  4915. dstname:
  4916. description: 目标品种名称
  4917. type: string
  4918. dstunitid:
  4919. description: 目标品种单位ID
  4920. type: integer
  4921. dstunitidname:
  4922. description: 目标品种单位名称
  4923. type: string
  4924. modifytime:
  4925. description: 修改时间
  4926. type: string
  4927. srccode:
  4928. description: 源品种代码
  4929. type: string
  4930. srcexchangecode:
  4931. description: 源期货交易所
  4932. type: string
  4933. srcgoodsgroupid:
  4934. description: 源品种ID
  4935. type: integer
  4936. srcname:
  4937. description: 源品种名称
  4938. type: string
  4939. srcunitid:
  4940. description: 源品种单位ID
  4941. type: integer
  4942. srcunitidname:
  4943. description: 源品种单位名称
  4944. type: string
  4945. type: object
  4946. models.ErmcpGoodsBrand:
  4947. properties:
  4948. areauserid:
  4949. description: 所属机构
  4950. type: integer
  4951. brandid:
  4952. description: BrandID(SEQ_SPOTGOODSBRAND)
  4953. type: integer
  4954. brandname:
  4955. description: 品牌名称
  4956. type: string
  4957. createtime:
  4958. description: 创建时间
  4959. type: string
  4960. creatorid:
  4961. description: 创建人
  4962. type: integer
  4963. creatorsrc:
  4964. description: 创建人来源 - 1:管理端 2:终端
  4965. type: integer
  4966. deliverygoodsid:
  4967. description: 现货品种ID
  4968. type: integer
  4969. isvalid:
  4970. description: 是否有效 - 0:无效 1:有效
  4971. type: integer
  4972. updatetime:
  4973. description: 更新时间
  4974. type: string
  4975. updatorid:
  4976. description: 更新人
  4977. type: integer
  4978. updatorsrc:
  4979. description: 更新人来源 - 1:管理端 2:终端
  4980. type: integer
  4981. wrstandardid:
  4982. description: 现货商品ID
  4983. type: integer
  4984. type: object
  4985. models.ErmcpGoodsModel:
  4986. properties:
  4987. areauserid:
  4988. description: 所属机构
  4989. type: integer
  4990. convertfactor:
  4991. description: 标仓系数
  4992. type: number
  4993. createtime:
  4994. description: 创建时间
  4995. type: string
  4996. creatorid:
  4997. description: 创建人
  4998. type: integer
  4999. creatorsrc:
  5000. description: 创建人来源 - 1:管理端 2:终端
  5001. type: integer
  5002. deliverygoodsid:
  5003. description: 现货品种ID
  5004. type: integer
  5005. isvalid:
  5006. description: 是否有效 - 0:无效 1:有效
  5007. type: integer
  5008. modelid:
  5009. description: ModelID(SEQ_SPOTGOODSMODEL)
  5010. type: integer
  5011. modelname:
  5012. description: 型号名称
  5013. type: string
  5014. updatetime:
  5015. description: 更新时间
  5016. type: string
  5017. updatorid:
  5018. description: 更新人
  5019. type: integer
  5020. updatorsrc:
  5021. description: 更新人来源 - 1:管理端 2:终端
  5022. type: integer
  5023. wrstandardid:
  5024. description: 现货商品ID
  5025. type: integer
  5026. type: object
  5027. models.ErmcpHedgePosition:
  5028. properties:
  5029. accountid:
  5030. description: 资金账号[外部母账户]
  5031. type: integer
  5032. curbuyposition:
  5033. description: 期末买头寸
  5034. type: integer
  5035. cursellposition:
  5036. description: 期末卖头寸
  5037. type: integer
  5038. curtdbuyposition:
  5039. description: 期末今日买头寸
  5040. type: integer
  5041. curtdsellposition:
  5042. description: 期末今日卖头寸
  5043. type: integer
  5044. curydbuyposition:
  5045. description: 期末上日买头寸
  5046. type: integer
  5047. curydsellposition:
  5048. description: 期末上日卖头寸
  5049. type: integer
  5050. decreaseqty:
  5051. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  5052. type: integer
  5053. fretdbuyposition:
  5054. description: 冻结今日买头寸
  5055. type: integer
  5056. fretdsellposition:
  5057. description: 冻结今日卖头寸
  5058. type: integer
  5059. freydbuyposition:
  5060. description: 冻结上日买头寸
  5061. type: integer
  5062. freydsellposition:
  5063. description: 冻结上日卖头寸
  5064. type: integer
  5065. goodscode:
  5066. description: 商品代码
  5067. type: string
  5068. goodsid:
  5069. description: 商品id
  5070. type: integer
  5071. goodsname:
  5072. description: 商品名称
  5073. type: string
  5074. hedgeaccountcode:
  5075. description: 对冲账号
  5076. type: string
  5077. hedgegoodsid:
  5078. description: 对冲合约ID
  5079. type: integer
  5080. increaseqty:
  5081. description: 增加数量 = 期末买头寸 - 期初买头寸
  5082. type: integer
  5083. marketid:
  5084. description: 市场ID
  5085. type: integer
  5086. relateduserid:
  5087. description: 关联用户id
  5088. type: integer
  5089. totalcurqty:
  5090. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  5091. type: integer
  5092. totalydqty:
  5093. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  5094. type: integer
  5095. tradedate:
  5096. description: 交易日(yyyyMMdd)
  5097. type: string
  5098. ydbuyposition:
  5099. description: 期初买头寸
  5100. type: integer
  5101. ydsellposition:
  5102. description: 期初卖头寸
  5103. type: integer
  5104. type: object
  5105. models.ErmcpHedgePositionDetail:
  5106. properties:
  5107. buyorsell:
  5108. description: 买卖方向 0-买 1-卖
  5109. type: integer
  5110. channelbuildtype:
  5111. description: 开平方向 1-建仓 2-平仓
  5112. type: integer
  5113. goodscode:
  5114. description: 商品代码
  5115. type: string
  5116. goodsname:
  5117. description: 商品名称
  5118. type: string
  5119. hedgegoodsid:
  5120. description: 商品id
  5121. type: integer
  5122. tradeqty:
  5123. description: 数量(成交数量)
  5124. type: integer
  5125. tradetime:
  5126. description: 时间(成交时间)
  5127. type: string
  5128. type: object
  5129. models.ErmcpHisExposure:
  5130. properties:
  5131. needhedgeexposoure:
  5132. description: 应套保敞口
  5133. type: number
  5134. reckondate:
  5135. description: 日照时期(yyyyMMdd)
  5136. type: string
  5137. totalexposure:
  5138. description: 总敞口
  5139. type: number
  5140. type: object
  5141. models.ErmcpHisExposureS:
  5142. properties:
  5143. data:
  5144. description: 历史敞口
  5145. items:
  5146. $ref: '#/definitions/models.ErmcpHisExposure'
  5147. type: array
  5148. enumdicname:
  5149. description: 单位名称
  5150. type: string
  5151. middlegoodscode:
  5152. description: 套保品种代码
  5153. type: string
  5154. middlegoodsid:
  5155. description: 套保品种ID
  5156. type: integer
  5157. middlegoodsname:
  5158. description: 套保品种名称
  5159. type: string
  5160. type: object
  5161. models.ErmcpLoginTaAccount:
  5162. properties:
  5163. accountid:
  5164. description: 账号id
  5165. type: integer
  5166. accountname:
  5167. description: 账号名称
  5168. type: string
  5169. type: object
  5170. models.ErmcpLoginUser:
  5171. properties:
  5172. acclist:
  5173. description: 关联资金账号
  5174. items:
  5175. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  5176. type: array
  5177. accountname:
  5178. description: 用户名称
  5179. type: string
  5180. clientroleid:
  5181. description: 角色id(usertype=2)
  5182. type: integer
  5183. createtime:
  5184. description: 创建时间
  5185. type: string
  5186. logincode:
  5187. description: 登录代码
  5188. type: string
  5189. loginid:
  5190. description: 登录id(LOGINID)
  5191. type: integer
  5192. loginname:
  5193. description: 登录名称(loginaccount表中的accountname字段)
  5194. type: string
  5195. loginstatus:
  5196. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  5197. type: integer
  5198. memberuserid:
  5199. description: 所属会员id
  5200. type: integer
  5201. mobile:
  5202. description: 手机号
  5203. type: string
  5204. modifytime:
  5205. description: 修改时间
  5206. type: string
  5207. password:
  5208. description: 密码(不可解密)
  5209. type: string
  5210. rolename:
  5211. description: 角色名称
  5212. type: string
  5213. rolestatus:
  5214. description: 角色状态 1-启用 2-停用
  5215. type: integer
  5216. roletype:
  5217. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  5218. type: string
  5219. userid:
  5220. description: 用户id
  5221. type: integer
  5222. usertype:
  5223. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  5224. type: integer
  5225. type: object
  5226. models.ErmcpLoginUserEx:
  5227. properties:
  5228. accountstatus:
  5229. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  5230. type: integer
  5231. mobile:
  5232. description: 手机号
  5233. type: string
  5234. querytype:
  5235. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  5236. type: integer
  5237. roleid:
  5238. description: 角色id(交易账户->用户id)
  5239. type: integer
  5240. rolename:
  5241. description: 角色名称(交易账户->用户名称)
  5242. type: string
  5243. userlist:
  5244. description: 用户列表
  5245. items:
  5246. $ref: '#/definitions/models.ErmcpLoginUser'
  5247. type: array
  5248. usertype:
  5249. description: 用户类型 2-机构 7-企业成员(云平台)
  5250. type: integer
  5251. type: object
  5252. models.ErmcpMiddleGoodsChangeLog:
  5253. properties:
  5254. aftervalue:
  5255. description: 变更后
  5256. type: number
  5257. applyid:
  5258. description: 操作人
  5259. type: integer
  5260. applyname:
  5261. description: 操作人名称
  5262. type: string
  5263. applysrc:
  5264. description: 操作来源 - 1:管理端 2:终端
  5265. type: integer
  5266. beforevalue:
  5267. description: 变更前
  5268. type: number
  5269. changelogtype:
  5270. description: 变更流水类型 - 1:套保比率变更
  5271. type: integer
  5272. handlestatus:
  5273. description: 处理状态
  5274. type: integer
  5275. logdatetime:
  5276. description: 流水日期
  5277. type: string
  5278. logid:
  5279. description: 流水ID
  5280. type: integer
  5281. logremark:
  5282. description: 流水备注
  5283. type: string
  5284. middlegoodsid:
  5285. description: 套保品种ID
  5286. type: integer
  5287. tradedate:
  5288. description: 交易日(yyyyMMdd)
  5289. type: string
  5290. updatetime:
  5291. description: 更新时间
  5292. type: string
  5293. type: object
  5294. models.ErmcpMiddleGoodsDetail:
  5295. properties:
  5296. cvList:
  5297. description: 期货品种折算列表
  5298. items:
  5299. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  5300. type: array
  5301. mg:
  5302. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  5303. description: 套保品种基本信息
  5304. type: object
  5305. wrcList:
  5306. description: 现货品种列表(现货商品折算配置)
  5307. items:
  5308. $ref: '#/definitions/models.WRSConverTDetail'
  5309. type: array
  5310. type: object
  5311. models.ErmcpMiddleGoodsModel:
  5312. properties:
  5313. areauserid:
  5314. description: 机构用户ID
  5315. type: integer
  5316. createtime:
  5317. description: 修改时间
  5318. type: string
  5319. enumdicname:
  5320. description: 单位名称
  5321. type: string
  5322. evaluateratio:
  5323. description: 估价系数
  5324. type: number
  5325. goodsgroupid:
  5326. description: 关联期货品种ID
  5327. type: integer
  5328. goodsunitid:
  5329. description: 单位ID
  5330. type: integer
  5331. isvalid:
  5332. description: 状态 0-无效(停用) 1-有效(正常)
  5333. type: integer
  5334. middlegoodscode:
  5335. description: 套保品种代码
  5336. type: string
  5337. middlegoodsid:
  5338. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5339. type: integer
  5340. middlegoodsname:
  5341. description: 套保品种名称
  5342. type: string
  5343. modifytime:
  5344. description: 修改时间
  5345. type: string
  5346. needhedgeratio:
  5347. description: 套保比率
  5348. type: number
  5349. qtydecimalplace:
  5350. description: 数量小数位
  5351. type: integer
  5352. relatedgoodsid:
  5353. description: 关联交易商品ID
  5354. type: integer
  5355. relatedgoodstype:
  5356. description: 关联商品类型 - 1:期货合约 2:现货品种
  5357. type: integer
  5358. remark:
  5359. description: 备注
  5360. type: string
  5361. type: object
  5362. models.ErmcpOPLogModel:
  5363. properties:
  5364. aftervalue:
  5365. description: 变更后
  5366. type: number
  5367. applyid:
  5368. description: 操作人ID
  5369. type: string
  5370. applyname:
  5371. description: 操作人名称
  5372. type: string
  5373. beforevalue:
  5374. description: 变更前
  5375. type: number
  5376. biztype:
  5377. description: 业务类型 - 1:套保计划 2:现货合同
  5378. type: integer
  5379. contracttype:
  5380. description: 现货合同类型 - 1:采购 -1:销售
  5381. type: integer
  5382. logvalue:
  5383. description: 数值
  5384. type: number
  5385. operatelogtype:
  5386. description: 操作流水类型
  5387. type: integer
  5388. operatelogtypedesc:
  5389. description: 操作流水类型名称
  5390. type: string
  5391. relatedid:
  5392. description: 现货合同ID\套保计划
  5393. type: string
  5394. updatetime:
  5395. description: 更新时间
  5396. type: string
  5397. type: object
  5398. models.ErmcpPendingAudit:
  5399. properties:
  5400. areastockqty:
  5401. description: '待审核数量: 库存申请'
  5402. type: integer
  5403. businessdjqty:
  5404. description: '待审核数量: 点价'
  5405. type: integer
  5406. businessfpqty:
  5407. description: '待审核数量: 发票'
  5408. type: integer
  5409. businessjsqty:
  5410. description: '待审核数量: 结算'
  5411. type: integer
  5412. businesskxqty:
  5413. description: '待审核数量: 款项'
  5414. type: integer
  5415. hedgeplanqty:
  5416. description: '待审核数量: 套保计划'
  5417. type: integer
  5418. spotcontractqty:
  5419. description: '待审核数量: 现货合同'
  5420. type: integer
  5421. userqty:
  5422. description: '待审核数量: 用户'
  5423. type: integer
  5424. type: object
  5425. models.ErmcpRealExposureModel:
  5426. properties:
  5427. AreaUserID:
  5428. description: 所属机构
  5429. type: integer
  5430. BuyFutureQty:
  5431. description: 买入期货数量
  5432. type: number
  5433. BuyPlanQty:
  5434. description: 采购计划数量
  5435. type: number
  5436. BuyPricedQty:
  5437. description: 采购合同已定价数量
  5438. type: number
  5439. MiddleGoodsCode:
  5440. description: 套保品种代码
  5441. type: string
  5442. MiddleGoodsHedgeRatio:
  5443. description: 套保比例
  5444. type: number
  5445. MiddleGoodsID:
  5446. description: 套保品种
  5447. type: integer
  5448. MiddleGoodsName:
  5449. description: 套保品种名称
  5450. type: string
  5451. NeedHedgeExposoure:
  5452. description: 应套保敞口(套保敞口)
  5453. type: number
  5454. NeedHedgeRatio:
  5455. description: 应套保敞口比例
  5456. type: number
  5457. OriBuyFutureQty:
  5458. description: 期初买入期货数量
  5459. type: number
  5460. OriBuyPlanQty:
  5461. description: 期初采购计划数量
  5462. type: number
  5463. OriBuyPricedQty:
  5464. description: 期初采购合同已定价数量
  5465. type: number
  5466. OriSellFutureQty:
  5467. description: 期初卖出期货数量
  5468. type: number
  5469. OriSellPlanQty:
  5470. description: 期初销售计划数量
  5471. type: number
  5472. OriSellPricedQty:
  5473. description: 期初销售合同已定价数量
  5474. type: number
  5475. SellFutureQty:
  5476. description: 卖出期货数量
  5477. type: number
  5478. SellPlanQty:
  5479. description: 销售计划数量
  5480. type: number
  5481. SellPricedQty:
  5482. description: 销售合同已定价数量
  5483. type: number
  5484. TotalExposure:
  5485. description: 总敞口
  5486. type: number
  5487. TotalFutureQty:
  5488. description: 期货总量
  5489. type: number
  5490. TotalHedgeRatio:
  5491. description: 敞口比例
  5492. type: number
  5493. TotalNeedHedgeQty:
  5494. description: 应套保总量(现货应套保总量)
  5495. type: number
  5496. TotalSpotQty:
  5497. description: 现货总量
  5498. type: number
  5499. arbitrageqty:
  5500. description: 套利量
  5501. type: number
  5502. diffArbitrageQty:
  5503. description: 套利变动量
  5504. type: number
  5505. diffExposoureQty:
  5506. description: 变动量(套保敞口)
  5507. type: number
  5508. diffFutuQty:
  5509. description: 变动量(期货总量)
  5510. type: number
  5511. diffHedgeQty:
  5512. description: 套保变动量
  5513. type: number
  5514. diffQty:
  5515. description: 变动量(总敞口)
  5516. type: number
  5517. diffSpotHedgeQty:
  5518. description: 变动量(现货应套保总量)
  5519. type: number
  5520. diffSpotQty:
  5521. description: 变动量(现货总量) = 现货数量 - 期初现货数量
  5522. type: number
  5523. enumdicname:
  5524. description: 单位名称
  5525. type: string
  5526. hedgeqty:
  5527. description: 套保量
  5528. type: number
  5529. needarbitrageqty:
  5530. description: 应套利量
  5531. type: number
  5532. needarbitrageratio:
  5533. description: 套利比例
  5534. type: number
  5535. needhedgeqty:
  5536. description: 应套保量
  5537. type: number
  5538. oriTotalFutuQty:
  5539. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  5540. type: number
  5541. oriTotalSpotQty:
  5542. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  5543. type: number
  5544. oriarbitrageqty:
  5545. description: 期初套利量
  5546. type: number
  5547. orihedgeqty:
  5548. description: 期初套保量
  5549. type: number
  5550. orineedhedgeexposoure:
  5551. description: 期初套保敞口
  5552. type: number
  5553. oritotalexposure:
  5554. description: 期初总敞口
  5555. type: number
  5556. oritotalfutureqty:
  5557. description: 期初期货总量
  5558. type: number
  5559. oritotalneedhedgeqty:
  5560. description: 期初现货应套保量
  5561. type: number
  5562. type: object
  5563. models.ErmcpRole:
  5564. properties:
  5565. areauserid:
  5566. description: 所属机构
  5567. type: integer
  5568. autoid:
  5569. description: 角色ID(自增ID)
  5570. type: integer
  5571. modifierid:
  5572. description: 修改人(创建人)
  5573. type: integer
  5574. modifiername:
  5575. description: 修改人名称
  5576. type: string
  5577. modifytime:
  5578. description: 修改时间(创建时间)
  5579. type: string
  5580. rolename:
  5581. description: 角色名称
  5582. type: string
  5583. rolestatus:
  5584. description: 角色状态 - 1:启用 2:停用
  5585. type: integer
  5586. roletype:
  5587. description: 角色类型 - 1- 管理端 2- 交易端
  5588. type: integer
  5589. type: object
  5590. models.ErmcpRoleMenu:
  5591. properties:
  5592. iconame:
  5593. description: 菜单图标
  5594. type: string
  5595. ishadrole:
  5596. description: 是否有权限
  5597. type: boolean
  5598. menutype:
  5599. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  5600. type: integer
  5601. parentcode:
  5602. description: 上级资源代码
  5603. type: string
  5604. remark:
  5605. description: 菜单备注
  5606. type: string
  5607. resourcecode:
  5608. description: 菜单代码
  5609. type: string
  5610. resourcelevel:
  5611. description: 级别
  5612. type: integer
  5613. resourcename:
  5614. description: 菜单名称
  5615. type: string
  5616. roleid:
  5617. description: 角色id
  5618. type: integer
  5619. sort:
  5620. description: 排序
  5621. type: integer
  5622. url:
  5623. description: URL
  5624. type: string
  5625. userid:
  5626. description: 用户id
  5627. type: integer
  5628. type: object
  5629. models.ErmcpRoleMenuEx:
  5630. properties:
  5631. menu:
  5632. $ref: '#/definitions/models.ErmcpRoleMenu'
  5633. description: 父级菜单
  5634. type: object
  5635. subMenu:
  5636. description: 子级菜单
  5637. items:
  5638. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  5639. type: array
  5640. type: object
  5641. models.ErmcpTaAccount:
  5642. properties:
  5643. accountid:
  5644. description: 账户id
  5645. type: integer
  5646. accountname:
  5647. description: 账户名称
  5648. type: string
  5649. currencyid:
  5650. description: 币种id
  5651. type: integer
  5652. hedgeaccountcode:
  5653. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  5654. type: string
  5655. ismain:
  5656. description: 是否主账户 0-否 1-是
  5657. type: integer
  5658. parentaccountid:
  5659. description: 父账户id
  5660. type: integer
  5661. relateduserid:
  5662. description: 关联userid
  5663. type: integer
  5664. tradestatus:
  5665. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  5666. type: integer
  5667. userid:
  5668. description: 用户id
  5669. type: integer
  5670. type: object
  5671. models.ErmcpTaAccountEx:
  5672. properties:
  5673. mainAcc:
  5674. $ref: '#/definitions/models.ErmcpTaAccountM'
  5675. description: 主账号
  5676. type: object
  5677. subacclist:
  5678. description: 子账号列表
  5679. items:
  5680. $ref: '#/definitions/models.ErmcpTaAccount'
  5681. type: array
  5682. type: object
  5683. models.ErmcpTaAccountInfo:
  5684. properties:
  5685. accountid:
  5686. description: 资金账户ID
  5687. type: integer
  5688. accountname:
  5689. description: 账户名称
  5690. type: string
  5691. balance:
  5692. description: 期初余额
  5693. type: number
  5694. capitalbalance:
  5695. description: 本金余额[外部子账户实际出入金余额]
  5696. type: number
  5697. closepl:
  5698. description: 今日平仓盈亏
  5699. type: number
  5700. creditdecrease:
  5701. description: 今日授信减少
  5702. type: number
  5703. creditincrease:
  5704. description: 今日授信增加
  5705. type: number
  5706. curdebt:
  5707. description: 期末欠款
  5708. type: number
  5709. currencyid:
  5710. description: 货币ID
  5711. type: integer
  5712. currentbalance:
  5713. description: 期末余额
  5714. type: number
  5715. freezecharge:
  5716. description: 手续费冻结
  5717. type: number
  5718. freezemargin:
  5719. description: 冻结保证金
  5720. type: number
  5721. fromaccountid:
  5722. description: 所属上级账户
  5723. type: integer
  5724. inamount:
  5725. description: 今日入金金额(包括三方入金)
  5726. type: number
  5727. ismain:
  5728. description: 是否母账号 0:不是母账户 1:是母账户
  5729. type: integer
  5730. mortgagecredit:
  5731. description: 授信金额
  5732. type: number
  5733. oridebt:
  5734. description: 期初欠款
  5735. type: number
  5736. orifreezecharge:
  5737. description: 期初手续费冻结
  5738. type: number
  5739. orifreezemargin:
  5740. description: 期初冻结保证金
  5741. type: number
  5742. orimortgagecredit:
  5743. description: 期初授信金额
  5744. type: number
  5745. oriothercredit:
  5746. description: 期初其它授信金额
  5747. type: number
  5748. oriotherfreezemargin:
  5749. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  5750. type: number
  5751. orioutamountfreeze:
  5752. description: 期初出金冻结
  5753. type: number
  5754. oriusedmargin:
  5755. description: 期初占用保证金
  5756. type: number
  5757. othercredit:
  5758. description: 其它授信金额
  5759. type: number
  5760. othercreditdecrease:
  5761. description: 今日其它授信减少
  5762. type: number
  5763. othercreditincrease:
  5764. description: 今日其它授信增加
  5765. type: number
  5766. otherfreezemargin:
  5767. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  5768. type: number
  5769. outamount:
  5770. description: 今日出金金额(包括三方出金)
  5771. type: number
  5772. outamountfreeze:
  5773. description: 出金冻结
  5774. type: number
  5775. outthreshold:
  5776. description: 出金阈值
  5777. type: number
  5778. parentaccountid:
  5779. description: 所属根账号
  5780. type: integer
  5781. paycharge:
  5782. description: 今日手续费支出
  5783. type: number
  5784. relateduserid:
  5785. description: 关联用户
  5786. type: integer
  5787. signstatus:
  5788. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  5789. type: integer
  5790. sublevelpath:
  5791. description: 账号层级路径(逗号分隔,首尾加逗号)
  5792. type: string
  5793. taaccounttype:
  5794. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  5795. type: integer
  5796. thirdinamount:
  5797. description: 今日三方入金
  5798. type: number
  5799. thirdoutamount:
  5800. description: 今日三方出金
  5801. type: number
  5802. tradestatus:
  5803. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  5804. type: integer
  5805. transferamount:
  5806. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  5807. type: number
  5808. usedmargin:
  5809. description: 占用保证金
  5810. type: number
  5811. userid:
  5812. description: 用户ID
  5813. type: integer
  5814. type: object
  5815. models.ErmcpTaAccountM:
  5816. properties:
  5817. accountid:
  5818. description: 账户id
  5819. type: integer
  5820. accountname:
  5821. description: 账户名称
  5822. type: string
  5823. currencyid:
  5824. description: 币种id
  5825. type: integer
  5826. fcid:
  5827. description: 期货公司id
  5828. type: integer
  5829. fcname:
  5830. description: 期货公司代码
  5831. type: string
  5832. hedgeaccountcode:
  5833. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  5834. type: string
  5835. ismain:
  5836. description: 是否主账户 0-否 1-是
  5837. type: integer
  5838. parentaccountid:
  5839. description: 父账户id
  5840. type: integer
  5841. relateduserid:
  5842. description: 关联userid
  5843. type: integer
  5844. tradestatus:
  5845. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  5846. type: integer
  5847. userid:
  5848. description: 用户id
  5849. type: integer
  5850. type: object
  5851. models.ErmcpTradeConfigTMP:
  5852. properties:
  5853. areauserid:
  5854. description: 所属机构
  5855. type: integer
  5856. basiccurrencyid:
  5857. description: 基本币种ID[汇率] - 目标币种
  5858. type: integer
  5859. mainaccountid:
  5860. description: 主账户ID
  5861. type: integer
  5862. modifierid:
  5863. description: 修改人
  5864. type: integer
  5865. remark:
  5866. description: 备注
  5867. type: string
  5868. tradeconfigtmpid:
  5869. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  5870. type: integer
  5871. tradeconfigtmpname:
  5872. description: 交易配置模板名称
  5873. type: string
  5874. tradeconfigtmptype:
  5875. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  5876. type: integer
  5877. updatetime:
  5878. description: 更新时间
  5879. type: string
  5880. type: object
  5881. models.ErmcpUserModel:
  5882. properties:
  5883. address:
  5884. description: 通讯地址
  5885. type: string
  5886. attachment1:
  5887. description: 附件1
  5888. type: string
  5889. audittime:
  5890. description: 审核时间
  5891. type: string
  5892. cardbackphotourl:
  5893. description: 证件反面图片地址
  5894. type: string
  5895. cardfrontphotourl:
  5896. description: 证件正面图片地址
  5897. type: string
  5898. cardnum:
  5899. description: 证件号码
  5900. type: string
  5901. cardtype:
  5902. description: 证件类型
  5903. type: integer
  5904. cardtypename:
  5905. description: 证件类型名称
  5906. type: string
  5907. cityid:
  5908. description: 市
  5909. type: integer
  5910. contactname:
  5911. description: 联系人
  5912. type: string
  5913. countryid:
  5914. description: 国家
  5915. type: integer
  5916. createtime:
  5917. description: 创建时间
  5918. type: string
  5919. customername:
  5920. description: 企业名称
  5921. type: string
  5922. districtid:
  5923. description: 区域
  5924. type: integer
  5925. email:
  5926. description: 邮件
  5927. type: string
  5928. legalpersonname:
  5929. description: 法人姓名(企业)
  5930. type: string
  5931. memberuserid:
  5932. description: 所属机构ID
  5933. type: integer
  5934. mobile:
  5935. description: 手机号码
  5936. type: string
  5937. modifytime:
  5938. description: 修改时间
  5939. type: string
  5940. nickname:
  5941. description: 昵称
  5942. type: string
  5943. provinceid:
  5944. description: 省
  5945. type: integer
  5946. remark:
  5947. description: 备注
  5948. type: string
  5949. status:
  5950. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  5951. type: integer
  5952. statusdesc:
  5953. description: 账户状态中文描述
  5954. type: string
  5955. taxpayernum:
  5956. description: 纳税人识别号
  5957. type: string
  5958. telphone:
  5959. description: 联系电话
  5960. type: string
  5961. userid:
  5962. description: 用户ID
  5963. type: integer
  5964. userinfotype:
  5965. description: 客户类型
  5966. type: string
  5967. type: object
  5968. models.ErmcpWareHouseInfo:
  5969. properties:
  5970. address:
  5971. description: 详细地址
  5972. type: string
  5973. areauserid:
  5974. description: 所属机构
  5975. type: integer
  5976. autoid:
  5977. description: 自增ID(仓库ID)
  5978. type: integer
  5979. cityid:
  5980. description: 市
  5981. type: integer
  5982. contactname:
  5983. description: 联系人
  5984. type: string
  5985. contactnum:
  5986. description: 联系电话
  5987. type: string
  5988. countryid:
  5989. description: 国家
  5990. type: integer
  5991. createtime:
  5992. description: 创建时间
  5993. type: string
  5994. districtid:
  5995. description: 区
  5996. type: integer
  5997. hasvideo:
  5998. description: 是否有视频 - 0:无 1:有
  5999. type: integer
  6000. provinceid:
  6001. description: 省
  6002. type: integer
  6003. remark:
  6004. description: 审核备注
  6005. type: string
  6006. videourl:
  6007. description: 视频地址
  6008. type: string
  6009. warehousecode:
  6010. description: 仓库代码
  6011. type: string
  6012. warehousename:
  6013. description: 仓库名称
  6014. type: string
  6015. warehousestatus:
  6016. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  6017. type: integer
  6018. warehousetype:
  6019. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  6020. type: integer
  6021. type: object
  6022. models.Externalexchange:
  6023. properties:
  6024. autoid:
  6025. description: AutoID - SEQ_EXTERNALEXCHANGE
  6026. type: integer
  6027. exchangefullname:
  6028. description: 外部交易所全称
  6029. type: string
  6030. exexchangecode:
  6031. description: 外部交易所代码
  6032. type: string
  6033. exexchangename:
  6034. description: 外部交易所名称(简称)
  6035. type: string
  6036. ismarketprice:
  6037. description: 是否支持市价 - 0:不支持 1:支持
  6038. type: integer
  6039. quotegear:
  6040. description: 行情档位(1-10)
  6041. type: integer
  6042. showbrokerflag:
  6043. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  6044. type: integer
  6045. updatetime:
  6046. description: 更新时间
  6047. type: string
  6048. required:
  6049. - autoid
  6050. type: object
  6051. models.Funcmenulist:
  6052. properties:
  6053. iconame:
  6054. description: 菜单图标
  6055. type: string
  6056. menutype:
  6057. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  6058. type: integer
  6059. parentcode:
  6060. description: 上级资源代码
  6061. type: string
  6062. remark:
  6063. description: 备注
  6064. type: string
  6065. resourcecode:
  6066. description: 资源代码
  6067. type: string
  6068. resourcelevel:
  6069. description: 级别 1-一级 2-二级 3-三级 4-四级
  6070. type: integer
  6071. resourcename:
  6072. description: 资源名
  6073. type: string
  6074. sort:
  6075. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  6076. type: integer
  6077. url:
  6078. description: URL
  6079. type: string
  6080. required:
  6081. - resourcecode
  6082. type: object
  6083. models.Goods:
  6084. properties:
  6085. agreeunit:
  6086. description: 合约单位
  6087. type: number
  6088. auditaccountid:
  6089. description: 审核操作员账号
  6090. type: integer
  6091. audittime:
  6092. description: 审核时间
  6093. type: string
  6094. cancelaccountid:
  6095. description: 注销操作员账号
  6096. type: integer
  6097. canceltime:
  6098. description: 注销时间
  6099. type: string
  6100. closepricemode:
  6101. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6102. type: integer
  6103. closepriceparam:
  6104. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  6105. type: number
  6106. createtime:
  6107. description: 创建时间
  6108. type: string
  6109. creatorid:
  6110. description: 创建人
  6111. type: integer
  6112. currencyid:
  6113. description: 报价货币ID
  6114. type: integer
  6115. cutmode:
  6116. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  6117. type: integer
  6118. decimalplace:
  6119. description: 报价小数位
  6120. type: integer
  6121. delistingdate:
  6122. description: 商品退市时间(状态:退市) -- 已作废
  6123. type: string
  6124. delistingmode:
  6125. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  6126. type: integer
  6127. deliveryflag:
  6128. description: 交割标志 - 0:不可交割 1:可交割
  6129. type: integer
  6130. forceclosemode:
  6131. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  6132. type: integer
  6133. forceclosevalue:
  6134. description: 定期强平参数 [收益权]
  6135. type: integer
  6136. goodscode:
  6137. description: 商品代码(内部)
  6138. type: string
  6139. goodscurrencyid:
  6140. description: 合约货币ID
  6141. type: integer
  6142. goodsgroupid:
  6143. description: 所属商品组ID
  6144. type: integer
  6145. goodsid:
  6146. description: 商品ID(自增ID SEQ_GOODS)
  6147. type: integer
  6148. goodsname:
  6149. description: 商品名称
  6150. type: string
  6151. goodsquotetype:
  6152. description: '合约报价类型: 1-直接报价 2-间接报价'
  6153. type: integer
  6154. goodsstatus:
  6155. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  6156. type: integer
  6157. goodstradetype:
  6158. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  6159. type: integer
  6160. goodunitid:
  6161. description: 报价单位ID
  6162. type: integer
  6163. hasquoter:
  6164. description: 是否有报价商 - 0:无报价商 1:有报价商
  6165. type: integer
  6166. hqprotecttime:
  6167. description: 行情保护时间(秒)
  6168. type: integer
  6169. innerdealmode:
  6170. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6171. type: integer
  6172. isbuylimited:
  6173. description: 是否限制建仓量 - 0:不限制 1:限制
  6174. type: integer
  6175. lasttradedate:
  6176. description: 最后交易日期(状态:待退市)
  6177. type: string
  6178. listingdate:
  6179. description: 交易开始日期
  6180. type: string
  6181. marketid:
  6182. description: 所属市场ID
  6183. type: integer
  6184. modifierid:
  6185. description: 修改人
  6186. type: integer
  6187. modifystatus:
  6188. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6189. type: integer
  6190. modifytime:
  6191. description: 修改时间
  6192. type: string
  6193. outerdealmode:
  6194. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6195. type: integer
  6196. outgoodscode:
  6197. description: 商品代码(外部)
  6198. type: string
  6199. qtydecimalplace:
  6200. description: 成交量小数位
  6201. type: integer
  6202. quotegear:
  6203. description: 行情档位(1-10)
  6204. type: integer
  6205. quoteminunit:
  6206. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6207. type: integer
  6208. quoteshowtype:
  6209. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6210. type: integer
  6211. quoteshowtypeinterval:
  6212. description: 行情报价间隔时间(秒)(成交价时为0)
  6213. type: integer
  6214. remark:
  6215. description: 备注
  6216. type: string
  6217. required:
  6218. - goodscode
  6219. - goodsid
  6220. - goodsname
  6221. - marketid
  6222. type: object
  6223. models.GoodsIDAndName:
  6224. properties:
  6225. goodscode:
  6226. description: 商品代码(内部)
  6227. type: string
  6228. goodsid:
  6229. description: 商品ID(自增ID SEQ_GOODS)
  6230. type: integer
  6231. goodsname:
  6232. description: 商品名称
  6233. type: string
  6234. marketid:
  6235. description: 所属市场ID
  6236. type: integer
  6237. required:
  6238. - goodscode
  6239. - goodsid
  6240. - goodsname
  6241. - marketid
  6242. type: object
  6243. models.Goodsgroup:
  6244. properties:
  6245. agreeunit:
  6246. description: 合约单位
  6247. type: number
  6248. canshort:
  6249. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6250. type: integer
  6251. closepricemode:
  6252. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6253. type: integer
  6254. closepriceparam:
  6255. description: 强平最新价浮动比例 - 方式为2时使用
  6256. type: number
  6257. createtime:
  6258. description: 创建时间
  6259. type: string
  6260. creatorid:
  6261. description: 创建人
  6262. type: integer
  6263. currencyid:
  6264. description: 报价货币ID
  6265. type: integer
  6266. decimalplace:
  6267. description: 报价小数位
  6268. type: integer
  6269. exercisetype:
  6270. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  6271. type: integer
  6272. exexchangeid:
  6273. description: 外部交易所ID[通道交易]
  6274. type: integer
  6275. goodsgroupid:
  6276. description: 商品组ID(自增ID)
  6277. type: integer
  6278. goodsgroupname:
  6279. description: 商品组名称
  6280. type: string
  6281. goodsgroupstatus:
  6282. description: 商品组状态 - 1:正常 2:注销
  6283. type: integer
  6284. goodunitid:
  6285. description: 报价单位ID
  6286. type: integer
  6287. innerdealmode:
  6288. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6289. type: integer
  6290. isbuylimited:
  6291. description: 是否限制建仓量 - 0:不限制 1:限制
  6292. type: integer
  6293. marketid:
  6294. description: 所属市场ID
  6295. type: integer
  6296. modifierid:
  6297. description: 修改人
  6298. type: integer
  6299. modifytime:
  6300. description: 修改时间
  6301. type: string
  6302. outerdealmode:
  6303. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6304. type: integer
  6305. outergroupcode:
  6306. description: 外部商品组代码[通道交易]
  6307. type: string
  6308. premiumdecimalplace:
  6309. description: 权利金小数位[场外期权]
  6310. type: integer
  6311. premiumspreadalgorithm:
  6312. description: 权利金点差方式[场外期权] 1:比率 2:固定
  6313. type: integer
  6314. premiumspreadvalue:
  6315. description: 权利金点差值[场外期权]
  6316. type: number
  6317. qtydecimalplace:
  6318. description: 成交量小数位
  6319. type: integer
  6320. quotegear:
  6321. description: 行情档位(1-10)
  6322. type: integer
  6323. quoteminunit:
  6324. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6325. type: integer
  6326. quoterid:
  6327. description: 报价商ID[场外期权]
  6328. type: integer
  6329. quotesourcegroupid:
  6330. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6331. type: integer
  6332. syncgoodsqty:
  6333. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6334. type: integer
  6335. required:
  6336. - goodsgroupid
  6337. - goodsgroupname
  6338. - goodsgroupstatus
  6339. - marketid
  6340. type: object
  6341. models.Goodssortbypreposition:
  6342. properties:
  6343. goodscode:
  6344. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  6345. type: string
  6346. goodsgroupcode:
  6347. description: 品种代码
  6348. type: string
  6349. prepositionqty:
  6350. description: 昨持仓量
  6351. type: integer
  6352. sortindex:
  6353. description: 排序
  6354. type: integer
  6355. tradedate:
  6356. description: 交易日
  6357. type: string
  6358. updatetime:
  6359. description: 更新时间
  6360. type: string
  6361. required:
  6362. - goodscode
  6363. - tradedate
  6364. type: object
  6365. models.Hedgeinnerholderdetail:
  6366. properties:
  6367. accountid:
  6368. description: 账号ID
  6369. type: integer
  6370. buyorsell:
  6371. description: 方向 - 0:买 1:卖
  6372. type: integer
  6373. freezeqty:
  6374. description: 冻结数量 - 按单平使用
  6375. type: integer
  6376. goodsid:
  6377. description: 商品ID
  6378. type: integer
  6379. holderamount:
  6380. description: 持仓金额 [商品币种]
  6381. type: number
  6382. holderdays:
  6383. description: 剩余冻结天数
  6384. type: integer
  6385. holderprice:
  6386. description: 持仓价格
  6387. type: number
  6388. holderqty:
  6389. description: 持仓数量
  6390. type: integer
  6391. marketid:
  6392. description: 市场ID
  6393. type: integer
  6394. openprice:
  6395. description: 建仓价格
  6396. type: number
  6397. openqty:
  6398. description: 建仓数量
  6399. type: integer
  6400. parentaccountid:
  6401. description: 所属母账户
  6402. type: integer
  6403. releaseamount:
  6404. description: 释放持仓金额[商品币种]
  6405. type: number
  6406. tradeamount:
  6407. description: 成交金额[账户]
  6408. type: number
  6409. tradedate:
  6410. description: 交易日(yyyyMMdd)
  6411. type: string
  6412. tradeid:
  6413. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6414. type: string
  6415. tradetime:
  6416. description: 交易时间
  6417. type: string
  6418. required:
  6419. - buyorsell
  6420. - tradeid
  6421. type: object
  6422. models.Hedgemarketopenlog:
  6423. properties:
  6424. accountid:
  6425. description: 资金账号[外部母账户]
  6426. type: integer
  6427. fcname:
  6428. description: 期货公司名称
  6429. type: string
  6430. handlestatus:
  6431. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  6432. type: integer
  6433. marketid:
  6434. description: 市场ID
  6435. type: integer
  6436. status:
  6437. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  6438. type: integer
  6439. tradedate:
  6440. description: 交易日(yyyyMMdd)
  6441. type: string
  6442. updatetime:
  6443. description: 更新时间
  6444. type: string
  6445. required:
  6446. - accountid
  6447. type: object
  6448. models.HsbyBuyMyPayOrder:
  6449. properties:
  6450. agreeunit:
  6451. description: 合约单位
  6452. type: number
  6453. buyaccountid:
  6454. description: 买方账号ID[报价币种]
  6455. type: integer
  6456. buyorderid:
  6457. description: 买方委托单号
  6458. type: string
  6459. createtime:
  6460. description: 创建时间
  6461. type: string
  6462. currencysign:
  6463. description: 货币符号
  6464. type: string
  6465. decimalplace:
  6466. description: 报价小数位
  6467. type: integer
  6468. goodscode:
  6469. description: 商品代码(内部)
  6470. type: string
  6471. goodsid:
  6472. description: 商品ID
  6473. type: integer
  6474. goodsname:
  6475. description: 商品名称
  6476. type: string
  6477. marketid:
  6478. description: 市场ID
  6479. type: integer
  6480. offamount:
  6481. description: 优惠金额
  6482. type: number
  6483. originalamount:
  6484. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  6485. type: number
  6486. payamount:
  6487. description: 支付金额 = TradeAmount + TradeCharge
  6488. type: number
  6489. payflag:
  6490. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  6491. type: integer
  6492. paylimitedtime:
  6493. description: 支付期限
  6494. type: string
  6495. paytime:
  6496. description: 付款时间
  6497. type: string
  6498. picurls1:
  6499. description: 预售商品介绍图片[多张用逗号分隔]
  6500. type: string
  6501. picurls2:
  6502. description: 挂牌商品介绍图片[多张用逗号分隔]
  6503. type: string
  6504. sellaccountid:
  6505. description: 卖方账号ID[报价币种]
  6506. type: integer
  6507. sellorderid:
  6508. description: 卖方委托单号
  6509. type: string
  6510. tradeamount:
  6511. description: 成交金额
  6512. type: number
  6513. tradecharge:
  6514. description: 成交手续费(买方)
  6515. type: number
  6516. tradedate:
  6517. description: 交易日(yyyyMMdd)
  6518. type: string
  6519. tradeid:
  6520. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6521. type: string
  6522. trademode:
  6523. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6524. 21:竞拍-大宗式 22:受托竞价
  6525. type: integer
  6526. tradeprice:
  6527. description: 成交价格
  6528. type: number
  6529. tradeqty:
  6530. description: 成交数量
  6531. type: integer
  6532. vendorname1:
  6533. description: 预售商品供应商名称
  6534. type: string
  6535. vendorname2:
  6536. description: 挂牌商品供应商名称
  6537. type: string
  6538. required:
  6539. - goodscode
  6540. - goodsname
  6541. - tradeid
  6542. - trademode
  6543. type: object
  6544. models.HsbyBuyMyTradeDetail:
  6545. properties:
  6546. accountid:
  6547. description: 账户ID[报价币种]
  6548. type: integer
  6549. agreeunit:
  6550. description: 合约单位
  6551. type: number
  6552. amount:
  6553. description: 金额 = 价格 * 数量 * 合约单位
  6554. type: number
  6555. buyorsell:
  6556. description: 买卖 - 0:买 1:卖
  6557. type: integer
  6558. currencysign:
  6559. description: 货币符号
  6560. type: string
  6561. decimalplace:
  6562. description: 报价小数位
  6563. type: integer
  6564. goodscode:
  6565. description: 商品代码(内部)
  6566. type: string
  6567. goodsid:
  6568. description: 商品ID
  6569. type: integer
  6570. goodsname:
  6571. description: 商品名称
  6572. type: string
  6573. marketid:
  6574. description: 市场ID
  6575. type: integer
  6576. orderamount:
  6577. description: 委托金额
  6578. type: number
  6579. orderid:
  6580. description: 单号(成交单号)
  6581. type: string
  6582. picurls1:
  6583. description: 预售商品介绍图片[多张用逗号分隔]
  6584. type: string
  6585. picurls2:
  6586. description: 挂牌商品介绍图片[多张用逗号分隔]
  6587. type: string
  6588. price:
  6589. description: 价格
  6590. type: number
  6591. qty:
  6592. description: 数量
  6593. type: integer
  6594. time:
  6595. description: 时间
  6596. type: string
  6597. trademode:
  6598. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6599. 21:竞拍-大宗式 22:受托竞价
  6600. type: integer
  6601. vendorname1:
  6602. description: 预售商品供应商名称
  6603. type: string
  6604. vendorname2:
  6605. description: 挂牌商品供应商名称
  6606. type: string
  6607. required:
  6608. - accountid
  6609. - buyorsell
  6610. - goodscode
  6611. - goodsid
  6612. - goodsname
  6613. - marketid
  6614. - orderid
  6615. - qty
  6616. - time
  6617. - trademode
  6618. type: object
  6619. models.HsbyGoodsOrderDetail:
  6620. properties:
  6621. buyorsell:
  6622. description: 买卖 - 0:买 1:卖
  6623. type: integer
  6624. currencysign:
  6625. description: 货币符号
  6626. type: string
  6627. customername:
  6628. description: 客户名称(企业名称),已脱敏
  6629. type: string
  6630. enableqty:
  6631. description: 可用数量
  6632. type: integer
  6633. goodunit:
  6634. description: 报价单位
  6635. type: string
  6636. orderid:
  6637. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6638. type: string
  6639. orderprice:
  6640. description: 委托价格
  6641. type: number
  6642. ordertime:
  6643. description: 委托时间
  6644. type: string
  6645. required:
  6646. - buyorsell
  6647. - orderid
  6648. - ordertime
  6649. type: object
  6650. models.HsbyListingGoodsDetail:
  6651. properties:
  6652. agreeunit:
  6653. description: 合约单位
  6654. type: number
  6655. buymaxqty:
  6656. description: 购买上限 [71] - 0为不限
  6657. type: integer
  6658. currency:
  6659. description: 货币
  6660. type: string
  6661. currencysign:
  6662. description: 货币符号
  6663. type: string
  6664. decimalplace:
  6665. description: 报价小数位
  6666. type: integer
  6667. desccityid:
  6668. description: 目的地(市)ID
  6669. type: integer
  6670. descprovinceid:
  6671. description: 目的地(省)ID
  6672. type: integer
  6673. goodscode:
  6674. description: 商品代码(内部)
  6675. type: string
  6676. goodsdesc:
  6677. description: 商品详情
  6678. type: string
  6679. goodsid:
  6680. description: 商品ID(自增ID SEQ_GOODS)
  6681. type: integer
  6682. goodsname:
  6683. description: 商品名称
  6684. type: string
  6685. goodsprice:
  6686. description: 商品价格
  6687. type: number
  6688. hotindex:
  6689. description: 景点热度
  6690. type: integer
  6691. last:
  6692. description: 现价
  6693. type: number
  6694. limitdown:
  6695. description: 跌停价
  6696. type: number
  6697. limitup:
  6698. description: 涨停价
  6699. type: number
  6700. lotsize:
  6701. description: 手数最小变动单位
  6702. type: integer
  6703. marketid:
  6704. description: 所属市场ID
  6705. type: integer
  6706. picurls:
  6707. description: 介绍图片[多张用逗号分隔]
  6708. type: string
  6709. quoteminunit:
  6710. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6711. type: integer
  6712. stepvalue:
  6713. description: 价格最小变动单位
  6714. type: number
  6715. trademode:
  6716. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6717. 21:竞拍-大宗式 22:受托竞价
  6718. type: integer
  6719. vendorattr:
  6720. description: 供应商附件(多张,逗号分隔)
  6721. type: string
  6722. vendorname:
  6723. description: 供应商名称
  6724. type: string
  6725. vendorphone:
  6726. description: 供应商客服电话
  6727. type: string
  6728. videourls:
  6729. description: 介绍视频[多张用逗号分隔]
  6730. type: string
  6731. required:
  6732. - goodscode
  6733. - goodsid
  6734. - goodsname
  6735. - marketid
  6736. - trademode
  6737. type: object
  6738. models.HsbyMarketGoods:
  6739. properties:
  6740. accountid:
  6741. description: 账户ID[报价币种]
  6742. type: integer
  6743. agreeunit:
  6744. description: 合约单位
  6745. type: number
  6746. buyorsell:
  6747. description: 买卖 - 0:买 1:卖
  6748. type: integer
  6749. categoryid:
  6750. description: 类别ID(WRCATEGORY)
  6751. type: integer
  6752. currency:
  6753. description: 货币
  6754. type: string
  6755. currencysign:
  6756. description: 货币符号
  6757. type: string
  6758. customername:
  6759. description: 卖家名称
  6760. type: string
  6761. decimalplace:
  6762. description: 报价小数位
  6763. type: integer
  6764. goodscode:
  6765. description: 商品代码(内部)
  6766. type: string
  6767. goodsid:
  6768. description: 商品ID
  6769. type: integer
  6770. goodsname:
  6771. description: 商品名称
  6772. type: string
  6773. goodsprice:
  6774. description: 商品价格
  6775. type: number
  6776. hascoupon:
  6777. description: 是否可用优惠卷
  6778. type: boolean
  6779. hotindex:
  6780. description: 景点热度
  6781. type: integer
  6782. marketid:
  6783. description: 市场ID
  6784. type: integer
  6785. orderid:
  6786. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6787. type: string
  6788. orderprice:
  6789. description: 委托价格
  6790. type: number
  6791. orderstatus:
  6792. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  6793. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  6794. 16:成交失败违约(荷兰式竞拍专用)
  6795. type: integer
  6796. picurls:
  6797. description: 介绍图片[多张用逗号分隔]
  6798. type: string
  6799. quoteminunit:
  6800. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6801. type: integer
  6802. sellUserID:
  6803. description: 卖方UserID
  6804. type: integer
  6805. trademode:
  6806. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6807. 21:竞拍-大宗式 22:受托竞价
  6808. type: integer
  6809. videourls:
  6810. description: 介绍视频[多张用逗号分隔]
  6811. type: string
  6812. required:
  6813. - accountid
  6814. - buyorsell
  6815. - goodscode
  6816. - goodsid
  6817. - goodsname
  6818. - marketid
  6819. - orderid
  6820. - trademode
  6821. type: object
  6822. models.HsbyMarketGoodsDetail:
  6823. properties:
  6824. accountid:
  6825. description: 账户ID[报价币种]
  6826. type: integer
  6827. agreeunit:
  6828. description: 合约单位
  6829. type: number
  6830. buymaxqty:
  6831. description: 购买上限 [71] - 0为不限
  6832. type: integer
  6833. buyorsell:
  6834. description: 买卖 - 0:买 1:卖
  6835. type: integer
  6836. cancelqty:
  6837. description: 撤单数量
  6838. type: integer
  6839. categoryid:
  6840. description: 类别ID(WRCATEGORY)
  6841. type: integer
  6842. currency:
  6843. description: 货币
  6844. type: string
  6845. currencysign:
  6846. description: 货币符号
  6847. type: string
  6848. customername:
  6849. description: 卖家名称
  6850. type: string
  6851. decimalplace:
  6852. description: 报价小数位
  6853. type: integer
  6854. goodscode:
  6855. description: 商品代码(内部)
  6856. type: string
  6857. goodsdesc:
  6858. description: 商品详情
  6859. type: string
  6860. goodsid:
  6861. description: 商品ID
  6862. type: integer
  6863. goodsname:
  6864. description: 商品名称
  6865. type: string
  6866. goodsprice:
  6867. description: 商品价格
  6868. type: number
  6869. hotindex:
  6870. description: 景点热度
  6871. type: integer
  6872. lotsize:
  6873. description: 手数最小变动单位
  6874. type: integer
  6875. marketid:
  6876. description: 市场ID
  6877. type: integer
  6878. orderid:
  6879. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6880. type: string
  6881. orderprice:
  6882. description: 委托价格
  6883. type: number
  6884. orderqty:
  6885. description: 委托数量
  6886. type: integer
  6887. orderstatus:
  6888. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  6889. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  6890. 16:成交失败违约(荷兰式竞拍专用)
  6891. type: integer
  6892. picurls:
  6893. description: 介绍图片[多张用逗号分隔]
  6894. type: string
  6895. quoteminunit:
  6896. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6897. type: integer
  6898. sellUserID:
  6899. description: 卖方UserID
  6900. type: integer
  6901. trademode:
  6902. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6903. 21:竞拍-大宗式 22:受托竞价
  6904. type: integer
  6905. tradeqty:
  6906. description: 成交数量
  6907. type: integer
  6908. vendorattr:
  6909. description: 供应商附件(多张,逗号分隔)
  6910. type: string
  6911. vendorname:
  6912. description: 供应商名称
  6913. type: string
  6914. vendorphone:
  6915. description: 供应商客服电话
  6916. type: string
  6917. videourls:
  6918. description: 介绍视频[多张用逗号分隔]
  6919. type: string
  6920. required:
  6921. - accountid
  6922. - buyorsell
  6923. - goodscode
  6924. - goodsid
  6925. - goodsname
  6926. - marketid
  6927. - orderid
  6928. - orderqty
  6929. - trademode
  6930. type: object
  6931. models.HsbyMarketInfo:
  6932. properties:
  6933. marketid:
  6934. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  6935. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  6936. type: integer
  6937. marketname:
  6938. description: 市场名称
  6939. type: string
  6940. marketstatus:
  6941. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  6942. type: integer
  6943. trademode:
  6944. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6945. 21:竞拍-大宗式 22:受托竞价
  6946. type: integer
  6947. required:
  6948. - marketid
  6949. - marketstatus
  6950. - trademode
  6951. type: object
  6952. models.HsbyMyGoods:
  6953. properties:
  6954. accountid:
  6955. description: 账号Id
  6956. type: integer
  6957. agreeunit:
  6958. description: 合约单位
  6959. type: number
  6960. buyaverageprice:
  6961. description: 持仓均价
  6962. type: number
  6963. buycurholderamount:
  6964. description: 买当前持仓总金额[商品币种]
  6965. type: number
  6966. buycurpositionqty:
  6967. description: 买当前持仓总数量
  6968. type: integer
  6969. buymaxqty:
  6970. description: 购买上限 [71] - 0为不限
  6971. type: integer
  6972. currencysign:
  6973. description: 货币符号
  6974. type: string
  6975. decimalplace:
  6976. description: 报价小数位
  6977. type: integer
  6978. enableqty:
  6979. description: 可用数量
  6980. type: integer
  6981. goodscode:
  6982. description: 商品代码(内部)
  6983. type: string
  6984. goodsid:
  6985. description: 商品Id
  6986. type: integer
  6987. goodsname:
  6988. description: 商品名称
  6989. type: string
  6990. goodsprice:
  6991. description: 商品价格
  6992. type: number
  6993. goodsstatus:
  6994. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  6995. type: integer
  6996. last:
  6997. description: 现价(仅使用于挂牌点选)
  6998. type: number
  6999. limitdown:
  7000. description: 跌停价(仅使用于挂牌点选)
  7001. type: number
  7002. limitup:
  7003. description: 涨停价(仅使用于挂牌点选)
  7004. type: number
  7005. lotsize:
  7006. description: 手数最小变动单位
  7007. type: integer
  7008. marketid:
  7009. description: 所属市场ID
  7010. type: integer
  7011. picurls:
  7012. description: 介绍图片[多张用逗号分隔]
  7013. type: string
  7014. quoteminunit:
  7015. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7016. type: integer
  7017. stepvalue:
  7018. description: 价格最小变动单位
  7019. type: number
  7020. trademode:
  7021. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7022. 21:竞拍-大宗式 22:受托竞价
  7023. type: integer
  7024. required:
  7025. - accountid
  7026. - goodscode
  7027. - goodsid
  7028. - goodsname
  7029. - marketid
  7030. - trademode
  7031. type: object
  7032. models.HsbyMyPackage:
  7033. properties:
  7034. accountid:
  7035. description: 账户ID
  7036. type: integer
  7037. address:
  7038. description: 提货人详细地址
  7039. type: string
  7040. agreeunit:
  7041. description: 合约单位
  7042. type: number
  7043. amount:
  7044. description: 提货金额
  7045. type: number
  7046. auditer:
  7047. description: 审核人
  7048. type: integer
  7049. audittime:
  7050. description: 审核时间
  7051. type: string
  7052. averageprice:
  7053. description: 均价
  7054. type: number
  7055. cardnum:
  7056. description: 提货人证件号码
  7057. type: string
  7058. cardtypeid:
  7059. description: 提货人证件类型
  7060. type: integer
  7061. checkremark:
  7062. description: 审核备注
  7063. type: string
  7064. currencysign:
  7065. description: 货币符号
  7066. type: string
  7067. decimalplace:
  7068. description: 报价小数位
  7069. type: integer
  7070. goodscode:
  7071. description: 商品代码(内部)
  7072. type: string
  7073. goodsid:
  7074. description: 商品ID
  7075. type: integer
  7076. goodsname:
  7077. description: 商品名称
  7078. type: string
  7079. handlestatus:
  7080. description: 处理状态
  7081. type: integer
  7082. marketid:
  7083. description: 市场ID
  7084. type: integer
  7085. phonenum:
  7086. description: 提货人联系方式
  7087. type: string
  7088. picurls:
  7089. description: 介绍图片[多张用逗号分隔]
  7090. type: string
  7091. qty:
  7092. description: 提货数量
  7093. type: number
  7094. recivername:
  7095. description: 提货人姓名
  7096. type: string
  7097. reqtime:
  7098. description: 更新时间
  7099. type: string
  7100. takemode:
  7101. description: 提货方式 - 2:自提 3:配送
  7102. type: integer
  7103. takeorderid:
  7104. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  7105. type: string
  7106. takeorderstatus:
  7107. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  7108. type: integer
  7109. takeremark:
  7110. description: 提货备注
  7111. type: string
  7112. tradedate:
  7113. description: 交易日(yyyyMMdd)
  7114. type: string
  7115. trademode:
  7116. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7117. 21:竞拍-大宗式 22:受托竞价
  7118. type: integer
  7119. userid:
  7120. description: 用户ID
  7121. type: integer
  7122. vendorname:
  7123. description: 供应商名称
  7124. type: string
  7125. required:
  7126. - goodscode
  7127. - goodsname
  7128. - takeorderid
  7129. - trademode
  7130. type: object
  7131. models.HsbyPreGoods:
  7132. properties:
  7133. agreeunit:
  7134. description: 合约单位
  7135. type: number
  7136. currency:
  7137. description: 货币
  7138. type: string
  7139. currencysign:
  7140. description: 货币符号
  7141. type: string
  7142. decimalplace:
  7143. description: 报价小数位
  7144. type: integer
  7145. desccityid:
  7146. description: 目的地(市)
  7147. type: integer
  7148. descprovinceid:
  7149. description: 目的地(省)
  7150. type: integer
  7151. enableqty:
  7152. description: 剩余数量
  7153. type: integer
  7154. goodscode:
  7155. description: 商品代码(内部)
  7156. type: string
  7157. goodsid:
  7158. description: 商品ID(自增ID SEQ_GOODS)
  7159. type: integer
  7160. goodsname:
  7161. description: 商品名称
  7162. type: string
  7163. goodsstatus:
  7164. description: 商品状态- 2:未上市 3:上市
  7165. type: integer
  7166. lasttradedate:
  7167. description: 最后交易日期(状态:待退市)
  7168. type: string
  7169. listingdate:
  7170. description: 交易开始日期
  7171. type: string
  7172. marketid:
  7173. description: 所属市场ID
  7174. type: integer
  7175. picurls:
  7176. description: 介绍图片[多张用逗号分隔]
  7177. type: string
  7178. presaledqty:
  7179. description: 已预售量(预售结束时更新)
  7180. type: integer
  7181. presaleqty:
  7182. description: 预售数量
  7183. type: integer
  7184. quoteminunit:
  7185. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7186. type: integer
  7187. refprice:
  7188. description: 参考价格[一口价]
  7189. type: number
  7190. relatedgoodsid:
  7191. description: 关联交易合约ID
  7192. type: integer
  7193. trademode:
  7194. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7195. 21:竞拍-大宗式 22:受托竞价
  7196. type: integer
  7197. videourls:
  7198. description: 介绍视频[多张用逗号分隔]
  7199. type: string
  7200. required:
  7201. - goodscode
  7202. - goodsid
  7203. - goodsname
  7204. - marketid
  7205. - trademode
  7206. type: object
  7207. models.HsbyPreGoodsDetail:
  7208. properties:
  7209. agreeunit:
  7210. description: 合约单位
  7211. type: number
  7212. buymaxqty:
  7213. description: 购买上限 [71] - 0为不限
  7214. type: integer
  7215. currency:
  7216. description: 货币
  7217. type: string
  7218. currencysign:
  7219. description: 货币符号
  7220. type: string
  7221. customername:
  7222. description: 发行单位
  7223. type: string
  7224. decimalplace:
  7225. description: 报价小数位
  7226. type: integer
  7227. desccityid:
  7228. description: 目的地(市)ID
  7229. type: integer
  7230. descprovinceid:
  7231. description: 目的地(省)ID
  7232. type: integer
  7233. enableqty:
  7234. description: 剩余数量
  7235. type: integer
  7236. goodscode:
  7237. description: 商品代码(内部)
  7238. type: string
  7239. goodsdesc:
  7240. description: 商品详情
  7241. type: string
  7242. goodsid:
  7243. description: 商品ID(自增ID SEQ_GOODS)
  7244. type: integer
  7245. goodsname:
  7246. description: 商品名称
  7247. type: string
  7248. goodsstatus:
  7249. description: 商品状态- 2:未上市 3:上市
  7250. type: integer
  7251. goodunit:
  7252. description: 报价单位
  7253. type: string
  7254. lasttradedate:
  7255. description: 最后交易日期(状态:待退市)
  7256. type: string
  7257. listingdate:
  7258. description: 交易开始日期
  7259. type: string
  7260. lotsize:
  7261. description: 手数最小变动单位
  7262. type: integer
  7263. marketid:
  7264. description: 所属市场ID
  7265. type: integer
  7266. picurls:
  7267. description: 介绍图片[多张用逗号分隔]
  7268. type: string
  7269. presaledqty:
  7270. description: 已预售量(预售结束时更新)
  7271. type: integer
  7272. presaleqty:
  7273. description: 预售数量
  7274. type: integer
  7275. quoteminunit:
  7276. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7277. type: integer
  7278. refprice:
  7279. description: 参考价格[一口价]
  7280. type: number
  7281. relatedgoodsid:
  7282. description: 关联交易合约ID
  7283. type: integer
  7284. stepvalue:
  7285. description: 价格最小变动单位
  7286. type: number
  7287. trademode:
  7288. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7289. 21:竞拍-大宗式 22:受托竞价
  7290. type: integer
  7291. vendorattr:
  7292. description: 供应商附件(多张,逗号分隔)
  7293. type: string
  7294. vendorname:
  7295. description: 供应商名称
  7296. type: string
  7297. vendorphone:
  7298. description: 供应商客服电话
  7299. type: string
  7300. videourls:
  7301. description: 介绍视频[多张用逗号分隔]
  7302. type: string
  7303. required:
  7304. - goodscode
  7305. - goodsid
  7306. - goodsname
  7307. - marketid
  7308. - trademode
  7309. type: object
  7310. models.HsbySellCollectionOrder:
  7311. properties:
  7312. agreeunit:
  7313. description: 合约单位
  7314. type: number
  7315. buyaccountid:
  7316. description: 买方账号ID[报价币种]
  7317. type: integer
  7318. buyorderid:
  7319. description: 买方委托单号
  7320. type: string
  7321. createtime:
  7322. description: 创建时间
  7323. type: string
  7324. currencysign:
  7325. description: 货币符号
  7326. type: string
  7327. decimalplace:
  7328. description: 报价小数位
  7329. type: integer
  7330. goodscode:
  7331. description: 商品代码(内部)
  7332. type: string
  7333. goodsid:
  7334. description: 商品ID
  7335. type: integer
  7336. goodsname:
  7337. description: 商品名称
  7338. type: string
  7339. marketid:
  7340. description: 市场ID
  7341. type: integer
  7342. offamount:
  7343. description: 优惠金额
  7344. type: number
  7345. payamount:
  7346. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  7347. type: number
  7348. payflag:
  7349. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7350. type: integer
  7351. paylimitedtime:
  7352. description: 支付期限
  7353. type: string
  7354. paytime:
  7355. description: 付款时间
  7356. type: string
  7357. picurls:
  7358. description: 商品介绍图片[多张用逗号分隔]
  7359. type: string
  7360. sellaccountid:
  7361. description: 卖方账号ID[报价币种]
  7362. type: integer
  7363. sellorderid:
  7364. description: 卖方委托单号
  7365. type: string
  7366. tradeamount:
  7367. description: 成交金额
  7368. type: number
  7369. tradecharge:
  7370. description: 成交手续费(买方)
  7371. type: number
  7372. tradedate:
  7373. description: 交易日(yyyyMMdd)
  7374. type: string
  7375. tradeid:
  7376. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7377. type: string
  7378. trademode:
  7379. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7380. 21:竞拍-大宗式 22:受托竞价
  7381. type: integer
  7382. tradeprice:
  7383. description: 成交价格
  7384. type: number
  7385. tradeqty:
  7386. description: 成交数量
  7387. type: integer
  7388. required:
  7389. - goodscode
  7390. - goodsname
  7391. - tradeid
  7392. - trademode
  7393. type: object
  7394. models.HsbySellMyDetail:
  7395. properties:
  7396. accountid:
  7397. description: 账户ID[报价币种]
  7398. type: integer
  7399. agreeunit:
  7400. description: 合约单位
  7401. type: number
  7402. buyorsell:
  7403. description: 买卖 - 0:买 1:卖
  7404. type: integer
  7405. currencysign:
  7406. description: 货币符号
  7407. type: string
  7408. decimalplace:
  7409. description: 报价小数位
  7410. type: integer
  7411. goodscode:
  7412. description: 商品代码(内部)
  7413. type: string
  7414. goodsid:
  7415. description: 商品ID
  7416. type: integer
  7417. goodsname:
  7418. description: 商品名称
  7419. type: string
  7420. marketid:
  7421. description: 市场ID
  7422. type: integer
  7423. orderid:
  7424. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  7425. type: string
  7426. ordertype:
  7427. description: 单据类型:0 - 发布中, 1 - 已完成
  7428. type: integer
  7429. picurls:
  7430. description: 介绍图片[多张用逗号分隔]
  7431. type: string
  7432. price:
  7433. description: 价格
  7434. type: number
  7435. qty:
  7436. description: 数量
  7437. type: integer
  7438. time:
  7439. description: 时间
  7440. type: string
  7441. trademode:
  7442. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7443. 21:竞拍-大宗式 22:受托竞价
  7444. type: integer
  7445. vendorname:
  7446. description: 供应商名称
  7447. type: string
  7448. required:
  7449. - accountid
  7450. - buyorsell
  7451. - goodscode
  7452. - goodsid
  7453. - goodsname
  7454. - marketid
  7455. - orderid
  7456. - time
  7457. - trademode
  7458. type: object
  7459. models.HsbyTopGoods:
  7460. properties:
  7461. agreeunit:
  7462. description: 合约单位
  7463. type: number
  7464. currency:
  7465. description: 货币
  7466. type: string
  7467. currencysign:
  7468. description: 货币符号
  7469. type: string
  7470. decimalplace:
  7471. description: 报价小数位
  7472. type: integer
  7473. desccityid:
  7474. description: 目的地(市)
  7475. type: integer
  7476. descprovinceid:
  7477. description: 目的地(省)
  7478. type: integer
  7479. goodscode:
  7480. description: 商品代码(内部)
  7481. type: string
  7482. goodsid:
  7483. description: 商品ID(自增ID SEQ_GOODS)
  7484. type: integer
  7485. goodsname:
  7486. description: 商品名称
  7487. type: string
  7488. hotindex:
  7489. description: 景点热度
  7490. type: integer
  7491. last:
  7492. description: 现价
  7493. type: number
  7494. marketid:
  7495. description: 所属市场ID
  7496. type: integer
  7497. picurls:
  7498. description: 介绍图片[多张用逗号分隔]
  7499. type: string
  7500. quoteminunit:
  7501. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7502. type: integer
  7503. trademode:
  7504. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7505. 21:竞拍-大宗式 22:受托竞价
  7506. type: integer
  7507. videourls:
  7508. description: 介绍视频[多张用逗号分隔]
  7509. type: string
  7510. required:
  7511. - goodscode
  7512. - goodsid
  7513. - goodsname
  7514. - marketid
  7515. - trademode
  7516. type: object
  7517. models.HybsMyBuyOrderDetail:
  7518. properties:
  7519. accountid:
  7520. description: 账户ID[报价币种]
  7521. type: integer
  7522. agreeunit:
  7523. description: 合约单位
  7524. type: number
  7525. buyorsell:
  7526. description: 买卖 - 0:买 1:卖
  7527. type: integer
  7528. cancelqty:
  7529. description: 撤单数量
  7530. type: integer
  7531. currencysign:
  7532. description: 货币符号
  7533. type: string
  7534. decimalplace:
  7535. description: 报价小数位
  7536. type: integer
  7537. goodscode:
  7538. description: 商品代码(内部)
  7539. type: string
  7540. goodsid:
  7541. description: 商品ID
  7542. type: integer
  7543. goodsname:
  7544. description: 商品名称
  7545. type: string
  7546. listingselecttype:
  7547. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  7548. type: integer
  7549. marketid:
  7550. description: 市场ID
  7551. type: integer
  7552. mybuystatus:
  7553. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  7554. type: integer
  7555. orderamount:
  7556. description: 委托金额
  7557. type: number
  7558. orderid:
  7559. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7560. type: string
  7561. orderprice:
  7562. description: 委托价格
  7563. type: number
  7564. orderqty:
  7565. description: 委托数量
  7566. type: integer
  7567. orderstatus:
  7568. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7569. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7570. 16:成交失败违约(荷兰式竞拍专用)
  7571. type: integer
  7572. ordertime:
  7573. description: 委托时间
  7574. type: string
  7575. picurls1:
  7576. description: 预售商品介绍图片[多张用逗号分隔]
  7577. type: string
  7578. picurls2:
  7579. description: 挂牌商品介绍图片[多张用逗号分隔]
  7580. type: string
  7581. trademode:
  7582. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7583. 21:竞拍-大宗式 22:受托竞价
  7584. type: integer
  7585. tradeqty:
  7586. description: 成交数量
  7587. type: integer
  7588. vendorname1:
  7589. description: 预售商品供应商名称
  7590. type: string
  7591. vendorname2:
  7592. description: 挂牌商品供应商名称
  7593. type: string
  7594. required:
  7595. - accountid
  7596. - buyorsell
  7597. - goodscode
  7598. - goodsid
  7599. - goodsname
  7600. - marketid
  7601. - orderid
  7602. - orderqty
  7603. - ordertime
  7604. - trademode
  7605. type: object
  7606. models.Loginaccount:
  7607. properties:
  7608. canoutin:
  7609. description: 是否可出入金 - 0:不可 1:可
  7610. type: integer
  7611. clientroleid:
  7612. description: 终端角色ID
  7613. type: integer
  7614. haslogined:
  7615. description: 是否已登录 - 0:未登录 1:已登录
  7616. type: integer
  7617. hasupdatedpwd:
  7618. description: 是否已更改密码 - 0:未修改 1:已修改
  7619. type: integer
  7620. lastloginip:
  7621. description: 最新登录地址
  7622. type: string
  7623. lastloginmode:
  7624. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  7625. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  7626. type: integer
  7627. lastloginremark:
  7628. description: 最新登录描述
  7629. type: string
  7630. lastlogintime:
  7631. description: 最新登录时间
  7632. type: string
  7633. logincode:
  7634. description: 登录代码
  7635. type: string
  7636. loginfailnum:
  7637. description: 连续登录失败次数(登录成功时清零)
  7638. type: integer
  7639. loginid:
  7640. description: 登陆账号
  7641. type: integer
  7642. loginport:
  7643. description: 最新登录端口
  7644. type: integer
  7645. loginstatus:
  7646. description: 登录账号状态 1:正常 2:冻结 3:无效
  7647. type: integer
  7648. loginusertype:
  7649. description: 登录账号类型 - 1:投资者 2:机构交易员
  7650. type: integer
  7651. modifierid:
  7652. description: 修改人
  7653. type: integer
  7654. modifytime:
  7655. description: 修改时间
  7656. type: string
  7657. pwdwrongcount:
  7658. description: 密码错误次数
  7659. type: integer
  7660. taaccountrighttype:
  7661. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  7662. type: integer
  7663. unfreezetime:
  7664. description: 账户解冻时间
  7665. type: string
  7666. userid:
  7667. description: 用户ID
  7668. type: integer
  7669. required:
  7670. - loginid
  7671. type: object
  7672. models.MainAccountInfo:
  7673. properties:
  7674. accountid:
  7675. description: 账号id
  7676. type: integer
  7677. accountname:
  7678. description: 账号名称(taaccount表中的名称)
  7679. type: string
  7680. appid:
  7681. description: AppID
  7682. type: string
  7683. authcode:
  7684. description: 授权码
  7685. type: string
  7686. brokerid:
  7687. description: 经纪商id
  7688. type: string
  7689. fcid:
  7690. description: 期货公司id
  7691. type: integer
  7692. fcname:
  7693. description: 期货公司代码
  7694. type: string
  7695. hedgeaccountcode:
  7696. description: 外部账号代码(主账号登录代码)
  7697. type: string
  7698. hedgeaccountpwd:
  7699. description: 密码
  7700. type: string
  7701. ismain:
  7702. description: 是否主账号
  7703. type: integer
  7704. relateduserid:
  7705. description: 关联用户id
  7706. type: integer
  7707. userid:
  7708. description: 关联用户id
  7709. type: integer
  7710. type: object
  7711. models.Market:
  7712. properties:
  7713. auctionwrtype:
  7714. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  7715. type: integer
  7716. canacceptquote:
  7717. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  7718. type: integer
  7719. cangoodsexercise:
  7720. description: '[期权]是否可现货行权- 0:否 1:是'
  7721. type: integer
  7722. cangoodsexercisetype:
  7723. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  7724. type: integer
  7725. canmanualquotestrike:
  7726. description: 是否可手动报行权价- 0:否 1:是 [期权]
  7727. type: integer
  7728. canmutistage:
  7729. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  7730. type: integer
  7731. canpreexercise:
  7732. description: '[期权]是否可预申报- 0:否 1:是'
  7733. type: integer
  7734. clearinterval:
  7735. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  7736. type: integer
  7737. contracttmp:
  7738. description: 合同模板[荷兰式][竞价式][仓单贸易]
  7739. type: string
  7740. exchareaid:
  7741. description: 所属交易所,可以没有
  7742. type: integer
  7743. goodstype:
  7744. description: 商品类型 - 1:交易商品 2:仓单商品
  7745. type: integer
  7746. hasrebate:
  7747. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  7748. type: integer
  7749. hastradecredit:
  7750. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  7751. type: integer
  7752. haswr:
  7753. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  7754. type: integer
  7755. isdeductmargin:
  7756. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  7757. type: integer
  7758. isrecordsource:
  7759. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  7760. type: integer
  7761. isreleasemargin:
  7762. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  7763. type: integer
  7764. marginformula:
  7765. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  7766. type: integer
  7767. marginformula2:
  7768. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  7769. type: integer
  7770. marketid:
  7771. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  7772. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  7773. type: integer
  7774. marketname:
  7775. description: 市场名称
  7776. type: string
  7777. marketserviceid:
  7778. description: 市场服务ID
  7779. type: integer
  7780. marketstatus:
  7781. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  7782. type: integer
  7783. markettype:
  7784. description: 市场类型- 1:非交易服务 2:交易服务
  7785. type: integer
  7786. matchermode:
  7787. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  7788. type: integer
  7789. openmethod:
  7790. description: 开盘模式 - 0 自动 1手动
  7791. type: integer
  7792. otcuserid:
  7793. description: 场外期权做市商[场外期权]
  7794. type: integer
  7795. outersynctime:
  7796. description: 外部同步时间点(h24:mi:ss)[场外期权]
  7797. type: string
  7798. pendingflag:
  7799. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  7800. type: integer
  7801. pendingtime:
  7802. description: 待开市时间[通道交易-对冲](HH:mm)
  7803. type: string
  7804. performancetempid:
  7805. description: 履约计划模板ID - 作废
  7806. type: integer
  7807. premiumquotemode:
  7808. description: 权利金报价方式 - 1:自动 2:手动
  7809. type: integer
  7810. rebateratio:
  7811. description: 返利比率[竞价式]
  7812. type: number
  7813. reckonorder:
  7814. description: 结算顺序
  7815. type: integer
  7816. reckonpricealgorithm:
  7817. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  7818. 6.卖一价 7.买一卖一均价 8.外部结算价'
  7819. type: integer
  7820. reckonpriceparam:
  7821. description: 结算价参数
  7822. type: integer
  7823. reckontime:
  7824. description: 结算时间[通道交易-对冲](HH:mm)
  7825. type: string
  7826. roleprioritytype:
  7827. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  7828. type: integer
  7829. selllistingauditflag:
  7830. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  7831. type: integer
  7832. trademarkettype:
  7833. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  7834. type: integer
  7835. trademode:
  7836. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7837. 21:竞拍-大宗式 22:受托竞价
  7838. type: integer
  7839. tradeproperty:
  7840. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  7841. 8:场外期权
  7842. type: integer
  7843. tradetype:
  7844. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  7845. type: integer
  7846. required:
  7847. - marketid
  7848. - marketstatus
  7849. - openmethod
  7850. - reckonpricealgorithm
  7851. - trademode
  7852. - tradeproperty
  7853. type: object
  7854. models.Marketrun:
  7855. properties:
  7856. afternexttradedate:
  7857. description: 下下交易日
  7858. type: string
  7859. clearquoteflag:
  7860. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  7861. type: integer
  7862. lastreckondate:
  7863. description: 最新交易日(结算成功)
  7864. type: string
  7865. machinedate:
  7866. description: 机器时间
  7867. type: string
  7868. manualflag:
  7869. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  7870. type: integer
  7871. marketid:
  7872. description: 市场ID
  7873. type: integer
  7874. nexttradedate:
  7875. description: 下一交易日
  7876. type: string
  7877. pretradedate:
  7878. description: 上一交易日
  7879. type: string
  7880. reckonflag:
  7881. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  7882. type: integer
  7883. runstatus:
  7884. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  7885. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  7886. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  7887. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  7888. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  7889. 62.今日免清算
  7890. type: integer
  7891. sectionid:
  7892. description: 时间段号[多时段时用]
  7893. type: integer
  7894. tradedate:
  7895. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  7896. type: string
  7897. tradedate2:
  7898. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  7899. type: string
  7900. updatetime:
  7901. description: 更新时间
  7902. type: string
  7903. required:
  7904. - marketid
  7905. - nexttradedate
  7906. - reckonflag
  7907. - runstatus
  7908. - tradedate
  7909. - tradedate2
  7910. type: object
  7911. models.Messageboard:
  7912. properties:
  7913. contactnum:
  7914. description: 联系电话
  7915. type: string
  7916. createtime:
  7917. description: 创建时间
  7918. type: string
  7919. message:
  7920. description: 留言信息
  7921. type: string
  7922. messageboardid:
  7923. description: 留言簿ID(SEQ_MessageBoard)
  7924. type: integer
  7925. userid:
  7926. description: 用户ID
  7927. type: integer
  7928. required:
  7929. - messageboardid
  7930. type: object
  7931. models.MyCoupon:
  7932. properties:
  7933. accountid:
  7934. description: 资金账户ID
  7935. type: integer
  7936. areauserid:
  7937. description: 所属机构
  7938. type: integer
  7939. conditionvalue:
  7940. description: 条件阈值(可为0)
  7941. type: number
  7942. couponcategroy:
  7943. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  7944. type: integer
  7945. couponname:
  7946. description: 优惠券名称
  7947. type: string
  7948. coupontypeid:
  7949. description: 优惠券类型ID
  7950. type: string
  7951. couponvalue:
  7952. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  7953. type: number
  7954. curfreezeqty:
  7955. description: 期末冻结数量
  7956. type: integer
  7957. curqty:
  7958. description: 期末数量
  7959. type: integer
  7960. isgeneral:
  7961. description: 是否通用券 - 0:否 1:是
  7962. type: integer
  7963. isunusable:
  7964. description: 是否不可用
  7965. type: boolean
  7966. limitedflag:
  7967. description: 是否指定商品 - 0:不限 1:限制
  7968. type: integer
  7969. limitedgoodsids:
  7970. description: 指定商品IDs[逗号分隔,前后加逗号]
  7971. type: string
  7972. orifreezeqty:
  7973. description: 期初冻结数量
  7974. type: integer
  7975. oriqty:
  7976. description: 期初数量
  7977. type: integer
  7978. reasontype:
  7979. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  7980. type: integer
  7981. todaydecrease:
  7982. description: 今日减少
  7983. type: integer
  7984. todayincrease:
  7985. description: 今日增加
  7986. type: integer
  7987. userid:
  7988. description: 用户ID
  7989. type: integer
  7990. userscope:
  7991. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  7992. type: string
  7993. required:
  7994. - accountid
  7995. - coupontypeid
  7996. type: object
  7997. models.MyCouponHold:
  7998. properties:
  7999. accountid:
  8000. description: 资金账户ID
  8001. type: integer
  8002. conditionvalue:
  8003. description: 条件阈值(可为0)
  8004. type: number
  8005. couponcategroy:
  8006. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  8007. type: integer
  8008. couponholdid:
  8009. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  8010. type: string
  8011. couponname:
  8012. description: 优惠券名称
  8013. type: string
  8014. coupontypeid:
  8015. description: 优惠券类型ID - SEQ_COUPONTYPE
  8016. type: string
  8017. couponvalue:
  8018. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  8019. type: number
  8020. createtime:
  8021. description: 创建时间
  8022. type: string
  8023. enddate:
  8024. description: 结束日期
  8025. type: string
  8026. giveapplyid:
  8027. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  8028. type: integer
  8029. holdstatus:
  8030. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  8031. type: integer
  8032. isgeneral:
  8033. description: 是否通用券 - 0:否 1:是
  8034. type: integer
  8035. limitedflag:
  8036. description: 是否指定商品 - 0:不限 1:限制
  8037. type: integer
  8038. limitedgoodsids:
  8039. description: 指定商品IDs[逗号分隔]
  8040. type: string
  8041. qty:
  8042. description: 数量(按1平铺)
  8043. type: integer
  8044. startdate:
  8045. description: 开始日期
  8046. type: string
  8047. userid:
  8048. description: 用户ID
  8049. type: integer
  8050. userscope:
  8051. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  8052. type: string
  8053. required:
  8054. - couponholdid
  8055. type: object
  8056. models.MyUsedCoupon:
  8057. properties:
  8058. accountid:
  8059. description: 资金账户ID(买方)
  8060. type: integer
  8061. conditionvalue:
  8062. description: 条件阈值(可为0)
  8063. type: number
  8064. couponcategroy:
  8065. description: 种类 - 1:现金券 2:折扣券
  8066. type: integer
  8067. couponname:
  8068. description: 优惠券名称
  8069. type: string
  8070. coupontypeid:
  8071. description: 优惠券类型ID(买方)
  8072. type: string
  8073. couponvalue:
  8074. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  8075. type: number
  8076. createtime:
  8077. description: 创建时间
  8078. type: string
  8079. goodsid:
  8080. description: 商品ID
  8081. type: integer
  8082. handlestatus:
  8083. description: 处理状态
  8084. type: integer
  8085. marketid:
  8086. description: 市场ID
  8087. type: integer
  8088. offamount:
  8089. description: 优惠金额
  8090. type: number
  8091. orderid:
  8092. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8093. type: string
  8094. sellaccountid:
  8095. description: 资金账户ID(卖方)
  8096. type: integer
  8097. tradeamount:
  8098. description: 成交金额
  8099. type: number
  8100. tradeid:
  8101. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8102. type: string
  8103. usedqty:
  8104. description: 使用数量
  8105. type: integer
  8106. required:
  8107. - coupontypeid
  8108. - orderid
  8109. type: object
  8110. models.OperationPrimaryMenu:
  8111. properties:
  8112. Children:
  8113. description: 二级功能菜单
  8114. items:
  8115. $ref: '#/definitions/models.OperationSecondaryMenu'
  8116. type: array
  8117. Key:
  8118. description: 菜单KEY
  8119. type: string
  8120. Label:
  8121. description: 菜单标题
  8122. type: string
  8123. type: object
  8124. models.OperationSecondaryMenu:
  8125. properties:
  8126. Key:
  8127. description: 菜单KEY
  8128. type: string
  8129. Label:
  8130. description: 菜单标题
  8131. type: string
  8132. TabList:
  8133. description: 三级功能菜单
  8134. items:
  8135. $ref: '#/definitions/models.OperationTabMenu'
  8136. type: array
  8137. type: object
  8138. models.OperationTabMenu:
  8139. properties:
  8140. Key:
  8141. description: 菜单KEY
  8142. type: string
  8143. Label:
  8144. description: 菜单标题
  8145. type: string
  8146. type: object
  8147. models.PendingAuditBizModel:
  8148. properties:
  8149. accountid:
  8150. description: 现货账户
  8151. type: string
  8152. areaname:
  8153. description: 所属部门
  8154. type: string
  8155. bizid:
  8156. description: 业务ID
  8157. type: string
  8158. bizname:
  8159. description: 业务名称
  8160. type: string
  8161. status:
  8162. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  8163. type: integer
  8164. type:
  8165. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  8166. type: integer
  8167. type: object
  8168. models.QueryErrorInfosRsp:
  8169. properties:
  8170. description:
  8171. description: 异常描述
  8172. type: string
  8173. errorcode:
  8174. description: 异常代码
  8175. type: string
  8176. errorid:
  8177. description: 异常ID
  8178. type: integer
  8179. modulecode:
  8180. description: 所属模块
  8181. type: string
  8182. operatecode:
  8183. description: 所属操作
  8184. type: string
  8185. rownumber:
  8186. description: 行号
  8187. type: string
  8188. required:
  8189. - errorid
  8190. type: object
  8191. models.QueryHedgeOrderDetailRsp:
  8192. properties:
  8193. accountid:
  8194. description: 账户ID
  8195. type: integer
  8196. buyorsell:
  8197. description: 买卖 - 0:买 1:卖
  8198. type: integer
  8199. cancellogincode:
  8200. description: 撤单人
  8201. type: string
  8202. channelbuildtype:
  8203. description: 开平标志 - 0:无 1:建仓 2:平仓
  8204. type: integer
  8205. channelinnerorderstatus:
  8206. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  8207. 9:全部成交
  8208. type: integer
  8209. channeloperatetype:
  8210. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  8211. type: integer
  8212. closetype:
  8213. description: 平仓方式 - 0:无 1:平今 2:平昨
  8214. type: integer
  8215. curexchangerate:
  8216. description: 当前汇率
  8217. type: number
  8218. exchangefullname:
  8219. description: 外部交易所全称
  8220. type: string
  8221. goodscode:
  8222. description: 商品代码(内部)
  8223. type: string
  8224. goodsid:
  8225. description: 商品ID
  8226. type: integer
  8227. goodsname:
  8228. description: 商品名称
  8229. type: string
  8230. marketid:
  8231. description: 市场ID
  8232. type: integer
  8233. openfreezemargin:
  8234. description: 冻结保证金(冻结交易金额)
  8235. type: number
  8236. orderid:
  8237. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8238. type: string
  8239. orderlogincode:
  8240. description: 委托人
  8241. type: string
  8242. orderprice:
  8243. description: 委托价格(账户)
  8244. type: number
  8245. orderqty:
  8246. description: 委托数量
  8247. type: integer
  8248. ordertime:
  8249. description: 委托时间
  8250. type: string
  8251. pricemode:
  8252. description: '取价方式 - 1:市价 2: 限价'
  8253. type: integer
  8254. tradedate:
  8255. description: 交易日(yyyyMMdd)
  8256. type: string
  8257. tradeqty:
  8258. description: 成交数量
  8259. type: integer
  8260. type: object
  8261. models.QueryHedgeTradeDetailRsp:
  8262. properties:
  8263. accountid:
  8264. description: 账号ID
  8265. type: integer
  8266. buyorsell:
  8267. description: 方向 - 0:买 1:卖
  8268. type: integer
  8269. channelbuildtype:
  8270. description: 委托单据类型 0:无 1:建仓 2:平仓
  8271. type: integer
  8272. closecharge:
  8273. description: 平仓手续费(账户)
  8274. type: number
  8275. closecharge2:
  8276. description: 平仓手续费(商品)
  8277. type: number
  8278. closepl:
  8279. description: 平仓盈亏(账户)
  8280. type: number
  8281. closepl2:
  8282. description: 平仓盈亏(商品)
  8283. type: number
  8284. closepl3:
  8285. description: 平仓盈亏(账户)(逐笔)
  8286. type: number
  8287. closepl4:
  8288. description: 平仓盈亏(商品)(逐笔)
  8289. type: number
  8290. closetype:
  8291. description: 平仓方式 - 0:无 1:平今 2:平昨
  8292. type: integer
  8293. curexchangerate:
  8294. description: 当前汇率
  8295. type: number
  8296. exchangefullname:
  8297. description: 外部交易所全称
  8298. type: string
  8299. goodscode:
  8300. description: 商品代码(内部)
  8301. type: string
  8302. goodsid:
  8303. description: 商品ID
  8304. type: integer
  8305. goodsname:
  8306. description: 商品名称
  8307. type: string
  8308. marketid:
  8309. description: 市场ID
  8310. type: integer
  8311. opencharge:
  8312. description: 建仓手续费(账户)
  8313. type: number
  8314. opencharge2:
  8315. description: 建仓手续费(商品)
  8316. type: number
  8317. orderid:
  8318. description: 委托单号
  8319. type: string
  8320. orderlogincode:
  8321. description: 委托人
  8322. type: string
  8323. tradeamount:
  8324. description: 成交金额(账户)
  8325. type: number
  8326. tradedate:
  8327. description: 交易日(yyyyMMdd)
  8328. type: string
  8329. tradeid:
  8330. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8331. type: string
  8332. tradeprice:
  8333. description: 成交价格
  8334. type: number
  8335. tradeqty:
  8336. description: 成交数量
  8337. type: integer
  8338. tradetime:
  8339. description: 成交时间
  8340. type: string
  8341. tradetype:
  8342. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  8343. type: integer
  8344. type: object
  8345. models.QuotePrimaryMenu:
  8346. properties:
  8347. Index:
  8348. description: 序号
  8349. type: integer
  8350. Key:
  8351. description: 键名
  8352. type: string
  8353. Name:
  8354. description: 菜单名称
  8355. type: string
  8356. SubMenus:
  8357. description: 子菜单
  8358. items:
  8359. $ref: '#/definitions/models.QuoteSecondaryMenu'
  8360. type: array
  8361. SubTitleType:
  8362. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  8363. type: integer
  8364. TradeModes:
  8365. description: 包含市场交易类型
  8366. type: string
  8367. type: object
  8368. models.QuoteSecondaryMenu:
  8369. properties:
  8370. ExExchangeCode:
  8371. description: 外部交易所代码
  8372. type: string
  8373. ExExchangeID:
  8374. description: 外部交易所ID
  8375. type: integer
  8376. GoodsGroupIDs:
  8377. description: 商品组ID列表
  8378. items:
  8379. type: integer
  8380. type: array
  8381. Index:
  8382. description: 序号
  8383. type: integer
  8384. MarketID:
  8385. description: 市场ID
  8386. type: integer
  8387. MenuTitle:
  8388. description: 菜单标题(市场名称或外部交易所名称)
  8389. type: string
  8390. TradeMode:
  8391. description: 交易模式
  8392. type: integer
  8393. type: object
  8394. models.SearchGoods:
  8395. properties:
  8396. goodscode:
  8397. description: 商品代码(内部)
  8398. type: string
  8399. goodsid:
  8400. description: 商品ID(自增ID SEQ_GOODS)
  8401. type: integer
  8402. goodsname:
  8403. description: 商品名称
  8404. type: string
  8405. marketid:
  8406. description: 所属市场ID
  8407. type: integer
  8408. marketname:
  8409. description: 市场名称
  8410. type: string
  8411. trademode:
  8412. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8413. 21:竞拍-大宗式 22:受托竞价
  8414. type: integer
  8415. required:
  8416. - goodscode
  8417. - goodsid
  8418. - goodsname
  8419. - marketid
  8420. - trademode
  8421. type: object
  8422. models.Systemparam:
  8423. properties:
  8424. loginid:
  8425. description: 更新用户账号,登录账号
  8426. type: string
  8427. modifyflag:
  8428. description: 修改标志0 不允许修改 1 允许修改
  8429. type: integer
  8430. paramcode:
  8431. description: 参数代码
  8432. type: string
  8433. paramname:
  8434. description: 参数名
  8435. type: string
  8436. paramtype:
  8437. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  8438. type: integer
  8439. paramvalue:
  8440. description: 参数值
  8441. type: string
  8442. paramvalue2:
  8443. description: 参数值(CLOB)
  8444. type: string
  8445. regexpress:
  8446. description: 正则表达式
  8447. type: string
  8448. remark:
  8449. description: 备注
  8450. type: string
  8451. serverip:
  8452. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  8453. type: string
  8454. showflag:
  8455. description: 是否显示0 不显示 1 显示
  8456. type: integer
  8457. updatetime:
  8458. description: 更新时间
  8459. type: string
  8460. userid:
  8461. description: 更新用户ID
  8462. type: integer
  8463. required:
  8464. - paramcode
  8465. type: object
  8466. models.Szdz3convertconfig:
  8467. properties:
  8468. canin:
  8469. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  8470. type: integer
  8471. canout:
  8472. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  8473. type: integer
  8474. converttype:
  8475. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  8476. 6:交易转花生米(不设置)
  8477. type: integer
  8478. createtime:
  8479. description: 创建时间
  8480. type: string
  8481. creatorid:
  8482. description: 创建人
  8483. type: integer
  8484. daymaxvalue:
  8485. description: 当日最大转入限制
  8486. type: number
  8487. freezedays:
  8488. description: 冻结天数 [5:花生米转交易]
  8489. type: integer
  8490. innergoodsid:
  8491. description: 内部商品ID[交易]
  8492. type: integer
  8493. inratio:
  8494. description: 目标值
  8495. type: integer
  8496. modifierid:
  8497. description: 修改人
  8498. type: integer
  8499. modifytime:
  8500. description: 修改时间
  8501. type: string
  8502. outergoodscode:
  8503. description: 外部商品代码[JD\PD]
  8504. type: string
  8505. outratio:
  8506. description: 源值
  8507. type: integer
  8508. pddecimalplace:
  8509. description: PD小数位
  8510. type: integer
  8511. timemaxvalue:
  8512. description: 单次最大转入限制
  8513. type: number
  8514. timeminvalue:
  8515. description: 单次最小转入限制
  8516. type: number
  8517. required:
  8518. - converttype
  8519. - innergoodsid
  8520. - outergoodscode
  8521. type: object
  8522. models.Szdz3searchwhitelist:
  8523. properties:
  8524. createtime:
  8525. description: 创建时间
  8526. type: string
  8527. creatorid:
  8528. description: 创建人
  8529. type: integer
  8530. modifierid:
  8531. description: 修改人
  8532. type: integer
  8533. modifytime:
  8534. description: 修改时间
  8535. type: string
  8536. userid:
  8537. description: 用户ID
  8538. type: integer
  8539. required:
  8540. - userid
  8541. type: object
  8542. models.Taaccount:
  8543. properties:
  8544. accountflag:
  8545. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  8546. type: integer
  8547. accountid:
  8548. description: 资金账户ID
  8549. type: integer
  8550. accountname:
  8551. description: 账户名称
  8552. type: string
  8553. balance:
  8554. description: 期初余额
  8555. type: number
  8556. capitalbalance:
  8557. description: 本金余额[外部子账户实际出入金余额]
  8558. type: number
  8559. changeflag:
  8560. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  8561. type: integer
  8562. changetime:
  8563. description: 账户状态变更时间
  8564. type: string
  8565. closepl:
  8566. description: 今日平仓盈亏
  8567. type: number
  8568. creditdecrease:
  8569. description: 今日授信减少
  8570. type: number
  8571. creditincrease:
  8572. description: 今日授信增加
  8573. type: number
  8574. currencyid:
  8575. description: 货币ID
  8576. type: integer
  8577. currentbalance:
  8578. description: 期末余额
  8579. type: number
  8580. freezecharge:
  8581. description: 手续费冻结
  8582. type: number
  8583. freezemargin:
  8584. description: 冻结保证金
  8585. type: number
  8586. fromaccountid:
  8587. description: 所属上级账户
  8588. type: integer
  8589. inamount:
  8590. description: 今日入金金额(包括三方入金)
  8591. type: number
  8592. ismain:
  8593. description: 是否母账号 0:不是母账户 1:是母账户
  8594. type: integer
  8595. ismarketaccount:
  8596. description: 是否机构接单账号 0:不是 1:是
  8597. type: integer
  8598. isreckonaccount:
  8599. description: 是否机构分润账号 0:不是 1:是
  8600. type: integer
  8601. mortgagecredit:
  8602. description: 授信金额
  8603. type: number
  8604. orifreezecharge:
  8605. description: 期初手续费冻结
  8606. type: number
  8607. orifreezemargin:
  8608. description: 期初冻结保证金
  8609. type: number
  8610. orimortgagecredit:
  8611. description: 期初授信金额
  8612. type: number
  8613. oriothercredit:
  8614. description: 期初其它授信金额
  8615. type: number
  8616. oriotherfreezemargin:
  8617. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  8618. type: number
  8619. orioutamountfreeze:
  8620. description: 期初出金冻结
  8621. type: number
  8622. oriusedmargin:
  8623. description: 期初占用保证金
  8624. type: number
  8625. othercredit:
  8626. description: 其它授信金额
  8627. type: number
  8628. othercreditdecrease:
  8629. description: 今日其它授信减少
  8630. type: number
  8631. othercreditincrease:
  8632. description: 今日其它授信增加
  8633. type: number
  8634. otherfreezemargin:
  8635. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  8636. type: number
  8637. otherincome:
  8638. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  8639. type: number
  8640. otherpay:
  8641. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  8642. type: number
  8643. outamount:
  8644. description: 今日出金金额(包括三方出金)
  8645. type: number
  8646. outamountfreeze:
  8647. description: 出金冻结
  8648. type: number
  8649. outthreshold:
  8650. description: 出金阈值
  8651. type: number
  8652. parentaccountid:
  8653. description: 所属根账号
  8654. type: integer
  8655. paycharge:
  8656. description: 今日手续费支出
  8657. type: number
  8658. relatedaccountstatus:
  8659. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  8660. type: integer
  8661. relateduserid:
  8662. description: 关联用户
  8663. type: integer
  8664. serivcegroup:
  8665. description: 服务分组
  8666. type: integer
  8667. signstatus:
  8668. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  8669. type: integer
  8670. sublevelpath:
  8671. description: 账号层级路径(逗号分隔,首尾加逗号)
  8672. type: string
  8673. taaccounttype:
  8674. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  8675. type: integer
  8676. thirdinamount:
  8677. description: 今日三方入金
  8678. type: number
  8679. thirdoutamount:
  8680. description: 今日三方出金
  8681. type: number
  8682. tradestatus:
  8683. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8684. type: integer
  8685. tradestatuschangetime:
  8686. description: 激活时间
  8687. type: string
  8688. transferamount:
  8689. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  8690. type: number
  8691. usedmargin:
  8692. description: 占用保证金
  8693. type: number
  8694. userid:
  8695. description: 用户ID
  8696. type: integer
  8697. required:
  8698. - accountid
  8699. - userid
  8700. type: object
  8701. models.Tablecolumnconfig:
  8702. properties:
  8703. aligntype:
  8704. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  8705. type: integer
  8706. autoid:
  8707. description: AutoID
  8708. type: integer
  8709. columnfield:
  8710. description: 列字段
  8711. type: string
  8712. columntitle:
  8713. description: 列Title
  8714. type: string
  8715. columnwidth:
  8716. description: 列宽
  8717. type: string
  8718. formatterstring:
  8719. description: 格式化字符
  8720. type: string
  8721. formattertype:
  8722. description: 格式化类型
  8723. type: string
  8724. groupname:
  8725. description: 表头分组名称
  8726. type: string
  8727. isshow:
  8728. description: 是否显示 - 0:不显示 1:显示
  8729. type: integer
  8730. needsummary:
  8731. description: 是否需要汇总 - 0:不需要 1:需要
  8732. type: integer
  8733. orderindex:
  8734. description: 顺序
  8735. type: integer
  8736. remark:
  8737. description: 备注
  8738. type: string
  8739. summarytype:
  8740. description: 汇总类型 - 1:加总 2:最后一个
  8741. type: integer
  8742. tablekey:
  8743. description: 列表Key
  8744. type: string
  8745. required:
  8746. - autoid
  8747. type: object
  8748. models.Useraccount:
  8749. properties:
  8750. accountname:
  8751. description: 账户名称(机构名称)
  8752. type: string
  8753. accountstatus:
  8754. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  8755. type: integer
  8756. auditremark:
  8757. description: 审核备注
  8758. type: string
  8759. audittime:
  8760. description: 审核时间
  8761. type: string
  8762. audituserid:
  8763. description: 审核人
  8764. type: integer
  8765. broker:
  8766. description: 所属经纪人ID
  8767. type: integer
  8768. canceltime:
  8769. description: 销户时间
  8770. type: string
  8771. canceluserid:
  8772. description: 销户人
  8773. type: integer
  8774. createtime:
  8775. description: 创建时间
  8776. type: string
  8777. creatorid:
  8778. description: 创建人
  8779. type: integer
  8780. hasauth:
  8781. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  8782. type: integer
  8783. isanonymous:
  8784. description: 是否匿名下单 - 0:否 1:是
  8785. type: integer
  8786. maxinvestornum:
  8787. description: 最大用户数(经纪会员下投资者个数)
  8788. type: integer
  8789. memberuserid:
  8790. description: 所属会员ID
  8791. type: integer
  8792. modifierid:
  8793. description: 修改人
  8794. type: integer
  8795. modifyremark:
  8796. description: 变更备注
  8797. type: string
  8798. modifystatus:
  8799. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  8800. type: integer
  8801. modifytime:
  8802. description: 修改时间
  8803. type: string
  8804. parentuserid:
  8805. description: 所属机构ID
  8806. type: integer
  8807. reckonaccountid:
  8808. description: 默认结算资金账号ID(机构分润使用) 作废
  8809. type: integer
  8810. refercount:
  8811. description: 推荐总人数
  8812. type: integer
  8813. refereeuserid:
  8814. description: 推荐人ID
  8815. type: integer
  8816. refernum:
  8817. description: 推荐码
  8818. type: string
  8819. subarealevelpath:
  8820. description: 子机构层级路径(逗号分隔,首尾加逗号)
  8821. type: string
  8822. userid:
  8823. description: 用户ID
  8824. type: integer
  8825. usertype:
  8826. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  8827. type: integer
  8828. required:
  8829. - userid
  8830. type: object
  8831. models.Userfavoritegoods:
  8832. properties:
  8833. goodsid:
  8834. description: 商品ID
  8835. type: integer
  8836. required:
  8837. - goodsid
  8838. type: object
  8839. models.Userinfo:
  8840. properties:
  8841. address:
  8842. description: 地址
  8843. type: string
  8844. attachment1:
  8845. description: 附件1
  8846. type: string
  8847. attachment2:
  8848. description: 附件2
  8849. type: string
  8850. bankaccount:
  8851. description: 银行帐号 (加密存储)
  8852. type: string
  8853. bankaccountname:
  8854. description: 收款人名称
  8855. type: string
  8856. bankcardfrontphotourl:
  8857. description: 银行卡正面照地址
  8858. type: string
  8859. bankid:
  8860. description: 银行编码
  8861. type: string
  8862. bankname:
  8863. description: 银行名称
  8864. type: string
  8865. biznature:
  8866. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  8867. type: integer
  8868. bizscope:
  8869. description: 企业经营范围(企业)
  8870. type: string
  8871. cardbackphotourl:
  8872. description: 证件背面图片地址
  8873. type: string
  8874. cardfrontphotourl:
  8875. description: 证件正面图片地址
  8876. type: string
  8877. cardnum:
  8878. description: 证件号码(加密存储)
  8879. type: string
  8880. cardtypeid:
  8881. description: 证件类型ID
  8882. type: integer
  8883. cityid:
  8884. description: 市
  8885. type: integer
  8886. company:
  8887. description: 公司(个人)
  8888. type: string
  8889. contactname:
  8890. description: 联系人
  8891. type: string
  8892. countryid:
  8893. description: 国家
  8894. type: integer
  8895. createtime:
  8896. description: 创建时间
  8897. type: string
  8898. creatorid:
  8899. description: 创建人
  8900. type: integer
  8901. customername:
  8902. description: 客户名称(企业名称)
  8903. type: string
  8904. districtid:
  8905. description: 地区
  8906. type: integer
  8907. email:
  8908. description: 邮件(加密存储)
  8909. type: string
  8910. fax:
  8911. description: 传真(加密存储)
  8912. type: string
  8913. halfbodyphotourl:
  8914. description: 半身照地址
  8915. type: string
  8916. hasencrypt:
  8917. description: 数据是否已加密 - 0:未加密 1:已加密
  8918. type: integer
  8919. headurl:
  8920. description: 头像地址
  8921. type: string
  8922. legalcardbackphotourl:
  8923. description: 法人身份证背面照地址
  8924. type: string
  8925. legalcardfrontphotourl:
  8926. description: 法人身份证正面照地址
  8927. type: string
  8928. legalpersonname:
  8929. description: 法人姓名(企业)
  8930. type: string
  8931. mobile:
  8932. description: 手机号码(加密存储)
  8933. type: string
  8934. mobile2:
  8935. description: 手机号码[明文-尚志]
  8936. type: string
  8937. modifierid:
  8938. description: 修改人
  8939. type: integer
  8940. modifiertime:
  8941. description: 修改时间
  8942. type: string
  8943. needinvoice:
  8944. description: 是否需要发票 - 0:不需要 1:需要
  8945. type: integer
  8946. nickname:
  8947. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  8948. type: string
  8949. openmode:
  8950. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  8951. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  8952. type: integer
  8953. otherurl:
  8954. description: 其它图片地址[使用分号分隔]
  8955. type: string
  8956. postalcode:
  8957. description: 邮政编码
  8958. type: string
  8959. provinceid:
  8960. description: 省
  8961. type: integer
  8962. qq:
  8963. description: QQ(加密存储
  8964. type: string
  8965. remark:
  8966. description: 备注
  8967. type: string
  8968. sex:
  8969. description: '用户性别 0: 女 1: 男'
  8970. type: integer
  8971. signpdfurl:
  8972. description: 签约pdf文件
  8973. type: string
  8974. telphone:
  8975. description: 联系电话(加密存储)
  8976. type: string
  8977. userid:
  8978. description: 用户ID
  8979. type: integer
  8980. userinfotype:
  8981. description: 用户信息类型 - 1:个人 2:企业
  8982. type: integer
  8983. userstatus:
  8984. description: 用户状态 - 1:正常 2:注销
  8985. type: integer
  8986. usertype:
  8987. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  8988. type: integer
  8989. wechat:
  8990. description: 微信(加密存储)
  8991. type: string
  8992. wskhinfo:
  8993. description: 开户申请信息(JSON)
  8994. type: string
  8995. required:
  8996. - userid
  8997. type: object
  8998. models.WRSConverTDetail:
  8999. properties:
  9000. convertratio:
  9001. description: 套保系数
  9002. type: number
  9003. deliverygoodscode:
  9004. description: 现货商品代码
  9005. type: string
  9006. deliverygoodsid:
  9007. description: 现货品种ID
  9008. type: integer
  9009. deliverygoodsname:
  9010. description: 现货商品名称
  9011. type: string
  9012. enumdicname:
  9013. description: 单位名称
  9014. type: string
  9015. goodsunitid:
  9016. description: 套保品种单位id
  9017. type: integer
  9018. middlegoodscode:
  9019. description: 套保品种代码
  9020. type: string
  9021. middlegoodsid:
  9022. description: 套保品种ID
  9023. type: integer
  9024. middlegoodsname:
  9025. description: 套保品种名称
  9026. type: string
  9027. modifytime:
  9028. description: 修改时间
  9029. type: string
  9030. wrstandardid:
  9031. description: 品类ID
  9032. type: integer
  9033. type: object
  9034. models.WRStandardInfo:
  9035. properties:
  9036. areauserid:
  9037. description: 所属机构
  9038. type: integer
  9039. convertfactor:
  9040. description: 标仓系数
  9041. type: number
  9042. createtime:
  9043. description: 创建时间
  9044. type: string
  9045. creatorid:
  9046. description: 创建人
  9047. type: integer
  9048. deliverygoodsid:
  9049. description: 品种ID
  9050. type: integer
  9051. deliverygoodsname:
  9052. description: 交割商品名称
  9053. type: string
  9054. factoryitemjson:
  9055. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  9056. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  9057. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  9058. 逗号分隔'
  9059. type: string
  9060. isvalid:
  9061. description: 是否有效 - 0:无效 1:有效
  9062. type: integer
  9063. minivalue:
  9064. description: 最小变动值
  9065. type: integer
  9066. minivaluedp:
  9067. description: 最小变动值小数位
  9068. type: integer
  9069. realminivalue:
  9070. description: 实际最小变动值
  9071. type: integer
  9072. realminivaluedp:
  9073. description: 实际最小变动值小数位
  9074. type: integer
  9075. remark:
  9076. description: 备注
  9077. type: string
  9078. unitid:
  9079. description: 单位ID
  9080. type: integer
  9081. unitname:
  9082. description: 单位
  9083. type: string
  9084. updatetime:
  9085. description: 更新时间
  9086. type: string
  9087. updatorid:
  9088. description: 更新人
  9089. type: integer
  9090. wrsstatus:
  9091. description: 状态 - 作废 - 0:未激活 1:正常
  9092. type: integer
  9093. wrstandardcode:
  9094. description: 现货品类代码
  9095. type: string
  9096. wrstandardid:
  9097. description: 现货品类ID(SEQ_WRSTANDARD)
  9098. type: integer
  9099. wrstandardname:
  9100. description: 现货品类名称
  9101. type: string
  9102. required:
  9103. - wrstandardid
  9104. type: object
  9105. models.Warehouseinfo:
  9106. properties:
  9107. address:
  9108. description: 详细地址
  9109. type: string
  9110. areauserid:
  9111. description: 所属机构
  9112. type: integer
  9113. autoid:
  9114. description: 自增ID
  9115. type: integer
  9116. cityid:
  9117. description: 市
  9118. type: integer
  9119. contactname:
  9120. description: 联系人
  9121. type: string
  9122. contactnum:
  9123. description: 联系电话
  9124. type: string
  9125. countryid:
  9126. description: 国家
  9127. type: integer
  9128. createtime:
  9129. description: 创建时间
  9130. type: string
  9131. districtid:
  9132. description: 区
  9133. type: integer
  9134. hasvideo:
  9135. description: 是否有视频 - 0:无 1:有
  9136. type: integer
  9137. provinceid:
  9138. description: 省
  9139. type: integer
  9140. remark:
  9141. description: 审核备注
  9142. type: string
  9143. videourl:
  9144. description: 视频地址
  9145. type: string
  9146. warehousecode:
  9147. description: 仓库代码
  9148. type: string
  9149. warehousename:
  9150. description: 仓库名称
  9151. type: string
  9152. warehousestatus:
  9153. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  9154. type: integer
  9155. warehousetype:
  9156. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  9157. type: integer
  9158. required:
  9159. - autoid
  9160. - warehousecode
  9161. type: object
  9162. order.QueryHisTradeDetailRsp:
  9163. properties:
  9164. accountid:
  9165. description: 账户ID[报价币种]
  9166. type: integer
  9167. buildtype:
  9168. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  9169. type: integer
  9170. buyorsell:
  9171. description: 方向 - 0:买 1:卖
  9172. type: integer
  9173. charge:
  9174. description: 手续费
  9175. type: number
  9176. closecharge:
  9177. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9178. type: number
  9179. closeexchagechargevalue:
  9180. description: 平仓交易所手续费设置值
  9181. type: number
  9182. closefeealgorithm:
  9183. description: 平仓手续费收取方式 1:比率 2:固定
  9184. type: integer
  9185. closememberchargevalue:
  9186. description: 平仓会员手续费设置值
  9187. type: number
  9188. closepl:
  9189. description: 平仓盈亏
  9190. type: number
  9191. closepl2:
  9192. description: 平仓盈亏[逐笔]
  9193. type: number
  9194. closeqty:
  9195. description: 平仓数量(先建后平操作 需要记录)
  9196. type: integer
  9197. creditamount:
  9198. description: 授信金额
  9199. type: number
  9200. gcaccountid:
  9201. description: 账户ID[合约币种]
  9202. type: integer
  9203. goodscode:
  9204. description: 商品代码
  9205. type: string
  9206. goodsid:
  9207. description: 商品ID
  9208. type: integer
  9209. goodsname:
  9210. description: 商品名称
  9211. type: string
  9212. histradedate:
  9213. description: 历史交易日
  9214. type: string
  9215. intclosepl:
  9216. description: 整型盈亏(用于交易结算试算平衡-收益权)
  9217. type: integer
  9218. isconfirmexercise:
  9219. description: 是否确认行权- 0:否 1:是
  9220. type: integer
  9221. ismain:
  9222. description: 是否主单 - 0:不是 1:是
  9223. type: integer
  9224. ispreexercise:
  9225. description: 是否预申报- 0:否 1:是
  9226. type: integer
  9227. isreckoned:
  9228. description: 是否结算 - 0:未结算 1:已结算
  9229. type: integer
  9230. isvaliddata:
  9231. description: 是否有效 - 0:无效 1:有效
  9232. type: integer
  9233. listingselecttype:
  9234. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9235. type: integer
  9236. marketid:
  9237. description: 市场ID
  9238. type: integer
  9239. marketname:
  9240. description: 市场名称
  9241. type: string
  9242. matchaccountid:
  9243. description: 对手账号id
  9244. type: integer
  9245. memberuserid:
  9246. description: 会员id 个人投资者 需要填写
  9247. type: integer
  9248. opencharge:
  9249. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9250. type: number
  9251. openexchagechargevalue:
  9252. description: 建仓交易所手续费设置值
  9253. type: number
  9254. openfeealgorithm:
  9255. description: 建仓手续费收取方式 1:比率 2:固定
  9256. type: integer
  9257. openmemberchargevalue:
  9258. description: 建仓会员手续费设置值
  9259. type: number
  9260. openqty:
  9261. description: 开仓数量(先建后平操作 需要记录)
  9262. type: integer
  9263. optiontype:
  9264. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  9265. type: integer
  9266. orderid:
  9267. description: 委托单号
  9268. type: string
  9269. performanceplanid:
  9270. description: 履约计划ID[期权]
  9271. type: integer
  9272. performancestatus:
  9273. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  9274. type: integer
  9275. preexerciseprice:
  9276. description: 预申报价格
  9277. type: number
  9278. premium:
  9279. description: 权利金 - [持仓单的权利金]
  9280. type: number
  9281. relatedouttradeid:
  9282. description: 关联外部成交单ID
  9283. type: integer
  9284. status:
  9285. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  9286. type: integer
  9287. tradeamount:
  9288. description: 成交金额[账户币种,用于所有权]
  9289. type: number
  9290. tradedate:
  9291. description: 交易日(yyyyMMdd)
  9292. type: string
  9293. tradeid:
  9294. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9295. type: string
  9296. trademode:
  9297. description: 交易模式
  9298. type: integer
  9299. tradeprice:
  9300. description: 成交价格
  9301. type: number
  9302. tradeproperty:
  9303. description: 交易属性
  9304. type: integer
  9305. tradeqty:
  9306. description: 成交数量
  9307. type: integer
  9308. tradetime:
  9309. description: 成交时间
  9310. type: string
  9311. tradetype:
  9312. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  9313. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  9314. type: integer
  9315. required:
  9316. - accountid
  9317. - buyorsell
  9318. - goodsid
  9319. - histradedate
  9320. - marketid
  9321. - memberuserid
  9322. - orderid
  9323. - tradeamount
  9324. - tradedate
  9325. - tradeid
  9326. - tradeprice
  9327. - tradeqty
  9328. - tradetime
  9329. type: object
  9330. order.QueryHisTradeOrderDetailRsp:
  9331. properties:
  9332. accountid:
  9333. description: 账户ID[报价币种]
  9334. type: integer
  9335. buildtype:
  9336. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  9337. type: integer
  9338. buyorsell:
  9339. description: 买卖 - 0:买 1:卖
  9340. type: integer
  9341. cancelorderid:
  9342. description: 撤单单号(撤单时填写)
  9343. type: string
  9344. cancelqty:
  9345. description: 撤单数量
  9346. type: integer
  9347. clientordertime:
  9348. description: 客户端委托时间
  9349. type: string
  9350. clientticket:
  9351. description: 客户端流水号
  9352. type: string
  9353. clienttype:
  9354. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  9355. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9356. type: integer
  9357. closeexchagechargevalue:
  9358. description: 平仓交易所手续费设置值
  9359. type: number
  9360. closefeealgorithm:
  9361. description: 平仓手续费收取方式 1:比率 2:固定
  9362. type: integer
  9363. closefreezecharge:
  9364. description: 平仓冻结手续费(先建后平操作,需要记录)
  9365. type: number
  9366. closememberchargevalue:
  9367. description: 平仓会员手续费设置值
  9368. type: number
  9369. closeqty:
  9370. description: 平仓数量(先建后平操作 需要记录)
  9371. type: integer
  9372. closetradeqty:
  9373. description: 平仓成交数量(先建后平操作,需要记录)
  9374. type: integer
  9375. closeunfreezecharge:
  9376. description: 平仓解冻手续费(先建后平操作,需要记录)
  9377. type: number
  9378. delistingtype:
  9379. description: 摘牌类型 - 1:价格最优 2:点选成交
  9380. type: integer
  9381. freezecharge:
  9382. description: 冻结手续费
  9383. type: number
  9384. freezemargin:
  9385. description: 冻结保证金(冻结交易金额)
  9386. type: number
  9387. gcaccountid:
  9388. description: 账户ID[合约币种]
  9389. type: integer
  9390. goodscode:
  9391. description: 商品代码
  9392. type: string
  9393. goodsid:
  9394. description: 商品ID
  9395. type: integer
  9396. goodsname:
  9397. description: 商品名称
  9398. type: string
  9399. histradedate:
  9400. description: 历史交易日
  9401. type: string
  9402. isconfirmexercise:
  9403. description: 是否确认行权- 0:否 1:是
  9404. type: integer
  9405. ispreexercise:
  9406. description: 是否预申报- 0:否 1:是
  9407. type: integer
  9408. isvaliddata:
  9409. description: 是否有效 - 0:无效 1:有效
  9410. type: integer
  9411. listingselecttype:
  9412. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9413. type: integer
  9414. marginalgorithm:
  9415. description: 保证金收取方式 1:比率 2:固定
  9416. type: integer
  9417. marginvalue:
  9418. description: 即市保证金设置值
  9419. type: number
  9420. marketid:
  9421. description: 市场ID
  9422. type: integer
  9423. marketmaxsub:
  9424. description: 市价最大偏移范围
  9425. type: number
  9426. marketname:
  9427. description: 市场名称
  9428. type: string
  9429. memberuserid:
  9430. description: 所属会员UserID
  9431. type: integer
  9432. openexchagechargevalue:
  9433. description: 建仓交易所手续费设置值
  9434. type: number
  9435. openfeealgorithm:
  9436. description: 建仓手续费收取方式 1:比率 2:固定
  9437. type: integer
  9438. openfreezecharge:
  9439. description: 开仓冻结手续费(先建后平操作,需要记录)
  9440. type: number
  9441. openmemberchargevalue:
  9442. description: 建仓会员手续费设置值
  9443. type: number
  9444. openqty:
  9445. description: 开仓数量(先建后平操作,需要记录)
  9446. type: integer
  9447. opentradeqty:
  9448. description: 开仓成交数量(先建后平操作,需要记录)
  9449. type: integer
  9450. openunfreezecharge:
  9451. description: 开仓解冻手续费(先建后平操作,需要记录)
  9452. type: number
  9453. operatetype:
  9454. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  9455. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  9456. 15:管理端协议转让
  9457. type: integer
  9458. operatorid:
  9459. description: 登录账号(LoginID)
  9460. type: integer
  9461. optiontype:
  9462. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  9463. type: integer
  9464. orderid:
  9465. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9466. type: string
  9467. orderprice:
  9468. description: 委托价格
  9469. type: number
  9470. orderqty:
  9471. description: 委托数量
  9472. type: integer
  9473. ordersrc:
  9474. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  9475. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  9476. type: integer
  9477. orderstatus:
  9478. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9479. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9480. 16:成交失败违约(荷兰式竞拍专用)
  9481. type: integer
  9482. ordertime:
  9483. description: 委托时间
  9484. type: string
  9485. preexerciseprice:
  9486. description: 预申报价格
  9487. type: number
  9488. premium:
  9489. description: 权利金
  9490. type: number
  9491. preorderid:
  9492. description: 关联预埋单号(止盈止损单时填写)
  9493. type: string
  9494. pricemode:
  9495. description: '取价方式 - 1:市价 2: 限价'
  9496. type: integer
  9497. quoteid:
  9498. description: 报价单ID
  9499. type: integer
  9500. relatedid:
  9501. description: 关联单号(交割单)
  9502. type: string
  9503. retcode:
  9504. description: 错误代码
  9505. type: integer
  9506. sessionid:
  9507. description: 会话ID
  9508. type: integer
  9509. tradedate:
  9510. description: 交易日(yyyyMMdd)
  9511. type: string
  9512. trademode:
  9513. description: 交易模式
  9514. type: integer
  9515. tradeproperty:
  9516. description: 交易属性
  9517. type: integer
  9518. tradeqty:
  9519. description: 成交数量
  9520. type: integer
  9521. unfreezecharge:
  9522. description: 解冻手续费
  9523. type: number
  9524. unfreezemargin:
  9525. description: 解冻保证金
  9526. type: number
  9527. updatetime:
  9528. description: 更新时间
  9529. type: string
  9530. uuid:
  9531. description: 发起端唯一id
  9532. type: string
  9533. validtime:
  9534. description: 有效期限
  9535. type: string
  9536. validtype:
  9537. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  9538. type: integer
  9539. volumetype:
  9540. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  9541. type: integer
  9542. required:
  9543. - accountid
  9544. - buildtype
  9545. - buyorsell
  9546. - goodsid
  9547. - histradedate
  9548. - marketid
  9549. - memberuserid
  9550. - operatetype
  9551. - orderid
  9552. - orderqty
  9553. - ordertime
  9554. - pricemode
  9555. - tradedate
  9556. - validtype
  9557. type: object
  9558. order.QueryTradeDetailRsp:
  9559. properties:
  9560. accountid:
  9561. description: 账户ID[报价币种]
  9562. type: integer
  9563. buildtype:
  9564. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  9565. type: integer
  9566. buyorsell:
  9567. description: 方向 - 0:买 1:卖
  9568. type: integer
  9569. charge:
  9570. description: 手续费
  9571. type: number
  9572. closecharge:
  9573. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9574. type: number
  9575. closeexchagechargevalue:
  9576. description: 平仓交易所手续费设置值
  9577. type: number
  9578. closefeealgorithm:
  9579. description: 平仓手续费收取方式 1:比率 2:固定
  9580. type: integer
  9581. closememberchargevalue:
  9582. description: 平仓会员手续费设置值
  9583. type: number
  9584. closepl:
  9585. description: 平仓盈亏
  9586. type: number
  9587. closepl2:
  9588. description: 平仓盈亏[逐笔]
  9589. type: number
  9590. closeqty:
  9591. description: 平仓数量(先建后平操作 需要记录)
  9592. type: integer
  9593. creditamount:
  9594. description: 授信金额
  9595. type: number
  9596. gcaccountid:
  9597. description: 账户ID[合约币种]
  9598. type: integer
  9599. goodscode:
  9600. description: 商品代码
  9601. type: string
  9602. goodsid:
  9603. description: 商品ID
  9604. type: integer
  9605. goodsname:
  9606. description: 商品名称
  9607. type: string
  9608. intclosepl:
  9609. description: 整型盈亏(用于交易结算试算平衡-收益权)
  9610. type: integer
  9611. isconfirmexercise:
  9612. description: 是否确认行权- 0:否 1:是
  9613. type: integer
  9614. ismain:
  9615. description: 是否主单 - 0:不是 1:是
  9616. type: integer
  9617. ispreexercise:
  9618. description: 是否预申报- 0:否 1:是
  9619. type: integer
  9620. isreckoned:
  9621. description: 是否结算 - 0:未结算 1:已结算
  9622. type: integer
  9623. listingselecttype:
  9624. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9625. type: integer
  9626. marketid:
  9627. description: 市场ID
  9628. type: integer
  9629. marketname:
  9630. description: 市场名称
  9631. type: string
  9632. matchaccountid:
  9633. description: 对手账号id
  9634. type: integer
  9635. memberuserid:
  9636. description: 会员id 个人投资者 需要填写
  9637. type: integer
  9638. opencharge:
  9639. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9640. type: number
  9641. openexchagechargevalue:
  9642. description: 建仓交易所手续费设置值
  9643. type: number
  9644. openfeealgorithm:
  9645. description: 建仓手续费收取方式 1:比率 2:固定
  9646. type: integer
  9647. openmemberchargevalue:
  9648. description: 建仓会员手续费设置值
  9649. type: number
  9650. openqty:
  9651. description: 开仓数量(先建后平操作 需要记录)
  9652. type: integer
  9653. optiontype:
  9654. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  9655. type: integer
  9656. orderid:
  9657. description: 委托单号
  9658. type: string
  9659. performanceplanid:
  9660. description: 履约计划ID[期权]
  9661. type: integer
  9662. performancestatus:
  9663. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  9664. type: integer
  9665. preexerciseprice:
  9666. description: 预申报价格
  9667. type: number
  9668. premium:
  9669. description: 权利金 - [持仓单的权利金]
  9670. type: number
  9671. relatedouttradeid:
  9672. description: 关联外部成交单ID
  9673. type: integer
  9674. status:
  9675. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  9676. type: integer
  9677. tradeamount:
  9678. description: 成交金额[账户币种,用于所有权]
  9679. type: number
  9680. tradedate:
  9681. description: 交易日(yyyyMMdd)
  9682. type: string
  9683. tradeid:
  9684. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9685. type: string
  9686. trademode:
  9687. description: 交易模式
  9688. type: integer
  9689. tradeprice:
  9690. description: 成交价格
  9691. type: number
  9692. tradeproperty:
  9693. description: 交易属性
  9694. type: integer
  9695. tradeqty:
  9696. description: 成交数量
  9697. type: integer
  9698. tradetime:
  9699. description: 成交时间
  9700. type: string
  9701. tradetype:
  9702. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  9703. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  9704. type: integer
  9705. required:
  9706. - accountid
  9707. - buyorsell
  9708. - goodsid
  9709. - marketid
  9710. - memberuserid
  9711. - orderid
  9712. - tradeamount
  9713. - tradedate
  9714. - tradeid
  9715. - tradeprice
  9716. - tradeqty
  9717. - tradetime
  9718. type: object
  9719. order.QueryTradeOrderDetailRsp:
  9720. properties:
  9721. accountid:
  9722. description: 账户ID[报价币种]
  9723. type: integer
  9724. buildtype:
  9725. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  9726. type: integer
  9727. buyorsell:
  9728. description: 买卖 - 0:买 1:卖
  9729. type: integer
  9730. cancelorderid:
  9731. description: 撤单单号(撤单时填写)
  9732. type: string
  9733. cancelqty:
  9734. description: 撤单数量
  9735. type: integer
  9736. clienttype:
  9737. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  9738. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9739. type: integer
  9740. closefreezecharge:
  9741. description: 平仓冻结手续费(先建后平操作,需要记录)
  9742. type: number
  9743. closeqty:
  9744. description: 平仓数量(先建后平操作 需要记录)
  9745. type: integer
  9746. closetradeqty:
  9747. description: 平仓成交数量(先建后平操作,需要记录)
  9748. type: integer
  9749. closeunfreezecharge:
  9750. description: 平仓解冻手续费(先建后平操作,需要记录)
  9751. type: number
  9752. delistingtype:
  9753. description: 摘牌类型 - 1:价格最优 2:点选成交
  9754. type: integer
  9755. enableqty:
  9756. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  9757. type: integer
  9758. freezecharge:
  9759. description: 冻结手续费
  9760. type: number
  9761. freezemargin:
  9762. description: 冻结保证金(冻结交易金额)
  9763. type: number
  9764. goodscode:
  9765. description: 商品代码
  9766. type: string
  9767. goodsid:
  9768. description: 商品ID
  9769. type: integer
  9770. goodsname:
  9771. description: 商品名称
  9772. type: string
  9773. listingselecttype:
  9774. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9775. type: integer
  9776. marketid:
  9777. description: 市场ID
  9778. type: integer
  9779. marketname:
  9780. description: 市场名称
  9781. type: string
  9782. openfreezecharge:
  9783. description: 开仓冻结手续费(先建后平操作,需要记录)
  9784. type: number
  9785. openqty:
  9786. description: 开仓数量(先建后平操作,需要记录)
  9787. type: integer
  9788. opentradeqty:
  9789. description: 开仓成交数量(先建后平操作,需要记录)
  9790. type: integer
  9791. openunfreezecharge:
  9792. description: 开仓解冻手续费(先建后平操作,需要记录)
  9793. type: number
  9794. operatetype:
  9795. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  9796. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  9797. 15:管理端协议转让
  9798. type: integer
  9799. operatorid:
  9800. description: 登录账号(LoginID)
  9801. type: integer
  9802. orderid:
  9803. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9804. type: string
  9805. orderprice:
  9806. description: 委托价格
  9807. type: number
  9808. orderqty:
  9809. description: 委托数量
  9810. type: integer
  9811. ordersrc:
  9812. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  9813. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  9814. type: integer
  9815. orderstatus:
  9816. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9817. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9818. 16:成交失败违约(荷兰式竞拍专用)
  9819. type: integer
  9820. ordertime:
  9821. description: 委托时间
  9822. type: string
  9823. preorderid:
  9824. description: 关联预埋单号(止盈止损单时填写)
  9825. type: string
  9826. pricemode:
  9827. description: '取价方式 - 1:市价 2: 限价'
  9828. type: integer
  9829. relatedid:
  9830. description: 关联单号(交割单)
  9831. type: string
  9832. tradedate:
  9833. description: 交易日(yyyyMMdd)
  9834. type: string
  9835. trademode:
  9836. description: 交易模式
  9837. type: integer
  9838. tradeqty:
  9839. description: 成交数量
  9840. type: integer
  9841. unfreezecharge:
  9842. description: 解冻手续费
  9843. type: number
  9844. unfreezemargin:
  9845. description: 解冻保证金
  9846. type: number
  9847. validtime:
  9848. description: 有效期限
  9849. type: string
  9850. validtype:
  9851. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  9852. type: integer
  9853. volumetype:
  9854. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  9855. type: integer
  9856. required:
  9857. - accountid
  9858. - buildtype
  9859. - buyorsell
  9860. - goodsid
  9861. - marketid
  9862. - operatetype
  9863. - orderqty
  9864. - ordertime
  9865. - pricemode
  9866. - tradedate
  9867. - validtype
  9868. type: object
  9869. order.QueryTradePositionRsp:
  9870. properties:
  9871. accountid:
  9872. description: 资金账户
  9873. type: integer
  9874. agreeunit:
  9875. description: 合约单位
  9876. type: number
  9877. averageprice:
  9878. description: 持仓均价
  9879. type: number
  9880. buyorsell:
  9881. description: 方向 - 0:买 1:卖
  9882. type: integer
  9883. closetotalqty:
  9884. description: 平仓总数量
  9885. type: integer
  9886. curholderamount:
  9887. description: 当前持仓总金额[商品币种]
  9888. type: number
  9889. curpositionqty:
  9890. description: 当前持仓总数量
  9891. type: integer
  9892. currencyid:
  9893. description: 报价货币ID
  9894. type: integer
  9895. curtdposition:
  9896. description: 期末今日头寸
  9897. type: integer
  9898. decimalplace:
  9899. description: 报价小数位
  9900. type: integer
  9901. enableqty:
  9902. description: 可用量
  9903. type: integer
  9904. fretdposition:
  9905. description: 冻结今日头寸
  9906. type: integer
  9907. frozenqty:
  9908. description: 持仓冻结数量
  9909. type: integer
  9910. goodscode:
  9911. description: 商品代码
  9912. type: string
  9913. goodsid:
  9914. description: 商品Id
  9915. type: integer
  9916. goodsname:
  9917. description: 商品名称
  9918. type: string
  9919. goodunit:
  9920. description: 报价单位
  9921. type: string
  9922. goodunitid:
  9923. description: 报价单位ID
  9924. type: integer
  9925. holderamount:
  9926. description: 期初持仓总金额[商品币种]
  9927. type: number
  9928. marketid:
  9929. description: 所属市场ID
  9930. type: integer
  9931. openreqqty:
  9932. description: 开仓申请数量(用于比较最大持仓数量)
  9933. type: integer
  9934. opentotalqty:
  9935. description: 开仓总数量
  9936. type: integer
  9937. otherfrozenqty:
  9938. description: 持仓其他冻结数量(交割冻结)
  9939. type: integer
  9940. positionqty:
  9941. description: 期初持仓数量
  9942. type: integer
  9943. tnqty:
  9944. description: T+N冻结总量
  9945. type: integer
  9946. tnusedqty:
  9947. description: T+N使用量(可以使用T+N的冻结数量)
  9948. type: integer
  9949. trademode:
  9950. description: 交易模式
  9951. type: integer
  9952. usedmargin:
  9953. description: 占用保证金[商品币种]
  9954. type: number
  9955. required:
  9956. - goodsid
  9957. type: object
  9958. quote.HistoryData:
  9959. properties:
  9960. c:
  9961. description: 收盘价
  9962. type: number
  9963. f:
  9964. description: 是否补充数据
  9965. type: boolean
  9966. h:
  9967. description: 最高价
  9968. type: number
  9969. hv:
  9970. description: 持仓量
  9971. type: integer
  9972. l:
  9973. description: 最低价
  9974. type: number
  9975. o:
  9976. description: 开盘价
  9977. type: number
  9978. s:
  9979. description: 结算价,日线周期(包括)以上才有
  9980. type: number
  9981. ts:
  9982. description: 时间
  9983. type: string
  9984. tt:
  9985. description: 总金额
  9986. type: number
  9987. tv:
  9988. description: 总量
  9989. type: integer
  9990. type: object
  9991. quote.HistoryTikData:
  9992. properties:
  9993. AV:
  9994. description: 卖量
  9995. type: integer
  9996. Ask:
  9997. description: 卖价
  9998. type: number
  9999. BV:
  10000. description: 买量
  10001. type: integer
  10002. Bid:
  10003. description: 买价
  10004. type: number
  10005. HI:
  10006. description: 单笔持仓
  10007. type: integer
  10008. HV:
  10009. description: 持仓量
  10010. type: integer
  10011. PE:
  10012. description: 现价
  10013. type: number
  10014. TDR:
  10015. description: 交易方向,0:买 1:卖
  10016. type: integer
  10017. TK:
  10018. description: 交易类型
  10019. type: integer
  10020. TS:
  10021. description: 行情时间文本
  10022. type: string
  10023. TT:
  10024. description: 现金额
  10025. type: number
  10026. Vol:
  10027. description: 现量
  10028. type: integer
  10029. type: object
  10030. quote.QueryQuoteDayRsp:
  10031. properties:
  10032. ask:
  10033. description: 卖1
  10034. type: number
  10035. ask2:
  10036. description: 卖2
  10037. type: number
  10038. ask3:
  10039. description: 卖3
  10040. type: number
  10041. ask4:
  10042. description: 卖4
  10043. type: number
  10044. ask5:
  10045. description: 卖5
  10046. type: number
  10047. ask6:
  10048. description: 卖6
  10049. type: number
  10050. ask7:
  10051. description: 卖7
  10052. type: number
  10053. ask8:
  10054. description: 卖8
  10055. type: number
  10056. ask9:
  10057. description: 卖9
  10058. type: number
  10059. ask10:
  10060. description: 卖10
  10061. type: number
  10062. askorderid:
  10063. description: 卖单号1
  10064. type: integer
  10065. askorderid2:
  10066. description: 卖单号2
  10067. type: integer
  10068. askorderid3:
  10069. description: 卖单号3
  10070. type: integer
  10071. askorderid4:
  10072. description: 卖单号4
  10073. type: integer
  10074. askorderid5:
  10075. description: 卖单号5
  10076. type: integer
  10077. askordervolume:
  10078. description: 卖单量1
  10079. type: integer
  10080. askordervolume2:
  10081. description: 卖单量2
  10082. type: integer
  10083. askordervolume3:
  10084. description: 卖单量3
  10085. type: integer
  10086. askordervolume4:
  10087. description: 卖单量4
  10088. type: integer
  10089. askordervolume5:
  10090. description: 卖单量5
  10091. type: integer
  10092. askordervolume6:
  10093. description: 卖单量6
  10094. type: integer
  10095. askordervolume7:
  10096. description: 卖单量7
  10097. type: integer
  10098. askordervolume8:
  10099. description: 卖单量8
  10100. type: integer
  10101. askordervolume9:
  10102. description: 卖单量9
  10103. type: integer
  10104. askordervolume10:
  10105. description: 卖单量10
  10106. type: integer
  10107. askqueueinfo:
  10108. description: 大利市卖港股用
  10109. type: string
  10110. askvolume:
  10111. description: 卖量1
  10112. type: integer
  10113. askvolume2:
  10114. description: 卖量2
  10115. type: integer
  10116. askvolume3:
  10117. description: 卖量3
  10118. type: integer
  10119. askvolume4:
  10120. description: 卖量4
  10121. type: integer
  10122. askvolume5:
  10123. description: 卖量5
  10124. type: integer
  10125. askvolume6:
  10126. description: 卖量6
  10127. type: integer
  10128. askvolume7:
  10129. description: 卖量7
  10130. type: integer
  10131. askvolume8:
  10132. description: 卖量8
  10133. type: integer
  10134. askvolume9:
  10135. description: 卖量9
  10136. type: integer
  10137. askvolume10:
  10138. description: 卖量10
  10139. type: integer
  10140. averageprice:
  10141. description: 均价
  10142. type: number
  10143. bid:
  10144. description: 买1
  10145. type: number
  10146. bid2:
  10147. description: 买2
  10148. type: number
  10149. bid3:
  10150. description: 买3
  10151. type: number
  10152. bid4:
  10153. description: 买4
  10154. type: number
  10155. bid5:
  10156. description: 买5
  10157. type: number
  10158. bid6:
  10159. description: 买6
  10160. type: number
  10161. bid7:
  10162. description: 买7
  10163. type: number
  10164. bid8:
  10165. description: 买8
  10166. type: number
  10167. bid9:
  10168. description: 买9
  10169. type: number
  10170. bid10:
  10171. description: 买10
  10172. type: number
  10173. bidorderid:
  10174. description: 买单号1
  10175. type: integer
  10176. bidorderid2:
  10177. description: 买单号2
  10178. type: integer
  10179. bidorderid3:
  10180. description: 买单号3
  10181. type: integer
  10182. bidorderid4:
  10183. description: 买单号4
  10184. type: integer
  10185. bidorderid5:
  10186. description: 买单号5
  10187. type: integer
  10188. bidordervolume:
  10189. description: 买单量1
  10190. type: integer
  10191. bidordervolume2:
  10192. description: 买单量2
  10193. type: integer
  10194. bidordervolume3:
  10195. description: 买单量3
  10196. type: integer
  10197. bidordervolume4:
  10198. description: 买单量4
  10199. type: integer
  10200. bidordervolume5:
  10201. description: 买单量5
  10202. type: integer
  10203. bidordervolume6:
  10204. description: 买单量6
  10205. type: integer
  10206. bidordervolume7:
  10207. description: 买单量7
  10208. type: integer
  10209. bidordervolume8:
  10210. description: 买单量8
  10211. type: integer
  10212. bidordervolume9:
  10213. description: 买单量9
  10214. type: integer
  10215. bidordervolume10:
  10216. description: 买单量10
  10217. type: integer
  10218. bidqueueinfo:
  10219. description: 大利市买港股用
  10220. type: string
  10221. bidvolume:
  10222. description: 买量1
  10223. type: integer
  10224. bidvolume2:
  10225. description: 买量2
  10226. type: integer
  10227. bidvolume3:
  10228. description: 买量3
  10229. type: integer
  10230. bidvolume4:
  10231. description: 买量4
  10232. type: integer
  10233. bidvolume5:
  10234. description: 买量5
  10235. type: integer
  10236. bidvolume6:
  10237. description: 买量6
  10238. type: integer
  10239. bidvolume7:
  10240. description: 买量7
  10241. type: integer
  10242. bidvolume8:
  10243. description: 买量8
  10244. type: integer
  10245. bidvolume9:
  10246. description: 买量9
  10247. type: integer
  10248. bidvolume10:
  10249. description: 买量10
  10250. type: integer
  10251. calloptionpremiums:
  10252. description: 认购期权1
  10253. type: integer
  10254. calloptionpremiums2:
  10255. description: 认购期权2
  10256. type: integer
  10257. calloptionpremiums3:
  10258. description: 认购期权3
  10259. type: integer
  10260. calloptionpremiums4:
  10261. description: 认购期权4
  10262. type: integer
  10263. calloptionpremiums5:
  10264. description: 认购期权5
  10265. type: integer
  10266. cleartime:
  10267. description: 清盘时间
  10268. type: integer
  10269. exchangecode:
  10270. description: 交易所代码
  10271. type: integer
  10272. exchangedate:
  10273. description: 交易日
  10274. type: integer
  10275. goodscode:
  10276. description: 商品代码
  10277. type: string
  10278. grepmarketprice:
  10279. description: 暗盘价 港股专用
  10280. type: number
  10281. highest:
  10282. description: 最高价
  10283. type: number
  10284. holdincrement:
  10285. description: 单笔持仓
  10286. type: integer
  10287. holdvolume:
  10288. description: 持仓
  10289. type: integer
  10290. iep:
  10291. description: 平衡价 港股专用
  10292. type: number
  10293. iev:
  10294. description: 平衡量 港股专用
  10295. type: number
  10296. inventory:
  10297. description: 库存
  10298. type: integer
  10299. iscleared:
  10300. description: 是否清盘标志
  10301. type: integer
  10302. issettled:
  10303. description: 是否结算标志
  10304. type: integer
  10305. last:
  10306. description: 最新价
  10307. type: number
  10308. lastlot:
  10309. description: 最新成交手数
  10310. type: integer
  10311. lasttime:
  10312. description: 行情时间(只有现价变化行情时间才变化)
  10313. type: string
  10314. lastturnover:
  10315. description: 最新成交金额
  10316. type: number
  10317. lastvolume:
  10318. description: 最新成交量
  10319. type: integer
  10320. limitdown:
  10321. description: 跌停价
  10322. type: number
  10323. limitup:
  10324. description: 涨停价
  10325. type: number
  10326. lowest:
  10327. description: 最低价
  10328. type: number
  10329. nontotalholdervolume:
  10330. description: 非交易持仓量
  10331. type: integer
  10332. nontotallot:
  10333. description: 非交易总手数
  10334. type: integer
  10335. nontotalturnover:
  10336. description: 非交易总金额
  10337. type: integer
  10338. nontotalvolume:
  10339. description: 非交易总量
  10340. type: integer
  10341. opened:
  10342. description: 开盘价
  10343. type: number
  10344. opentime:
  10345. description: 开盘时间
  10346. type: string
  10347. orderid:
  10348. description: 序号
  10349. type: integer
  10350. preclose:
  10351. description: 昨收
  10352. type: number
  10353. preholdvolume:
  10354. description: 昨持仓
  10355. type: integer
  10356. presettle:
  10357. description: 昨结价
  10358. type: number
  10359. publictradetype:
  10360. description: 公共交易标志类型 港股专用
  10361. type: string
  10362. putoptionpremiums:
  10363. description: 认沽期权1
  10364. type: integer
  10365. putoptionpremiums2:
  10366. description: 认沽期权2
  10367. type: integer
  10368. putoptionpremiums3:
  10369. description: 认沽期权3
  10370. type: integer
  10371. putoptionpremiums4:
  10372. description: 认沽期权4
  10373. type: integer
  10374. putoptionpremiums5:
  10375. description: 认沽期权5
  10376. type: integer
  10377. settle:
  10378. description: 结算价
  10379. type: number
  10380. strikeprice:
  10381. description: 发行价
  10382. type: number
  10383. totalaskvolume:
  10384. description: 内盘
  10385. type: integer
  10386. totalbidvolume:
  10387. description: 外盘
  10388. type: integer
  10389. totallot:
  10390. description: 总手数
  10391. type: integer
  10392. totalturnover:
  10393. description: 总金额
  10394. type: number
  10395. totalvolume:
  10396. description: 总量
  10397. type: integer
  10398. utclasttime:
  10399. description: utc的行情时间
  10400. type: string
  10401. type: object
  10402. quote.QueryTSDataRsp:
  10403. properties:
  10404. Count:
  10405. description: 交易日应有数据个数
  10406. type: integer
  10407. decimalPlace:
  10408. description: 小数位
  10409. type: integer
  10410. endTime:
  10411. description: 结束时间
  10412. type: string
  10413. goodsCode:
  10414. description: 商品代码
  10415. type: string
  10416. historyDatas:
  10417. description: 历史数据
  10418. items:
  10419. $ref: '#/definitions/quote.HistoryData'
  10420. type: array
  10421. outGoodsCode:
  10422. description: 外部商品代码
  10423. type: string
  10424. preSettle:
  10425. description: 昨结价
  10426. type: number
  10427. runSteps:
  10428. description: 交易日开休市计划
  10429. items:
  10430. $ref: '#/definitions/quote.TSDataRunStep'
  10431. type: array
  10432. startTime:
  10433. description: 开始时间
  10434. type: string
  10435. tradeDate:
  10436. description: 交易日
  10437. type: string
  10438. type: object
  10439. quote.TSDataRunStep:
  10440. properties:
  10441. end:
  10442. description: 真实结束时间
  10443. type: string
  10444. endflag:
  10445. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  10446. type: integer
  10447. endtime:
  10448. description: 结束时间(HH:mm)
  10449. type: string
  10450. endweekday:
  10451. description: 结束周几
  10452. type: integer
  10453. groupid:
  10454. description: 分组ID
  10455. type: integer
  10456. runstep:
  10457. description: 运行阶段 - 2:连续交易
  10458. type: integer
  10459. sectionid:
  10460. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  10461. 结束时间=结算时间 结束周几=结算周几
  10462. type: integer
  10463. start:
  10464. description: 真实开始时间
  10465. type: string
  10466. startflag:
  10467. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  10468. type: integer
  10469. starttime:
  10470. description: 起始时间(HH:mm)
  10471. type: string
  10472. startweekday:
  10473. description: 起始周几
  10474. type: integer
  10475. tradeweekday:
  10476. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  10477. type: integer
  10478. type: object
  10479. szdz.QueryConvertLogRsp:
  10480. properties:
  10481. accountid:
  10482. description: 资金账户ID
  10483. type: integer
  10484. clientticket:
  10485. description: 客户端流水号
  10486. type: string
  10487. converttype:
  10488. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  10489. type: integer
  10490. createtime:
  10491. description: 记账时间
  10492. type: string
  10493. daymaxvalue:
  10494. description: 配置当日最大转入限制
  10495. type: number
  10496. daymaxvalue2:
  10497. description: 配置当日最大转入限制(转入)
  10498. type: number
  10499. goodscode:
  10500. description: 商品代码
  10501. type: string
  10502. goodsname:
  10503. description: 商品名称
  10504. type: string
  10505. handlestatus:
  10506. description: 处理状态
  10507. type: integer
  10508. innergoodsid:
  10509. description: 内部商品ID
  10510. type: integer
  10511. inratio:
  10512. description: 配置转入比值
  10513. type: integer
  10514. invalue:
  10515. description: 目标值
  10516. type: number
  10517. logid:
  10518. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10519. type: integer
  10520. mobile:
  10521. description: 手机号码(加密存储)
  10522. type: string
  10523. outergoodscode:
  10524. description: 外部商品代码[JD\PD]
  10525. type: string
  10526. outratio:
  10527. description: 配置转出比值
  10528. type: integer
  10529. outvalue:
  10530. description: 源值
  10531. type: number
  10532. pddecimalplace:
  10533. description: PD小数位
  10534. type: integer
  10535. qty:
  10536. description: 数量
  10537. type: string
  10538. remark:
  10539. description: 备注
  10540. type: string
  10541. sessionid:
  10542. description: 会话ID
  10543. type: integer
  10544. timemaxvalue:
  10545. description: 配置单次最大转入限制
  10546. type: number
  10547. timemaxvalue2:
  10548. description: 配置单次最大转入限制(转入)
  10549. type: number
  10550. timeminvalue:
  10551. description: 配置单次最小数量限制
  10552. type: number
  10553. timeminvalue2:
  10554. description: 配置单次最小数量限制(转入)
  10555. type: number
  10556. tradedate:
  10557. description: 交易日(yyyyMMdd)
  10558. type: string
  10559. userid:
  10560. description: 用户ID
  10561. type: integer
  10562. required:
  10563. - logid
  10564. type: object
  10565. szdz.QueryGoodsPickupRsp:
  10566. properties:
  10567. accountid:
  10568. description: 账户ID
  10569. type: integer
  10570. address:
  10571. description: 提货人详细地址
  10572. type: string
  10573. auditer:
  10574. description: 审核人
  10575. type: integer
  10576. audittime:
  10577. description: 审核时间
  10578. type: string
  10579. cardnum:
  10580. description: 提货人证件号码
  10581. type: string
  10582. cardtypeid:
  10583. description: 提货人证件类型
  10584. type: integer
  10585. checkremark:
  10586. description: 审核备注
  10587. type: string
  10588. goodscode:
  10589. description: 商品代码
  10590. type: string
  10591. goodsid:
  10592. description: 商品ID
  10593. type: integer
  10594. goodsname:
  10595. description: 商品名称
  10596. type: string
  10597. handlestatus:
  10598. description: 处理状态
  10599. type: integer
  10600. marketid:
  10601. description: 市场ID
  10602. type: integer
  10603. phonenum:
  10604. description: 提货人联系方式
  10605. type: string
  10606. qty:
  10607. description: 提货数量
  10608. type: number
  10609. recivername:
  10610. description: 提货人姓名
  10611. type: string
  10612. reqtime:
  10613. description: 更新时间
  10614. type: string
  10615. takemode:
  10616. description: 提货方式 - 2:自提 3:配送
  10617. type: integer
  10618. takeorderid:
  10619. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  10620. type: string
  10621. takeorderstatus:
  10622. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  10623. type: integer
  10624. takeremark:
  10625. description: 提货备注
  10626. type: string
  10627. tradedate:
  10628. description: 交易日(yyyyMMdd)
  10629. type: string
  10630. userid:
  10631. description: 用户ID
  10632. type: integer
  10633. required:
  10634. - takeorderid
  10635. type: object
  10636. szdz.QueryRecieptOrderRsp:
  10637. properties:
  10638. accountName:
  10639. description: 所属账号名称(已脱敏)
  10640. type: string
  10641. accountid:
  10642. description: 资金账号
  10643. type: integer
  10644. buyorsell:
  10645. description: 方向 - 0:买 1:卖
  10646. type: integer
  10647. enableqty:
  10648. description: 可摘数量
  10649. type: integer
  10650. goodscode:
  10651. description: 商品代码
  10652. type: string
  10653. goodsid:
  10654. description: 商品ID
  10655. type: integer
  10656. goodsname:
  10657. description: 商品名称
  10658. type: string
  10659. orderid:
  10660. description: 委托单号
  10661. type: string
  10662. orderprice:
  10663. description: 委托价格
  10664. type: number
  10665. ordertime:
  10666. description: 委托时间
  10667. type: string
  10668. tradedate:
  10669. description: 交易日(yyyyMMdd)
  10670. type: string
  10671. required:
  10672. - ordertime
  10673. type: object
  10674. szdz.QuerySZDZTradePositionRsp:
  10675. properties:
  10676. accountid:
  10677. description: 账号Id
  10678. type: integer
  10679. agreeunit:
  10680. description: 合约单位
  10681. type: number
  10682. averageprice:
  10683. description: 持仓均价
  10684. type: number
  10685. buyorsell:
  10686. description: 方向 - 0:买 1:卖
  10687. type: integer
  10688. closetotalqty:
  10689. description: 平仓总数量
  10690. type: integer
  10691. curholderamount:
  10692. description: 当前持仓总金额
  10693. type: number
  10694. curpositionqty:
  10695. description: 当前持仓总数量
  10696. type: integer
  10697. currencyid:
  10698. description: 报价货币ID
  10699. type: integer
  10700. curtdposition:
  10701. description: 期末今日头寸
  10702. type: integer
  10703. decimalplace:
  10704. description: 报价小数位
  10705. type: integer
  10706. enableqty:
  10707. description: 可用量
  10708. type: integer
  10709. fretdposition:
  10710. description: 冻结今日头寸
  10711. type: integer
  10712. frozenqty:
  10713. description: 持仓冻结数量
  10714. type: integer
  10715. goodscode:
  10716. description: 商品代码(内部)
  10717. type: string
  10718. goodsid:
  10719. description: 商品Id
  10720. type: integer
  10721. goodsname:
  10722. description: 商品名称
  10723. type: string
  10724. goodunit:
  10725. description: 报价单位
  10726. type: string
  10727. goodunitid:
  10728. description: 报价单位ID
  10729. type: integer
  10730. holderamount:
  10731. description: 期初持仓总金额
  10732. type: number
  10733. marketid:
  10734. description: 市场ID
  10735. type: integer
  10736. openreqqty:
  10737. description: 开仓申请数量
  10738. type: integer
  10739. opentotalqty:
  10740. description: 开仓总数量
  10741. type: integer
  10742. otherfrozenqty:
  10743. description: 持仓其他冻结数量(交割冻结)
  10744. type: integer
  10745. positionqty:
  10746. description: 期初持仓数量
  10747. type: integer
  10748. szdz3freezqty:
  10749. description: 尚志大宗转换冻结总数量
  10750. type: integer
  10751. tnqty:
  10752. description: T+N冻结总量
  10753. type: integer
  10754. tnusedqty:
  10755. description: T+N使用量
  10756. type: integer
  10757. trademode:
  10758. description: 交易模式
  10759. type: integer
  10760. usedmargin:
  10761. description: 占用保证金
  10762. type: number
  10763. type: object
  10764. taaccount.QueryAmountLogRsp:
  10765. properties:
  10766. OPERATETYPENAME:
  10767. description: 资金操作类型名称
  10768. type: string
  10769. accountid:
  10770. description: 资金账户ID
  10771. type: integer
  10772. agoodscode:
  10773. description: 竞拍商品代码
  10774. type: string
  10775. agoodsname:
  10776. description: 竞拍商品名称
  10777. type: string
  10778. amount:
  10779. description: 资金金额
  10780. type: number
  10781. amountadjusttype:
  10782. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  10783. type: integer
  10784. autoid:
  10785. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  10786. type: integer
  10787. balance:
  10788. description: 期初余额
  10789. type: number
  10790. businesscode:
  10791. description: 业务编号
  10792. type: integer
  10793. createtime:
  10794. description: 发生时间
  10795. type: string
  10796. currencyid:
  10797. description: 币种ID
  10798. type: integer
  10799. currentbalance:
  10800. description: 期末余额(变动后金额)
  10801. type: number
  10802. dgoodscode:
  10803. description: 交割商品代码
  10804. type: string
  10805. dgoodsname:
  10806. description: 交割商品名称
  10807. type: string
  10808. goodscode:
  10809. description: 商品代码
  10810. type: string
  10811. goodsid:
  10812. description: 商品ID
  10813. type: integer
  10814. goodsname:
  10815. description: 商品名称
  10816. type: string
  10817. marketid:
  10818. description: 市场ID
  10819. type: integer
  10820. marketname:
  10821. description: 市场名称
  10822. type: string
  10823. moneyticket:
  10824. description: 资金流水号:银行端流水号
  10825. type: integer
  10826. operatetype:
  10827. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  10828. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  10829. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  10830. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  10831. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  10832. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  10833. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  10834. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  10835. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  10836. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  10837. type: integer
  10838. relationorderid:
  10839. description: 关联单号
  10840. type: string
  10841. remark:
  10842. description: 备注
  10843. type: string
  10844. trademode:
  10845. description: 交易模式
  10846. type: integer
  10847. required:
  10848. - accountid
  10849. - amount
  10850. - amountadjusttype
  10851. - autoid
  10852. - balance
  10853. - createtime
  10854. - currentbalance
  10855. - operatetype
  10856. type: object
  10857. taaccount.QueryHisAmountLogRsp:
  10858. properties:
  10859. OPERATETYPENAME:
  10860. description: 资金操作类型名称
  10861. type: string
  10862. accountid:
  10863. description: 资金账户ID
  10864. type: integer
  10865. agoodscode:
  10866. description: 竞拍商品代码
  10867. type: string
  10868. agoodsname:
  10869. description: 竞拍商品名称
  10870. type: string
  10871. amount:
  10872. description: 资金金额
  10873. type: number
  10874. amountadjusttype:
  10875. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  10876. type: integer
  10877. autoid:
  10878. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  10879. type: integer
  10880. balance:
  10881. description: 期初余额
  10882. type: number
  10883. businesscode:
  10884. description: 业务编号
  10885. type: integer
  10886. createtime:
  10887. description: 发生时间
  10888. type: string
  10889. currencyid:
  10890. description: 币种ID
  10891. type: integer
  10892. currentbalance:
  10893. description: 期末余额(变动后金额)
  10894. type: number
  10895. dgoodscode:
  10896. description: 交割商品代码
  10897. type: string
  10898. dgoodsname:
  10899. description: 交割商品名称
  10900. type: string
  10901. goodscode:
  10902. description: 商品代码
  10903. type: string
  10904. goodsid:
  10905. description: 商品ID
  10906. type: integer
  10907. goodsname:
  10908. description: 商品名称
  10909. type: string
  10910. histradedate:
  10911. description: 历史交易日
  10912. type: string
  10913. isvaliddata:
  10914. description: 是否有效 - 0:无效 1:有效
  10915. type: integer
  10916. marketid:
  10917. description: 市场ID
  10918. type: integer
  10919. marketname:
  10920. description: 市场名称
  10921. type: string
  10922. moneyticket:
  10923. description: 资金流水号:银行端流水号
  10924. type: integer
  10925. operatetype:
  10926. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  10927. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  10928. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  10929. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  10930. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  10931. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  10932. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  10933. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  10934. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  10935. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  10936. type: integer
  10937. relationorderid:
  10938. description: 关联单号
  10939. type: string
  10940. remark:
  10941. description: 备注
  10942. type: string
  10943. trademode:
  10944. description: 交易模式
  10945. type: integer
  10946. required:
  10947. - accountid
  10948. - amount
  10949. - amountadjusttype
  10950. - autoid
  10951. - balance
  10952. - createtime
  10953. - currentbalance
  10954. - histradedate
  10955. - operatetype
  10956. type: object
  10957. trade.QueryRecieptOrderRsp:
  10958. properties:
  10959. accountName:
  10960. description: 所属账号名称(已脱敏)
  10961. type: string
  10962. accountid:
  10963. description: 资金账号
  10964. type: integer
  10965. buyorsell:
  10966. description: 方向 - 0:买 1:卖
  10967. type: integer
  10968. enableqty:
  10969. description: 可摘数量
  10970. type: integer
  10971. goodscode:
  10972. description: 商品代码
  10973. type: string
  10974. goodsid:
  10975. description: 商品ID
  10976. type: integer
  10977. goodsname:
  10978. description: 商品名称
  10979. type: string
  10980. orderid:
  10981. description: 委托单号
  10982. type: string
  10983. orderprice:
  10984. description: 委托价格
  10985. type: number
  10986. ordertime:
  10987. description: 委托时间
  10988. type: string
  10989. tradedate:
  10990. description: 交易日(yyyyMMdd)
  10991. type: string
  10992. required:
  10993. - ordertime
  10994. type: object
  10995. user.LoginQueryRsp:
  10996. properties:
  10997. areaRoles:
  10998. description: 所属角色信息
  10999. items:
  11000. $ref: '#/definitions/models.Arearole'
  11001. type: array
  11002. externalExchanges:
  11003. description: 外部交易所
  11004. items:
  11005. $ref: '#/definitions/models.Externalexchange'
  11006. type: array
  11007. goodsgroups:
  11008. description: 商品组
  11009. items:
  11010. $ref: '#/definitions/models.Goodsgroup'
  11011. type: array
  11012. loginAccount:
  11013. $ref: '#/definitions/models.Loginaccount'
  11014. description: 登录账号
  11015. type: object
  11016. markets:
  11017. description: 市场
  11018. items:
  11019. $ref: '#/definitions/models.Market'
  11020. type: array
  11021. systemParams:
  11022. description: 系统参数
  11023. items:
  11024. $ref: '#/definitions/models.Systemparam'
  11025. type: array
  11026. userAccount:
  11027. $ref: '#/definitions/models.Useraccount'
  11028. description: 用户账号
  11029. type: object
  11030. userInfo:
  11031. $ref: '#/definitions/models.Userinfo'
  11032. description: 用户信息
  11033. type: object
  11034. username:
  11035. description: 用户姓名
  11036. type: string
  11037. type: object
  11038. info:
  11039. contact: {}
  11040. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  11041. license: {}
  11042. termsOfService: http://muchinfo.cn
  11043. title: MTP2.0 查询服务 API
  11044. version: "1.0"
  11045. paths:
  11046. /CPTrade/QueryCPTradeMyBidInfos:
  11047. get:
  11048. parameters:
  11049. - description: 资金账户
  11050. in: query
  11051. name: accountid
  11052. required: true
  11053. type: integer
  11054. - description: 预售市场ID
  11055. in: query
  11056. name: marketid
  11057. type: integer
  11058. - description: 预售商品ID
  11059. in: query
  11060. name: goodsid
  11061. type: integer
  11062. produces:
  11063. - application/json
  11064. responses:
  11065. "200":
  11066. description: OK
  11067. schema:
  11068. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  11069. "500":
  11070. description: Internal Server Error
  11071. schema:
  11072. $ref: '#/definitions/app.Response'
  11073. security:
  11074. - ApiKeyAuth: []
  11075. summary: 查询产能预售我的出价信息
  11076. tags:
  11077. - 产能预售
  11078. /CPTrade/QueryCPTradeOrderDetail:
  11079. get:
  11080. parameters:
  11081. - description: 预售商品ID
  11082. in: query
  11083. name: goodsid
  11084. type: integer
  11085. - description: 预售市场ID
  11086. in: query
  11087. name: marketid
  11088. type: integer
  11089. - description: 预售商品ID列表 - 格式:1,2,3
  11090. in: query
  11091. name: goodsids
  11092. type: string
  11093. produces:
  11094. - application/json
  11095. responses:
  11096. "200":
  11097. description: OK
  11098. schema:
  11099. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  11100. "500":
  11101. description: Internal Server Error
  11102. schema:
  11103. $ref: '#/definitions/app.Response'
  11104. security:
  11105. - ApiKeyAuth: []
  11106. summary: 查询产能预售委托单信息
  11107. tags:
  11108. - 产能预售
  11109. /CPTrade/QueryMyCPTradeGoods:
  11110. get:
  11111. parameters:
  11112. - description: 资金账户
  11113. in: query
  11114. name: accountid
  11115. required: true
  11116. type: integer
  11117. produces:
  11118. - application/json
  11119. responses:
  11120. "200":
  11121. description: OK
  11122. schema:
  11123. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  11124. "500":
  11125. description: Internal Server Error
  11126. schema:
  11127. $ref: '#/definitions/app.Response'
  11128. security:
  11129. - ApiKeyAuth: []
  11130. summary: 查询我的预售信息
  11131. tags:
  11132. - 产能预售
  11133. /CPTrade/QueryPositionCancel:
  11134. get:
  11135. parameters:
  11136. - description: 账户ID
  11137. in: query
  11138. name: userid
  11139. required: true
  11140. type: integer
  11141. - description: 注销ID
  11142. in: query
  11143. name: cancelid
  11144. type: integer
  11145. - description: 资金账户ID
  11146. in: query
  11147. name: accountid
  11148. type: integer
  11149. produces:
  11150. - application/json
  11151. responses:
  11152. "200":
  11153. description: OK
  11154. schema:
  11155. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  11156. "500":
  11157. description: Internal Server Error
  11158. schema:
  11159. $ref: '#/definitions/app.Response'
  11160. security:
  11161. - ApiKeyAuth: []
  11162. summary: 查询远期订单注销申请信息
  11163. tags:
  11164. - 产能预售
  11165. /CPTrade/QueryPreasleApply:
  11166. get:
  11167. parameters:
  11168. - description: 账户ID
  11169. in: query
  11170. name: userid
  11171. required: true
  11172. type: integer
  11173. - description: 申请ID
  11174. in: query
  11175. name: applyid
  11176. type: integer
  11177. - description: 资金账户ID
  11178. in: query
  11179. name: accountid
  11180. type: integer
  11181. produces:
  11182. - application/json
  11183. responses:
  11184. "200":
  11185. description: OK
  11186. schema:
  11187. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  11188. "500":
  11189. description: Internal Server Error
  11190. schema:
  11191. $ref: '#/definitions/app.Response'
  11192. security:
  11193. - ApiKeyAuth: []
  11194. summary: 查询产能预售申请信息
  11195. tags:
  11196. - 产能预售
  11197. /CPTrade/QueryPresaleGoodsEx:
  11198. get:
  11199. parameters:
  11200. - description: 预售商品ID
  11201. in: query
  11202. name: goodsid
  11203. type: integer
  11204. - description: 预售市场ID
  11205. in: query
  11206. name: marketid
  11207. type: integer
  11208. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  11209. in: query
  11210. name: presalemode
  11211. type: integer
  11212. - description: 预售商品ID列表 - 格式:1,2,3
  11213. in: query
  11214. name: goodsids
  11215. type: string
  11216. - description: 预售商品代码
  11217. in: query
  11218. name: goodscode
  11219. type: string
  11220. produces:
  11221. - application/json
  11222. responses:
  11223. "200":
  11224. description: OK
  11225. schema:
  11226. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  11227. "500":
  11228. description: Internal Server Error
  11229. schema:
  11230. $ref: '#/definitions/app.Response'
  11231. security:
  11232. - ApiKeyAuth: []
  11233. summary: 查询产能预售商品扩展信息
  11234. tags:
  11235. - 产能预售
  11236. /CPTrade/QueryUserGoodsData:
  11237. get:
  11238. parameters:
  11239. - description: 资金账户ID
  11240. in: query
  11241. name: accountid
  11242. required: true
  11243. type: integer
  11244. produces:
  11245. - application/json
  11246. responses:
  11247. "200":
  11248. description: OK
  11249. schema:
  11250. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  11251. "500":
  11252. description: Internal Server Error
  11253. schema:
  11254. $ref: '#/definitions/app.Response'
  11255. security:
  11256. - ApiKeyAuth: []
  11257. summary: 查询远期订单信息
  11258. tags:
  11259. - 产能预售
  11260. /Common/GetAllEnums:
  11261. get:
  11262. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  11263. parameters:
  11264. - description: 起始自增ID
  11265. in: query
  11266. name: autoid
  11267. type: integer
  11268. produces:
  11269. - application/json
  11270. responses:
  11271. "200":
  11272. description: OK
  11273. schema:
  11274. $ref: '#/definitions/models.Enumdicitem'
  11275. "500":
  11276. description: Internal Server Error
  11277. schema:
  11278. $ref: '#/definitions/app.Response'
  11279. summary: 获取所有枚举信息
  11280. tags:
  11281. - 通用服务
  11282. /Common/GetClientMenus:
  11283. get:
  11284. parameters:
  11285. - description: 登录账号
  11286. in: query
  11287. name: loginID
  11288. required: true
  11289. type: integer
  11290. - description: 终端类型,0:PC 1:Mobile
  11291. in: query
  11292. name: clientType
  11293. type: integer
  11294. produces:
  11295. - application/json
  11296. responses:
  11297. "200":
  11298. description: OK
  11299. schema:
  11300. items:
  11301. $ref: '#/definitions/common.ClientMenu'
  11302. type: array
  11303. "500":
  11304. description: Internal Server Error
  11305. schema:
  11306. $ref: '#/definitions/app.Response'
  11307. security:
  11308. - ApiKeyAuth: []
  11309. summary: 获取交易端菜单
  11310. tags:
  11311. - 通用服务
  11312. /Common/GetDivisions:
  11313. get:
  11314. produces:
  11315. - application/json
  11316. responses:
  11317. "200":
  11318. description: OK
  11319. schema:
  11320. $ref: '#/definitions/models.Division'
  11321. "500":
  11322. description: Internal Server Error
  11323. schema:
  11324. $ref: '#/definitions/app.Response'
  11325. summary: 查询区域信息
  11326. tags:
  11327. - 通用服务
  11328. /Common/GetServerTime:
  11329. get:
  11330. produces:
  11331. - application/json
  11332. responses:
  11333. "200":
  11334. description: OK
  11335. schema:
  11336. $ref: '#/definitions/app.Response'
  11337. "500":
  11338. description: Internal Server Error
  11339. schema:
  11340. $ref: '#/definitions/app.Response'
  11341. summary: 获取服务器时间
  11342. tags:
  11343. - 通用服务
  11344. /Common/NoticeReaded:
  11345. post:
  11346. parameters:
  11347. - description: 登录账号
  11348. in: query
  11349. name: loginID
  11350. required: true
  11351. type: integer
  11352. - description: 通知公告ID
  11353. in: query
  11354. name: noticeID
  11355. required: true
  11356. type: integer
  11357. produces:
  11358. - application/json
  11359. responses:
  11360. "200":
  11361. description: OK
  11362. schema:
  11363. $ref: '#/definitions/app.Response'
  11364. "500":
  11365. description: Internal Server Error
  11366. schema:
  11367. $ref: '#/definitions/app.Response'
  11368. security:
  11369. - ApiKeyAuth: []
  11370. summary: 通知公告设置已读请求
  11371. tags:
  11372. - 通用服务
  11373. /Common/QueryErrorInfos:
  11374. get:
  11375. description: 如果传入rowNumber,则返回此rowNumber后的数据
  11376. parameters:
  11377. - description: 起始行号前索引
  11378. in: query
  11379. name: rowNumber
  11380. type: string
  11381. produces:
  11382. - application/json
  11383. responses:
  11384. "200":
  11385. description: OK
  11386. schema:
  11387. $ref: '#/definitions/models.QueryErrorInfosRsp'
  11388. "500":
  11389. description: Internal Server Error
  11390. schema:
  11391. $ref: '#/definitions/app.Response'
  11392. summary: 获取数据库错误信息
  11393. tags:
  11394. - 通用服务
  11395. /Common/QueryImageConfigs:
  11396. get:
  11397. parameters:
  11398. - description: 类型 - 1:App首页轮播 2:我的
  11399. in: query
  11400. name: imageType
  11401. type: integer
  11402. produces:
  11403. - application/json
  11404. responses:
  11405. "200":
  11406. description: OK
  11407. schema:
  11408. $ref: '#/definitions/common.QueryImageConfigsRsp'
  11409. "500":
  11410. description: Internal Server Error
  11411. schema:
  11412. $ref: '#/definitions/app.Response'
  11413. summary: 查询轮播图配置信息
  11414. tags:
  11415. - 通用服务
  11416. /Common/QueryNotice:
  11417. get:
  11418. parameters:
  11419. - description: 页码
  11420. in: query
  11421. name: page
  11422. type: integer
  11423. - description: 每页条数
  11424. in: query
  11425. name: pagesize
  11426. type: integer
  11427. - description: 登录账号
  11428. in: query
  11429. name: loginID
  11430. required: true
  11431. type: integer
  11432. - description: 消息类型 - 1:公告通知 2:系统消息
  11433. in: query
  11434. name: msgType
  11435. type: integer
  11436. - description: 是否只获取未读信息
  11437. in: query
  11438. name: onlyUnRead
  11439. type: boolean
  11440. - description: 自增ID,传入后会返回这个ID后面的记录
  11441. in: query
  11442. name: lastID
  11443. type: integer
  11444. produces:
  11445. - application/json
  11446. responses:
  11447. "200":
  11448. description: OK
  11449. schema:
  11450. $ref: '#/definitions/common.QueryNoticeRsp'
  11451. "500":
  11452. description: Internal Server Error
  11453. schema:
  11454. $ref: '#/definitions/app.Response'
  11455. security:
  11456. - ApiKeyAuth: []
  11457. summary: 通知公告系统消息查询
  11458. tags:
  11459. - 通用服务
  11460. /Common/QueryProvincesAndCities:
  11461. get:
  11462. parameters:
  11463. - description: 省ID
  11464. in: query
  11465. name: provinceID
  11466. type: integer
  11467. produces:
  11468. - application/json
  11469. responses:
  11470. "200":
  11471. description: OK
  11472. schema:
  11473. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  11474. "500":
  11475. description: Internal Server Error
  11476. schema:
  11477. $ref: '#/definitions/app.Response'
  11478. summary: 查询省市信息(不包括区)
  11479. tags:
  11480. - 通用服务
  11481. /Common/QueryTableDefine:
  11482. get:
  11483. parameters:
  11484. - description: 表key
  11485. in: query
  11486. name: tableKey
  11487. type: string
  11488. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  11489. in: query
  11490. name: tableType
  11491. type: integer
  11492. produces:
  11493. - application/json
  11494. responses:
  11495. "200":
  11496. description: OK
  11497. schema:
  11498. $ref: '#/definitions/common.QueryTableDefineRsp'
  11499. "500":
  11500. description: Internal Server Error
  11501. schema:
  11502. $ref: '#/definitions/app.Response'
  11503. summary: 查询交易端列表头信息
  11504. tags:
  11505. - 通用服务
  11506. /Common/QueryTraderMenu:
  11507. get:
  11508. parameters:
  11509. - description: 登录账号
  11510. in: query
  11511. name: loginid
  11512. required: true
  11513. type: integer
  11514. produces:
  11515. - application/json
  11516. responses:
  11517. "200":
  11518. description: OK
  11519. schema:
  11520. $ref: '#/definitions/common.QueryTraderMenuRsp'
  11521. "500":
  11522. description: Internal Server Error
  11523. schema:
  11524. $ref: '#/definitions/app.Response'
  11525. summary: 查询交易端菜单
  11526. tags:
  11527. - 通用服务
  11528. /Delivery/QueryDeliveryRelation:
  11529. get:
  11530. parameters:
  11531. - description: 商品ID
  11532. in: query
  11533. name: goodsid
  11534. type: integer
  11535. - description: 品种ID
  11536. in: query
  11537. name: deliverygoodsid
  11538. type: integer
  11539. - description: 市场ID
  11540. in: query
  11541. name: marketid
  11542. type: integer
  11543. produces:
  11544. - application/json
  11545. responses:
  11546. "200":
  11547. description: OK
  11548. schema:
  11549. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  11550. "500":
  11551. description: Internal Server Error
  11552. schema:
  11553. $ref: '#/definitions/app.Response'
  11554. security:
  11555. - ApiKeyAuth: []
  11556. summary: 查询商品交割关系表
  11557. tags:
  11558. - 交割服务
  11559. /Ermcp/GetErmcpGoods:
  11560. get:
  11561. parameters:
  11562. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  11563. in: query
  11564. name: lastUpdateTime
  11565. type: string
  11566. produces:
  11567. - application/json
  11568. responses:
  11569. "200":
  11570. description: OK
  11571. schema:
  11572. $ref: '#/definitions/models.Goods'
  11573. "500":
  11574. description: Internal Server Error
  11575. schema:
  11576. $ref: '#/definitions/app.Response'
  11577. security:
  11578. - ApiKeyAuth: []
  11579. summary: 查询企业风管期货商品信息
  11580. tags:
  11581. - 企业风险管理(app)
  11582. /Ermcp/GetErmcpGoodsSortByPosition:
  11583. get:
  11584. parameters:
  11585. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  11586. in: query
  11587. name: sortIndex
  11588. type: string
  11589. produces:
  11590. - application/json
  11591. responses:
  11592. "200":
  11593. description: OK
  11594. schema:
  11595. $ref: '#/definitions/models.Goodssortbypreposition'
  11596. "500":
  11597. description: Internal Server Error
  11598. schema:
  11599. $ref: '#/definitions/app.Response'
  11600. security:
  11601. - ApiKeyAuth: []
  11602. summary: 查询企业风管期货主力、次主力商品信息
  11603. tags:
  11604. - 企业风险管理(app)
  11605. /Ermcp/GetErmcpOutAccountStatus:
  11606. get:
  11607. parameters:
  11608. - description: 登录账号
  11609. in: query
  11610. name: loginID
  11611. required: true
  11612. type: integer
  11613. produces:
  11614. - application/json
  11615. responses:
  11616. "200":
  11617. description: OK
  11618. schema:
  11619. $ref: '#/definitions/models.Hedgemarketopenlog'
  11620. "500":
  11621. description: Internal Server Error
  11622. schema:
  11623. $ref: '#/definitions/app.Response'
  11624. security:
  11625. - ApiKeyAuth: []
  11626. summary: 获取目标登录账号当前对冲账号在线状态
  11627. tags:
  11628. - 企业风险管理(app)
  11629. /Ermcp/GetErmcpRoleFuncMenuLists:
  11630. get:
  11631. parameters:
  11632. - description: 登录账号
  11633. in: query
  11634. name: loginID
  11635. required: true
  11636. type: integer
  11637. produces:
  11638. - application/json
  11639. responses:
  11640. "200":
  11641. description: OK
  11642. schema:
  11643. $ref: '#/definitions/models.Funcmenulist'
  11644. "500":
  11645. description: Internal Server Error
  11646. schema:
  11647. $ref: '#/definitions/app.Response'
  11648. security:
  11649. - ApiKeyAuth: []
  11650. summary: 获取企业风管终端权限
  11651. tags:
  11652. - 企业风险管理(app)
  11653. /Ermcp/QueryAccMgrBizGroupSet:
  11654. get:
  11655. parameters:
  11656. - description: 用户ID
  11657. in: query
  11658. name: userid
  11659. required: true
  11660. type: integer
  11661. - description: 现货商品id
  11662. in: query
  11663. name: deliverygoodsid
  11664. type: integer
  11665. produces:
  11666. - application/json
  11667. responses:
  11668. "200":
  11669. description: OK
  11670. schema:
  11671. items:
  11672. $ref: '#/definitions/models.ErmcpBizGroupEx'
  11673. type: array
  11674. "500":
  11675. description: Internal Server Error
  11676. schema:
  11677. $ref: '#/definitions/app.Response'
  11678. security:
  11679. - ApiKeyAuth: []
  11680. summary: 查询业务类型分组(账户管理/账户设置)
  11681. tags:
  11682. - 企业风险管理(app)
  11683. /Ermcp/QueryAccMgrLoginUser:
  11684. get:
  11685. parameters:
  11686. - description: 用户ID
  11687. in: query
  11688. name: userid
  11689. required: true
  11690. type: integer
  11691. - description: 用户类型 2-机构 7-企业成员
  11692. in: query
  11693. name: usertype
  11694. type: integer
  11695. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  11696. in: query
  11697. name: querytype
  11698. required: true
  11699. type: integer
  11700. produces:
  11701. - application/json
  11702. responses:
  11703. "200":
  11704. description: OK
  11705. schema:
  11706. items:
  11707. $ref: '#/definitions/models.ErmcpLoginUserEx'
  11708. type: array
  11709. "500":
  11710. description: Internal Server Error
  11711. schema:
  11712. $ref: '#/definitions/app.Response'
  11713. security:
  11714. - ApiKeyAuth: []
  11715. summary: 查询账户管理登录账号(账户管理/登录账号)
  11716. tags:
  11717. - 企业风险管理(app)
  11718. /Ermcp/QueryAccMgrMainAccountInfo:
  11719. get:
  11720. parameters:
  11721. - description: 用户ID
  11722. in: query
  11723. name: userid
  11724. type: integer
  11725. - description: 主账号id
  11726. in: query
  11727. name: accountid
  11728. type: integer
  11729. produces:
  11730. - application/json
  11731. responses:
  11732. "200":
  11733. description: OK
  11734. schema:
  11735. items:
  11736. $ref: '#/definitions/models.MainAccountInfo'
  11737. type: array
  11738. "500":
  11739. description: Internal Server Error
  11740. schema:
  11741. $ref: '#/definitions/app.Response'
  11742. security:
  11743. - ApiKeyAuth: []
  11744. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  11745. tags:
  11746. - 企业风险管理(app)
  11747. /Ermcp/QueryAccMgrRole:
  11748. get:
  11749. parameters:
  11750. - description: 用户ID
  11751. in: query
  11752. name: userid
  11753. required: true
  11754. type: integer
  11755. produces:
  11756. - application/json
  11757. responses:
  11758. "200":
  11759. description: OK
  11760. schema:
  11761. items:
  11762. $ref: '#/definitions/models.ErmcpRole'
  11763. type: array
  11764. "500":
  11765. description: Internal Server Error
  11766. schema:
  11767. $ref: '#/definitions/app.Response'
  11768. security:
  11769. - ApiKeyAuth: []
  11770. summary: 查询账户管理角色设置(账户管理/角色设置)
  11771. tags:
  11772. - 企业风险管理(app)
  11773. /Ermcp/QueryAccMgrRoleMenu:
  11774. get:
  11775. parameters:
  11776. - description: 用户ID
  11777. in: query
  11778. name: userid
  11779. required: true
  11780. type: integer
  11781. - description: 角色id(可多个,逗号隔开)
  11782. in: query
  11783. name: roleid
  11784. type: string
  11785. produces:
  11786. - application/json
  11787. responses:
  11788. "200":
  11789. description: OK
  11790. schema:
  11791. items:
  11792. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  11793. type: array
  11794. "500":
  11795. description: Internal Server Error
  11796. schema:
  11797. $ref: '#/definitions/app.Response'
  11798. security:
  11799. - ApiKeyAuth: []
  11800. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  11801. tags:
  11802. - 企业风险管理(app)
  11803. /Ermcp/QueryAccMgrTaAccountInfo:
  11804. get:
  11805. parameters:
  11806. - description: 用户ID
  11807. in: query
  11808. name: userid
  11809. required: true
  11810. type: integer
  11811. - description: 账号id
  11812. in: query
  11813. name: accountid
  11814. type: integer
  11815. produces:
  11816. - application/json
  11817. responses:
  11818. "200":
  11819. description: OK
  11820. schema:
  11821. items:
  11822. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  11823. type: array
  11824. "500":
  11825. description: Internal Server Error
  11826. schema:
  11827. $ref: '#/definitions/app.Response'
  11828. security:
  11829. - ApiKeyAuth: []
  11830. summary: 查询账户管理授信(账户管理/账户设置/授信)
  11831. tags:
  11832. - 企业风险管理(app)
  11833. /Ermcp/QueryAccMgrTaaccount:
  11834. get:
  11835. parameters:
  11836. - description: 用户ID
  11837. in: query
  11838. name: userid
  11839. required: true
  11840. type: integer
  11841. produces:
  11842. - application/json
  11843. responses:
  11844. "200":
  11845. description: OK
  11846. schema:
  11847. items:
  11848. $ref: '#/definitions/models.ErmcpTaAccountEx'
  11849. type: array
  11850. "500":
  11851. description: Internal Server Error
  11852. schema:
  11853. $ref: '#/definitions/app.Response'
  11854. security:
  11855. - ApiKeyAuth: []
  11856. summary: 查询账户管理期货账号(账户管理/期货账号)
  11857. tags:
  11858. - 企业风险管理(app)
  11859. /Ermcp/QueryAvaildGoodsGroup:
  11860. get:
  11861. parameters:
  11862. - description: 所属机构ID
  11863. in: query
  11864. name: userid
  11865. required: true
  11866. type: integer
  11867. produces:
  11868. - application/json
  11869. responses:
  11870. "200":
  11871. description: OK
  11872. schema:
  11873. items:
  11874. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  11875. type: array
  11876. "500":
  11877. description: Internal Server Error
  11878. schema:
  11879. $ref: '#/definitions/app.Response'
  11880. security:
  11881. - ApiKeyAuth: []
  11882. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  11883. tags:
  11884. - 企业风险管理(app)
  11885. /Ermcp/QueryChangeLog:
  11886. get:
  11887. parameters:
  11888. - description: 合同ID
  11889. in: query
  11890. name: RelatedId
  11891. required: true
  11892. type: string
  11893. produces:
  11894. - application/json
  11895. responses:
  11896. "200":
  11897. description: OK
  11898. schema:
  11899. items:
  11900. $ref: '#/definitions/ermcp.QryOPLogRsp'
  11901. type: array
  11902. "500":
  11903. description: Internal Server Error
  11904. schema:
  11905. $ref: '#/definitions/app.Response'
  11906. security:
  11907. - ApiKeyAuth: []
  11908. summary: 查询变更记录
  11909. tags:
  11910. - 企业风险管理(app)
  11911. /Ermcp/QueryErmcpHisOrderDetails:
  11912. get:
  11913. parameters:
  11914. - description: 资金账户ID
  11915. in: query
  11916. name: accountID
  11917. required: true
  11918. type: integer
  11919. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  11920. in: query
  11921. name: startDate
  11922. type: string
  11923. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  11924. in: query
  11925. name: endDate
  11926. type: string
  11927. produces:
  11928. - application/json
  11929. responses:
  11930. "200":
  11931. description: OK
  11932. schema:
  11933. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  11934. "500":
  11935. description: Internal Server Error
  11936. schema:
  11937. $ref: '#/definitions/app.Response'
  11938. security:
  11939. - ApiKeyAuth: []
  11940. summary: 获取企业风管期货历史委托单信息
  11941. tags:
  11942. - 企业风险管理(app)
  11943. /Ermcp/QueryErmcpHisTradeDetails:
  11944. get:
  11945. parameters:
  11946. - description: 资金账户ID
  11947. in: query
  11948. name: accountID
  11949. required: true
  11950. type: integer
  11951. - description: 商品ID
  11952. in: query
  11953. name: goodsID
  11954. type: integer
  11955. - description: 买卖方向,0:买 1:卖
  11956. in: query
  11957. name: buyOrSell
  11958. type: integer
  11959. - description: 关联委托单号
  11960. in: query
  11961. name: orderID
  11962. type: integer
  11963. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  11964. in: query
  11965. name: startDate
  11966. type: string
  11967. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  11968. in: query
  11969. name: endDate
  11970. type: string
  11971. produces:
  11972. - application/json
  11973. responses:
  11974. "200":
  11975. description: OK
  11976. schema:
  11977. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  11978. "500":
  11979. description: Internal Server Error
  11980. schema:
  11981. $ref: '#/definitions/app.Response'
  11982. security:
  11983. - ApiKeyAuth: []
  11984. summary: 获取企业风管期货历史成交单信息
  11985. tags:
  11986. - 企业风险管理(app)
  11987. /Ermcp/QueryErmcpInnerHolderDetails:
  11988. get:
  11989. parameters:
  11990. - description: 资金账户ID
  11991. in: query
  11992. name: accountID
  11993. required: true
  11994. type: integer
  11995. - description: 商品ID
  11996. in: query
  11997. name: goodsID
  11998. type: integer
  11999. - description: 买卖方向,0:买 1:卖
  12000. in: query
  12001. name: buyOrSell
  12002. type: integer
  12003. produces:
  12004. - application/json
  12005. responses:
  12006. "200":
  12007. description: OK
  12008. schema:
  12009. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  12010. "500":
  12011. description: Internal Server Error
  12012. schema:
  12013. $ref: '#/definitions/app.Response'
  12014. security:
  12015. - ApiKeyAuth: []
  12016. summary: 获取企业风管期货内部持仓单信息
  12017. tags:
  12018. - 企业风险管理(app)
  12019. /Ermcp/QueryErmcpOrderDetails:
  12020. get:
  12021. parameters:
  12022. - description: 资金账户ID
  12023. in: query
  12024. name: accountID
  12025. required: true
  12026. type: integer
  12027. produces:
  12028. - application/json
  12029. responses:
  12030. "200":
  12031. description: OK
  12032. schema:
  12033. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  12034. "500":
  12035. description: Internal Server Error
  12036. schema:
  12037. $ref: '#/definitions/app.Response'
  12038. security:
  12039. - ApiKeyAuth: []
  12040. summary: 获取企业风管期货委托单信息
  12041. tags:
  12042. - 企业风险管理(app)
  12043. /Ermcp/QueryErmcpTradeDetails:
  12044. get:
  12045. parameters:
  12046. - description: 资金账户ID
  12047. in: query
  12048. name: accountID
  12049. required: true
  12050. type: integer
  12051. - description: 商品ID
  12052. in: query
  12053. name: goodsID
  12054. type: integer
  12055. - description: 买卖方向,0:买 1:卖
  12056. in: query
  12057. name: buyOrSell
  12058. type: integer
  12059. - description: 关联委托单号
  12060. in: query
  12061. name: orderID
  12062. type: integer
  12063. produces:
  12064. - application/json
  12065. responses:
  12066. "200":
  12067. description: OK
  12068. schema:
  12069. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  12070. "500":
  12071. description: Internal Server Error
  12072. schema:
  12073. $ref: '#/definitions/app.Response'
  12074. security:
  12075. - ApiKeyAuth: []
  12076. summary: 获取企业风管期货成交单信息
  12077. tags:
  12078. - 企业风险管理(app)
  12079. /Ermcp/QueryErmcpTradePosition:
  12080. get:
  12081. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  12082. parameters:
  12083. - description: 资金账户ID
  12084. in: query
  12085. name: accountID
  12086. required: true
  12087. type: integer
  12088. - description: 所属市场ID
  12089. in: query
  12090. name: marketID
  12091. type: integer
  12092. produces:
  12093. - application/json
  12094. responses:
  12095. "200":
  12096. description: OK
  12097. schema:
  12098. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  12099. "500":
  12100. description: Internal Server Error
  12101. schema:
  12102. $ref: '#/definitions/app.Response'
  12103. security:
  12104. - ApiKeyAuth: []
  12105. summary: 获取企业风管期货持仓头寸信息
  12106. tags:
  12107. - 企业风险管理(app)
  12108. /Ermcp/QueryExposureDetail:
  12109. get:
  12110. parameters:
  12111. - description: 所属机构ID
  12112. in: query
  12113. name: areaUserId
  12114. required: true
  12115. type: integer
  12116. - description: 套保商品
  12117. in: query
  12118. name: middleGoodsId
  12119. required: true
  12120. type: integer
  12121. produces:
  12122. - application/json
  12123. responses:
  12124. "200":
  12125. description: OK
  12126. schema:
  12127. items:
  12128. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  12129. type: array
  12130. "500":
  12131. description: Internal Server Error
  12132. schema:
  12133. $ref: '#/definitions/app.Response'
  12134. security:
  12135. - ApiKeyAuth: []
  12136. summary: 查询敞口现货明细
  12137. tags:
  12138. - 企业风险管理(app)
  12139. /Ermcp/QueryExposureHedgePosition:
  12140. get:
  12141. parameters:
  12142. - description: 用户id
  12143. in: query
  12144. name: userid
  12145. required: true
  12146. type: integer
  12147. produces:
  12148. - application/json
  12149. responses:
  12150. "200":
  12151. description: OK
  12152. schema:
  12153. items:
  12154. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  12155. type: array
  12156. "500":
  12157. description: Internal Server Error
  12158. schema:
  12159. $ref: '#/definitions/app.Response'
  12160. security:
  12161. - ApiKeyAuth: []
  12162. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  12163. tags:
  12164. - 企业风险管理(app)
  12165. /Ermcp/QueryExposureHedgePositionDetail:
  12166. get:
  12167. parameters:
  12168. - description: 所属机构ID
  12169. in: query
  12170. name: userid
  12171. required: true
  12172. type: integer
  12173. - description: 商品id
  12174. in: query
  12175. name: goodsId
  12176. required: true
  12177. type: integer
  12178. produces:
  12179. - application/json
  12180. responses:
  12181. "200":
  12182. description: OK
  12183. schema:
  12184. items:
  12185. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  12186. type: array
  12187. "500":
  12188. description: Internal Server Error
  12189. schema:
  12190. $ref: '#/definitions/app.Response'
  12191. security:
  12192. - ApiKeyAuth: []
  12193. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  12194. tags:
  12195. - 企业风险管理(app)
  12196. /Ermcp/QueryExposureSpot:
  12197. get:
  12198. parameters:
  12199. - description: 所属机构ID
  12200. in: query
  12201. name: areaUserId
  12202. required: true
  12203. type: integer
  12204. produces:
  12205. - application/json
  12206. responses:
  12207. "200":
  12208. description: OK
  12209. schema:
  12210. items:
  12211. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  12212. type: array
  12213. "500":
  12214. description: Internal Server Error
  12215. schema:
  12216. $ref: '#/definitions/app.Response'
  12217. security:
  12218. - ApiKeyAuth: []
  12219. summary: 查询敞口现货头寸(敞口/现货头寸)
  12220. tags:
  12221. - 企业风险管理(app)
  12222. /Ermcp/QueryExposureSpotDetail:
  12223. get:
  12224. parameters:
  12225. - description: 所属机构ID
  12226. in: query
  12227. name: areaUserId
  12228. required: true
  12229. type: integer
  12230. - description: 现货品种ID
  12231. in: query
  12232. name: wrstandardId
  12233. required: true
  12234. type: integer
  12235. produces:
  12236. - application/json
  12237. responses:
  12238. "200":
  12239. description: OK
  12240. schema:
  12241. items:
  12242. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  12243. type: array
  12244. "500":
  12245. description: Internal Server Error
  12246. schema:
  12247. $ref: '#/definitions/app.Response'
  12248. security:
  12249. - ApiKeyAuth: []
  12250. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  12251. tags:
  12252. - 企业风险管理(app)
  12253. /Ermcp/QueryFuturesCompany:
  12254. get:
  12255. produces:
  12256. - application/json
  12257. responses:
  12258. "200":
  12259. description: OK
  12260. schema:
  12261. items:
  12262. $ref: '#/definitions/models.ErmcpFuturesCompany'
  12263. type: array
  12264. "500":
  12265. description: Internal Server Error
  12266. schema:
  12267. $ref: '#/definitions/app.Response'
  12268. security:
  12269. - ApiKeyAuth: []
  12270. summary: 查询期货公司
  12271. tags:
  12272. - 企业风险管理(app)
  12273. /Ermcp/QueryGGConvertConfig:
  12274. get:
  12275. parameters:
  12276. - description: 品种id(不填则查所有)
  12277. in: query
  12278. name: goodsgroupid
  12279. type: integer
  12280. produces:
  12281. - application/json
  12282. responses:
  12283. "200":
  12284. description: OK
  12285. schema:
  12286. items:
  12287. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  12288. type: array
  12289. "500":
  12290. description: Internal Server Error
  12291. schema:
  12292. $ref: '#/definitions/app.Response'
  12293. security:
  12294. - ApiKeyAuth: []
  12295. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  12296. tags:
  12297. - 企业风险管理(app)
  12298. /Ermcp/QueryGoodsBrand:
  12299. get:
  12300. parameters:
  12301. - description: 用户ID
  12302. in: query
  12303. name: userid
  12304. required: true
  12305. type: integer
  12306. - description: 现货商品ID
  12307. in: query
  12308. name: wrstandardid
  12309. type: integer
  12310. produces:
  12311. - application/json
  12312. responses:
  12313. "200":
  12314. description: OK
  12315. schema:
  12316. items:
  12317. $ref: '#/definitions/models.ErmcpGoodsBrand'
  12318. type: array
  12319. "500":
  12320. description: Internal Server Error
  12321. schema:
  12322. $ref: '#/definitions/app.Response'
  12323. security:
  12324. - ApiKeyAuth: []
  12325. summary: 查询商品品牌
  12326. tags:
  12327. - 企业风险管理(app)
  12328. /Ermcp/QueryGoodsModel:
  12329. get:
  12330. parameters:
  12331. - description: 用户ID
  12332. in: query
  12333. name: userid
  12334. required: true
  12335. type: integer
  12336. produces:
  12337. - application/json
  12338. responses:
  12339. "200":
  12340. description: OK
  12341. schema:
  12342. items:
  12343. $ref: '#/definitions/models.ErmcpGoodsModel'
  12344. type: array
  12345. "500":
  12346. description: Internal Server Error
  12347. schema:
  12348. $ref: '#/definitions/app.Response'
  12349. security:
  12350. - ApiKeyAuth: []
  12351. summary: 查询商品型号
  12352. tags:
  12353. - 企业风险管理(app)
  12354. /Ermcp/QueryHisExposure:
  12355. get:
  12356. parameters:
  12357. - description: 用户id
  12358. in: query
  12359. name: userid
  12360. required: true
  12361. type: integer
  12362. - description: 每个品种记录数
  12363. in: query
  12364. name: lastNum
  12365. required: true
  12366. type: integer
  12367. produces:
  12368. - application/json
  12369. responses:
  12370. "200":
  12371. description: OK
  12372. schema:
  12373. items:
  12374. $ref: '#/definitions/ermcp.HisExposureRsp'
  12375. type: array
  12376. "500":
  12377. description: Internal Server Error
  12378. schema:
  12379. $ref: '#/definitions/app.Response'
  12380. security:
  12381. - ApiKeyAuth: []
  12382. summary: 查询历史敞口(菜单:敞口/历史敞口)
  12383. tags:
  12384. - 企业风险管理(app)
  12385. /Ermcp/QueryMiddleGoods:
  12386. get:
  12387. parameters:
  12388. - description: 所属机构ID
  12389. in: query
  12390. name: userid
  12391. required: true
  12392. type: integer
  12393. - description: 状态 0-停用 1-正常
  12394. in: query
  12395. name: status
  12396. required: true
  12397. type: integer
  12398. produces:
  12399. - application/json
  12400. responses:
  12401. "200":
  12402. description: OK
  12403. schema:
  12404. items:
  12405. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  12406. type: array
  12407. "500":
  12408. description: Internal Server Error
  12409. schema:
  12410. $ref: '#/definitions/app.Response'
  12411. security:
  12412. - ApiKeyAuth: []
  12413. summary: 查询套保品种(菜单:套保品种)
  12414. tags:
  12415. - 企业风险管理(app)
  12416. /Ermcp/QueryMiddleGoodsChangeLog:
  12417. get:
  12418. parameters:
  12419. - description: 所属机构ID
  12420. in: query
  12421. name: userid
  12422. required: true
  12423. type: integer
  12424. - description: 套保品种id
  12425. in: query
  12426. name: middlegoodsid
  12427. required: true
  12428. type: integer
  12429. produces:
  12430. - application/json
  12431. responses:
  12432. "200":
  12433. description: OK
  12434. schema:
  12435. items:
  12436. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  12437. type: array
  12438. "500":
  12439. description: Internal Server Error
  12440. schema:
  12441. $ref: '#/definitions/app.Response'
  12442. security:
  12443. - ApiKeyAuth: []
  12444. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  12445. tags:
  12446. - 企业风险管理(app)
  12447. /Ermcp/QueryMiddleGoodsDetail:
  12448. get:
  12449. parameters:
  12450. - description: 所属机构ID
  12451. in: query
  12452. name: userid
  12453. required: true
  12454. type: integer
  12455. - description: 套保品种id
  12456. in: query
  12457. name: middlegoodsid
  12458. type: integer
  12459. produces:
  12460. - application/json
  12461. responses:
  12462. "200":
  12463. description: OK
  12464. schema:
  12465. items:
  12466. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  12467. type: array
  12468. "500":
  12469. description: Internal Server Error
  12470. schema:
  12471. $ref: '#/definitions/app.Response'
  12472. security:
  12473. - ApiKeyAuth: []
  12474. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  12475. tags:
  12476. - 企业风险管理(app)
  12477. /Ermcp/QueryPendingAuditInfo:
  12478. get:
  12479. parameters:
  12480. - description: 用户ID
  12481. in: query
  12482. name: UserId
  12483. required: true
  12484. type: integer
  12485. produces:
  12486. - application/json
  12487. responses:
  12488. "200":
  12489. description: OK
  12490. schema:
  12491. items:
  12492. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  12493. type: array
  12494. "500":
  12495. description: Internal Server Error
  12496. schema:
  12497. $ref: '#/definitions/app.Response'
  12498. security:
  12499. - ApiKeyAuth: []
  12500. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  12501. tags:
  12502. - 企业风险管理(app)
  12503. /Ermcp/QueryRealtimeExposure:
  12504. get:
  12505. parameters:
  12506. - description: 所属机构ID
  12507. in: query
  12508. name: userid
  12509. required: true
  12510. type: integer
  12511. produces:
  12512. - application/json
  12513. responses:
  12514. "200":
  12515. description: OK
  12516. schema:
  12517. items:
  12518. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  12519. type: array
  12520. "500":
  12521. description: Internal Server Error
  12522. schema:
  12523. $ref: '#/definitions/app.Response'
  12524. security:
  12525. - ApiKeyAuth: []
  12526. summary: 查询实时敞口
  12527. tags:
  12528. - 企业风险管理(app)
  12529. /Ermcp/QueryRealtimeExposurePosition:
  12530. get:
  12531. parameters:
  12532. - description: 用户id
  12533. in: query
  12534. name: userid
  12535. required: true
  12536. type: integer
  12537. - description: 套保商品ID
  12538. in: query
  12539. name: middleGoodsId
  12540. required: true
  12541. type: integer
  12542. produces:
  12543. - application/json
  12544. responses:
  12545. "200":
  12546. description: OK
  12547. schema:
  12548. items:
  12549. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  12550. type: array
  12551. "500":
  12552. description: Internal Server Error
  12553. schema:
  12554. $ref: '#/definitions/app.Response'
  12555. security:
  12556. - ApiKeyAuth: []
  12557. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  12558. tags:
  12559. - 企业风险管理(app)
  12560. /Ermcp/QueryTradeConfigTMP:
  12561. get:
  12562. parameters:
  12563. - description: 所属机构id
  12564. in: query
  12565. name: areauserid
  12566. type: integer
  12567. produces:
  12568. - application/json
  12569. responses:
  12570. "200":
  12571. description: OK
  12572. schema:
  12573. items:
  12574. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  12575. type: array
  12576. "500":
  12577. description: Internal Server Error
  12578. schema:
  12579. $ref: '#/definitions/app.Response'
  12580. security:
  12581. - ApiKeyAuth: []
  12582. summary: 查询交易模板配置
  12583. tags:
  12584. - 企业风险管理(app)
  12585. /Ermcp/QueryUserInfo:
  12586. get:
  12587. parameters:
  12588. - description: 所属机构用户ID
  12589. in: query
  12590. name: MemberUserID
  12591. required: true
  12592. type: integer
  12593. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  12594. in: query
  12595. name: queryType
  12596. required: true
  12597. type: integer
  12598. produces:
  12599. - application/json
  12600. responses:
  12601. "200":
  12602. description: OK
  12603. schema:
  12604. items:
  12605. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  12606. type: array
  12607. "500":
  12608. description: Internal Server Error
  12609. schema:
  12610. $ref: '#/definitions/app.Response'
  12611. security:
  12612. - ApiKeyAuth: []
  12613. summary: 查询客户资料
  12614. tags:
  12615. - 企业风险管理(app)
  12616. /Ermcp/QueryWarehouseInfo:
  12617. get:
  12618. parameters:
  12619. - description: 用户ID
  12620. in: query
  12621. name: userid
  12622. required: true
  12623. type: integer
  12624. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  12625. in: query
  12626. name: status
  12627. type: string
  12628. produces:
  12629. - application/json
  12630. responses:
  12631. "200":
  12632. description: OK
  12633. schema:
  12634. items:
  12635. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  12636. type: array
  12637. "500":
  12638. description: Internal Server Error
  12639. schema:
  12640. $ref: '#/definitions/app.Response'
  12641. security:
  12642. - ApiKeyAuth: []
  12643. summary: 查询仓库信息
  12644. tags:
  12645. - 企业风险管理(app)
  12646. /Ermcp3/QryAreaExpourseContractDetail:
  12647. get:
  12648. parameters:
  12649. - description: 用户ID
  12650. in: query
  12651. name: userid
  12652. required: true
  12653. type: integer
  12654. - description: 套保商品id
  12655. in: query
  12656. name: middlegoodsid
  12657. required: true
  12658. type: integer
  12659. - description: 交易日(格式yyyymmdd)
  12660. in: query
  12661. name: tradedate
  12662. required: true
  12663. type: string
  12664. produces:
  12665. - application/json
  12666. responses:
  12667. "200":
  12668. description: OK
  12669. schema:
  12670. items:
  12671. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  12672. type: array
  12673. "500":
  12674. description: Internal Server Error
  12675. schema:
  12676. $ref: '#/definitions/app.Response'
  12677. security:
  12678. - ApiKeyAuth: []
  12679. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  12680. tags:
  12681. - 企业风险管理v3(app)
  12682. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  12683. get:
  12684. parameters:
  12685. - description: 用户ID
  12686. in: query
  12687. name: userid
  12688. required: true
  12689. type: integer
  12690. - description: 套保商品id
  12691. in: query
  12692. name: middlegoodsid
  12693. required: true
  12694. type: integer
  12695. - description: 交易日(格式yyyymmdd)
  12696. in: query
  12697. name: tradedate
  12698. required: true
  12699. type: string
  12700. produces:
  12701. - application/json
  12702. responses:
  12703. "200":
  12704. description: OK
  12705. schema:
  12706. items:
  12707. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  12708. type: array
  12709. "500":
  12710. description: Internal Server Error
  12711. schema:
  12712. $ref: '#/definitions/app.Response'
  12713. security:
  12714. - ApiKeyAuth: []
  12715. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  12716. tags:
  12717. - 企业风险管理v3(app)
  12718. /Ermcp3/QryAreaExpourseReport:
  12719. get:
  12720. parameters:
  12721. - description: 用户ID
  12722. in: query
  12723. name: userid
  12724. required: true
  12725. type: integer
  12726. - description: 查询类型 1-日报表 2-周期报表 3-日报表(指定时间段[开始交易日,结束交易日]) 4-日报表明细 5-周期报表明细
  12727. in: query
  12728. name: querytype
  12729. required: true
  12730. type: integer
  12731. - description: 交易日(格式yyyymmdd)
  12732. in: query
  12733. name: tradedate
  12734. type: string
  12735. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  12736. in: query
  12737. name: cycletype
  12738. type: integer
  12739. - description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  12740. in: query
  12741. name: cycletime
  12742. type: string
  12743. - description: 开始交易日(格式yyyymmdd)
  12744. in: query
  12745. name: begindate
  12746. type: string
  12747. - description: 结束交易日(格式yyyymmdd)
  12748. in: query
  12749. name: enddate
  12750. type: string
  12751. produces:
  12752. - application/json
  12753. responses:
  12754. "200":
  12755. description: OK
  12756. schema:
  12757. items:
  12758. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  12759. type: array
  12760. "500":
  12761. description: Internal Server Error
  12762. schema:
  12763. $ref: '#/definitions/app.Response'
  12764. security:
  12765. - ApiKeyAuth: []
  12766. summary: 查询敞口报表
  12767. tags:
  12768. - 企业风险管理v3(app)
  12769. /Ermcp3/QryAreaSpotplReport:
  12770. get:
  12771. parameters:
  12772. - description: 用户ID
  12773. in: query
  12774. name: userid
  12775. required: true
  12776. type: integer
  12777. - description: 查询类型 1-日报表 2-周期报表 3-日报表(指定时间段[开始交易日,结束交易日]) 4-日报表明细 5-周期报表明细
  12778. in: query
  12779. name: querytype
  12780. required: true
  12781. type: integer
  12782. - description: 交易日(格式yyyymmdd)
  12783. in: query
  12784. name: tradedate
  12785. type: string
  12786. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  12787. in: query
  12788. name: cycletype
  12789. type: integer
  12790. - description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  12791. in: query
  12792. name: cycletime
  12793. type: string
  12794. - description: 开始交易日(格式yyyymmdd)
  12795. in: query
  12796. name: begindate
  12797. type: string
  12798. - description: 结束交易日(格式yyyymmdd)
  12799. in: query
  12800. name: enddate
  12801. type: string
  12802. - description: 现货品种id
  12803. in: query
  12804. name: deliverygoodsid
  12805. type: integer
  12806. - description: 品类id
  12807. in: query
  12808. name: wrstandardid
  12809. type: integer
  12810. - description: 币种id
  12811. in: query
  12812. name: currencyid
  12813. type: integer
  12814. produces:
  12815. - application/json
  12816. responses:
  12817. "200":
  12818. description: OK
  12819. schema:
  12820. items:
  12821. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  12822. type: array
  12823. "500":
  12824. description: Internal Server Error
  12825. schema:
  12826. $ref: '#/definitions/app.Response'
  12827. security:
  12828. - ApiKeyAuth: []
  12829. summary: 查询现货报表
  12830. tags:
  12831. - 企业风险管理v3(app)
  12832. /Ermcp3/QryAreaStockReport:
  12833. get:
  12834. parameters:
  12835. - description: 用户ID
  12836. in: query
  12837. name: userid
  12838. required: true
  12839. type: integer
  12840. - description: 查询类型 1-日报表 2-周期报表 3-日报表(指定时间段[开始交易日,结束交易日]) 4-日报表明细 5-周期报表明细
  12841. in: query
  12842. name: querytype
  12843. required: true
  12844. type: integer
  12845. - description: 交易日(格式yyyymmdd)
  12846. in: query
  12847. name: tradedate
  12848. type: string
  12849. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  12850. in: query
  12851. name: cycletype
  12852. type: integer
  12853. - description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  12854. in: query
  12855. name: cycletime
  12856. type: string
  12857. - description: 开始交易日(格式yyyymmdd)
  12858. in: query
  12859. name: begindate
  12860. type: string
  12861. - description: 结束交易日(格式yyyymmdd)
  12862. in: query
  12863. name: enddate
  12864. type: string
  12865. - description: 现货商品ID
  12866. in: query
  12867. name: deliverygoodsid
  12868. type: integer
  12869. - description: 品类ID
  12870. in: query
  12871. name: wrstandardid
  12872. type: integer
  12873. - description: 品牌ID
  12874. in: query
  12875. name: spotgoodsbrandid
  12876. type: integer
  12877. produces:
  12878. - application/json
  12879. responses:
  12880. "200":
  12881. description: OK
  12882. schema:
  12883. items:
  12884. $ref: '#/definitions/models.Ermcp3AreaStockReport'
  12885. type: array
  12886. "500":
  12887. description: Internal Server Error
  12888. schema:
  12889. $ref: '#/definitions/app.Response'
  12890. security:
  12891. - ApiKeyAuth: []
  12892. summary: 查询库存报表
  12893. tags:
  12894. - 企业风险管理v3(app)
  12895. /Ermcp3/QryAreaSumPL:
  12896. get:
  12897. parameters:
  12898. - description: 用户ID
  12899. in: query
  12900. name: userid
  12901. required: true
  12902. type: integer
  12903. - description: 查询类型 1-日报表 2-周期报表 3-日报表(指定时间段[开始交易日,结束交易日]) 4-日报表明细 5-周期报表明细
  12904. in: query
  12905. name: querytype
  12906. required: true
  12907. type: integer
  12908. - description: 交易日(格式yyyymmdd)
  12909. in: query
  12910. name: tradedate
  12911. type: string
  12912. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  12913. in: query
  12914. name: cycletype
  12915. type: integer
  12916. - description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  12917. in: query
  12918. name: cycletime
  12919. type: string
  12920. - description: 开始交易日(格式yyyymmdd)
  12921. in: query
  12922. name: begindate
  12923. type: string
  12924. - description: 结束交易日(格式yyyymmdd)
  12925. in: query
  12926. name: enddate
  12927. type: string
  12928. - description: 币种id(日报表明细)
  12929. in: query
  12930. name: currencyid
  12931. type: integer
  12932. produces:
  12933. - application/json
  12934. responses:
  12935. "200":
  12936. description: OK
  12937. schema:
  12938. items:
  12939. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  12940. type: array
  12941. "500":
  12942. description: Internal Server Error
  12943. schema:
  12944. $ref: '#/definitions/app.Response'
  12945. security:
  12946. - ApiKeyAuth: []
  12947. summary: 查询汇总损益表
  12948. tags:
  12949. - 企业风险管理v3(app)
  12950. /Ermcp3/QryFinanceReport:
  12951. get:
  12952. parameters:
  12953. - description: 用户ID
  12954. in: query
  12955. name: userid
  12956. required: true
  12957. type: integer
  12958. - description: 查询类型 1-日报表 2-周期报表 3-日报表(指定时间段[开始交易日,结束交易日]) 4-日报表明细 5-周期报表明细
  12959. in: query
  12960. name: querytype
  12961. required: true
  12962. type: integer
  12963. - description: 交易日(格式yyyymmdd)
  12964. in: query
  12965. name: tradedate
  12966. type: string
  12967. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  12968. in: query
  12969. name: cycletype
  12970. type: integer
  12971. - description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  12972. in: query
  12973. name: cycletime
  12974. type: string
  12975. - description: 开始交易日(格式yyyymmdd)
  12976. in: query
  12977. name: begindate
  12978. type: string
  12979. - description: 结束交易日(格式yyyymmdd)
  12980. in: query
  12981. name: enddate
  12982. type: string
  12983. - description: 币种id(日报表明细)
  12984. in: query
  12985. name: currencyid
  12986. type: integer
  12987. produces:
  12988. - application/json
  12989. responses:
  12990. "200":
  12991. description: OK
  12992. schema:
  12993. items:
  12994. $ref: '#/definitions/models.Ermcp3FinanceReport'
  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/QueryAreaStock:
  13006. get:
  13007. parameters:
  13008. - description: 用户ID
  13009. in: query
  13010. name: userid
  13011. required: true
  13012. type: integer
  13013. produces:
  13014. - application/json
  13015. responses:
  13016. "200":
  13017. description: OK
  13018. schema:
  13019. items:
  13020. $ref: '#/definitions/models.Ermcp3AreaStock'
  13021. type: array
  13022. "500":
  13023. description: Internal Server Error
  13024. schema:
  13025. $ref: '#/definitions/app.Response'
  13026. security:
  13027. - ApiKeyAuth: []
  13028. summary: 查询机构库存(库存管理/当前库存)
  13029. tags:
  13030. - 企业风险管理v3(app)
  13031. /Ermcp3/QueryAreaStockApply:
  13032. get:
  13033. parameters:
  13034. - description: 用户ID
  13035. in: query
  13036. name: userid
  13037. required: true
  13038. type: integer
  13039. - description: 现货商品ID
  13040. in: query
  13041. name: deliverygoodsid
  13042. type: integer
  13043. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  13044. in: query
  13045. name: inouttype
  13046. type: string
  13047. - description: 合同ID
  13048. in: query
  13049. name: spotcontractid
  13050. type: integer
  13051. - description: 品类ID
  13052. in: query
  13053. name: wrstandardid
  13054. type: integer
  13055. - description: 品牌ID
  13056. in: query
  13057. name: spotgoodsbrandid
  13058. type: integer
  13059. - description: 仓库ID
  13060. in: query
  13061. name: warehouseinfoid
  13062. type: integer
  13063. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13064. in: query
  13065. name: applystatus
  13066. type: string
  13067. produces:
  13068. - application/json
  13069. responses:
  13070. "200":
  13071. description: OK
  13072. schema:
  13073. items:
  13074. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  13075. type: array
  13076. "500":
  13077. description: Internal Server Error
  13078. schema:
  13079. $ref: '#/definitions/app.Response'
  13080. security:
  13081. - ApiKeyAuth: []
  13082. summary: 查询库存申请(出入库记录|库存审核)
  13083. tags:
  13084. - 企业风险管理v3(app)
  13085. /Ermcp3/QueryAreaStockApplySum:
  13086. get:
  13087. parameters:
  13088. - description: 合同ID
  13089. in: query
  13090. name: spotcontractid
  13091. type: integer
  13092. produces:
  13093. - application/json
  13094. responses:
  13095. "200":
  13096. description: OK
  13097. schema:
  13098. items:
  13099. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  13100. type: array
  13101. "500":
  13102. description: Internal Server Error
  13103. schema:
  13104. $ref: '#/definitions/app.Response'
  13105. security:
  13106. - ApiKeyAuth: []
  13107. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  13108. tags:
  13109. - 企业风险管理v3(app)
  13110. /Ermcp3/QueryDGFactoryItem:
  13111. get:
  13112. parameters:
  13113. - description: 用户id
  13114. in: query
  13115. name: userid
  13116. type: integer
  13117. - description: 用户类型 2-机构 7-企业成员
  13118. in: query
  13119. name: usertype
  13120. type: integer
  13121. - description: 选择项ID(SEQ_DGFACTORYITEM)
  13122. in: query
  13123. name: dgfactoryitemid
  13124. type: integer
  13125. - description: 现货品种ID
  13126. in: query
  13127. name: deliverygoodsid
  13128. type: integer
  13129. - description: 要素项类型
  13130. in: query
  13131. name: dgfactoryitemtypeid
  13132. type: integer
  13133. - description: 顺序
  13134. in: query
  13135. name: orderindex
  13136. type: integer
  13137. produces:
  13138. - application/json
  13139. responses:
  13140. "200":
  13141. description: OK
  13142. schema:
  13143. items:
  13144. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  13145. type: array
  13146. "500":
  13147. description: Internal Server Error
  13148. schema:
  13149. $ref: '#/definitions/app.Response'
  13150. security:
  13151. - ApiKeyAuth: []
  13152. summary: 查询品种要素定义项
  13153. tags:
  13154. - 企业风险管理v3(app)
  13155. /Ermcp3/QueryDeliveryGoods:
  13156. get:
  13157. parameters:
  13158. - description: 用户id
  13159. in: query
  13160. name: userid
  13161. required: true
  13162. type: integer
  13163. - description: 用户类型 2-机构 7-企业成员
  13164. in: query
  13165. name: usertype
  13166. type: integer
  13167. - description: 排除已配置的业务类型商品 1-套保 2-套利
  13168. in: query
  13169. name: excludecfg
  13170. type: integer
  13171. produces:
  13172. - application/json
  13173. responses:
  13174. "200":
  13175. description: OK
  13176. schema:
  13177. items:
  13178. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  13179. type: array
  13180. "500":
  13181. description: Internal Server Error
  13182. schema:
  13183. $ref: '#/definitions/app.Response'
  13184. security:
  13185. - ApiKeyAuth: []
  13186. summary: 查询现货商品
  13187. tags:
  13188. - 企业风险管理v3(app)
  13189. /Ermcp3/QueryDeliveryGoodsDetail:
  13190. get:
  13191. parameters:
  13192. - description: 用户id
  13193. in: query
  13194. name: userid
  13195. required: true
  13196. type: integer
  13197. - description: 用户类型 2-机构 7-企业成员
  13198. in: query
  13199. name: usertype
  13200. type: integer
  13201. - description: 现货商品id
  13202. in: query
  13203. name: deliverygoodsid
  13204. type: integer
  13205. produces:
  13206. - application/json
  13207. responses:
  13208. "200":
  13209. description: OK
  13210. schema:
  13211. items:
  13212. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  13213. type: array
  13214. "500":
  13215. description: Internal Server Error
  13216. schema:
  13217. $ref: '#/definitions/app.Response'
  13218. security:
  13219. - ApiKeyAuth: []
  13220. summary: 查询现货商品详情
  13221. tags:
  13222. - 企业风险管理v3(app)
  13223. /Ermcp3/QueryExposureDetail:
  13224. get:
  13225. parameters:
  13226. - description: 用户id
  13227. in: query
  13228. name: userid
  13229. required: true
  13230. type: integer
  13231. - description: 用户类型 2-机构 7-企业成员
  13232. in: query
  13233. name: usertype
  13234. type: integer
  13235. - description: 套保商品
  13236. in: query
  13237. name: middlegoodsid
  13238. required: true
  13239. type: integer
  13240. produces:
  13241. - application/json
  13242. responses:
  13243. "200":
  13244. description: OK
  13245. schema:
  13246. items:
  13247. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  13248. type: array
  13249. "500":
  13250. description: Internal Server Error
  13251. schema:
  13252. $ref: '#/definitions/app.Response'
  13253. security:
  13254. - ApiKeyAuth: []
  13255. summary: 查询敞口现货明细
  13256. tags:
  13257. - 企业风险管理v3(app)
  13258. /Ermcp3/QueryExposureSpot:
  13259. get:
  13260. parameters:
  13261. - description: 用户id
  13262. in: query
  13263. name: userid
  13264. required: true
  13265. type: integer
  13266. - description: 用户类型 2-机构 7-企业成员
  13267. in: query
  13268. name: usertype
  13269. type: integer
  13270. produces:
  13271. - application/json
  13272. responses:
  13273. "200":
  13274. description: OK
  13275. schema:
  13276. items:
  13277. $ref: '#/definitions/models.Ermcp3AreaSpot'
  13278. type: array
  13279. "500":
  13280. description: Internal Server Error
  13281. schema:
  13282. $ref: '#/definitions/app.Response'
  13283. security:
  13284. - ApiKeyAuth: []
  13285. summary: 查询敞口现货头寸(敞口/现货头寸)
  13286. tags:
  13287. - 企业风险管理v3(app)
  13288. /Ermcp3/QueryExposureSpotDetail:
  13289. get:
  13290. parameters:
  13291. - description: 用户id
  13292. in: query
  13293. name: userid
  13294. required: true
  13295. type: integer
  13296. - description: 用户类型 2-机构 7-企业成员
  13297. in: query
  13298. name: usertype
  13299. type: integer
  13300. - description: 现货品种ID
  13301. in: query
  13302. name: deliverygoodsid
  13303. required: true
  13304. type: integer
  13305. produces:
  13306. - application/json
  13307. responses:
  13308. "200":
  13309. description: OK
  13310. schema:
  13311. items:
  13312. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  13313. type: array
  13314. "500":
  13315. description: Internal Server Error
  13316. schema:
  13317. $ref: '#/definitions/app.Response'
  13318. security:
  13319. - ApiKeyAuth: []
  13320. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  13321. tags:
  13322. - 企业风险管理v3(app)
  13323. /Ermcp3/QueryGoodsGroup:
  13324. get:
  13325. parameters:
  13326. - description: 用户id
  13327. in: query
  13328. name: userid
  13329. required: true
  13330. type: integer
  13331. - description: 用户类型 2-机构 7-企业成员
  13332. in: query
  13333. name: usertype
  13334. type: integer
  13335. - description: 排除套保品中已关联的商品组 1-排除
  13336. in: query
  13337. name: excludecfg
  13338. type: integer
  13339. produces:
  13340. - application/json
  13341. responses:
  13342. "200":
  13343. description: OK
  13344. schema:
  13345. items:
  13346. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  13347. type: array
  13348. "500":
  13349. description: Internal Server Error
  13350. schema:
  13351. $ref: '#/definitions/app.Response'
  13352. security:
  13353. - ApiKeyAuth: []
  13354. summary: 查询期货商品组
  13355. tags:
  13356. - 企业风险管理v3(app)
  13357. /Ermcp3/QueryGoodsWrstandard:
  13358. get:
  13359. parameters:
  13360. - description: 用户id
  13361. in: query
  13362. name: userid
  13363. required: true
  13364. type: integer
  13365. - description: 用户类型 2-机构 7-企业成员
  13366. in: query
  13367. name: usertype
  13368. type: integer
  13369. - description: 现货商品id
  13370. in: query
  13371. name: deliverygoodsid
  13372. type: integer
  13373. produces:
  13374. - application/json
  13375. responses:
  13376. "200":
  13377. description: OK
  13378. schema:
  13379. items:
  13380. $ref: '#/definitions/models.Ermcp3Wrstandard'
  13381. type: array
  13382. "500":
  13383. description: Internal Server Error
  13384. schema:
  13385. $ref: '#/definitions/app.Response'
  13386. security:
  13387. - ApiKeyAuth: []
  13388. summary: 查询商品品类
  13389. tags:
  13390. - 企业风险管理v3(app)
  13391. /Ermcp3/QueryGoodsbrand:
  13392. get:
  13393. parameters:
  13394. - description: 用户id
  13395. in: query
  13396. name: userid
  13397. required: true
  13398. type: integer
  13399. - description: 用户类型 2-机构 7-企业成员
  13400. in: query
  13401. name: usertype
  13402. type: integer
  13403. produces:
  13404. - application/json
  13405. responses:
  13406. "200":
  13407. description: OK
  13408. schema:
  13409. items:
  13410. $ref: '#/definitions/models.Ermcp3Brand'
  13411. type: array
  13412. "500":
  13413. description: Internal Server Error
  13414. schema:
  13415. $ref: '#/definitions/app.Response'
  13416. security:
  13417. - ApiKeyAuth: []
  13418. summary: 查询商品品牌
  13419. tags:
  13420. - 企业风险管理v3(app)
  13421. /Ermcp3/QueryHedgePlan:
  13422. get:
  13423. parameters:
  13424. - description: 用户ID
  13425. in: query
  13426. name: userid
  13427. required: true
  13428. type: integer
  13429. - description: 用户类型 2-机构 7-企业成员
  13430. in: query
  13431. name: usertype
  13432. type: integer
  13433. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  13434. in: query
  13435. name: hedgeplanstatus
  13436. required: true
  13437. type: string
  13438. produces:
  13439. - application/json
  13440. responses:
  13441. "200":
  13442. description: OK
  13443. schema:
  13444. items:
  13445. $ref: '#/definitions/models.Ermcp3HedgePlan'
  13446. type: array
  13447. "500":
  13448. description: Internal Server Error
  13449. schema:
  13450. $ref: '#/definitions/app.Response'
  13451. security:
  13452. - ApiKeyAuth: []
  13453. summary: 查询套保计划
  13454. tags:
  13455. - 企业风险管理v3(app)
  13456. /Ermcp3/QueryMiddleGoodsDetail:
  13457. get:
  13458. parameters:
  13459. - description: 用户id
  13460. in: query
  13461. name: userid
  13462. required: true
  13463. type: integer
  13464. - description: 用户类型 2-机构 7-企业成员
  13465. in: query
  13466. name: usertype
  13467. type: integer
  13468. - description: 套保品种id
  13469. in: query
  13470. name: middlegoodsid
  13471. type: integer
  13472. produces:
  13473. - application/json
  13474. responses:
  13475. "200":
  13476. description: OK
  13477. schema:
  13478. items:
  13479. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  13480. type: array
  13481. "500":
  13482. description: Internal Server Error
  13483. schema:
  13484. $ref: '#/definitions/app.Response'
  13485. security:
  13486. - ApiKeyAuth: []
  13487. summary: 查询套保品种详情(套保品种/商品详情)
  13488. tags:
  13489. - 企业风险管理v3(app)
  13490. /Ermcp3/QuerySpotContract:
  13491. get:
  13492. parameters:
  13493. - description: 用户id
  13494. in: query
  13495. name: userid
  13496. required: true
  13497. type: integer
  13498. - description: 用户类型 2-机构 7-企业成员
  13499. in: query
  13500. name: usertype
  13501. type: integer
  13502. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  13503. in: query
  13504. name: querytype
  13505. required: true
  13506. type: integer
  13507. - description: 合同ID(SpotContractId)
  13508. in: query
  13509. name: contractid
  13510. type: string
  13511. produces:
  13512. - application/json
  13513. responses:
  13514. "200":
  13515. description: OK
  13516. schema:
  13517. items:
  13518. $ref: '#/definitions/models.Ermcp3Contract'
  13519. type: array
  13520. "500":
  13521. description: Internal Server Error
  13522. schema:
  13523. $ref: '#/definitions/app.Response'
  13524. security:
  13525. - ApiKeyAuth: []
  13526. summary: 查询现货合同
  13527. tags:
  13528. - 企业风险管理v3(app)
  13529. /Ermcp3/QuerySpotContractBS:
  13530. get:
  13531. parameters:
  13532. - description: 用户id
  13533. in: query
  13534. name: userid
  13535. required: true
  13536. type: integer
  13537. - description: 用户类型 2-机构 7-企业成员
  13538. in: query
  13539. name: usertype
  13540. type: integer
  13541. - description: 合同类型 1-采购, -1-销售
  13542. in: query
  13543. name: contracttype
  13544. required: true
  13545. type: integer
  13546. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  13547. in: query
  13548. name: querytype
  13549. required: true
  13550. type: integer
  13551. - description: 合同ID(SpotContractId)
  13552. in: query
  13553. name: contractid
  13554. type: string
  13555. produces:
  13556. - application/json
  13557. responses:
  13558. "200":
  13559. description: OK
  13560. schema:
  13561. items:
  13562. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  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/QuerySpotGoodsPrice:
  13574. get:
  13575. parameters:
  13576. - description: 用户ID
  13577. in: query
  13578. name: userid
  13579. required: true
  13580. type: integer
  13581. produces:
  13582. - application/json
  13583. responses:
  13584. "200":
  13585. description: OK
  13586. schema:
  13587. items:
  13588. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  13589. type: array
  13590. "500":
  13591. description: Internal Server Error
  13592. schema:
  13593. $ref: '#/definitions/app.Response'
  13594. security:
  13595. - ApiKeyAuth: []
  13596. summary: 查询现货市价(现货市价)
  13597. tags:
  13598. - 企业风险管理v3(app)
  13599. /Ermcp3/QuerySpotGoodsPriceLog:
  13600. get:
  13601. parameters:
  13602. - description: 用户ID
  13603. in: query
  13604. name: userid
  13605. required: true
  13606. type: integer
  13607. - description: 现货商品ID
  13608. in: query
  13609. name: deliverygoodsid
  13610. required: true
  13611. type: integer
  13612. - description: 品牌ID
  13613. in: query
  13614. name: brandid
  13615. type: integer
  13616. - description: 品类ID
  13617. in: query
  13618. name: wrstandardid
  13619. type: integer
  13620. produces:
  13621. - application/json
  13622. responses:
  13623. "200":
  13624. description: OK
  13625. schema:
  13626. items:
  13627. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  13628. type: array
  13629. "500":
  13630. description: Internal Server Error
  13631. schema:
  13632. $ref: '#/definitions/app.Response'
  13633. security:
  13634. - ApiKeyAuth: []
  13635. summary: 查询现货市价详情(现货市价/详情)
  13636. tags:
  13637. - 企业风险管理v3(app)
  13638. /Erms2/QueryArbitrageStrategy:
  13639. get:
  13640. parameters:
  13641. - description: 账户ID
  13642. in: query
  13643. name: userid
  13644. required: true
  13645. type: integer
  13646. - description: 商品组ID(品种ID)
  13647. in: query
  13648. name: goodsgroupid
  13649. type: string
  13650. produces:
  13651. - application/json
  13652. responses:
  13653. "200":
  13654. description: OK
  13655. schema:
  13656. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  13657. "500":
  13658. description: Internal Server Error
  13659. schema:
  13660. $ref: '#/definitions/app.Response'
  13661. security:
  13662. - ApiKeyAuth: []
  13663. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  13664. tags:
  13665. - 风险管理
  13666. /Erms2/QueryInnerTradeDetail:
  13667. get:
  13668. parameters:
  13669. - description: 资金账户
  13670. in: query
  13671. name: accountid
  13672. required: true
  13673. type: integer
  13674. produces:
  13675. - application/json
  13676. responses:
  13677. "200":
  13678. description: OK
  13679. schema:
  13680. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  13681. "500":
  13682. description: Internal Server Error
  13683. schema:
  13684. $ref: '#/definitions/app.Response'
  13685. security:
  13686. - ApiKeyAuth: []
  13687. summary: 查询内部成交单信息
  13688. tags:
  13689. - 风险管理
  13690. /Erms2/QuerySpotContract:
  13691. get:
  13692. parameters:
  13693. - description: 策略申请ID
  13694. in: query
  13695. name: asapplyid
  13696. required: true
  13697. type: integer
  13698. - description: 现货合同ID
  13699. in: query
  13700. name: spotcontractid
  13701. type: integer
  13702. produces:
  13703. - application/json
  13704. responses:
  13705. "200":
  13706. description: OK
  13707. schema:
  13708. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  13709. "500":
  13710. description: Internal Server Error
  13711. schema:
  13712. $ref: '#/definitions/app.Response'
  13713. security:
  13714. - ApiKeyAuth: []
  13715. summary: 查询现货合同表信息(指定策略ID、未结束的)
  13716. tags:
  13717. - 风险管理
  13718. /Erms3/AddErms2ASApply:
  13719. post:
  13720. parameters:
  13721. - description: 申请参数
  13722. in: body
  13723. name: jsonBody
  13724. required: true
  13725. schema:
  13726. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  13727. produces:
  13728. - application/json
  13729. responses:
  13730. "200":
  13731. description: OK
  13732. schema:
  13733. $ref: '#/definitions/app.Response'
  13734. "500":
  13735. description: Internal Server Error
  13736. schema:
  13737. $ref: '#/definitions/app.Response'
  13738. security:
  13739. - ApiKeyAuth: []
  13740. summary: 新增期现套利业务申请
  13741. tags:
  13742. - 风险管理v3
  13743. /Erms3/AddErms2SpotTradeApply:
  13744. post:
  13745. parameters:
  13746. - description: 申请参数
  13747. in: body
  13748. name: jsonBody
  13749. required: true
  13750. schema:
  13751. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  13752. produces:
  13753. - application/json
  13754. responses:
  13755. "200":
  13756. description: OK
  13757. schema:
  13758. $ref: '#/definitions/app.Response'
  13759. "500":
  13760. description: Internal Server Error
  13761. schema:
  13762. $ref: '#/definitions/app.Response'
  13763. security:
  13764. - ApiKeyAuth: []
  13765. summary: 新增现货贸易业务申请
  13766. tags:
  13767. - 风险管理v3
  13768. /Erms3/AddSpotContractApply:
  13769. post:
  13770. parameters:
  13771. - description: 申请参数
  13772. in: body
  13773. name: jsonBody
  13774. required: true
  13775. schema:
  13776. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  13777. produces:
  13778. - application/json
  13779. responses:
  13780. "200":
  13781. description: OK
  13782. schema:
  13783. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  13784. "500":
  13785. description: Internal Server Error
  13786. schema:
  13787. $ref: '#/definitions/app.Response'
  13788. security:
  13789. - ApiKeyAuth: []
  13790. summary: 新增现货合同申请
  13791. tags:
  13792. - 风险管理v3
  13793. /Erms3/AddUserInfoApply:
  13794. post:
  13795. parameters:
  13796. - description: 用户信息
  13797. in: body
  13798. name: jsonBody
  13799. required: true
  13800. schema:
  13801. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  13802. produces:
  13803. - application/json
  13804. responses:
  13805. "200":
  13806. description: OK
  13807. schema:
  13808. $ref: '#/definitions/app.Response'
  13809. "500":
  13810. description: Internal Server Error
  13811. schema:
  13812. $ref: '#/definitions/app.Response'
  13813. security:
  13814. - ApiKeyAuth: []
  13815. summary: 新增客户申请
  13816. tags:
  13817. - 风险管理v3
  13818. /Erms3/DeleteUserInfoApply:
  13819. get:
  13820. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  13821. parameters:
  13822. - description: 用户ID
  13823. in: query
  13824. name: userID
  13825. required: true
  13826. type: integer
  13827. produces:
  13828. - application/json
  13829. responses:
  13830. "200":
  13831. description: OK
  13832. schema:
  13833. $ref: '#/definitions/app.Response'
  13834. "500":
  13835. description: Internal Server Error
  13836. schema:
  13837. $ref: '#/definitions/app.Response'
  13838. security:
  13839. - ApiKeyAuth: []
  13840. summary: 删除客户申请
  13841. tags:
  13842. - 风险管理v3
  13843. /Erms3/ModifyUserInfoApply:
  13844. post:
  13845. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  13846. int, "userstate": 2 }'
  13847. parameters:
  13848. - description: 用户信息
  13849. in: body
  13850. name: jsonBody
  13851. required: true
  13852. schema:
  13853. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  13854. produces:
  13855. - application/json
  13856. responses:
  13857. "200":
  13858. description: OK
  13859. schema:
  13860. $ref: '#/definitions/app.Response'
  13861. "500":
  13862. description: Internal Server Error
  13863. schema:
  13864. $ref: '#/definitions/app.Response'
  13865. security:
  13866. - ApiKeyAuth: []
  13867. summary: 修改客户申请
  13868. tags:
  13869. - 风险管理v3
  13870. /Erms3/QueryBusinessInfo:
  13871. get:
  13872. parameters:
  13873. - description: 资金账号ID列表,用逗号分隔
  13874. in: query
  13875. name: accountids
  13876. required: true
  13877. type: string
  13878. - description: 状态,0为未结束 1为已结束
  13879. in: query
  13880. name: status
  13881. required: true
  13882. type: integer
  13883. produces:
  13884. - application/json
  13885. responses:
  13886. "200":
  13887. description: OK
  13888. schema:
  13889. items:
  13890. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  13891. type: array
  13892. "500":
  13893. description: Internal Server Error
  13894. schema:
  13895. $ref: '#/definitions/app.Response'
  13896. security:
  13897. - ApiKeyAuth: []
  13898. summary: 查询业务表单数据
  13899. tags:
  13900. - 风险管理v3
  13901. /Erms3/QueryPendingAuditContract:
  13902. get:
  13903. parameters:
  13904. - description: 资金账号ID列表,逗号隔开
  13905. in: query
  13906. name: accountids
  13907. required: true
  13908. type: string
  13909. - description: 合同类型 1-采购 -1-销售
  13910. in: query
  13911. name: contracttype
  13912. required: true
  13913. type: integer
  13914. - description: 合同模式 1-普通 2-回购
  13915. in: query
  13916. name: contractmode
  13917. required: true
  13918. type: integer
  13919. produces:
  13920. - application/json
  13921. responses:
  13922. "200":
  13923. description: OK
  13924. schema:
  13925. items:
  13926. $ref: '#/definitions/erms3.QryAuditContractRsp'
  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/QueryPendingBusiness:
  13938. get:
  13939. parameters:
  13940. - description: 资金账号ID列表,逗号隔开
  13941. in: query
  13942. name: accountids
  13943. required: true
  13944. type: string
  13945. produces:
  13946. - application/json
  13947. responses:
  13948. "200":
  13949. description: OK
  13950. schema:
  13951. items:
  13952. $ref: '#/definitions/erms3.QryPendingBizRsp'
  13953. type: array
  13954. "500":
  13955. description: Internal Server Error
  13956. schema:
  13957. $ref: '#/definitions/app.Response'
  13958. security:
  13959. - ApiKeyAuth: []
  13960. summary: 查询待审核基差贸易业务
  13961. tags:
  13962. - 风险管理v3
  13963. /Erms3/QuerySpotContractAppleForm:
  13964. get:
  13965. parameters:
  13966. - description: 登录账号
  13967. in: query
  13968. name: loginID
  13969. required: true
  13970. type: integer
  13971. produces:
  13972. - application/json
  13973. responses:
  13974. "200":
  13975. description: OK
  13976. schema:
  13977. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  13978. "500":
  13979. description: Internal Server Error
  13980. schema:
  13981. $ref: '#/definitions/app.Response'
  13982. security:
  13983. - ApiKeyAuth: []
  13984. summary: 查询合同申请表单数据
  13985. tags:
  13986. - 风险管理v3
  13987. /Erms3/QuerySpotContractDetail:
  13988. get:
  13989. parameters:
  13990. - description: 资金账号ID列表,用逗号分隔
  13991. in: query
  13992. name: accountids
  13993. required: true
  13994. type: string
  13995. - description: 合同类型,1为采购合同 -1为销售合同
  13996. in: query
  13997. name: contracttype
  13998. required: true
  13999. type: integer
  14000. - description: 合同模式,1为普通合同 2为回购销售合同
  14001. in: query
  14002. name: contractmode
  14003. required: true
  14004. type: integer
  14005. - description: 状态,0为履约中 1为已完成
  14006. in: query
  14007. name: status
  14008. required: true
  14009. type: integer
  14010. produces:
  14011. - application/json
  14012. responses:
  14013. "200":
  14014. description: OK
  14015. schema:
  14016. items:
  14017. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  14018. type: array
  14019. "500":
  14020. description: Internal Server Error
  14021. schema:
  14022. $ref: '#/definitions/app.Response'
  14023. security:
  14024. - ApiKeyAuth: []
  14025. summary: 查询合同详细信息
  14026. tags:
  14027. - 风险管理v3
  14028. /Erms3/QueryUserInfoApplies:
  14029. get:
  14030. parameters:
  14031. - description: 页码
  14032. in: query
  14033. name: page
  14034. type: integer
  14035. - description: 每页条数
  14036. in: query
  14037. name: pagesize
  14038. type: integer
  14039. - description: 客户名称,支持模糊查询
  14040. in: query
  14041. name: userName
  14042. type: string
  14043. produces:
  14044. - application/json
  14045. responses:
  14046. "200":
  14047. description: OK
  14048. schema:
  14049. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  14050. "500":
  14051. description: Internal Server Error
  14052. schema:
  14053. $ref: '#/definitions/app.Response'
  14054. security:
  14055. - ApiKeyAuth: []
  14056. summary: 客户申请信息查询
  14057. tags:
  14058. - 风险管理v3
  14059. /Erms3/QueryUserInfos:
  14060. get:
  14061. parameters:
  14062. - description: 页码
  14063. in: query
  14064. name: page
  14065. type: integer
  14066. - description: 每页条数
  14067. in: query
  14068. name: pagesize
  14069. type: integer
  14070. - description: 客户名称,支持模糊查询
  14071. in: query
  14072. name: userName
  14073. type: string
  14074. produces:
  14075. - application/json
  14076. responses:
  14077. "200":
  14078. description: OK
  14079. schema:
  14080. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  14081. "500":
  14082. description: Internal Server Error
  14083. schema:
  14084. $ref: '#/definitions/app.Response'
  14085. security:
  14086. - ApiKeyAuth: []
  14087. summary: 客户信息查询
  14088. tags:
  14089. - 风险管理v3
  14090. /HSBY/GetHsbyMyCount:
  14091. get:
  14092. description: 说明: 不包括已完成的数量。
  14093. parameters:
  14094. - description: 资金账户列表,格式:1,2,3
  14095. in: query
  14096. name: accountIDs
  14097. required: true
  14098. type: string
  14099. produces:
  14100. - application/json
  14101. responses:
  14102. "200":
  14103. description: OK
  14104. schema:
  14105. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  14106. "500":
  14107. description: Internal Server Error
  14108. schema:
  14109. $ref: '#/definitions/app.Response'
  14110. security:
  14111. - ApiKeyAuth: []
  14112. summary: 获取我的订单与包裹数量
  14113. tags:
  14114. - 定制【海商报业】
  14115. /HSBY/QueryClientFixedADConfigs:
  14116. get:
  14117. produces:
  14118. - application/json
  14119. responses:
  14120. "200":
  14121. description: OK
  14122. schema:
  14123. $ref: '#/definitions/models.Clientfixedadconfig'
  14124. "500":
  14125. description: Internal Server Error
  14126. schema:
  14127. $ref: '#/definitions/app.Response'
  14128. security:
  14129. - ApiKeyAuth: []
  14130. summary: 获取终端固定广告配置
  14131. tags:
  14132. - 定制【海商报业】
  14133. /HSBY/QueryHsbyBuyMyTradeDetail:
  14134. get:
  14135. parameters:
  14136. - description: 页码
  14137. in: query
  14138. name: page
  14139. type: integer
  14140. - description: 每页条数
  14141. in: query
  14142. name: pagesize
  14143. type: integer
  14144. - description: 资金账户列表,格式:1,2,3
  14145. in: query
  14146. name: accountIDs
  14147. required: true
  14148. type: string
  14149. produces:
  14150. - application/json
  14151. responses:
  14152. "200":
  14153. description: OK
  14154. schema:
  14155. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  14156. "500":
  14157. description: Internal Server Error
  14158. schema:
  14159. $ref: '#/definitions/app.Response'
  14160. security:
  14161. - ApiKeyAuth: []
  14162. summary: 查询"我的订单 - 已完成"单据信息
  14163. tags:
  14164. - 定制【海商报业】
  14165. /HSBY/QueryHsbyGoodsOrderDetails:
  14166. get:
  14167. description: 说明:查询结果已按委托价格和委托时间排序
  14168. parameters:
  14169. - description: 商品ID
  14170. in: query
  14171. name: goodsID
  14172. required: true
  14173. type: integer
  14174. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  14175. in: query
  14176. name: accountIDs
  14177. type: string
  14178. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  14179. in: query
  14180. name: buyOrSell
  14181. type: integer
  14182. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  14183. in: query
  14184. name: price
  14185. type: number
  14186. - description: 档位,不传则默认为3档
  14187. in: query
  14188. name: speed
  14189. type: integer
  14190. produces:
  14191. - application/json
  14192. responses:
  14193. "200":
  14194. description: OK
  14195. schema:
  14196. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  14197. "500":
  14198. description: Internal Server Error
  14199. schema:
  14200. $ref: '#/definitions/app.Response'
  14201. security:
  14202. - ApiKeyAuth: []
  14203. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  14204. tags:
  14205. - 定制【海商报业】
  14206. /HSBY/QueryHsbyListingGoodsDetail:
  14207. get:
  14208. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  14209. parameters:
  14210. - description: 商品ID
  14211. in: query
  14212. name: goodsID
  14213. required: true
  14214. type: integer
  14215. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  14216. in: query
  14217. name: accountID
  14218. type: integer
  14219. produces:
  14220. - application/json
  14221. responses:
  14222. "200":
  14223. description: OK
  14224. schema:
  14225. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  14226. "500":
  14227. description: Internal Server Error
  14228. schema:
  14229. $ref: '#/definitions/app.Response'
  14230. security:
  14231. - ApiKeyAuth: []
  14232. summary: 查询二级市场(挂牌点选)商品信息详情
  14233. tags:
  14234. - 定制【海商报业】
  14235. /HSBY/QueryHsbyMarketGoodsDetail:
  14236. get:
  14237. parameters:
  14238. - description: 委托单号
  14239. in: query
  14240. name: orderID
  14241. required: true
  14242. type: integer
  14243. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  14244. in: query
  14245. name: accountID
  14246. type: integer
  14247. produces:
  14248. - application/json
  14249. responses:
  14250. "200":
  14251. description: OK
  14252. schema:
  14253. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  14254. "500":
  14255. description: Internal Server Error
  14256. schema:
  14257. $ref: '#/definitions/app.Response'
  14258. security:
  14259. - ApiKeyAuth: []
  14260. summary: 查询三级市场(商城)商品信息详情
  14261. tags:
  14262. - 定制【海商报业】
  14263. /HSBY/QueryHsbyMarketGoodses:
  14264. get:
  14265. parameters:
  14266. - description: 页码
  14267. in: query
  14268. name: page
  14269. type: integer
  14270. - description: 每页条数
  14271. in: query
  14272. name: pagesize
  14273. type: integer
  14274. - description: 市场ID列表,格式:1,2,3
  14275. in: query
  14276. name: marketIDs
  14277. required: true
  14278. type: string
  14279. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  14280. in: query
  14281. name: accountID
  14282. required: true
  14283. type: integer
  14284. - description: 类别ID
  14285. in: query
  14286. name: categoryID
  14287. type: integer
  14288. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  14289. in: query
  14290. name: goodsIDs
  14291. type: string
  14292. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  14293. in: query
  14294. name: couponTypeID
  14295. type: integer
  14296. produces:
  14297. - application/json
  14298. responses:
  14299. "200":
  14300. description: OK
  14301. schema:
  14302. $ref: '#/definitions/models.HsbyMarketGoods'
  14303. "500":
  14304. description: Internal Server Error
  14305. schema:
  14306. $ref: '#/definitions/app.Response'
  14307. security:
  14308. - ApiKeyAuth: []
  14309. summary: 查询特卖商品列表(三级商城)
  14310. tags:
  14311. - 定制【海商报业】
  14312. /HSBY/QueryHsbyMarkets:
  14313. get:
  14314. produces:
  14315. - application/json
  14316. responses:
  14317. "200":
  14318. description: OK
  14319. schema:
  14320. $ref: '#/definitions/models.HsbyMarketInfo'
  14321. "500":
  14322. description: Internal Server Error
  14323. schema:
  14324. $ref: '#/definitions/app.Response'
  14325. security:
  14326. - ApiKeyAuth: []
  14327. summary: 查询海商报业相关市场信息
  14328. tags:
  14329. - 定制【海商报业】
  14330. /HSBY/QueryHsbyMyBuyOrderDetails:
  14331. get:
  14332. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  14333. parameters:
  14334. - description: 资金账户列表,格式:1,2,3
  14335. in: query
  14336. name: accountIDs
  14337. required: true
  14338. type: string
  14339. produces:
  14340. - application/json
  14341. responses:
  14342. "200":
  14343. description: OK
  14344. schema:
  14345. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  14346. "500":
  14347. description: Internal Server Error
  14348. schema:
  14349. $ref: '#/definitions/app.Response'
  14350. security:
  14351. - ApiKeyAuth: []
  14352. summary: 查询“我的订单”信息
  14353. tags:
  14354. - 定制【海商报业】
  14355. /HSBY/QueryHsbyMyGoods:
  14356. get:
  14357. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  14358. parameters:
  14359. - description: 资金账户列表,格式:1,2,3
  14360. in: query
  14361. name: accountIDs
  14362. required: true
  14363. type: string
  14364. produces:
  14365. - application/json
  14366. responses:
  14367. "200":
  14368. description: OK
  14369. schema:
  14370. $ref: '#/definitions/models.HsbyMyGoods'
  14371. "500":
  14372. description: Internal Server Error
  14373. schema:
  14374. $ref: '#/definitions/app.Response'
  14375. security:
  14376. - ApiKeyAuth: []
  14377. summary: 查询“我的商品”信息
  14378. tags:
  14379. - 定制【海商报业】
  14380. /HSBY/QueryHsbyMyPackages:
  14381. get:
  14382. parameters:
  14383. - description: 资金账户列表,格式:1,2,3
  14384. in: query
  14385. name: accountIDs
  14386. required: true
  14387. type: string
  14388. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  14389. in: query
  14390. name: takeOrderStatus
  14391. type: integer
  14392. produces:
  14393. - application/json
  14394. responses:
  14395. "200":
  14396. description: OK
  14397. schema:
  14398. $ref: '#/definitions/models.HsbyMyPackage'
  14399. "500":
  14400. description: Internal Server Error
  14401. schema:
  14402. $ref: '#/definitions/app.Response'
  14403. security:
  14404. - ApiKeyAuth: []
  14405. summary: 查询我的包裹信息
  14406. tags:
  14407. - 定制【海商报业】
  14408. /HSBY/QueryHsbyPreGoodsDetail:
  14409. get:
  14410. parameters:
  14411. - description: 商品ID
  14412. in: query
  14413. name: goodsID
  14414. required: true
  14415. type: integer
  14416. - description: 资金账户,主要用于获取预售商品购买上限
  14417. in: query
  14418. name: accountID
  14419. type: integer
  14420. produces:
  14421. - application/json
  14422. responses:
  14423. "200":
  14424. description: OK
  14425. schema:
  14426. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  14427. "500":
  14428. description: Internal Server Error
  14429. schema:
  14430. $ref: '#/definitions/app.Response'
  14431. security:
  14432. - ApiKeyAuth: []
  14433. summary: 查询一级市场(预售)商品信息详情
  14434. tags:
  14435. - 定制【海商报业】
  14436. /HSBY/QueryHsbyPreGoodses:
  14437. get:
  14438. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  14439. parameters:
  14440. - description: 页码
  14441. in: query
  14442. name: page
  14443. type: integer
  14444. - description: 每页条数
  14445. in: query
  14446. name: pagesize
  14447. type: integer
  14448. - description: 市场ID列表,格式:1,2,3
  14449. in: query
  14450. name: marketIDs
  14451. required: true
  14452. type: string
  14453. - description: 目的地(省)ID
  14454. in: query
  14455. name: descProvinceID
  14456. type: integer
  14457. - description: 目的地(市)ID
  14458. in: query
  14459. name: descCityID
  14460. type: integer
  14461. produces:
  14462. - application/json
  14463. responses:
  14464. "200":
  14465. description: OK
  14466. schema:
  14467. $ref: '#/definitions/models.HsbyPreGoods'
  14468. "500":
  14469. description: Internal Server Error
  14470. schema:
  14471. $ref: '#/definitions/app.Response'
  14472. security:
  14473. - ApiKeyAuth: []
  14474. summary: 查询新品上市商品列表(一级市场预售)
  14475. tags:
  14476. - 定制【海商报业】
  14477. /HSBY/QueryHsbySellMyDetails:
  14478. get:
  14479. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  14480. parameters:
  14481. - description: 页码
  14482. in: query
  14483. name: page
  14484. type: integer
  14485. - description: 每页条数
  14486. in: query
  14487. name: pagesize
  14488. type: integer
  14489. - description: 资金账户列表,格式:1,2,3
  14490. in: query
  14491. name: accountIDs
  14492. required: true
  14493. type: string
  14494. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  14495. in: query
  14496. name: orderType
  14497. type: integer
  14498. produces:
  14499. - application/json
  14500. responses:
  14501. "200":
  14502. description: OK
  14503. schema:
  14504. $ref: '#/definitions/models.HsbySellMyDetail'
  14505. "500":
  14506. description: Internal Server Error
  14507. schema:
  14508. $ref: '#/definitions/app.Response'
  14509. security:
  14510. - ApiKeyAuth: []
  14511. summary: 查询"我的闲置"单据信息
  14512. tags:
  14513. - 定制【海商报业】
  14514. /HSBY/QueryHsbyTopGoodses:
  14515. get:
  14516. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  14517. parameters:
  14518. - description: 页码
  14519. in: query
  14520. name: page
  14521. type: integer
  14522. - description: 每页条数
  14523. in: query
  14524. name: pagesize
  14525. type: integer
  14526. - description: 市场ID列表,格式:1,2,3
  14527. in: query
  14528. name: marketIDs
  14529. required: true
  14530. type: string
  14531. - description: 目的地(省)ID
  14532. in: query
  14533. name: descProvinceID
  14534. type: integer
  14535. - description: 目的地(市)ID
  14536. in: query
  14537. name: descCityID
  14538. type: integer
  14539. produces:
  14540. - application/json
  14541. responses:
  14542. "200":
  14543. description: OK
  14544. schema:
  14545. $ref: '#/definitions/models.HsbyTopGoods'
  14546. "500":
  14547. description: Internal Server Error
  14548. schema:
  14549. $ref: '#/definitions/app.Response'
  14550. security:
  14551. - ApiKeyAuth: []
  14552. summary: 查询热卖商品列表(二级市场挂牌点选)
  14553. tags:
  14554. - 定制【海商报业】
  14555. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  14556. get:
  14557. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  14558. parameters:
  14559. - description: 商品ID
  14560. in: query
  14561. name: goodsID
  14562. required: true
  14563. type: integer
  14564. produces:
  14565. - application/json
  14566. responses:
  14567. "200":
  14568. description: OK
  14569. schema:
  14570. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  14571. "500":
  14572. description: Internal Server Error
  14573. schema:
  14574. $ref: '#/definitions/app.Response'
  14575. security:
  14576. - ApiKeyAuth: []
  14577. summary: 查询游客三级市场(商城)商品信息详情
  14578. tags:
  14579. - 定制【海商报业】
  14580. /HSBY/QueryHsbyVisitorMarketGoodses:
  14581. get:
  14582. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  14583. parameters:
  14584. - description: 页码
  14585. in: query
  14586. name: page
  14587. type: integer
  14588. - description: 每页条数
  14589. in: query
  14590. name: pagesize
  14591. type: integer
  14592. - description: 市场ID列表,格式:1,2,3
  14593. in: query
  14594. name: marketIDs
  14595. required: true
  14596. type: string
  14597. - description: 类别ID
  14598. in: query
  14599. name: categoryID
  14600. type: integer
  14601. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  14602. in: query
  14603. name: goodsIDs
  14604. type: string
  14605. produces:
  14606. - application/json
  14607. responses:
  14608. "200":
  14609. description: OK
  14610. schema:
  14611. $ref: '#/definitions/models.HsbyMarketGoods'
  14612. "500":
  14613. description: Internal Server Error
  14614. schema:
  14615. $ref: '#/definitions/app.Response'
  14616. security:
  14617. - ApiKeyAuth: []
  14618. summary: 查询游客特卖商品列表(三级商城)
  14619. tags:
  14620. - 定制【海商报业】
  14621. /HSBY/QueryMyCollectionOrders:
  14622. get:
  14623. parameters:
  14624. - description: 页码
  14625. in: query
  14626. name: page
  14627. type: integer
  14628. - description: 每页条数
  14629. in: query
  14630. name: pagesize
  14631. type: integer
  14632. - description: 资金账户,格式:1,2,3
  14633. in: query
  14634. name: accountIDs
  14635. required: true
  14636. type: string
  14637. produces:
  14638. - application/json
  14639. responses:
  14640. "200":
  14641. description: OK
  14642. schema:
  14643. $ref: '#/definitions/models.HsbySellCollectionOrder'
  14644. "500":
  14645. description: Internal Server Error
  14646. schema:
  14647. $ref: '#/definitions/app.Response'
  14648. security:
  14649. - ApiKeyAuth: []
  14650. summary: 我的闲置中收款信息查询
  14651. tags:
  14652. - 定制【海商报业】
  14653. /HSBY/QueryMyCouponHolds:
  14654. get:
  14655. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  14656. parameters:
  14657. - description: 资金账户列表,格式:1,2,3
  14658. in: query
  14659. name: accountIDs
  14660. required: true
  14661. type: string
  14662. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  14663. in: query
  14664. name: holdStatus
  14665. type: string
  14666. produces:
  14667. - application/json
  14668. responses:
  14669. "200":
  14670. description: OK
  14671. schema:
  14672. $ref: '#/definitions/models.MyCouponHold'
  14673. "500":
  14674. description: Internal Server Error
  14675. schema:
  14676. $ref: '#/definitions/app.Response'
  14677. security:
  14678. - ApiKeyAuth: []
  14679. summary: 我的优惠卷持仓查询
  14680. tags:
  14681. - 定制【海商报业】
  14682. /HSBY/QueryMyCoupons:
  14683. get:
  14684. parameters:
  14685. - description: 资金账户列表,格式:1,2,3
  14686. in: query
  14687. name: accountIDs
  14688. required: true
  14689. type: string
  14690. - description: 商品ID, 一般与sellUserID配套传入
  14691. in: query
  14692. name: goodsID
  14693. type: integer
  14694. - description: 卖方UserID
  14695. in: query
  14696. name: sellUserID
  14697. type: integer
  14698. produces:
  14699. - application/json
  14700. responses:
  14701. "200":
  14702. description: OK
  14703. schema:
  14704. $ref: '#/definitions/models.MyCoupon'
  14705. "500":
  14706. description: Internal Server Error
  14707. schema:
  14708. $ref: '#/definitions/app.Response'
  14709. security:
  14710. - ApiKeyAuth: []
  14711. summary: 我的优惠卷查询
  14712. tags:
  14713. - 定制【海商报业】
  14714. /HSBY/QueryMyPayOrders:
  14715. get:
  14716. parameters:
  14717. - description: 页码
  14718. in: query
  14719. name: page
  14720. type: integer
  14721. - description: 每页条数
  14722. in: query
  14723. name: pagesize
  14724. type: integer
  14725. - description: 资金账户列表,格式:1,2,3
  14726. in: query
  14727. name: accountIDs
  14728. required: true
  14729. type: string
  14730. - description: 买方委托单号
  14731. in: query
  14732. name: buyOrderID
  14733. type: integer
  14734. - description: 卖方委托单号
  14735. in: query
  14736. name: sellOrderID
  14737. type: integer
  14738. produces:
  14739. - application/json
  14740. responses:
  14741. "200":
  14742. description: OK
  14743. schema:
  14744. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  14745. "500":
  14746. description: Internal Server Error
  14747. schema:
  14748. $ref: '#/definitions/app.Response'
  14749. security:
  14750. - ApiKeyAuth: []
  14751. summary: 获取我的订单中待付款信息
  14752. tags:
  14753. - 定制【海商报业】
  14754. /HSBY/QueryMyUsedCoupon:
  14755. get:
  14756. parameters:
  14757. - description: 资金账户列表,格式:1,2,3
  14758. in: query
  14759. name: accountIDs
  14760. required: true
  14761. type: string
  14762. produces:
  14763. - application/json
  14764. responses:
  14765. "200":
  14766. description: OK
  14767. schema:
  14768. $ref: '#/definitions/models.MyUsedCoupon'
  14769. "500":
  14770. description: Internal Server Error
  14771. schema:
  14772. $ref: '#/definitions/app.Response'
  14773. security:
  14774. - ApiKeyAuth: []
  14775. summary: 已使用优惠卷查询
  14776. tags:
  14777. - 定制【海商报业】
  14778. /HSBY/QueryProvincesAndCities:
  14779. get:
  14780. description: 查询结果只包括二级市场商品已关连的省市信息。
  14781. parameters:
  14782. - description: 省ID
  14783. in: query
  14784. name: provinceID
  14785. type: integer
  14786. produces:
  14787. - application/json
  14788. responses:
  14789. "200":
  14790. description: OK
  14791. schema:
  14792. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  14793. "500":
  14794. description: Internal Server Error
  14795. schema:
  14796. $ref: '#/definitions/app.Response'
  14797. security:
  14798. - ApiKeyAuth: []
  14799. summary: 查询省市信息(不包括区)
  14800. tags:
  14801. - 定制【海商报业】
  14802. /HSBY/SetHsbyMyPackagesStatus:
  14803. post:
  14804. parameters:
  14805. - description: 提货单号
  14806. in: query
  14807. name: takeOrderID
  14808. required: true
  14809. type: string
  14810. - description: 资金账号
  14811. in: query
  14812. name: accountID
  14813. required: true
  14814. type: integer
  14815. produces:
  14816. - application/json
  14817. responses:
  14818. "200":
  14819. description: OK
  14820. schema:
  14821. $ref: '#/definitions/app.Response'
  14822. "500":
  14823. description: Internal Server Error
  14824. schema:
  14825. $ref: '#/definitions/app.Response'
  14826. security:
  14827. - ApiKeyAuth: []
  14828. summary: 设置我的包裹已收货状态
  14829. tags:
  14830. - 定制【海商报业】
  14831. /Market/QueryGoodsesByLoginID:
  14832. get:
  14833. parameters:
  14834. - description: 登录账号
  14835. in: query
  14836. name: loginID
  14837. required: true
  14838. type: integer
  14839. - description: 市场ID列表,格式:1,2,3
  14840. in: query
  14841. name: marketIDs
  14842. type: string
  14843. produces:
  14844. - application/json
  14845. responses:
  14846. "200":
  14847. description: OK
  14848. schema:
  14849. $ref: '#/definitions/models.Goods'
  14850. "500":
  14851. description: Internal Server Error
  14852. schema:
  14853. $ref: '#/definitions/app.Response'
  14854. security:
  14855. - ApiKeyAuth: []
  14856. summary: 获取登录账号有权限的商品信息
  14857. tags:
  14858. - 通用市场
  14859. /Market/QueryMarketRun:
  14860. get:
  14861. parameters:
  14862. - description: 市场ID,不传返回所有
  14863. in: query
  14864. name: marketID
  14865. type: integer
  14866. produces:
  14867. - application/json
  14868. responses:
  14869. "200":
  14870. description: OK
  14871. schema:
  14872. $ref: '#/definitions/models.Marketrun'
  14873. "500":
  14874. description: Internal Server Error
  14875. schema:
  14876. $ref: '#/definitions/app.Response'
  14877. security:
  14878. - ApiKeyAuth: []
  14879. summary: 查询市场运行信息
  14880. tags:
  14881. - 通用市场
  14882. /Market/QueryMarketsByLoginID:
  14883. get:
  14884. parameters:
  14885. - description: 登录账号
  14886. in: query
  14887. name: loginID
  14888. required: true
  14889. type: integer
  14890. produces:
  14891. - application/json
  14892. responses:
  14893. "200":
  14894. description: OK
  14895. schema:
  14896. $ref: '#/definitions/models.Market'
  14897. "500":
  14898. description: Internal Server Error
  14899. schema:
  14900. $ref: '#/definitions/app.Response'
  14901. security:
  14902. - ApiKeyAuth: []
  14903. summary: 获取登录账号有权限的市场信息
  14904. tags:
  14905. - 通用市场
  14906. /Order/QueryHisTradeDetail:
  14907. get:
  14908. parameters:
  14909. - description: 资金账户 - 格式:1,2,3
  14910. in: query
  14911. name: accountID
  14912. required: true
  14913. type: string
  14914. - description: 成交单号
  14915. in: query
  14916. name: tradeID
  14917. type: integer
  14918. - description: 委托单号
  14919. in: query
  14920. name: orderID
  14921. type: integer
  14922. - description: 交易模式 - 格式:1,2,3
  14923. in: query
  14924. name: tradeMode
  14925. type: string
  14926. - description: 委托单据类型
  14927. in: query
  14928. name: buildType
  14929. type: integer
  14930. - description: 成交类别 - 格式:1,2,3
  14931. in: query
  14932. name: tradeType
  14933. type: string
  14934. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14935. in: query
  14936. name: startDate
  14937. type: string
  14938. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14939. in: query
  14940. name: endDate
  14941. type: string
  14942. produces:
  14943. - application/json
  14944. responses:
  14945. "200":
  14946. description: OK
  14947. schema:
  14948. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  14949. "500":
  14950. description: Internal Server Error
  14951. schema:
  14952. $ref: '#/definitions/app.Response'
  14953. security:
  14954. - ApiKeyAuth: []
  14955. summary: 历史成交单查询(合约市场)
  14956. tags:
  14957. - 通用单据
  14958. /Order/QueryHisTradeOrderDetail:
  14959. get:
  14960. parameters:
  14961. - description: 资金账户 - 格式:1,2,3
  14962. in: query
  14963. name: accountID
  14964. required: true
  14965. type: string
  14966. - description: 交易模式 - 格式:1,2,3
  14967. in: query
  14968. name: tradeMode
  14969. type: string
  14970. - description: 委托状态 - 格式:1,2,3
  14971. in: query
  14972. name: orderStatus
  14973. type: string
  14974. - description: 委托单号
  14975. in: query
  14976. name: orderID
  14977. type: integer
  14978. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14979. in: query
  14980. name: startDate
  14981. type: string
  14982. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14983. in: query
  14984. name: endDate
  14985. type: string
  14986. produces:
  14987. - application/json
  14988. responses:
  14989. "200":
  14990. description: OK
  14991. schema:
  14992. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  14993. "500":
  14994. description: Internal Server Error
  14995. schema:
  14996. $ref: '#/definitions/app.Response'
  14997. security:
  14998. - ApiKeyAuth: []
  14999. summary: 历史委托单查询请求(合约市场)
  15000. tags:
  15001. - 通用单据
  15002. /Order/QueryTradeDetail:
  15003. get:
  15004. parameters:
  15005. - description: 资金账户 - 格式:1,2,3
  15006. in: query
  15007. name: accountID
  15008. required: true
  15009. type: string
  15010. - description: 成交单号
  15011. in: query
  15012. name: tradeID
  15013. type: integer
  15014. - description: 委托单号
  15015. in: query
  15016. name: orderID
  15017. type: integer
  15018. - description: 交易模式 - 格式:1,2,3
  15019. in: query
  15020. name: tradeMode
  15021. type: string
  15022. - description: 委托单据类型
  15023. in: query
  15024. name: buildType
  15025. type: integer
  15026. - description: 成交类别 - 格式:1,2,3
  15027. in: query
  15028. name: tradeType
  15029. type: string
  15030. produces:
  15031. - application/json
  15032. responses:
  15033. "200":
  15034. description: OK
  15035. schema:
  15036. $ref: '#/definitions/order.QueryTradeDetailRsp'
  15037. "500":
  15038. description: Internal Server Error
  15039. schema:
  15040. $ref: '#/definitions/app.Response'
  15041. security:
  15042. - ApiKeyAuth: []
  15043. summary: 成交单查询(合约市场)
  15044. tags:
  15045. - 通用单据
  15046. /Order/QueryTradeOrderDetail:
  15047. get:
  15048. parameters:
  15049. - description: 资金账户 - 格式:1,2,3
  15050. in: query
  15051. name: accountID
  15052. required: true
  15053. type: string
  15054. - description: 交易模式 - 格式:1,2,3
  15055. in: query
  15056. name: tradeMode
  15057. type: string
  15058. - description: 委托状态 - 格式:1,2,3
  15059. in: query
  15060. name: orderStatus
  15061. type: string
  15062. - description: 委托单号
  15063. in: query
  15064. name: orderID
  15065. type: integer
  15066. produces:
  15067. - application/json
  15068. responses:
  15069. "200":
  15070. description: OK
  15071. schema:
  15072. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  15073. "500":
  15074. description: Internal Server Error
  15075. schema:
  15076. $ref: '#/definitions/app.Response'
  15077. security:
  15078. - ApiKeyAuth: []
  15079. summary: 委托单查询请求(合约市场)
  15080. tags:
  15081. - 通用单据
  15082. /Order/QueryTradePosition:
  15083. get:
  15084. parameters:
  15085. - description: 资金账户 - 格式:1,2,3
  15086. in: query
  15087. name: accountID
  15088. required: true
  15089. type: string
  15090. - description: 交易模式 - 格式:1,2,3
  15091. in: query
  15092. name: tradeMode
  15093. type: string
  15094. produces:
  15095. - application/json
  15096. responses:
  15097. "200":
  15098. description: OK
  15099. schema:
  15100. $ref: '#/definitions/order.QueryTradePositionRsp'
  15101. "500":
  15102. description: Internal Server Error
  15103. schema:
  15104. $ref: '#/definitions/app.Response'
  15105. security:
  15106. - ApiKeyAuth: []
  15107. summary: 持仓汇总查询(合约市场)
  15108. tags:
  15109. - 通用单据
  15110. /Quote/QueryHistoryDatas:
  15111. get:
  15112. parameters:
  15113. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  15114. 日线'
  15115. in: query
  15116. name: cycleType
  15117. required: true
  15118. type: integer
  15119. - description: 商品代码
  15120. in: query
  15121. name: goodsCode
  15122. required: true
  15123. type: string
  15124. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  15125. in: query
  15126. name: startTime
  15127. type: string
  15128. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  15129. in: query
  15130. name: endTime
  15131. type: string
  15132. - description: 条数
  15133. in: query
  15134. name: count
  15135. type: integer
  15136. - description: 是否按时间顺序排序(默认为时间倒序排序)
  15137. in: query
  15138. name: isAsc
  15139. type: boolean
  15140. produces:
  15141. - application/json
  15142. responses:
  15143. "200":
  15144. description: OK
  15145. schema:
  15146. $ref: '#/definitions/quote.HistoryData'
  15147. "500":
  15148. description: Internal Server Error
  15149. schema:
  15150. $ref: '#/definitions/app.Response'
  15151. security:
  15152. - ApiKeyAuth: []
  15153. summary: 查询行情历史数据
  15154. tags:
  15155. - 行情服务
  15156. /Quote/QueryHistoryTikDatas:
  15157. get:
  15158. parameters:
  15159. - description: 商品代码
  15160. in: query
  15161. name: goodsCode
  15162. required: true
  15163. type: string
  15164. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  15165. in: query
  15166. name: startTime
  15167. type: string
  15168. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  15169. in: query
  15170. name: endTime
  15171. type: string
  15172. - description: 条数
  15173. in: query
  15174. name: count
  15175. type: integer
  15176. - description: 是否按时间顺序排序(默认为时间倒序排序)
  15177. in: query
  15178. name: isAsc
  15179. type: boolean
  15180. produces:
  15181. - application/json
  15182. responses:
  15183. "200":
  15184. description: OK
  15185. schema:
  15186. $ref: '#/definitions/quote.HistoryTikData'
  15187. "500":
  15188. description: Internal Server Error
  15189. schema:
  15190. $ref: '#/definitions/app.Response'
  15191. security:
  15192. - ApiKeyAuth: []
  15193. summary: 查询行情Tik数据
  15194. tags:
  15195. - 行情服务
  15196. /Quote/QueryQuoteDay:
  15197. get:
  15198. parameters:
  15199. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  15200. in: query
  15201. name: goodsCodes
  15202. required: true
  15203. type: string
  15204. produces:
  15205. - application/json
  15206. responses:
  15207. "200":
  15208. description: OK
  15209. schema:
  15210. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  15211. "500":
  15212. description: Internal Server Error
  15213. schema:
  15214. $ref: '#/definitions/app.Response'
  15215. security:
  15216. - ApiKeyAuth: []
  15217. summary: 获取商品盘面信息
  15218. tags:
  15219. - 行情服务
  15220. /Quote/QueryTSData:
  15221. get:
  15222. parameters:
  15223. - description: 商品代码
  15224. in: query
  15225. name: goodsCode
  15226. required: true
  15227. type: string
  15228. produces:
  15229. - application/json
  15230. responses:
  15231. "200":
  15232. description: OK
  15233. schema:
  15234. $ref: '#/definitions/quote.QueryTSDataRsp'
  15235. "500":
  15236. description: Internal Server Error
  15237. schema:
  15238. $ref: '#/definitions/app.Response'
  15239. security:
  15240. - ApiKeyAuth: []
  15241. summary: 分时图数据查询
  15242. tags:
  15243. - 行情服务
  15244. /SZDZ/QueryConvertConfig:
  15245. get:
  15246. parameters:
  15247. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  15248. 6:交易转花生米(不设置)
  15249. in: query
  15250. name: convertType
  15251. type: integer
  15252. - description: 外部商品代码[JD\PD]
  15253. in: query
  15254. name: outerGoodsCode
  15255. type: string
  15256. - description: 内部商品ID列表[交易],格式:1,2,3
  15257. in: query
  15258. name: innerGoodsIDs
  15259. type: string
  15260. produces:
  15261. - application/json
  15262. responses:
  15263. "200":
  15264. description: OK
  15265. schema:
  15266. $ref: '#/definitions/models.Szdz3convertconfig'
  15267. "500":
  15268. description: Internal Server Error
  15269. schema:
  15270. $ref: '#/definitions/app.Response'
  15271. security:
  15272. - ApiKeyAuth: []
  15273. summary: 查询交易系统转换设置
  15274. tags:
  15275. - 定制【尚志大宗】
  15276. /SZDZ/QueryConvertLog:
  15277. get:
  15278. parameters:
  15279. - description: 资金账户 - 格式:1,2,3
  15280. in: query
  15281. name: accountID
  15282. required: true
  15283. type: string
  15284. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  15285. in: query
  15286. name: startDate
  15287. type: string
  15288. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  15289. in: query
  15290. name: endDate
  15291. type: string
  15292. produces:
  15293. - application/json
  15294. responses:
  15295. "200":
  15296. description: OK
  15297. schema:
  15298. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  15299. "500":
  15300. description: Internal Server Error
  15301. schema:
  15302. $ref: '#/definitions/app.Response'
  15303. security:
  15304. - ApiKeyAuth: []
  15305. summary: 交易系统转换流水查询
  15306. tags:
  15307. - 定制【尚志大宗】
  15308. /SZDZ/QueryGoodsPickup:
  15309. get:
  15310. parameters:
  15311. - description: 资金账户 - 格式:1,2,3
  15312. in: query
  15313. name: accountID
  15314. required: true
  15315. type: string
  15316. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  15317. in: query
  15318. name: takeOrderStatus
  15319. type: integer
  15320. produces:
  15321. - application/json
  15322. responses:
  15323. "200":
  15324. description: OK
  15325. schema:
  15326. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  15327. "500":
  15328. description: Internal Server Error
  15329. schema:
  15330. $ref: '#/definitions/app.Response'
  15331. security:
  15332. - ApiKeyAuth: []
  15333. summary: 商品提货单查询
  15334. tags:
  15335. - 定制【尚志大宗】
  15336. /SZDZ/QueryRecieptOrder:
  15337. get:
  15338. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  15339. parameters:
  15340. - description: 页码
  15341. in: query
  15342. name: page
  15343. type: integer
  15344. - description: 每页条数
  15345. in: query
  15346. name: pagesize
  15347. type: integer
  15348. - description: 商品ID
  15349. in: query
  15350. name: goodsID
  15351. required: true
  15352. type: integer
  15353. - description: 所属账户名称
  15354. in: query
  15355. name: accountName
  15356. type: string
  15357. - description: 市场ID
  15358. in: query
  15359. name: marketID
  15360. type: integer
  15361. - description: 方向 - 0:买 1:卖
  15362. in: query
  15363. name: buyorsell
  15364. required: true
  15365. type: integer
  15366. produces:
  15367. - application/json
  15368. responses:
  15369. "200":
  15370. description: OK
  15371. schema:
  15372. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  15373. "500":
  15374. description: Internal Server Error
  15375. schema:
  15376. $ref: '#/definitions/app.Response'
  15377. security:
  15378. - ApiKeyAuth: []
  15379. summary: 点选挂牌委托单据查询(摘牌大厅)
  15380. tags:
  15381. - 定制【尚志大宗】
  15382. /SZDZ/QuerySZDZTradePosition:
  15383. get:
  15384. parameters:
  15385. - description: 资金账户
  15386. in: query
  15387. name: accountID
  15388. required: true
  15389. type: integer
  15390. produces:
  15391. - application/json
  15392. responses:
  15393. "200":
  15394. description: OK
  15395. schema:
  15396. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  15397. "500":
  15398. description: Internal Server Error
  15399. schema:
  15400. $ref: '#/definitions/app.Response'
  15401. security:
  15402. - ApiKeyAuth: []
  15403. summary: 持仓汇总查询(尚志大宗)
  15404. tags:
  15405. - 定制【尚志大宗】
  15406. /SZDZ/SearchWhite:
  15407. get:
  15408. parameters:
  15409. - description: 用户ID
  15410. in: query
  15411. name: userID
  15412. required: true
  15413. type: integer
  15414. produces:
  15415. - application/json
  15416. responses:
  15417. "200":
  15418. description: OK
  15419. schema:
  15420. $ref: '#/definitions/models.Szdz3searchwhitelist'
  15421. "500":
  15422. description: Internal Server Error
  15423. schema:
  15424. $ref: '#/definitions/app.Response'
  15425. security:
  15426. - ApiKeyAuth: []
  15427. summary: 搜索白名单
  15428. tags:
  15429. - 定制【尚志大宗】
  15430. /Search/SearchGoodses:
  15431. get:
  15432. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  15433. parameters:
  15434. - description: 检索内容
  15435. in: query
  15436. name: content
  15437. required: true
  15438. type: string
  15439. - description: 交易模式,格式:1,2,3
  15440. in: query
  15441. name: tradeModes
  15442. type: string
  15443. produces:
  15444. - application/json
  15445. responses:
  15446. "200":
  15447. description: OK
  15448. schema:
  15449. $ref: '#/definitions/models.SearchGoods'
  15450. "500":
  15451. description: Internal Server Error
  15452. schema:
  15453. $ref: '#/definitions/app.Response'
  15454. summary: 检索商品信息
  15455. tags:
  15456. - 检索服务
  15457. /TaAccount/GetTaAccounts:
  15458. get:
  15459. parameters:
  15460. - description: 登录账户
  15461. in: query
  15462. name: loginID
  15463. required: true
  15464. type: integer
  15465. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  15466. in: query
  15467. name: taAccountType
  15468. type: integer
  15469. produces:
  15470. - application/json
  15471. responses:
  15472. "200":
  15473. description: OK
  15474. schema:
  15475. $ref: '#/definitions/models.Taaccount'
  15476. "500":
  15477. description: Internal Server Error
  15478. schema:
  15479. $ref: '#/definitions/app.Response'
  15480. security:
  15481. - ApiKeyAuth: []
  15482. summary: 获取资金账户信息
  15483. tags:
  15484. - 资金账户
  15485. /TaAccount/QueryAmountLog:
  15486. get:
  15487. parameters:
  15488. - description: 页码
  15489. in: query
  15490. name: page
  15491. type: integer
  15492. - description: 每页条数
  15493. in: query
  15494. name: pagesize
  15495. type: integer
  15496. - description: 资金账户 - 格式:1,2,3
  15497. in: query
  15498. name: accountID
  15499. required: true
  15500. type: string
  15501. - description: 资金操作类型 - 格式:1,2,3
  15502. in: query
  15503. name: OperateType
  15504. type: string
  15505. produces:
  15506. - application/json
  15507. responses:
  15508. "200":
  15509. description: OK
  15510. schema:
  15511. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  15512. "500":
  15513. description: Internal Server Error
  15514. schema:
  15515. $ref: '#/definitions/app.Response'
  15516. security:
  15517. - ApiKeyAuth: []
  15518. summary: 资金流水查询(当前)
  15519. tags:
  15520. - 资金账户
  15521. /TaAccount/QueryHisAmountLog:
  15522. get:
  15523. parameters:
  15524. - description: 页码
  15525. in: query
  15526. name: page
  15527. type: integer
  15528. - description: 每页条数
  15529. in: query
  15530. name: pagesize
  15531. type: integer
  15532. - description: 资金账户 - 格式:1,2,3
  15533. in: query
  15534. name: accountID
  15535. required: true
  15536. type: string
  15537. - description: 资金操作类型 - 格式:1,2,3
  15538. in: query
  15539. name: OperateType
  15540. type: string
  15541. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  15542. in: query
  15543. name: startDate
  15544. type: string
  15545. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  15546. in: query
  15547. name: endDate
  15548. type: string
  15549. produces:
  15550. - application/json
  15551. responses:
  15552. "200":
  15553. description: OK
  15554. schema:
  15555. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  15556. "500":
  15557. description: Internal Server Error
  15558. schema:
  15559. $ref: '#/definitions/app.Response'
  15560. security:
  15561. - ApiKeyAuth: []
  15562. summary: 资金流水查询(历史)
  15563. tags:
  15564. - 资金账户
  15565. /Trade/QueryRecieptOrder:
  15566. get:
  15567. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  15568. parameters:
  15569. - description: 页码
  15570. in: query
  15571. name: page
  15572. type: integer
  15573. - description: 每页条数
  15574. in: query
  15575. name: pagesize
  15576. type: integer
  15577. - description: 商品ID
  15578. in: query
  15579. name: goodsID
  15580. required: true
  15581. type: integer
  15582. - description: 所属账户名称
  15583. in: query
  15584. name: accountName
  15585. type: string
  15586. - description: 市场ID
  15587. in: query
  15588. name: marketID
  15589. type: integer
  15590. - description: 方向 - 0:买 1:卖
  15591. in: query
  15592. name: buyorsell
  15593. required: true
  15594. type: integer
  15595. produces:
  15596. - application/json
  15597. responses:
  15598. "200":
  15599. description: OK
  15600. schema:
  15601. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  15602. "500":
  15603. description: Internal Server Error
  15604. schema:
  15605. $ref: '#/definitions/app.Response'
  15606. security:
  15607. - ApiKeyAuth: []
  15608. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  15609. tags:
  15610. - 通用交易
  15611. /User/AddMessageBoard:
  15612. post:
  15613. parameters:
  15614. - description: 用户ID
  15615. in: query
  15616. name: userID
  15617. required: true
  15618. type: integer
  15619. - description: 留言信息
  15620. in: query
  15621. name: message
  15622. required: true
  15623. type: string
  15624. - description: 联系电话
  15625. in: query
  15626. name: contactNum
  15627. required: true
  15628. type: string
  15629. produces:
  15630. - application/json
  15631. responses:
  15632. "200":
  15633. description: OK
  15634. schema:
  15635. $ref: '#/definitions/app.Response'
  15636. "500":
  15637. description: Internal Server Error
  15638. schema:
  15639. $ref: '#/definitions/app.Response'
  15640. security:
  15641. - ApiKeyAuth: []
  15642. summary: 添加用户留言板信息
  15643. tags:
  15644. - 用户信息
  15645. /User/AddUserFavoriteGoods:
  15646. post:
  15647. parameters:
  15648. - description: 用户ID
  15649. in: query
  15650. name: userID
  15651. required: true
  15652. type: integer
  15653. - description: 商品ID
  15654. in: query
  15655. name: goodsID
  15656. required: true
  15657. type: integer
  15658. produces:
  15659. - application/json
  15660. responses:
  15661. "200":
  15662. description: OK
  15663. schema:
  15664. $ref: '#/definitions/app.Response'
  15665. "500":
  15666. description: Internal Server Error
  15667. schema:
  15668. $ref: '#/definitions/app.Response'
  15669. security:
  15670. - ApiKeyAuth: []
  15671. summary: 添加用户商品收藏信息
  15672. tags:
  15673. - 用户信息
  15674. /User/GetLoginID:
  15675. get:
  15676. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  15677. parameters:
  15678. - description: 登录代码
  15679. in: query
  15680. name: username
  15681. required: true
  15682. type: string
  15683. produces:
  15684. - application/json
  15685. responses:
  15686. "200":
  15687. description: OK
  15688. schema:
  15689. $ref: '#/definitions/app.Response'
  15690. "500":
  15691. description: Internal Server Error
  15692. schema:
  15693. $ref: '#/definitions/app.Response'
  15694. summary: 获取登录ID
  15695. tags:
  15696. - 用户信息
  15697. /User/GetUserAccount:
  15698. get:
  15699. parameters:
  15700. - description: 用户ID
  15701. in: query
  15702. name: userID
  15703. required: true
  15704. type: integer
  15705. produces:
  15706. - application/json
  15707. responses:
  15708. "200":
  15709. description: OK
  15710. schema:
  15711. $ref: '#/definitions/models.Useraccount'
  15712. "500":
  15713. description: Internal Server Error
  15714. schema:
  15715. $ref: '#/definitions/app.Response'
  15716. security:
  15717. - ApiKeyAuth: []
  15718. summary: 获取用户账号信息
  15719. tags:
  15720. - 用户信息
  15721. /User/GetUserAuthStatus:
  15722. get:
  15723. parameters:
  15724. - description: 用户ID
  15725. in: query
  15726. name: userID
  15727. required: true
  15728. type: integer
  15729. produces:
  15730. - application/json
  15731. responses:
  15732. "200":
  15733. description: OK
  15734. schema:
  15735. $ref: '#/definitions/app.Response'
  15736. "500":
  15737. description: Internal Server Error
  15738. schema:
  15739. $ref: '#/definitions/app.Response'
  15740. security:
  15741. - ApiKeyAuth: []
  15742. summary: 获取用户实名认证状态
  15743. tags:
  15744. - 用户信息
  15745. /User/LoginQuery:
  15746. get:
  15747. parameters:
  15748. - description: 登录账号
  15749. in: query
  15750. name: loginID
  15751. required: true
  15752. type: integer
  15753. produces:
  15754. - application/json
  15755. responses:
  15756. "200":
  15757. description: OK
  15758. schema:
  15759. $ref: '#/definitions/user.LoginQueryRsp'
  15760. "500":
  15761. description: Internal Server Error
  15762. schema:
  15763. $ref: '#/definitions/app.Response'
  15764. security:
  15765. - ApiKeyAuth: []
  15766. summary: 账户登录后信息查询
  15767. tags:
  15768. - 用户信息
  15769. /User/QueryMessageBoard:
  15770. get:
  15771. parameters:
  15772. - description: 用户ID
  15773. in: query
  15774. name: userID
  15775. required: true
  15776. type: integer
  15777. produces:
  15778. - application/json
  15779. responses:
  15780. "200":
  15781. description: OK
  15782. schema:
  15783. $ref: '#/definitions/models.Messageboard'
  15784. "500":
  15785. description: Internal Server Error
  15786. schema:
  15787. $ref: '#/definitions/app.Response'
  15788. security:
  15789. - ApiKeyAuth: []
  15790. summary: 获取用户留言板信息
  15791. tags:
  15792. - 用户信息
  15793. /User/QueryUserFavoriteGoodses:
  15794. get:
  15795. parameters:
  15796. - description: 用户ID
  15797. in: query
  15798. name: userID
  15799. required: true
  15800. type: integer
  15801. produces:
  15802. - application/json
  15803. responses:
  15804. "200":
  15805. description: OK
  15806. schema:
  15807. $ref: '#/definitions/models.Userfavoritegoods'
  15808. "500":
  15809. description: Internal Server Error
  15810. schema:
  15811. $ref: '#/definitions/app.Response'
  15812. security:
  15813. - ApiKeyAuth: []
  15814. summary: 获取用户商品收藏信息
  15815. tags:
  15816. - 用户信息
  15817. /User/QueryUserInfo:
  15818. get:
  15819. parameters:
  15820. - description: 用户ID
  15821. in: query
  15822. name: userID
  15823. required: true
  15824. type: integer
  15825. - description: 是否解密
  15826. in: query
  15827. name: isDecrypt
  15828. type: boolean
  15829. produces:
  15830. - application/json
  15831. responses:
  15832. "200":
  15833. description: OK
  15834. schema:
  15835. $ref: '#/definitions/models.Userinfo'
  15836. "500":
  15837. description: Internal Server Error
  15838. schema:
  15839. $ref: '#/definitions/app.Response'
  15840. security:
  15841. - ApiKeyAuth: []
  15842. summary: 获取用户信息
  15843. tags:
  15844. - 用户信息
  15845. /User/QueryUserReferNum:
  15846. get:
  15847. parameters:
  15848. - description: 用户ID
  15849. in: query
  15850. name: userID
  15851. required: true
  15852. type: integer
  15853. produces:
  15854. - application/json
  15855. responses:
  15856. "200":
  15857. description: OK
  15858. schema:
  15859. $ref: '#/definitions/app.Response'
  15860. "500":
  15861. description: Internal Server Error
  15862. schema:
  15863. $ref: '#/definitions/app.Response'
  15864. summary: 获取用户邀请码
  15865. tags:
  15866. - 用户信息
  15867. /User/RemoveUserFavoriteGoods:
  15868. post:
  15869. parameters:
  15870. - description: 用户ID
  15871. in: query
  15872. name: userID
  15873. required: true
  15874. type: integer
  15875. - description: 商品ID
  15876. in: query
  15877. name: goodsID
  15878. required: true
  15879. type: integer
  15880. produces:
  15881. - application/json
  15882. responses:
  15883. "200":
  15884. description: OK
  15885. schema:
  15886. $ref: '#/definitions/app.Response'
  15887. "500":
  15888. description: Internal Server Error
  15889. schema:
  15890. $ref: '#/definitions/app.Response'
  15891. security:
  15892. - ApiKeyAuth: []
  15893. summary: 移除用户商品收藏信息
  15894. tags:
  15895. - 用户信息
  15896. /User/UpdateUserAccountStatus:
  15897. post:
  15898. parameters:
  15899. - description: 用户ID
  15900. in: query
  15901. name: userID
  15902. required: true
  15903. type: integer
  15904. - description: 账户状态 - 4:正常 6:注销(停用)
  15905. in: query
  15906. name: accountStatus
  15907. required: true
  15908. type: integer
  15909. produces:
  15910. - application/json
  15911. responses:
  15912. "200":
  15913. description: OK
  15914. schema:
  15915. $ref: '#/definitions/app.Response'
  15916. "500":
  15917. description: Internal Server Error
  15918. schema:
  15919. $ref: '#/definitions/app.Response'
  15920. security:
  15921. - ApiKeyAuth: []
  15922. summary: 更新用户状态
  15923. tags:
  15924. - 用户信息
  15925. /WRTrade/GetAllDeliveryGoods:
  15926. get:
  15927. produces:
  15928. - application/json
  15929. - application/json
  15930. responses:
  15931. "200":
  15932. description: OK
  15933. schema:
  15934. $ref: '#/definitions/app.Response'
  15935. "500":
  15936. description: Internal Server Error
  15937. schema:
  15938. $ref: '#/definitions/app.Response'
  15939. security:
  15940. - ApiKeyAuth: []
  15941. - ApiKeyAuth: []
  15942. summary: 获取带仓单分类的种类信息
  15943. tags:
  15944. - 仓单贸易
  15945. - 仓单贸易
  15946. securityDefinitions:
  15947. ApiKeyAuth:
  15948. in: header
  15949. name: Authorization
  15950. type: apiKey
  15951. swagger: "2.0"