swagger.yaml 437 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. rulekey:
  35. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  36. type: string
  37. sort:
  38. description: 排序
  39. type: integer
  40. title:
  41. description: 标题
  42. type: string
  43. type:
  44. description: 类型,1:菜单 2:按钮
  45. type: integer
  46. type: object
  47. common.QueryImageConfigsRsp:
  48. properties:
  49. areauserid:
  50. description: 所属机构ID
  51. type: integer
  52. configid:
  53. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  54. type: integer
  55. createdate:
  56. description: 创建时间
  57. type: string
  58. creatorid:
  59. description: 创建人
  60. type: integer
  61. imagepath:
  62. description: 图片
  63. type: string
  64. imagetype:
  65. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  66. type: integer
  67. isshow:
  68. description: 是否展示 - 0:不展示 1:展示
  69. type: integer
  70. marketid:
  71. description: 市场ID
  72. type: integer
  73. modifierid:
  74. description: 操作人
  75. type: integer
  76. sort:
  77. description: 排序
  78. type: integer
  79. title:
  80. description: 标题
  81. type: string
  82. trademode:
  83. description: 交易模式
  84. type: integer
  85. updatedate:
  86. description: 修改时间
  87. type: string
  88. url:
  89. description: 链接(地址或商品ID)
  90. type: string
  91. urltype:
  92. description: 链接类型 - 1:直接地址 2:商品ID
  93. type: integer
  94. required:
  95. - configid
  96. type: object
  97. common.QueryNoticeRsp:
  98. properties:
  99. auditoruserid:
  100. description: 审核人
  101. type: integer
  102. auditremark:
  103. description: 审核备注
  104. type: string
  105. audittime:
  106. description: 审核日期
  107. type: string
  108. autoid:
  109. description: 自增ID
  110. type: integer
  111. content:
  112. description: 内容
  113. type: string
  114. createtime:
  115. description: 创建时间
  116. type: string
  117. creatorid:
  118. description: 建仓人
  119. type: integer
  120. endtime:
  121. description: 结束时间
  122. type: string
  123. istop:
  124. description: 是否置顶 - 0:不置顶 1:置顶
  125. type: integer
  126. msgiconurl:
  127. description: 消息图标Url
  128. type: string
  129. msgtype:
  130. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  131. type: integer
  132. publisher:
  133. description: 消息发布者
  134. type: string
  135. readed:
  136. description: 是否已读
  137. type: boolean
  138. scheduletime:
  139. description: 计划发送时间
  140. type: string
  141. sendtype:
  142. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  143. type: integer
  144. sentstatus:
  145. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  146. type: integer
  147. title:
  148. description: 标题
  149. type: string
  150. userid:
  151. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  152. type: integer
  153. required:
  154. - autoid
  155. type: object
  156. common.QueryProvincesAndCitiesRsp:
  157. properties:
  158. cities:
  159. description: 市
  160. items:
  161. $ref: '#/definitions/models.Division'
  162. type: array
  163. province:
  164. $ref: '#/definitions/models.Division'
  165. description: 省
  166. type: object
  167. type: object
  168. common.QueryTableDefineRsp:
  169. properties:
  170. columns:
  171. description: 列头信息数组
  172. items:
  173. $ref: '#/definitions/models.Tablecolumnconfig'
  174. type: array
  175. remark:
  176. description: Remark
  177. type: string
  178. tabelmenu:
  179. description: 列表菜单
  180. type: string
  181. tablekey:
  182. description: 列表Key
  183. type: string
  184. tablename:
  185. description: 列表名称
  186. type: string
  187. tabletype:
  188. description: 列表类型 - 1:管理端 2:终端
  189. type: integer
  190. required:
  191. - tablekey
  192. type: object
  193. common.QueryTraderMenuRsp:
  194. properties:
  195. OperationMenu:
  196. description: 功能菜单
  197. items:
  198. $ref: '#/definitions/models.OperationPrimaryMenu'
  199. type: array
  200. QuoteMenu:
  201. description: 报价牌分类菜单
  202. items:
  203. $ref: '#/definitions/models.QuotePrimaryMenu'
  204. type: array
  205. type: object
  206. cptrade.Cptradepositioncancel:
  207. properties:
  208. accountid:
  209. description: 申请人账户ID
  210. type: integer
  211. applystatus:
  212. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  213. type: integer
  214. applytime:
  215. description: 申请时间
  216. type: string
  217. cancelid:
  218. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  219. type: integer
  220. cancelqty:
  221. description: 注销数量
  222. type: integer
  223. createtime:
  224. description: 创建时间
  225. type: string
  226. creatorid:
  227. description: 创建人ID
  228. type: integer
  229. creatorname:
  230. description: 创建人
  231. type: string
  232. goodscode:
  233. description: 订单商品代码
  234. type: string
  235. goodsid:
  236. description: 商品ID
  237. type: integer
  238. goodsname:
  239. description: 订单商品名称
  240. type: string
  241. goodunit:
  242. description: 报价单位
  243. type: string
  244. handlestatus:
  245. description: 处理状态
  246. type: integer
  247. marketid:
  248. description: 市场ID
  249. type: integer
  250. marketname:
  251. description: 市场名称
  252. type: string
  253. tradedate:
  254. description: 交易日(yyyyMMdd)
  255. type: string
  256. userid:
  257. description: 申请人ID
  258. type: integer
  259. required:
  260. - cancelid
  261. type: object
  262. cptrade.Cptradepresaleapply:
  263. properties:
  264. accountid:
  265. description: 申请人账户ID
  266. type: integer
  267. applyid:
  268. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  269. type: integer
  270. applyremark:
  271. description: 申请备注
  272. type: string
  273. applystatus:
  274. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  275. type: integer
  276. applytime:
  277. description: 申请时间
  278. type: string
  279. attachmenturl:
  280. description: 附件地址
  281. type: string
  282. endtime:
  283. description: 预售结束时间
  284. type: string
  285. goodscode:
  286. description: 商品代码
  287. type: string
  288. goodsid:
  289. description: 商品ID
  290. type: integer
  291. goodsname:
  292. description: 商品名称
  293. type: string
  294. goodunit:
  295. description: 报价单位
  296. type: string
  297. handlestatus:
  298. description: 处理状态
  299. type: integer
  300. marketid:
  301. description: 预售市场ID
  302. type: integer
  303. marketname:
  304. description: 预售市场名称
  305. type: string
  306. presaleqty:
  307. description: 预售数量
  308. type: integer
  309. relatedgoodscode:
  310. description: 关联交易合约代码
  311. type: string
  312. relatedgoodsid:
  313. description: 关联交易合约ID
  314. type: integer
  315. relatedgoodsname:
  316. description: 关联交易合约名称
  317. type: string
  318. starttime:
  319. description: 预售开始时间
  320. type: string
  321. tradedate:
  322. description: 交易日(yyyyMMdd)
  323. type: string
  324. trademode:
  325. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  326. type: integer
  327. userid:
  328. description: 申请人ID
  329. type: integer
  330. required:
  331. - applyid
  332. type: object
  333. cptrade.Cptradeusergoodsdata:
  334. properties:
  335. EnabledQty:
  336. description: 可用量
  337. type: integer
  338. GoodsCode:
  339. description: 订单商品代码
  340. type: string
  341. GoodsName:
  342. description: 订单商品名称
  343. type: string
  344. WRStandardCode:
  345. description: 仓单标准代码
  346. type: string
  347. WRStandardName:
  348. description: 仓单标准名称
  349. type: string
  350. accountid:
  351. description: 账户ID
  352. type: integer
  353. cancelqty:
  354. description: 注销量
  355. type: integer
  356. curpresaleqty:
  357. description: 当前预售量
  358. type: integer
  359. deliveryqty:
  360. description: 交割量
  361. type: integer
  362. freezeamount:
  363. description: 冻结金额
  364. type: number
  365. goodsid:
  366. description: 商品ID
  367. type: integer
  368. goodunit:
  369. description: 报价单位
  370. type: string
  371. hasspotfreeze:
  372. description: 是否有现货冻结 - 0:否 1:有
  373. type: integer
  374. inqty:
  375. description: 转入量(总数量)
  376. type: integer
  377. marketid:
  378. description: 市场ID
  379. type: integer
  380. presaledamount:
  381. description: 已预售总金额
  382. type: integer
  383. presaledqty:
  384. description: 已预售量
  385. type: integer
  386. userid:
  387. description: 用户ID
  388. type: integer
  389. wrstandardid:
  390. description: 仓单标准ID
  391. type: integer
  392. required:
  393. - accountid
  394. - goodsid
  395. type: object
  396. cptrade.QueryCPTradeMyBidRsp:
  397. properties:
  398. accountid:
  399. description: 账户ID[报价币种]
  400. type: integer
  401. goodsid:
  402. description: 商品ID
  403. type: integer
  404. goodunit:
  405. description: 报价单位
  406. type: string
  407. marketid:
  408. description: 市场ID
  409. type: integer
  410. orderid:
  411. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  412. type: integer
  413. orderprice:
  414. description: 委托价格
  415. type: number
  416. orderqty:
  417. description: 委托数量
  418. type: integer
  419. ordertime:
  420. description: 委托时间
  421. type: string
  422. ordertotalprice:
  423. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  424. type: number
  425. ordertotalweight:
  426. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  427. type: integer
  428. totaltotalprice:
  429. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  430. type: number
  431. tradeprice:
  432. description: 成交价格
  433. type: number
  434. tradeqty:
  435. description: 成交数量
  436. type: integer
  437. required:
  438. - accountid
  439. - goodsid
  440. - marketid
  441. - orderid
  442. - orderqty
  443. - ordertime
  444. - tradeprice
  445. - tradeqty
  446. type: object
  447. cptrade.QueryCPTradeOrderDetailRsq:
  448. properties:
  449. accountid:
  450. description: 账户ID[报价币种]
  451. type: integer
  452. buildtype:
  453. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  454. type: integer
  455. buyorsell:
  456. description: 买卖 - 0:买 1:卖
  457. type: integer
  458. cancelorderid:
  459. description: 撤单单号(撤单时填写)
  460. type: integer
  461. cancelqty:
  462. description: 撤单数量
  463. type: integer
  464. clientordertime:
  465. description: 客户端委托时间
  466. type: string
  467. clientticket:
  468. description: 客户端流水号
  469. type: string
  470. clienttype:
  471. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  472. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  473. type: integer
  474. closeexchagechargevalue:
  475. description: 平仓交易所手续费设置值
  476. type: number
  477. closefeealgorithm:
  478. description: 平仓手续费收取方式 1:比率 2:固定
  479. type: integer
  480. closefreezecharge:
  481. description: 平仓冻结手续费(先建后平操作,需要记录)
  482. type: number
  483. closememberchargevalue:
  484. description: 平仓会员手续费设置值
  485. type: number
  486. closeqty:
  487. description: 平仓数量(先建后平操作 需要记录)
  488. type: integer
  489. closetradeqty:
  490. description: 平仓成交数量(先建后平操作,需要记录)
  491. type: integer
  492. closeunfreezecharge:
  493. description: 平仓解冻手续费(先建后平操作,需要记录)
  494. type: number
  495. delistingtype:
  496. description: 摘牌类型 - 1:价格最优 2:点选成交
  497. type: integer
  498. freezecharge:
  499. description: 冻结手续费
  500. type: number
  501. freezemargin:
  502. description: 冻结保证金(冻结交易金额)
  503. type: number
  504. gcaccountid:
  505. description: 账户ID[合约币种]
  506. type: integer
  507. goodsid:
  508. description: 商品ID
  509. type: integer
  510. isconfirmexercise:
  511. description: 是否确认行权- 0:否 1:是
  512. type: integer
  513. ispreexercise:
  514. description: 是否预申报- 0:否 1:是
  515. type: integer
  516. listingselecttype:
  517. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  518. type: integer
  519. marginalgorithm:
  520. description: 保证金收取方式 1:比率 2:固定
  521. type: integer
  522. marginvalue:
  523. description: 即市保证金设置值
  524. type: number
  525. marketid:
  526. description: 市场ID
  527. type: integer
  528. marketmaxsub:
  529. description: 市价最大偏移范围
  530. type: number
  531. memberuserid:
  532. description: 所属会员UserID
  533. type: integer
  534. openexchagechargevalue:
  535. description: 建仓交易所手续费设置值
  536. type: number
  537. openfeealgorithm:
  538. description: 建仓手续费收取方式 1:比率 2:固定
  539. type: integer
  540. openfreezecharge:
  541. description: 开仓冻结手续费(先建后平操作,需要记录)
  542. type: number
  543. openmemberchargevalue:
  544. description: 建仓会员手续费设置值
  545. type: number
  546. openqty:
  547. description: 开仓数量(先建后平操作,需要记录)
  548. type: integer
  549. opentradeqty:
  550. description: 开仓成交数量(先建后平操作,需要记录)
  551. type: integer
  552. openunfreezecharge:
  553. description: 开仓解冻手续费(先建后平操作,需要记录)
  554. type: number
  555. operatetype:
  556. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  557. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  558. 15:管理端协议转让
  559. type: integer
  560. operatorid:
  561. description: 登录账号(LoginID)
  562. type: integer
  563. optiontype:
  564. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  565. type: integer
  566. orderprice:
  567. description: 委托价格
  568. type: number
  569. orderqty:
  570. description: 委托数量
  571. type: integer
  572. ordersrc:
  573. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  574. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  575. type: integer
  576. orderstatus:
  577. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  578. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  579. 16:成交失败违约(荷兰式竞拍专用)
  580. type: integer
  581. ordertime:
  582. description: 委托时间
  583. type: string
  584. preexerciseprice:
  585. description: 预申报价格
  586. type: number
  587. premium:
  588. description: 权利金
  589. type: number
  590. preorderid:
  591. description: 关联预埋单号(止盈止损单时填写)
  592. type: integer
  593. pricemode:
  594. description: '取价方式 - 1:市价 2: 限价'
  595. type: integer
  596. quoteid:
  597. description: 报价单ID
  598. type: integer
  599. relatedid:
  600. description: 关联单号(交割单)
  601. type: integer
  602. retcode:
  603. description: 错误代码
  604. type: integer
  605. sessionid:
  606. description: 会话ID
  607. type: integer
  608. strorderid:
  609. description: 委托单号
  610. type: string
  611. tradedate:
  612. description: 交易日(yyyyMMdd)
  613. type: string
  614. tradeproperty:
  615. description: 交易属性
  616. type: integer
  617. tradeqty:
  618. description: 成交数量
  619. type: integer
  620. unfreezecharge:
  621. description: 解冻手续费
  622. type: number
  623. unfreezemargin:
  624. description: 解冻保证金
  625. type: number
  626. updatetime:
  627. description: 更新时间
  628. type: string
  629. uuid:
  630. description: 发起端唯一id
  631. type: string
  632. validtime:
  633. description: 有效期限
  634. type: string
  635. validtype:
  636. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  637. type: integer
  638. volumetype:
  639. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  640. type: integer
  641. required:
  642. - accountid
  643. - buildtype
  644. - buyorsell
  645. - goodsid
  646. - marketid
  647. - memberuserid
  648. - operatetype
  649. - orderqty
  650. - ordertime
  651. - pricemode
  652. - strorderid
  653. - tradedate
  654. - validtype
  655. type: object
  656. cptrade.QueryMyCPTradeGoodsRsp:
  657. properties:
  658. accountid:
  659. description: 卖方账户ID
  660. type: integer
  661. agreeunit:
  662. description: 合约单位
  663. type: number
  664. applyid:
  665. description: 关联申请ID
  666. type: integer
  667. attachmenturl:
  668. description: 附件地址
  669. type: string
  670. createtime:
  671. description: 创建时间
  672. type: string
  673. currencyid:
  674. description: 报价货币ID
  675. type: integer
  676. decimalplace:
  677. description: 报价小数位
  678. type: integer
  679. endtime:
  680. description: 预售结束时间
  681. type: string
  682. floorprice:
  683. description: 底价[大宗式竞拍]
  684. type: number
  685. goodscode:
  686. description: 商品代码(预售)
  687. type: string
  688. goodsdetail:
  689. description: 详情[大宗]
  690. type: string
  691. goodsid:
  692. description: 商品ID(自增ID SEQ_GOODS)
  693. type: integer
  694. goodsname:
  695. description: 商品名称(预售)
  696. type: string
  697. goodunit:
  698. description: 报价单位
  699. type: string
  700. goodunitid:
  701. description: 报价单位ID
  702. type: integer
  703. marketid:
  704. description: 所属市场ID
  705. type: integer
  706. marketname:
  707. description: 预售市场名称
  708. type: string
  709. presaledamount:
  710. description: 已预售总金额(预售结束时更新)
  711. type: number
  712. presaledqty:
  713. description: 已预售量(预售结束时更新)
  714. type: integer
  715. presalemode:
  716. description: 预售模式 - 1:一口价 2:大宗式竞拍
  717. type: integer
  718. presaleqty:
  719. description: 预售数量
  720. type: integer
  721. refprice:
  722. description: 参考价格[一口价]
  723. type: number
  724. relatedgoodscode:
  725. description: 商品代码(订单)
  726. type: string
  727. relatedgoodsid:
  728. description: 关联交易合约ID
  729. type: integer
  730. relatedgoodsname:
  731. description: 商品名称(订单)
  732. type: string
  733. relatedmarketid:
  734. description: 关联交易合约市场ID
  735. type: integer
  736. sellstatus:
  737. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  738. type: integer
  739. startprice:
  740. description: 起拍价[大宗式竞拍]
  741. type: number
  742. starttime:
  743. description: 预售开始时间
  744. type: string
  745. tradedate:
  746. description: 交易日(yyyyMMdd)
  747. type: string
  748. tradeprice:
  749. description: 成交价[大宗]
  750. type: number
  751. userid:
  752. description: 卖方用户ID
  753. type: integer
  754. required:
  755. - goodscode
  756. - goodsid
  757. - goodsname
  758. - marketid
  759. - relatedgoodscode
  760. - relatedgoodsname
  761. type: object
  762. cptrade.QueryPresaleGoodsExRsp:
  763. properties:
  764. attachmenturl:
  765. description: 附件地址
  766. type: string
  767. createtime:
  768. description: 创建时间
  769. type: string
  770. endtime:
  771. description: 预售结束时间
  772. type: string
  773. floorprice:
  774. description: 底价[大宗式竞拍]
  775. type: number
  776. goodsdetail:
  777. description: 详情[大宗]
  778. type: string
  779. goodsid:
  780. description: 商品ID(预售)
  781. type: integer
  782. goodunit:
  783. description: 报价单位
  784. type: string
  785. marketid:
  786. description: 预售市场ID - 根据预售模式选择市场
  787. type: integer
  788. presaledamount:
  789. description: 已预售总金额(预售结束时更新)
  790. type: number
  791. presaledqty:
  792. description: 已预售量(预售结束时更新)
  793. type: integer
  794. presalemode:
  795. description: 预售模式 - 1:一口价 2:大宗式竞拍
  796. type: integer
  797. presaleqty:
  798. description: 预售数量
  799. type: integer
  800. refprice:
  801. description: 参考价格[一口价]
  802. type: number
  803. relatedgoodsid:
  804. description: 关联交易合约ID
  805. type: integer
  806. relatedmarketid:
  807. description: 关联交易合约市场ID
  808. type: integer
  809. sellstatus:
  810. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  811. type: integer
  812. startprice:
  813. description: 起拍价[大宗式竞拍]
  814. type: number
  815. starttime:
  816. description: 预售开始时间
  817. type: string
  818. tradedate:
  819. description: 交易日(yyyyMMdd)
  820. type: string
  821. tradeprice:
  822. description: 成交价[大宗]
  823. type: number
  824. required:
  825. - goodsid
  826. type: object
  827. delivery.QueryDeliveryRelationRsp:
  828. properties:
  829. begindate:
  830. description: 起始日期(yyyyMMdd)
  831. type: string
  832. buytemplateid:
  833. description: 买履约计划模板ID
  834. type: integer
  835. deliverygoodscode:
  836. description: 品种代码
  837. type: string
  838. deliverygoodsid:
  839. description: 交割商品
  840. type: integer
  841. deliverygoodsname:
  842. description: 品种名称
  843. type: string
  844. deliverymode:
  845. description: 交割方式 - 1:点选式 2:申报式
  846. type: integer
  847. deliverypricerule:
  848. description: 交割价规则- 1:行情价 2:建仓价
  849. type: integer
  850. deliverytype:
  851. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  852. type: integer
  853. enddate:
  854. description: 结束日期(yyyyMMdd)
  855. type: string
  856. goodscode:
  857. description: 商品代码
  858. type: string
  859. goodsid:
  860. description: 交易合约ID
  861. type: integer
  862. goodsname:
  863. description: 商品名称
  864. type: string
  865. marketid:
  866. description: 市场ID
  867. type: integer
  868. mindeliveryqty:
  869. description: 最小交割系数(K)
  870. type: integer
  871. p2deliveryprice:
  872. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  873. type: number
  874. p2deliveryratio:
  875. description: P2合约系数(p)
  876. type: integer
  877. p2goodsid:
  878. description: P2合约ID
  879. type: integer
  880. p2pricemode:
  881. description: P2合约价格方式 - 1:商品价 2:固定值
  882. type: integer
  883. pdeliveryprice:
  884. description: P合约价格(商品价时填写0,固定值时填写固定值)
  885. type: number
  886. pdeliveryratio:
  887. description: P合约系数(n)
  888. type: integer
  889. pgoodsid:
  890. description: P合约ID
  891. type: integer
  892. ppricemode:
  893. description: P合约价格方式 - 1:商品价 2:固定值
  894. type: integer
  895. rratio:
  896. description: 兑换系数(R)
  897. type: integer
  898. rratio1:
  899. description: 兑换系数(交易合约)(R1)
  900. type: integer
  901. rratio2:
  902. description: 兑换系数(仓单标准)(R2)
  903. type: integer
  904. selltemplateid:
  905. description: 卖履约计划模板ID
  906. type: integer
  907. wrstandardid:
  908. description: 仓单标准ID
  909. type: integer
  910. xdeliveryratio:
  911. description: 交易合约系数(m)
  912. type: integer
  913. required:
  914. - begindate
  915. - enddate
  916. - goodsid
  917. - mindeliveryqty
  918. - xdeliveryratio
  919. type: object
  920. ermcp.ExposureDetailRsp:
  921. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  922. ermcp.ExposureHedgePosDetailRsp:
  923. $ref: '#/definitions/models.ErmcpHedgePositionDetail'
  924. ermcp.ExposureHedgePositionRsp:
  925. $ref: '#/definitions/models.ErmcpHedgePosition'
  926. ermcp.ExposureSpotDetailRsp:
  927. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  928. ermcp.ExposureSpotRsp:
  929. $ref: '#/definitions/models.AreaSpotModel'
  930. ermcp.HisExposureRsp:
  931. $ref: '#/definitions/models.ErmcpHisExposureS'
  932. ermcp.PendingAuditCntRsp:
  933. $ref: '#/definitions/models.ErmcpPendingAudit'
  934. ermcp.QryAvalidGPRsp:
  935. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  936. ermcp.QryGGCovertCfgRsp:
  937. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  938. ermcp.QryMGChangeLogRsp:
  939. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  940. ermcp.QryMiddleGoodsDetailRsp:
  941. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  942. ermcp.QryMiddleGoodsRsp:
  943. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  944. ermcp.QryOPLogRsp:
  945. $ref: '#/definitions/models.ErmcpOPLogModel'
  946. ermcp.QryUserInfoRsp:
  947. $ref: '#/definitions/models.ErmcpUserModel'
  948. ermcp.QryWarehouseRsp:
  949. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  950. ermcp.QueryErmcpTradePositionRsp:
  951. properties:
  952. agreeunit:
  953. description: 合约单位
  954. type: number
  955. buyorsell:
  956. description: 方向 - 0:买 1:卖
  957. type: integer
  958. curpositionqty:
  959. description: 持仓(总仓数量, 期末头寸)
  960. type: integer
  961. curtdposition:
  962. description: 今仓数量(期末今日头寸)
  963. type: integer
  964. curtdpositionenabled:
  965. description: 今仓可用
  966. type: integer
  967. decimalplace:
  968. description: 报价小数位
  969. type: integer
  970. enableqty:
  971. description: 可用(总仓可用)
  972. type: integer
  973. exexchangename:
  974. description: 外部交易所名称
  975. type: string
  976. goodscode:
  977. description: 商品代码(内部)
  978. type: string
  979. goodsid:
  980. description: 商品ID(自增ID SEQ_GOODS)
  981. type: integer
  982. goodsname:
  983. description: 商品名称
  984. type: string
  985. last:
  986. description: 现价
  987. type: number
  988. marketid:
  989. description: 所属市场ID
  990. type: integer
  991. openaverageprice:
  992. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  993. type: number
  994. opencost:
  995. description: 开仓成本
  996. type: number
  997. openpl:
  998. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  999. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1000. type: number
  1001. outgoodscode:
  1002. description: 商品代码(外部)
  1003. type: string
  1004. positionaverageprice:
  1005. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1006. type: number
  1007. positioncost:
  1008. description: 持仓成本
  1009. type: number
  1010. positionpl:
  1011. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1012. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1013. type: number
  1014. positionplrate:
  1015. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1016. type: number
  1017. usedmargin:
  1018. description: 占用保证金
  1019. type: number
  1020. type: object
  1021. ermcp.RealtimeExposurePositionRsp:
  1022. $ref: '#/definitions/models.ErmcpExposurePostion'
  1023. ermcp.RealtimeExposureRsp:
  1024. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1025. erms2.QueryArbitrageStrategyRsp:
  1026. properties:
  1027. applybasis:
  1028. description: 申请基差
  1029. type: number
  1030. asapplyid:
  1031. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1032. type: string
  1033. asname:
  1034. description: 策略名称
  1035. type: string
  1036. asno:
  1037. description: 策略编号
  1038. type: string
  1039. basischangepl:
  1040. description: 基差变动损益[结算更新]
  1041. type: number
  1042. biztype:
  1043. description: 业务类型 - 1:正向套利 -1:反向套利
  1044. type: integer
  1045. closetradedate:
  1046. description: 完结交易日(yyyyMMdd)
  1047. type: string
  1048. curbasis:
  1049. description: 当前基差[结算更新]
  1050. type: number
  1051. deliverygoodsid:
  1052. description: 现货品种ID
  1053. type: integer
  1054. futureavgprice:
  1055. description: 期货建仓均价
  1056. type: number
  1057. futurecloseamount:
  1058. description: 期货平仓金额
  1059. type: number
  1060. futurecloseqty:
  1061. description: 期货平仓数量
  1062. type: number
  1063. futureopenamount:
  1064. description: 期货开仓金额
  1065. type: number
  1066. futureopenqty:
  1067. description: 期货开仓数量
  1068. type: number
  1069. futurepl:
  1070. description: 期货总盈亏[结算更新]
  1071. type: number
  1072. futureqty:
  1073. description: 期货持仓数量
  1074. type: number
  1075. futurequote:
  1076. description: 期货额度
  1077. type: number
  1078. goodsgroupid:
  1079. description: 期货品种ID
  1080. type: integer
  1081. marketid:
  1082. description: 市场ID
  1083. type: integer
  1084. netexposure:
  1085. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1086. type: number
  1087. netexposurepl:
  1088. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1089. type: number
  1090. netexposurerate:
  1091. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1092. type: number
  1093. openbasis:
  1094. description: 建仓基差
  1095. type: number
  1096. pricedspotqty:
  1097. description: 已定价现货数量
  1098. type: number
  1099. pricedspotqtynotax:
  1100. description: 已定价现货不含税数量
  1101. type: number
  1102. remark:
  1103. description: 备注
  1104. type: string
  1105. spotavgprice:
  1106. description: 现货均价
  1107. type: number
  1108. spotbuyamount:
  1109. description: 现货采购金额
  1110. type: number
  1111. spotbuyqty:
  1112. description: 现货采购数量
  1113. type: number
  1114. spotpl:
  1115. description: 现货总盈亏[结算更新]
  1116. type: number
  1117. spotquota:
  1118. description: 现货额度
  1119. type: number
  1120. spotsellamount:
  1121. description: 现货销售金额
  1122. type: number
  1123. spotsellqty:
  1124. description: 现货销售数量
  1125. type: number
  1126. spotusedquota:
  1127. description: 现货占用资金
  1128. type: number
  1129. strategystatus:
  1130. description: 策略状态 - 0:未结束 1:已结束
  1131. type: integer
  1132. totalpl:
  1133. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1134. type: number
  1135. tradedate:
  1136. description: 交易日(yyyyMMdd)
  1137. type: string
  1138. updatetime:
  1139. description: 更新时间
  1140. type: string
  1141. usedquota:
  1142. description: 已占用资金
  1143. type: number
  1144. userid:
  1145. description: 所属机构
  1146. type: integer
  1147. required:
  1148. - asapplyid
  1149. type: object
  1150. erms2.QueryInnerTradeDetailRsp:
  1151. properties:
  1152. accountid:
  1153. description: 账号ID
  1154. type: integer
  1155. agreeunit:
  1156. description: 合约单位
  1157. type: number
  1158. asapplyid:
  1159. description: 策略申请ID
  1160. type: integer
  1161. asname:
  1162. description: 策略名称
  1163. type: string
  1164. asno:
  1165. description: 策略编号
  1166. type: string
  1167. buyorsell:
  1168. description: 方向 - 0:买 1:卖
  1169. type: integer
  1170. channelbuildtype:
  1171. description: 委托单据类型 0:无 1:建仓 2:平仓
  1172. type: integer
  1173. closetype:
  1174. description: 平仓方式 - 0:无 1:平今 2:平昨
  1175. type: integer
  1176. decimalplace:
  1177. description: 报价小数位
  1178. type: integer
  1179. detailtype:
  1180. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1181. type: integer
  1182. exexchangecode:
  1183. description: 外部交易所代码
  1184. type: string
  1185. exexchangename:
  1186. description: 外部交易所名称
  1187. type: string
  1188. goodscode:
  1189. description: 商品代码(合约)
  1190. type: string
  1191. goodsgroupid:
  1192. description: 商品组ID(品种ID)
  1193. type: integer
  1194. goodsgroupname:
  1195. description: 商品组名称(品种)
  1196. type: string
  1197. goodsid:
  1198. description: 商品ID
  1199. type: integer
  1200. goodsname:
  1201. description: 商品名称(合约)
  1202. type: string
  1203. goodunit:
  1204. description: 报价单位
  1205. type: string
  1206. marketid:
  1207. description: 市场ID
  1208. type: integer
  1209. orderid:
  1210. description: 委托单号
  1211. type: string
  1212. outgoodscode:
  1213. description: 商品代码(外部)
  1214. type: string
  1215. relatedouttradeid:
  1216. description: 关联外部成交单ID
  1217. type: string
  1218. remark:
  1219. description: 备注
  1220. type: string
  1221. spotcontractid:
  1222. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1223. type: integer
  1224. spotcontractno:
  1225. description: 现货合同编号
  1226. type: string
  1227. tradeid:
  1228. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1229. type: string
  1230. tradeprice:
  1231. description: 成交价格
  1232. type: number
  1233. tradeqty:
  1234. description: 成交数量
  1235. type: integer
  1236. tradetime:
  1237. description: 成交时间
  1238. type: string
  1239. updatetime:
  1240. description: 更新时间
  1241. type: string
  1242. required:
  1243. - asapplyid
  1244. - buyorsell
  1245. - goodscode
  1246. - goodsgroupid
  1247. - goodsgroupname
  1248. - goodsname
  1249. - tradeid
  1250. type: object
  1251. erms2.QuerySpotContractRsp:
  1252. properties:
  1253. accountid:
  1254. description: 资金账户ID
  1255. type: integer
  1256. areauserid:
  1257. description: 所属机构
  1258. type: integer
  1259. closedate:
  1260. description: 终止日期
  1261. type: string
  1262. closeremark:
  1263. description: 结束备注
  1264. type: string
  1265. closetradedate:
  1266. description: 完结交易日(yyyyMMdd)
  1267. type: string
  1268. closetype:
  1269. description: 终止类型 - 1:违约 2:提前终止
  1270. type: integer
  1271. contractamount:
  1272. description: 合同金额
  1273. type: number
  1274. contractattachment:
  1275. description: 合同附件
  1276. type: string
  1277. contractno:
  1278. description: 现货合同编号
  1279. type: string
  1280. contractqty:
  1281. description: 合同数量(数值) (用于计算)
  1282. type: number
  1283. contractqtychar:
  1284. description: 合同数量\已订价数量 (用于显示)
  1285. type: string
  1286. contractstatus:
  1287. description: 合同状态 - 0:未结束 1:已结束
  1288. type: integer
  1289. contracttype:
  1290. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1291. type: integer
  1292. customeraccountid:
  1293. description: 客户资金账户ID
  1294. type: integer
  1295. customeruserid:
  1296. description: 客户ID
  1297. type: integer
  1298. deliverygoodsdesc:
  1299. description: 品种说明
  1300. type: string
  1301. deliverygoodsid:
  1302. description: 现货品种ID
  1303. type: integer
  1304. handlestatus:
  1305. description: 处理状态
  1306. type: integer
  1307. invoiceatt:
  1308. description: 发票附件
  1309. type: string
  1310. invoicedatetime:
  1311. description: 开收票更新时间
  1312. type: string
  1313. invoiceopentime:
  1314. description: 开票时间
  1315. type: string
  1316. invoiceremark:
  1317. description: 发票备注
  1318. type: string
  1319. invoicestatus:
  1320. description: 开收票状态 - 0:未开票 1:已开票
  1321. type: integer
  1322. lastdate:
  1323. description: 交货时间
  1324. type: string
  1325. marketid:
  1326. description: 市场ID
  1327. type: integer
  1328. paydatetime:
  1329. description: 收付款更新时间
  1330. type: string
  1331. payremark:
  1332. description: 收付款备注
  1333. type: string
  1334. paystatus:
  1335. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1336. type: integer
  1337. positionqty:
  1338. description: 头寸数量 - 合同数量去小数部分
  1339. type: integer
  1340. producttype:
  1341. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1342. type: integer
  1343. relatedqty:
  1344. description: 已关联数量
  1345. type: number
  1346. relatedstatus:
  1347. description: 关联完结状态 - 0:未结束 1:已结束
  1348. type: integer
  1349. remark:
  1350. description: 备注
  1351. type: string
  1352. signdate:
  1353. description: 签订日期
  1354. type: string
  1355. spotcontractid:
  1356. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1357. type: string
  1358. spotdatetime:
  1359. description: 收发货更新时间
  1360. type: string
  1361. spotprice:
  1362. description: 价格
  1363. type: number
  1364. spotremark:
  1365. description: 收发货备注
  1366. type: string
  1367. spotstatus:
  1368. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1369. type: integer
  1370. tradedate:
  1371. description: 交易日(yyyyMMdd)
  1372. type: string
  1373. userid:
  1374. description: 业务员用户ID
  1375. type: integer
  1376. warehouseid:
  1377. description: 仓库ID
  1378. type: integer
  1379. wrfactortypeid:
  1380. description: 仓单要素类型ID
  1381. type: integer
  1382. wrstandardid:
  1383. description: 仓单标准ID(SEQ_WRSTANDARD)
  1384. type: integer
  1385. required:
  1386. - spotcontractid
  1387. type: object
  1388. erms3.AddErms2ASApplyReq:
  1389. properties:
  1390. applybasis:
  1391. description: 申请基差
  1392. type: number
  1393. applystatus:
  1394. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1395. type: integer
  1396. asapplyid:
  1397. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1398. type: integer
  1399. asname:
  1400. description: 策略名称
  1401. type: string
  1402. asno:
  1403. description: 策略编号
  1404. type: string
  1405. auditid:
  1406. description: 审核人
  1407. type: integer
  1408. auditremark:
  1409. description: 审核备注
  1410. type: string
  1411. audittime:
  1412. description: 审核时间
  1413. type: string
  1414. biztype:
  1415. description: 业务类型 - 1:正向套利 2:反向套利
  1416. type: integer
  1417. createtime:
  1418. description: 创建时间
  1419. type: string
  1420. creatorid:
  1421. description: 创建人
  1422. type: integer
  1423. deliverygoodsid:
  1424. description: 现货品种ID
  1425. type: integer
  1426. futurequote:
  1427. description: 期货额度
  1428. type: number
  1429. goodsgroupid:
  1430. description: 期货品种ID
  1431. type: integer
  1432. marketid:
  1433. description: 市场ID
  1434. type: integer
  1435. remark:
  1436. description: 备注
  1437. type: string
  1438. spotquota:
  1439. description: 现货额度
  1440. type: number
  1441. tradedate:
  1442. description: 交易日(yyyyMMdd)
  1443. type: string
  1444. userid:
  1445. description: 所属机构
  1446. type: integer
  1447. required:
  1448. - asapplyid
  1449. type: object
  1450. erms3.AddErms2SpotTradeApplyReq:
  1451. properties:
  1452. applyjsondetail:
  1453. description: 申请明细(JSON)
  1454. type: string
  1455. applystatus:
  1456. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1457. type: integer
  1458. areauserid:
  1459. description: 所属机构
  1460. type: integer
  1461. auditid:
  1462. description: 审核人
  1463. type: integer
  1464. auditremark:
  1465. description: 审核备注
  1466. type: string
  1467. audittime:
  1468. description: 审核时间
  1469. type: string
  1470. createtime:
  1471. description: 创建时间
  1472. type: string
  1473. creatorid:
  1474. description: 创建人
  1475. type: integer
  1476. deliverygoodsid:
  1477. description: 现货品种ID
  1478. type: integer
  1479. futureaccountid:
  1480. description: 期货资金账户
  1481. type: integer
  1482. goodsgroupid:
  1483. description: 期货品种
  1484. type: integer
  1485. marketid:
  1486. description: 市场ID
  1487. type: integer
  1488. remark:
  1489. description: 备注
  1490. type: string
  1491. spotaccountid:
  1492. description: 现货资金账户
  1493. type: integer
  1494. spottradeid:
  1495. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1496. type: integer
  1497. spottradename:
  1498. description: 业务名称
  1499. type: string
  1500. spottradeno:
  1501. description: 业务编号
  1502. type: string
  1503. tradedate:
  1504. description: 交易日(yyyyMMdd)
  1505. type: string
  1506. wrstandardid:
  1507. description: 仓单标准ID
  1508. type: integer
  1509. required:
  1510. - spottradeid
  1511. type: object
  1512. erms3.AddSpotContractApplyReq:
  1513. properties:
  1514. accountid:
  1515. description: 资金账户ID
  1516. type: integer
  1517. areauserid:
  1518. description: 所属机构
  1519. type: integer
  1520. contractattachment:
  1521. description: 合同附件
  1522. type: string
  1523. contractno:
  1524. description: 现货合同编号
  1525. type: string
  1526. contracttype:
  1527. description: 现货合同类型 - 1:采购 -1:销售
  1528. type: integer
  1529. creatorid:
  1530. description: 申请人
  1531. type: integer
  1532. customeraccountid:
  1533. description: 客户资金账户ID
  1534. type: integer
  1535. customeruserid:
  1536. description: 客户ID
  1537. type: integer
  1538. details:
  1539. description: 明细
  1540. items:
  1541. $ref: '#/definitions/erms3.SoptContractDetail'
  1542. type: array
  1543. orimargin:
  1544. description: 初始保证金
  1545. type: number
  1546. remark:
  1547. description: 备注
  1548. type: string
  1549. signdate:
  1550. description: 签订日期
  1551. type: string
  1552. required:
  1553. - accountid
  1554. - areauserid
  1555. - contractno
  1556. - contracttype
  1557. - customeraccountid
  1558. - customeruserid
  1559. - details
  1560. - orimargin
  1561. - signdate
  1562. type: object
  1563. erms3.AddSpotContractApplyRsp:
  1564. properties:
  1565. contractno:
  1566. description: 现货合同编号
  1567. type: string
  1568. spotcontractid:
  1569. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  1570. type: integer
  1571. required:
  1572. - contractno
  1573. type: object
  1574. erms3.AddUserInfoApplyReq:
  1575. properties:
  1576. accountid:
  1577. description: 交易系统帐号Id (加密存储)
  1578. type: integer
  1579. areacode:
  1580. description: 机构代码
  1581. type: string
  1582. areaid:
  1583. description: 机构Id
  1584. type: integer
  1585. attachment1:
  1586. description: 附件1
  1587. type: string
  1588. attachment2:
  1589. description: 附件2
  1590. type: string
  1591. attachment3:
  1592. description: 附件3
  1593. type: string
  1594. attachment4:
  1595. description: 附件4
  1596. type: string
  1597. attachment5:
  1598. description: 附件5
  1599. type: string
  1600. auditedby:
  1601. description: 审核人
  1602. type: string
  1603. auditime:
  1604. description: 审核时间
  1605. type: string
  1606. auditsrc:
  1607. description: 审核来源 - 1:管理端 2:终端
  1608. type: integer
  1609. bankaccount:
  1610. description: 银行帐号 (加密存储)
  1611. type: string
  1612. bankaccountname:
  1613. description: 收款人名称
  1614. type: string
  1615. bankcardbackphotourl:
  1616. description: 银行卡背面照地址
  1617. type: string
  1618. bankcardfrontphotourl:
  1619. description: 银行卡正面照地址
  1620. type: string
  1621. bankid:
  1622. description: 银行编码
  1623. type: string
  1624. bankname:
  1625. description: 银行名称
  1626. type: string
  1627. bankpictureurl:
  1628. description: 银行卡正面地址
  1629. type: string
  1630. biznature:
  1631. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  1632. type: integer
  1633. bizscope:
  1634. description: 企业经营范围(企业)
  1635. type: string
  1636. biztype:
  1637. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  1638. type: integer
  1639. brokerid:
  1640. description: 经纪人ID(加密存储)
  1641. type: string
  1642. cardaddress:
  1643. description: 证件地址 (加密存储)
  1644. type: string
  1645. cardbackphotourl:
  1646. description: 背面证件照地址
  1647. type: string
  1648. cardfrontphotourl:
  1649. description: 正面证件照地址
  1650. type: string
  1651. cardnum:
  1652. description: 证件号码 (加密存储)
  1653. type: string
  1654. cardtype:
  1655. description: 证件类型
  1656. type: integer
  1657. cityid:
  1658. description: 市
  1659. type: integer
  1660. company:
  1661. description: 公司(个人)
  1662. type: string
  1663. contactcardbackphotourl:
  1664. description: 联系人证件背面图片地址
  1665. type: string
  1666. contactcardfrontphotourl:
  1667. description: 联系人证件正面图片地址
  1668. type: string
  1669. contactname:
  1670. description: 联系人
  1671. type: string
  1672. countryid:
  1673. description: 国家
  1674. type: integer
  1675. createtime:
  1676. description: 开户申请时间
  1677. type: string
  1678. cusbankid:
  1679. description: 签约类型
  1680. type: string
  1681. cusbankname:
  1682. description: 签约类型名称
  1683. type: string
  1684. customername:
  1685. description: 客户名称(企业名称)
  1686. type: string
  1687. districtid:
  1688. description: 地区
  1689. type: integer
  1690. email:
  1691. description: Email地址(加密存储)
  1692. type: string
  1693. halfbodyphotourl:
  1694. description: 半身照地址
  1695. type: string
  1696. headurl:
  1697. description: 头像地址
  1698. type: string
  1699. ipaddress:
  1700. description: IP地址
  1701. type: string
  1702. isvalidate:
  1703. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  1704. type: string
  1705. legalcardbackphotourl:
  1706. description: 法人身份证背面照地址
  1707. type: string
  1708. legalcardfrontphotourl:
  1709. description: 法人身份证正面照地址
  1710. type: string
  1711. legalpersonname:
  1712. description: 法人姓名(企业)
  1713. type: string
  1714. logincode:
  1715. description: 登录帐号 (加密存储)
  1716. type: string
  1717. memberareaid:
  1718. description: 所属会员ID
  1719. type: integer
  1720. mobile2:
  1721. description: 手机号码[明文-尚志]
  1722. type: string
  1723. mobilephone:
  1724. description: 手机号码 (加密存储)
  1725. type: string
  1726. modifiedby:
  1727. description: 修改人帐号
  1728. type: integer
  1729. modifiedtime:
  1730. description: 修改时间
  1731. type: string
  1732. nickname:
  1733. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  1734. type: string
  1735. openmode:
  1736. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  1737. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  1738. type: integer
  1739. otherurl:
  1740. description: 其它图片地址[使用分号分隔]
  1741. type: string
  1742. postalcode:
  1743. description: 邮政编码
  1744. type: string
  1745. provinceid:
  1746. description: 省
  1747. type: integer
  1748. proxystatementurl:
  1749. description: 授权委托书
  1750. type: string
  1751. qq:
  1752. description: QQ(加密存储
  1753. type: string
  1754. referral:
  1755. description: 推荐人编码
  1756. type: string
  1757. remark:
  1758. description: 备注
  1759. type: string
  1760. removebeforestatus:
  1761. description: REMOVEBEFORESTATUS
  1762. type: integer
  1763. sex:
  1764. description: 性别 - 0:女 1:男
  1765. type: integer
  1766. signedstatus:
  1767. description: 账户一号签签约状态
  1768. type: integer
  1769. signpdfurl:
  1770. description: 签约pdf文件
  1771. type: string
  1772. subbranch:
  1773. description: 开户支行
  1774. type: string
  1775. taxpayernum:
  1776. description: 纳税人识别号
  1777. type: string
  1778. telphone:
  1779. description: 联系电话(加密存储)
  1780. type: string
  1781. userid:
  1782. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  1783. type: integer
  1784. userinfotype:
  1785. description: 用户信息类型 - 1:个人 2:企业
  1786. type: integer
  1787. username:
  1788. description: 用户姓名
  1789. type: string
  1790. userstate:
  1791. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  1792. type: integer
  1793. usertype:
  1794. description: 用户类型 - 1:投资者 2:机构
  1795. type: integer
  1796. videourl:
  1797. description: 视频地址
  1798. type: string
  1799. wechat:
  1800. description: 微信号 (加密存储)
  1801. type: string
  1802. required:
  1803. - userid
  1804. type: object
  1805. erms3.CustomerInfo:
  1806. properties:
  1807. accountids:
  1808. description: 资金账户ID列表
  1809. items:
  1810. type: integer
  1811. type: array
  1812. customername:
  1813. description: 名称(企业名称)
  1814. type: string
  1815. mobile:
  1816. description: 手机号码
  1817. type: string
  1818. userid:
  1819. description: 用户ID
  1820. type: integer
  1821. required:
  1822. - userid
  1823. type: object
  1824. erms3.ModifyUserInfoApplyReq:
  1825. properties:
  1826. accountid:
  1827. description: 交易系统帐号Id (加密存储)
  1828. type: integer
  1829. areacode:
  1830. description: 机构代码
  1831. type: string
  1832. areaid:
  1833. description: 机构Id
  1834. type: integer
  1835. attachment1:
  1836. description: 附件1
  1837. type: string
  1838. attachment2:
  1839. description: 附件2
  1840. type: string
  1841. attachment3:
  1842. description: 附件3
  1843. type: string
  1844. attachment4:
  1845. description: 附件4
  1846. type: string
  1847. attachment5:
  1848. description: 附件5
  1849. type: string
  1850. auditedby:
  1851. description: 审核人
  1852. type: string
  1853. auditime:
  1854. description: 审核时间
  1855. type: string
  1856. auditsrc:
  1857. description: 审核来源 - 1:管理端 2:终端
  1858. type: integer
  1859. bankaccount:
  1860. description: 银行帐号 (加密存储)
  1861. type: string
  1862. bankaccountname:
  1863. description: 收款人名称
  1864. type: string
  1865. bankcardbackphotourl:
  1866. description: 银行卡背面照地址
  1867. type: string
  1868. bankcardfrontphotourl:
  1869. description: 银行卡正面照地址
  1870. type: string
  1871. bankid:
  1872. description: 银行编码
  1873. type: string
  1874. bankname:
  1875. description: 银行名称
  1876. type: string
  1877. bankpictureurl:
  1878. description: 银行卡正面地址
  1879. type: string
  1880. biznature:
  1881. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  1882. type: integer
  1883. bizscope:
  1884. description: 企业经营范围(企业)
  1885. type: string
  1886. biztype:
  1887. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  1888. type: integer
  1889. brokerid:
  1890. description: 经纪人ID(加密存储)
  1891. type: string
  1892. cardaddress:
  1893. description: 证件地址 (加密存储)
  1894. type: string
  1895. cardbackphotourl:
  1896. description: 背面证件照地址
  1897. type: string
  1898. cardfrontphotourl:
  1899. description: 正面证件照地址
  1900. type: string
  1901. cardnum:
  1902. description: 证件号码 (加密存储)
  1903. type: string
  1904. cardtype:
  1905. description: 证件类型
  1906. type: integer
  1907. cityid:
  1908. description: 市
  1909. type: integer
  1910. company:
  1911. description: 公司(个人)
  1912. type: string
  1913. contactcardbackphotourl:
  1914. description: 联系人证件背面图片地址
  1915. type: string
  1916. contactcardfrontphotourl:
  1917. description: 联系人证件正面图片地址
  1918. type: string
  1919. contactname:
  1920. description: 联系人
  1921. type: string
  1922. countryid:
  1923. description: 国家
  1924. type: integer
  1925. createtime:
  1926. description: 开户申请时间
  1927. type: string
  1928. cusbankid:
  1929. description: 签约类型
  1930. type: string
  1931. cusbankname:
  1932. description: 签约类型名称
  1933. type: string
  1934. customername:
  1935. description: 客户名称(企业名称)
  1936. type: string
  1937. districtid:
  1938. description: 地区
  1939. type: integer
  1940. email:
  1941. description: Email地址(加密存储)
  1942. type: string
  1943. halfbodyphotourl:
  1944. description: 半身照地址
  1945. type: string
  1946. headurl:
  1947. description: 头像地址
  1948. type: string
  1949. ipaddress:
  1950. description: IP地址
  1951. type: string
  1952. isvalidate:
  1953. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  1954. type: string
  1955. legalcardbackphotourl:
  1956. description: 法人身份证背面照地址
  1957. type: string
  1958. legalcardfrontphotourl:
  1959. description: 法人身份证正面照地址
  1960. type: string
  1961. legalpersonname:
  1962. description: 法人姓名(企业)
  1963. type: string
  1964. logincode:
  1965. description: 登录帐号 (加密存储)
  1966. type: string
  1967. memberareaid:
  1968. description: 所属会员ID
  1969. type: integer
  1970. mobile2:
  1971. description: 手机号码[明文-尚志]
  1972. type: string
  1973. mobilephone:
  1974. description: 手机号码 (加密存储)
  1975. type: string
  1976. modifiedby:
  1977. description: 修改人帐号
  1978. type: integer
  1979. modifiedtime:
  1980. description: 修改时间
  1981. type: string
  1982. nickname:
  1983. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  1984. type: string
  1985. openmode:
  1986. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  1987. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  1988. type: integer
  1989. otherurl:
  1990. description: 其它图片地址[使用分号分隔]
  1991. type: string
  1992. postalcode:
  1993. description: 邮政编码
  1994. type: string
  1995. provinceid:
  1996. description: 省
  1997. type: integer
  1998. proxystatementurl:
  1999. description: 授权委托书
  2000. type: string
  2001. qq:
  2002. description: QQ(加密存储
  2003. type: string
  2004. referral:
  2005. description: 推荐人编码
  2006. type: string
  2007. remark:
  2008. description: 备注
  2009. type: string
  2010. removebeforestatus:
  2011. description: REMOVEBEFORESTATUS
  2012. type: integer
  2013. sex:
  2014. description: 性别 - 0:女 1:男
  2015. type: integer
  2016. signedstatus:
  2017. description: 账户一号签签约状态
  2018. type: integer
  2019. signpdfurl:
  2020. description: 签约pdf文件
  2021. type: string
  2022. subbranch:
  2023. description: 开户支行
  2024. type: string
  2025. taxpayernum:
  2026. description: 纳税人识别号
  2027. type: string
  2028. telphone:
  2029. description: 联系电话(加密存储)
  2030. type: string
  2031. userid:
  2032. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2033. type: integer
  2034. userinfotype:
  2035. description: 用户信息类型 - 1:个人 2:企业
  2036. type: integer
  2037. username:
  2038. description: 用户姓名
  2039. type: string
  2040. userstate:
  2041. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2042. type: integer
  2043. usertype:
  2044. description: 用户类型 - 1:投资者 2:机构
  2045. type: integer
  2046. videourl:
  2047. description: 视频地址
  2048. type: string
  2049. wechat:
  2050. description: 微信号 (加密存储)
  2051. type: string
  2052. required:
  2053. - userid
  2054. type: object
  2055. erms3.QryAuditContractRsp:
  2056. properties:
  2057. accountid:
  2058. description: 交易员ID
  2059. type: string
  2060. applystatus:
  2061. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2062. type: integer
  2063. curdeliveryqty:
  2064. description: 未交收量
  2065. type: integer
  2066. customername:
  2067. description: 采购方ID
  2068. type: string
  2069. deliverygoodsid:
  2070. description: 品种ID
  2071. type: string
  2072. deliveryqty:
  2073. description: 交收量
  2074. type: integer
  2075. enumdicname:
  2076. description: 单位名称
  2077. type: string
  2078. matchaccountid:
  2079. description: 业务员ID
  2080. type: string
  2081. matchcustomername:
  2082. description: 销售方ID
  2083. type: string
  2084. pricedqty:
  2085. description: 定价量
  2086. type: number
  2087. signdate:
  2088. description: 签订日期
  2089. type: string
  2090. spotcontractid:
  2091. description: 合同ID
  2092. type: string
  2093. totaldqty:
  2094. description: 合同量
  2095. type: number
  2096. unpricedqty:
  2097. description: 未定价量
  2098. type: number
  2099. wrstandardname:
  2100. description: 商品名称
  2101. type: string
  2102. required:
  2103. - matchcustomername
  2104. - spotcontractid
  2105. type: object
  2106. erms3.QryPendingBizRsp:
  2107. $ref: '#/definitions/models.PendingAuditBizModel'
  2108. erms3.QueryBusinessInfoRsp:
  2109. properties:
  2110. businessid:
  2111. description: 业务ID.
  2112. type: integer
  2113. buyamount:
  2114. description: 采购额.
  2115. type: number
  2116. buyqty:
  2117. description: 采购量.
  2118. type: string
  2119. futurepl:
  2120. description: 期货盈亏.
  2121. type: number
  2122. futureqty:
  2123. description: 期货敞口.
  2124. type: string
  2125. goodsid:
  2126. description: 商品名称/商品代码.
  2127. type: string
  2128. hedgingqty:
  2129. description: 套保量.
  2130. type: string
  2131. sellamount:
  2132. description: 销售额.
  2133. type: number
  2134. sellqty:
  2135. description: 销售量.
  2136. type: string
  2137. spotmarketvalue:
  2138. description: 现货市值.
  2139. type: number
  2140. spotpl:
  2141. description: 浮动权益.
  2142. type: number
  2143. spotqty:
  2144. description: 现货量.
  2145. type: string
  2146. statu:
  2147. description: 状态,0-未结束 1-已结束.
  2148. type: integer
  2149. totalpl:
  2150. description: 总盈亏.
  2151. type: number
  2152. totalqty:
  2153. description: 总敞口.
  2154. type: string
  2155. type:
  2156. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2157. type: integer
  2158. type: object
  2159. erms3.QuerySpotContractAppleFormRsp:
  2160. properties:
  2161. goodses:
  2162. description: 合约列表
  2163. items:
  2164. $ref: '#/definitions/models.GoodsIDAndName'
  2165. type: array
  2166. oppositeusers:
  2167. description: 对方账号列表
  2168. items:
  2169. $ref: '#/definitions/erms3.CustomerInfo'
  2170. type: array
  2171. ouruser:
  2172. $ref: '#/definitions/erms3.CustomerInfo'
  2173. description: 我方账号
  2174. type: object
  2175. warehouseinfos:
  2176. description: 仓库信息列表
  2177. items:
  2178. $ref: '#/definitions/models.Warehouseinfo'
  2179. type: array
  2180. wrstandards:
  2181. description: 仓单标准列表
  2182. items:
  2183. $ref: '#/definitions/models.WRStandardInfo'
  2184. type: array
  2185. type: object
  2186. erms3.QuerySpotContractInfoRsp:
  2187. properties:
  2188. accountid:
  2189. description: 表示交易员ID.
  2190. type: integer
  2191. curdeliveryqty:
  2192. description: 表示未交收量.
  2193. type: number
  2194. customername:
  2195. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2196. type: string
  2197. deliverygoodsid:
  2198. description: 表示品种ID.
  2199. type: string
  2200. deliveryqty:
  2201. description: 表示交收量.
  2202. type: number
  2203. matchaccountid:
  2204. description: 表示业务员ID.
  2205. type: integer
  2206. matchcustomername:
  2207. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2208. type: string
  2209. priceqty:
  2210. description: 表示定价量.
  2211. type: number
  2212. relatedbizid:
  2213. description: 表示业务ID.
  2214. type: string
  2215. signdate:
  2216. description: 表示签订日期.
  2217. type: string
  2218. spotcontractid:
  2219. description: 合同ID
  2220. type: string
  2221. status:
  2222. description: 表示状态,0-履约中 1-已完成.
  2223. type: integer
  2224. totalqty:
  2225. description: 表示合同量.
  2226. type: number
  2227. unpricedqty:
  2228. description: 表示未定价量.
  2229. type: number
  2230. wrstandardname:
  2231. description: 表示商品ID.
  2232. type: string
  2233. type: object
  2234. erms3.QueryUserInfoAppliesRsp:
  2235. properties:
  2236. biznature:
  2237. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2238. type: integer
  2239. contactname:
  2240. description: 联系人
  2241. type: string
  2242. createtime:
  2243. description: 开户申请时间
  2244. type: string
  2245. userid:
  2246. description: 用户ID(自增ID)
  2247. type: integer
  2248. userinfotype:
  2249. description: 用户信息类型 - 1:个人 2:企业
  2250. type: integer
  2251. username:
  2252. description: 用户姓名
  2253. type: string
  2254. userstate:
  2255. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2256. type: integer
  2257. required:
  2258. - userid
  2259. type: object
  2260. erms3.QueryUserInfosRsp:
  2261. properties:
  2262. biznature:
  2263. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2264. type: integer
  2265. contactname:
  2266. description: 联系人
  2267. type: string
  2268. customername:
  2269. description: 客户名称(企业名称)
  2270. type: string
  2271. userid:
  2272. description: 用户ID
  2273. type: integer
  2274. userinfotype:
  2275. description: 用户信息类型 - 1:个人 2:企业
  2276. type: integer
  2277. userstatus:
  2278. description: 用户状态 - 1:正常 2:注销
  2279. type: integer
  2280. required:
  2281. - userid
  2282. type: object
  2283. erms3.SoptContractDetail:
  2284. properties:
  2285. deliverygoodsdesc:
  2286. description: 现货品种说明
  2287. type: string
  2288. deliverygoodsid:
  2289. description: 现货品种ID
  2290. type: integer
  2291. deliverygoodsname:
  2292. description: 现货品种名称
  2293. type: string
  2294. pointdesc:
  2295. description: 点价描述
  2296. type: string
  2297. producttype:
  2298. description: 产品类型 1:标准仓单 2:等标 3:非标
  2299. type: integer
  2300. producttypename:
  2301. description: 产品类型名称
  2302. type: string
  2303. spotPointOrderVoList:
  2304. description: 点价列表
  2305. items:
  2306. $ref: '#/definitions/erms3.SpotPointOrder'
  2307. type: array
  2308. spotPriceOrderList:
  2309. description: 定价列表
  2310. items:
  2311. $ref: '#/definitions/erms3.SpotPriceOrder'
  2312. type: array
  2313. unitname:
  2314. description: 单位名称
  2315. type: string
  2316. warehouseid:
  2317. description: 仓库ID
  2318. type: integer
  2319. warehousename:
  2320. description: 仓库名称
  2321. type: string
  2322. wrstandardid:
  2323. description: 交易标的ID
  2324. type: integer
  2325. wrstandardname:
  2326. description: 交易标的名称
  2327. type: string
  2328. required:
  2329. - deliverygoodsid
  2330. - producttype
  2331. - unitname
  2332. - warehouseid
  2333. - wrstandardid
  2334. - wrstandardname
  2335. type: object
  2336. erms3.SpotPointOrder:
  2337. properties:
  2338. basic:
  2339. description: 基差
  2340. type: number
  2341. deliveryenddate:
  2342. description: 交收结束日期
  2343. type: string
  2344. deliverystartdate:
  2345. description: 交收开始日期
  2346. type: string
  2347. enddate:
  2348. description: 点价结束日期
  2349. type: string
  2350. goodsid:
  2351. description: 商品ID
  2352. type: integer
  2353. goodsname:
  2354. description: 商品名称
  2355. type: string
  2356. qty:
  2357. description: 数量
  2358. type: number
  2359. startdate:
  2360. description: 点价开始日期
  2361. type: string
  2362. required:
  2363. - basic
  2364. - goodsid
  2365. - qty
  2366. type: object
  2367. erms3.SpotPriceOrder:
  2368. properties:
  2369. amount:
  2370. description: 金额
  2371. type: number
  2372. deliveryenddate:
  2373. description: 交收结束日期
  2374. type: string
  2375. deliverystartdate:
  2376. description: 交收开始日期
  2377. type: string
  2378. price:
  2379. description: 价格
  2380. type: number
  2381. qty:
  2382. description: 数量
  2383. type: number
  2384. required:
  2385. - amount
  2386. - price
  2387. - qty
  2388. type: object
  2389. hsby.GetHsbyMyCountRsp:
  2390. properties:
  2391. myCouponCount:
  2392. description: 我的优惠卷数量
  2393. type: integer
  2394. myOrderDetailListingCount:
  2395. description: 我的订单求购中数量
  2396. type: integer
  2397. myOrderDetailPreCount:
  2398. description: 我的订单抢购中数量
  2399. type: integer
  2400. myPackageUnReceiveCount:
  2401. description: 我的包裹待收货数量
  2402. type: integer
  2403. myPackageUnSendCount:
  2404. description: 我的包裹待发货数量
  2405. type: integer
  2406. myPayOrderCount:
  2407. description: 我的订单待付款数量
  2408. type: integer
  2409. type: object
  2410. hsby.QueryProvincesAndCitiesRsp:
  2411. properties:
  2412. cities:
  2413. description: 市
  2414. items:
  2415. $ref: '#/definitions/models.Division'
  2416. type: array
  2417. province:
  2418. $ref: '#/definitions/models.Division'
  2419. description: 省
  2420. type: object
  2421. type: object
  2422. models.AreaSpotModel:
  2423. properties:
  2424. areauserid:
  2425. description: 所属机构
  2426. type: integer
  2427. decreaseqty:
  2428. description: 减少数量=-(销售已定价数量+采购计划数量)
  2429. type: number
  2430. increaseqty:
  2431. description: 增加数量=销售计划数量+采购已定价数量
  2432. type: number
  2433. oritoalspotqty:
  2434. description: 昨日数量
  2435. type: number
  2436. totalspotqty:
  2437. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2438. type: number
  2439. updatetime:
  2440. description: 更新时间
  2441. type: string
  2442. wrstandardcode:
  2443. description: 现货品种代码
  2444. type: string
  2445. wrstandardid:
  2446. description: 现货商品ID
  2447. type: integer
  2448. wrstandardname:
  2449. description: 现货品种
  2450. type: string
  2451. type: object
  2452. models.Arearole:
  2453. properties:
  2454. createtime:
  2455. description: 创建时间
  2456. type: string
  2457. creatorid:
  2458. description: 创建人ID
  2459. type: integer
  2460. isreturnscore:
  2461. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  2462. type: integer
  2463. modifierid:
  2464. description: 修改人ID
  2465. type: integer
  2466. modifytime:
  2467. description: 修改时间
  2468. type: string
  2469. orgtype:
  2470. description: 组织机构类型 1:机构 2:交易员
  2471. type: integer
  2472. outuserid:
  2473. description: 外部账户[场外期权做市商]
  2474. type: string
  2475. parentuserid:
  2476. description: 上级组织机构(组织机构)
  2477. type: integer
  2478. roletype:
  2479. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  2480. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  2481. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员
  2482. type: integer
  2483. rootuserid:
  2484. description: 顶级组织机构用户ID(组织机构)
  2485. type: integer
  2486. shoppassword:
  2487. description: 商城店铺登陆密码(商城店铺角色使用)
  2488. type: string
  2489. sublevelpath:
  2490. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  2491. type: string
  2492. tradeaccountid:
  2493. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  2494. type: integer
  2495. transurl:
  2496. description: 物流地址(物流机构)
  2497. type: string
  2498. userid:
  2499. description: 机构用户ID其他做市关系,都设置为 1
  2500. type: integer
  2501. required:
  2502. - roletype
  2503. - userid
  2504. type: object
  2505. models.Clientfixedadconfig:
  2506. properties:
  2507. adsort:
  2508. description: 排序
  2509. type: integer
  2510. adtype:
  2511. description: 广告位类型 - 1:新品抢购(HSBY)
  2512. type: integer
  2513. areauserid:
  2514. description: 所属机构ID
  2515. type: integer
  2516. createdate:
  2517. description: 创建时间
  2518. type: string
  2519. creatorid:
  2520. description: 创建人
  2521. type: integer
  2522. imagepath:
  2523. description: 图片
  2524. type: string
  2525. isshow:
  2526. description: 是否展示 - 0:不展示 1:展示
  2527. type: integer
  2528. modifierid:
  2529. description: 操作人
  2530. type: integer
  2531. recsize:
  2532. description: 推荐尺寸
  2533. type: string
  2534. title:
  2535. description: 标题
  2536. type: string
  2537. updatedate:
  2538. description: 更新时间
  2539. type: string
  2540. urlcontent:
  2541. description: 链接(地址或商品ID)
  2542. type: string
  2543. urltype:
  2544. description: 链接类型 - 1:直接地址 2:商品ID
  2545. type: integer
  2546. required:
  2547. - adsort
  2548. - adtype
  2549. type: object
  2550. models.Division:
  2551. properties:
  2552. autoid:
  2553. description: 自增ID
  2554. type: integer
  2555. divisioncode:
  2556. description: 行政代码
  2557. type: string
  2558. divisionlevel:
  2559. description: 行政级别
  2560. type: string
  2561. divisionname:
  2562. description: 行政名称
  2563. type: string
  2564. modifierid:
  2565. description: 修改人
  2566. type: integer
  2567. modifytime:
  2568. description: 修改时间
  2569. type: string
  2570. parentcode:
  2571. description: 上级行政代码
  2572. type: string
  2573. pathname:
  2574. description: 路径名称
  2575. type: string
  2576. postcode:
  2577. description: 邮政编码
  2578. type: string
  2579. separablename:
  2580. description: 可拆分的全称
  2581. type: string
  2582. shortcode:
  2583. description: 地区简码
  2584. type: string
  2585. required:
  2586. - autoid
  2587. - divisioncode
  2588. type: object
  2589. models.Enumdicitem:
  2590. properties:
  2591. autoid:
  2592. description: 自增ID
  2593. type: integer
  2594. bankmappedvalue:
  2595. description: 银行服务对应值
  2596. type: string
  2597. enumdiccode:
  2598. description: 所属枚举代码
  2599. type: string
  2600. enumdicid:
  2601. description: 所属枚举ID
  2602. type: integer
  2603. enumdicname:
  2604. description: 枚举项名称
  2605. type: string
  2606. enumitemname:
  2607. description: 枚举项值
  2608. type: integer
  2609. enumitemstatus:
  2610. description: 枚举项状态 - 1.启用 2.不启用
  2611. type: integer
  2612. enumitemvalue:
  2613. description: 通用值 - [币种通用简写]
  2614. type: string
  2615. param1:
  2616. description: 参数1[币种:币种小数位]
  2617. type: string
  2618. param2:
  2619. description: 参数1[币种:币种显示单位]
  2620. type: string
  2621. remark:
  2622. description: 备注
  2623. type: string
  2624. required:
  2625. - autoid
  2626. - enumdiccode
  2627. - enumdicid
  2628. - enumitemname
  2629. type: object
  2630. models.Ermcp3AreaSpot:
  2631. properties:
  2632. areauserid:
  2633. description: 所属机构
  2634. type: integer
  2635. decreaseqty:
  2636. description: 减少数量=-(销售已定价数量+采购计划数量)
  2637. type: number
  2638. deliverygoodscode:
  2639. description: 现货品种代码
  2640. type: string
  2641. deliverygoodsid:
  2642. description: 现货品种id
  2643. type: integer
  2644. deliverygoodsname:
  2645. description: 现货品种名称
  2646. type: string
  2647. enumdicname:
  2648. description: 单位名称
  2649. type: string
  2650. goodsunitid:
  2651. description: 现货品种单位id
  2652. type: integer
  2653. increaseqty:
  2654. description: 增加数量=销售计划数量+采购已定价数量
  2655. type: number
  2656. oritoalspotqty:
  2657. description: 昨日数量
  2658. type: number
  2659. totalspotqty:
  2660. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2661. type: number
  2662. updatetime:
  2663. description: 更新时间
  2664. type: string
  2665. type: object
  2666. models.Ermcp3AreaSpotDetail:
  2667. properties:
  2668. contracttype:
  2669. description: 合同类型 1-采购 -1-销售
  2670. type: integer
  2671. createtime:
  2672. description: 创建时间
  2673. type: string
  2674. deliverygoodscode:
  2675. description: 现货品种代码
  2676. type: string
  2677. deliverygoodsid:
  2678. description: 现货品种id
  2679. type: integer
  2680. deliverygoodsname:
  2681. description: 现货品种名称
  2682. type: string
  2683. enumdicname:
  2684. description: 现货商品单位名称
  2685. type: string
  2686. logtype:
  2687. description: 记录类型 1-套保 2-现货合同
  2688. type: integer
  2689. qty:
  2690. description: 数量
  2691. type: number
  2692. recordname:
  2693. description: 类型名称
  2694. type: string
  2695. relatedid:
  2696. description: 套保计划ID/现货合同ID
  2697. type: string
  2698. relatedno:
  2699. description: 编号
  2700. type: string
  2701. strtime:
  2702. description: 时间
  2703. type: string
  2704. type: object
  2705. models.Ermcp3AreaSpotPLReport:
  2706. properties:
  2707. accountid:
  2708. description: 期货账户ID (作废, 默认为0)
  2709. type: integer
  2710. accountname:
  2711. description: 机构名称
  2712. type: string
  2713. actualpl:
  2714. description: 现货损益
  2715. type: number
  2716. areauserid:
  2717. description: 所属机构\交易用户ID
  2718. type: integer
  2719. biztype:
  2720. description: 业务类型 - 1:套保 2:套利
  2721. type: integer
  2722. brandname:
  2723. description: 品牌名称
  2724. type: string
  2725. curamount:
  2726. description: 期末额
  2727. type: number
  2728. curaverageprice:
  2729. description: 期末均价
  2730. type: number
  2731. curbuyamount:
  2732. description: 期末采购总额
  2733. type: number
  2734. curbuyqty:
  2735. description: 期末采购总量
  2736. type: number
  2737. curmarketvalue:
  2738. description: 参考市值(期末市值)
  2739. type: number
  2740. curqty:
  2741. description: 期末量
  2742. type: number
  2743. currencyid:
  2744. description: 结算币种ID【原值】
  2745. type: integer
  2746. currencyname:
  2747. description: 币种名称
  2748. type: string
  2749. cursellamount:
  2750. description: 期末销售总额
  2751. type: number
  2752. cursellqty:
  2753. description: 期末销售总量
  2754. type: number
  2755. curspotprice:
  2756. description: 参考市价(最新价)
  2757. type: number
  2758. cycletime:
  2759. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  2760. type: string
  2761. cycletype:
  2762. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  2763. type: integer
  2764. deliverygoodscode:
  2765. description: 现货商品代码
  2766. type: string
  2767. deliverygoodsid:
  2768. description: 现货品种ID
  2769. type: integer
  2770. deliverygoodsname:
  2771. description: 现货商品名称
  2772. type: string
  2773. enumdicname:
  2774. description: 现货商品单位名称
  2775. type: string
  2776. floatpl:
  2777. description: 浮动损益
  2778. type: number
  2779. goodsunitid:
  2780. description: 现货商品单位id
  2781. type: integer
  2782. oriamount:
  2783. description: 期初额
  2784. type: number
  2785. oriaverageprice:
  2786. description: 期初均价
  2787. type: number
  2788. oribuyamount:
  2789. description: 期初采购总额
  2790. type: number
  2791. oribuyqty:
  2792. description: 期初采购总量
  2793. type: number
  2794. oriqty:
  2795. description: 期初量
  2796. type: number
  2797. orisellamount:
  2798. description: 期初销售总额
  2799. type: number
  2800. orisellqty:
  2801. description: 期初销售总量
  2802. type: number
  2803. reckondate:
  2804. description: 日照时期(yyyyMMdd)
  2805. type: string
  2806. spotgoodsbrandid:
  2807. description: 现货品牌ID
  2808. type: integer
  2809. todaybuyamount:
  2810. description: 今日采购额(今采购额)
  2811. type: number
  2812. todaybuyaverageprice:
  2813. description: 今日采购均价
  2814. type: number
  2815. todaybuyqty:
  2816. description: 今日采购量(今采购量)
  2817. type: number
  2818. todayinqty:
  2819. description: 今日入库量(今入库量)
  2820. type: number
  2821. todayoutqty:
  2822. description: 今日出库量(今出库量)
  2823. type: number
  2824. todaysellamount:
  2825. description: 今日销售额(今销售额)
  2826. type: number
  2827. todaysellaverageprice:
  2828. description: 今日销售均价
  2829. type: number
  2830. todaysellqty:
  2831. description: 今日销售量(今销售量)
  2832. type: number
  2833. unitid:
  2834. description: 品类单位id
  2835. type: integer
  2836. unitidname:
  2837. description: 品类单位名称
  2838. type: string
  2839. updatetime:
  2840. description: 更新时间
  2841. type: string
  2842. wrfactortypeid:
  2843. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  2844. type: integer
  2845. wrstandardcode:
  2846. description: 品类代码
  2847. type: string
  2848. wrstandardid:
  2849. description: 现货品类ID
  2850. type: string
  2851. wrstandardname:
  2852. description: 品类名称
  2853. type: string
  2854. type: object
  2855. models.Ermcp3AreaStock:
  2856. properties:
  2857. brandname:
  2858. description: 品牌名称
  2859. type: string
  2860. curstock:
  2861. description: 期末库存量(今日量)
  2862. type: number
  2863. deliverygoodscode:
  2864. description: 现货品种代码
  2865. type: string
  2866. deliverygoodsid:
  2867. description: 现货品种id
  2868. type: integer
  2869. deliverygoodsname:
  2870. description: 现货品种名称
  2871. type: string
  2872. enumdicname:
  2873. description: 单位名称
  2874. type: string
  2875. goodsunitid:
  2876. description: 现货商品单位id
  2877. type: integer
  2878. oristock:
  2879. description: 期初库存量(昨日量)
  2880. type: number
  2881. spotgoodsbrandid:
  2882. description: 现货品牌ID
  2883. type: integer
  2884. todaybuyinqty:
  2885. description: 今日采购入库量
  2886. type: number
  2887. todayproduceinqty:
  2888. description: 今日生产入库量
  2889. type: number
  2890. todayproduceoutqty:
  2891. description: 今日生产出库量
  2892. type: number
  2893. todayselloutqty:
  2894. description: 今日销售出库量
  2895. type: number
  2896. unitid:
  2897. description: 单位id
  2898. type: integer
  2899. updatetime:
  2900. description: 更新时间
  2901. type: string
  2902. userid:
  2903. description: 机构ID
  2904. type: integer
  2905. username:
  2906. description: 机构名称
  2907. type: string
  2908. warehousecode:
  2909. description: 仓库代码
  2910. type: string
  2911. warehouseinfoid:
  2912. description: 仓库ID
  2913. type: string
  2914. warehousename:
  2915. description: 仓库名称
  2916. type: string
  2917. warehousetype:
  2918. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2919. type: integer
  2920. wrstandardcode:
  2921. description: 品类代码
  2922. type: string
  2923. wrstandardid:
  2924. description: 品类ID
  2925. type: string
  2926. wrstandardname:
  2927. description: 品类名称
  2928. type: string
  2929. required:
  2930. - userid
  2931. type: object
  2932. models.Ermcp3AreaStockApply:
  2933. properties:
  2934. applyid:
  2935. description: 申请人
  2936. type: integer
  2937. applyname:
  2938. description: 申请人名称
  2939. type: string
  2940. applyremark:
  2941. description: 申请备注
  2942. type: string
  2943. applysrc:
  2944. description: 申请来源 - 1:管理端 2:终端
  2945. type: integer
  2946. applystatus:
  2947. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  2948. type: integer
  2949. applytime:
  2950. description: 申请时间
  2951. type: string
  2952. auditid:
  2953. description: 审核人
  2954. type: integer
  2955. auditname:
  2956. description: 审核人名称
  2957. type: string
  2958. auditremark:
  2959. description: 审核备注
  2960. type: string
  2961. auditsrc:
  2962. description: 审核来源 - 1:管理端 2:终端
  2963. type: integer
  2964. audittime:
  2965. description: 审核时间
  2966. type: string
  2967. audittradedate:
  2968. description: 审核交易日(yyyyMMdd)
  2969. type: string
  2970. brandname:
  2971. description: 品牌名称
  2972. type: string
  2973. buynickname:
  2974. description: 采购方昵称
  2975. type: string
  2976. buyuserid:
  2977. description: 采购方userid
  2978. type: integer
  2979. buyusername:
  2980. description: 采购方名称
  2981. type: string
  2982. contractno:
  2983. description: 合同编号
  2984. type: string
  2985. contractqty:
  2986. description: 合同量
  2987. type: number
  2988. contracttype:
  2989. description: 现货合同类型 - 1:采购 -1:销售
  2990. type: integer
  2991. deliverygoodscode:
  2992. description: 现货品种代码
  2993. type: string
  2994. deliverygoodsid:
  2995. description: 现货品种id
  2996. type: integer
  2997. deliverygoodsname:
  2998. description: 现货品种名称
  2999. type: string
  3000. detailjson:
  3001. description: 明细数据
  3002. type: string
  3003. enumdicname:
  3004. description: 现货商品单位名称
  3005. type: string
  3006. inoutapplyid:
  3007. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3008. type: string
  3009. inouttype:
  3010. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3011. type: integer
  3012. pricetype:
  3013. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3014. type: integer
  3015. qty:
  3016. description: 数量
  3017. type: number
  3018. sellnickname:
  3019. description: 销售方昵称
  3020. type: string
  3021. selluserid:
  3022. description: 销售方userid
  3023. type: integer
  3024. sellusername:
  3025. description: 销售方名称
  3026. type: string
  3027. spotcontractid:
  3028. description: 关联现货合同ID
  3029. type: string
  3030. spotgoodsbrandid:
  3031. description: 现货品牌ID
  3032. type: integer
  3033. unitid:
  3034. description: 单位id
  3035. type: integer
  3036. userid:
  3037. description: 机构ID
  3038. type: integer
  3039. warehousecode:
  3040. description: 仓库代码
  3041. type: string
  3042. warehouseinfoid:
  3043. description: 现货仓库ID
  3044. type: string
  3045. warehousename:
  3046. description: 仓库名称
  3047. type: string
  3048. warehousetype:
  3049. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3050. type: integer
  3051. wrstandardcode:
  3052. description: 品类代码
  3053. type: string
  3054. wrstandardid:
  3055. description: 品类ID
  3056. type: integer
  3057. wrstandardname:
  3058. description: 品类名称
  3059. type: string
  3060. type: object
  3061. models.Ermcp3AreaStockApplySum:
  3062. properties:
  3063. brandname:
  3064. description: 品牌名称
  3065. type: string
  3066. inouttype:
  3067. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3068. type: integer
  3069. spotcontractid:
  3070. description: 关联现货合同ID
  3071. type: string
  3072. spotgoodsbrandid:
  3073. description: 品牌id
  3074. type: integer
  3075. totalqty:
  3076. description: 总数量
  3077. type: number
  3078. wrstandardid:
  3079. description: 品类id
  3080. type: integer
  3081. wrstandardname:
  3082. description: 品类名称
  3083. type: string
  3084. type: object
  3085. models.Ermcp3AreaStockReport:
  3086. properties:
  3087. brandname:
  3088. description: 品牌名称
  3089. type: string
  3090. curstock:
  3091. description: 期末库存量
  3092. type: number
  3093. cycletime:
  3094. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3095. type: string
  3096. cycletype:
  3097. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3098. type: integer
  3099. deliverygoodscode:
  3100. description: 现货品种代码
  3101. type: string
  3102. deliverygoodsid:
  3103. description: 现货品种id
  3104. type: integer
  3105. deliverygoodsname:
  3106. description: 现货品种名称
  3107. type: string
  3108. diffqty:
  3109. description: 库存变化量 = 期末 - 期初
  3110. type: number
  3111. enumdicname:
  3112. description: 单位名称
  3113. type: string
  3114. goodsunitid:
  3115. description: 现货单位id
  3116. type: integer
  3117. oristock:
  3118. description: 期初库存量
  3119. type: number
  3120. reckondate:
  3121. description: 日照时期(yyyyMMdd)
  3122. type: string
  3123. spotgoodsbrandid:
  3124. description: 现货品牌ID
  3125. type: integer
  3126. todaybuyinqty:
  3127. description: 今采购入库量
  3128. type: number
  3129. todayproduceinqty:
  3130. description: 今内部入库量
  3131. type: number
  3132. todayproduceoutqty:
  3133. description: 今内部出库量
  3134. type: number
  3135. todayselloutqty:
  3136. description: 今销售出库量
  3137. type: number
  3138. unbuyinqty:
  3139. description: 采购未入库量(数据库未找到相关字段?)
  3140. type: number
  3141. unitid:
  3142. description: 品类单位id
  3143. type: integer
  3144. unselloutqty:
  3145. description: 销售未出库量(数据库未找到相关字段?)
  3146. type: number
  3147. updatetime:
  3148. description: 更新时间
  3149. type: string
  3150. userid:
  3151. description: 机构ID
  3152. type: integer
  3153. username:
  3154. description: 机构名称
  3155. type: string
  3156. warehousecode:
  3157. description: 仓库代码
  3158. type: string
  3159. warehouseinfoid:
  3160. description: 仓库ID
  3161. type: string
  3162. warehousename:
  3163. description: 仓库名称
  3164. type: string
  3165. warehousetype:
  3166. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3167. type: integer
  3168. wrstandardcode:
  3169. description: 品类代码
  3170. type: string
  3171. wrstandardid:
  3172. description: 品类ID
  3173. type: integer
  3174. wrstandardname:
  3175. description: 品类名称
  3176. type: string
  3177. type: object
  3178. models.Ermcp3ArealSumPL:
  3179. properties:
  3180. areauserid:
  3181. description: 所属机构\交易用户ID
  3182. type: integer
  3183. currencyid:
  3184. description: 结算币种ID
  3185. type: integer
  3186. currencyname:
  3187. description: 币种名称
  3188. type: string
  3189. cycletime:
  3190. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3191. type: string
  3192. cycletype:
  3193. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3194. type: integer
  3195. futureactualpl:
  3196. description: 期货损益
  3197. type: number
  3198. futurefloatpl:
  3199. description: 期货浮动损益
  3200. type: number
  3201. middlegoodsid:
  3202. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  3203. type: integer
  3204. reckondate:
  3205. description: 日照时期(yyyyMMdd)
  3206. type: string
  3207. spotactualpl:
  3208. description: 现货损益
  3209. type: number
  3210. spotfloatpl:
  3211. description: 现货浮动损益
  3212. type: number
  3213. sumactualpl:
  3214. description: 实际损益 = (ActualPL + FutureActualPL)
  3215. type: number
  3216. sumpl:
  3217. description: 汇总损益
  3218. type: number
  3219. updatetime:
  3220. description: 更新时间
  3221. type: string
  3222. type: object
  3223. models.Ermcp3Brand:
  3224. properties:
  3225. areauserid:
  3226. description: 用户id
  3227. type: integer
  3228. brandid:
  3229. description: 品牌id
  3230. type: integer
  3231. brandname:
  3232. description: 品牌名称
  3233. type: string
  3234. deliverygoodsid:
  3235. description: 品种ID
  3236. type: integer
  3237. type: object
  3238. models.Ermcp3Contract:
  3239. properties:
  3240. accountid:
  3241. description: 期货账户id
  3242. type: string
  3243. amount:
  3244. description: 金额 [1:一口价、3:暂定价]
  3245. type: number
  3246. attachment:
  3247. description: 附件
  3248. type: string
  3249. auditremark:
  3250. description: 审核意见
  3251. type: string
  3252. audittime:
  3253. description: 审核时间
  3254. type: string
  3255. biztype:
  3256. description: 业务类型 1-套保 2-套利
  3257. type: integer
  3258. brandname:
  3259. description: 品牌名称
  3260. type: string
  3261. buynickname:
  3262. description: 销售方昵称
  3263. type: string
  3264. buyuserid:
  3265. description: 采购方ID
  3266. type: integer
  3267. buyusername:
  3268. description: 采购方名称
  3269. type: string
  3270. contracctstatus:
  3271. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3272. type: integer
  3273. contractmargin:
  3274. description: 合同保证金
  3275. type: number
  3276. contractno:
  3277. description: 现货合同编号
  3278. type: string
  3279. contracttype:
  3280. description: 现货合同类型 - 1:采购 -1:销售
  3281. type: integer
  3282. convertfactor:
  3283. description: 标仓系数(品类)
  3284. type: number
  3285. createtime:
  3286. description: 创建时间
  3287. type: string
  3288. currencyid:
  3289. description: 币种id
  3290. type: integer
  3291. currencyname:
  3292. description: 币种名称
  3293. type: string
  3294. deliveryenddate:
  3295. description: 交收期(结束)
  3296. type: string
  3297. deliverygoodscode:
  3298. description: 现货品种代码
  3299. type: string
  3300. deliverygoodsid:
  3301. description: 现货品种ID
  3302. type: integer
  3303. deliverygoodsname:
  3304. description: 现货品种名称
  3305. type: string
  3306. deliverystartdate:
  3307. description: 交收期(开始)
  3308. type: string
  3309. enddate:
  3310. description: 点价结束日期 [2:点价 3:暂定价]
  3311. type: string
  3312. enumdicname:
  3313. description: 单位名称
  3314. type: string
  3315. goodscode:
  3316. description: 点价合约代码
  3317. type: string
  3318. goodsid:
  3319. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3320. type: integer
  3321. goodsname:
  3322. description: 点价商品名称
  3323. type: string
  3324. margin:
  3325. description: 当前保证金
  3326. type: number
  3327. meruserid:
  3328. description: 跟单员id
  3329. type: integer
  3330. meruserlogincode:
  3331. description: 跟单员登录代码
  3332. type: string
  3333. price:
  3334. description: 价格\暂定价 [1:一口价、3:暂定价]
  3335. type: number
  3336. pricemove:
  3337. description: 升贴水 [2:点价 3:暂定价]
  3338. type: number
  3339. pricetype:
  3340. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3341. type: integer
  3342. producttype:
  3343. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3344. type: integer
  3345. qty:
  3346. description: 数量
  3347. type: number
  3348. remark:
  3349. description: 备注
  3350. type: string
  3351. saleuserid:
  3352. description: 业务员id
  3353. type: integer
  3354. saleuserlogincode:
  3355. description: 业务员登录代码
  3356. type: string
  3357. sellnickname:
  3358. description: 采购方昵称
  3359. type: string
  3360. selluserid:
  3361. description: 销售方ID
  3362. type: integer
  3363. sellusername:
  3364. description: 销售方名称
  3365. type: string
  3366. spotcontractid:
  3367. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3368. type: string
  3369. spotgoodsbrandid:
  3370. description: 现货品牌ID(DGFactoryItem表的ID)
  3371. type: integer
  3372. spotgoodsdesc:
  3373. description: 商品型号
  3374. type: string
  3375. startdate:
  3376. description: 点价开始日期 [2:点价 3:暂定价]
  3377. type: string
  3378. tradeuserid:
  3379. description: 交易员id
  3380. type: integer
  3381. tradeuserlogincode:
  3382. description: 交易员登录代码
  3383. type: string
  3384. tradeusername:
  3385. description: 交易员名称
  3386. type: string
  3387. unitid:
  3388. description: 单位id(取品类上的单位id)
  3389. type: integer
  3390. updatetime:
  3391. description: 更新时间
  3392. type: string
  3393. userid:
  3394. description: 所属机构ID
  3395. type: integer
  3396. wrstandardcode:
  3397. description: 品类代码
  3398. type: string
  3399. wrstandardid:
  3400. description: 品类ID
  3401. type: integer
  3402. wrstandardname:
  3403. description: 品类名称
  3404. type: string
  3405. type: object
  3406. models.Ermcp3ExposureContractDetail:
  3407. properties:
  3408. biztype:
  3409. description: 业务类型 1-套保 2-套利
  3410. type: integer
  3411. buyuserid:
  3412. description: 采购方id
  3413. type: integer
  3414. buyusername:
  3415. description: 采购方名称
  3416. type: string
  3417. contractno:
  3418. description: 合同编号
  3419. type: string
  3420. contracttype:
  3421. description: 现货合同类型 - 1:采购 -1:销售
  3422. type: integer
  3423. convertratio:
  3424. description: 折算系数(套保品种)
  3425. type: number
  3426. curqty:
  3427. description: 今定价量
  3428. type: number
  3429. deliverygoodsid:
  3430. description: 现货商品id
  3431. type: integer
  3432. diffqty:
  3433. description: 套保品种今变动量
  3434. type: number
  3435. enumdicname:
  3436. description: 单位名称
  3437. type: string
  3438. middlegoodscode:
  3439. description: 套保品种代码
  3440. type: string
  3441. middlegoodsid:
  3442. description: 套保品种id
  3443. type: integer
  3444. middlegoodsname:
  3445. description: 套保品种名称
  3446. type: string
  3447. needarbitrageratio:
  3448. description: 应套利比例
  3449. type: number
  3450. needhedgeratio:
  3451. description: 应套保比例
  3452. type: number
  3453. pricedqty:
  3454. description: 已定价量
  3455. type: number
  3456. qty:
  3457. description: 合同量
  3458. type: number
  3459. selluserid:
  3460. description: 销售方id
  3461. type: integer
  3462. sellusername:
  3463. description: 销售方名称
  3464. type: string
  3465. spotcontractid:
  3466. description: 合同id
  3467. type: string
  3468. tradedate:
  3469. description: 交易日
  3470. type: string
  3471. unitid:
  3472. description: 品类单位id
  3473. type: integer
  3474. userid:
  3475. description: 机构id
  3476. type: integer
  3477. wrstandardcode:
  3478. description: 品类代码
  3479. type: string
  3480. wrstandardid:
  3481. description: 品类id
  3482. type: integer
  3483. wrstandardname:
  3484. description: 品类名称
  3485. type: string
  3486. type: object
  3487. models.Ermcp3ExposureDetail:
  3488. properties:
  3489. areauserid:
  3490. description: 机构ID
  3491. type: integer
  3492. changeQty:
  3493. description: 套保变动量
  3494. type: number
  3495. contracttype:
  3496. description: 现货合同类型 - 1:采购 -1:销售
  3497. type: integer
  3498. convertfactor:
  3499. description: 标仓系数
  3500. type: number
  3501. convertratio:
  3502. description: 套保系数
  3503. type: number
  3504. createtime:
  3505. description: 时间
  3506. type: string
  3507. deliverygoodscode:
  3508. description: 现货品种代码
  3509. type: string
  3510. deliverygoodsid:
  3511. description: 现货品种id
  3512. type: integer
  3513. deliverygoodsname:
  3514. description: 现货品种名称
  3515. type: string
  3516. enumdicname:
  3517. description: 现货商品单位名称
  3518. type: string
  3519. logtype:
  3520. description: 类型 - 1:套保计划 2:现货合同
  3521. type: integer
  3522. mgunitid:
  3523. description: 套保品种单位id
  3524. type: integer
  3525. mgunitidname:
  3526. description: 套保品种单位名称
  3527. type: string
  3528. middlegoodsId:
  3529. description: 套保商品id
  3530. type: integer
  3531. middlegoodscode:
  3532. description: 套保商品代码
  3533. type: string
  3534. middlegoodsname:
  3535. description: 套保商品名称
  3536. type: string
  3537. qty:
  3538. description: 数量
  3539. type: number
  3540. relateNo:
  3541. description: 现货合同/套保计划编号
  3542. type: string
  3543. type: object
  3544. models.Ermcp3ExposureHedgeplanDetail:
  3545. properties:
  3546. biztype:
  3547. description: 业务类型 1-套保 2-套利
  3548. type: integer
  3549. changqty:
  3550. description: 应套保总量变化量
  3551. type: number
  3552. contracttype:
  3553. description: 现货合同类型 - 1:采购 -1:销售
  3554. type: integer
  3555. convertratio:
  3556. description: 折算系数(套保品种)
  3557. type: number
  3558. deliverygoodsid:
  3559. description: 现货商品id
  3560. type: integer
  3561. diffqty:
  3562. description: 套保品种今变动量
  3563. type: number
  3564. enumdicname:
  3565. description: 单位名称(品类)
  3566. type: string
  3567. hedgeplanid:
  3568. description: 套保计划id
  3569. type: string
  3570. hedgeplanno:
  3571. description: 套保计划编号
  3572. type: string
  3573. mgunitidname:
  3574. description: 单位名称(套保商品)
  3575. type: string
  3576. middlegoodscode:
  3577. description: 套保品种代码
  3578. type: string
  3579. middlegoodsid:
  3580. description: 套保品种id
  3581. type: integer
  3582. middlegoodsname:
  3583. description: 套保品种名称
  3584. type: string
  3585. needarbitrageratio:
  3586. description: 应套利比例
  3587. type: number
  3588. needhedgeratio:
  3589. description: 应套保比例
  3590. type: number
  3591. pricedqty:
  3592. description: 已定价量
  3593. type: number
  3594. qty:
  3595. description: 合同量
  3596. type: number
  3597. tradedate:
  3598. description: 交易日(登记日)
  3599. type: string
  3600. unitid:
  3601. description: 品类单位id
  3602. type: integer
  3603. userid:
  3604. description: 机构id
  3605. type: integer
  3606. wrstandardcode:
  3607. description: 品类代码
  3608. type: string
  3609. wrstandardid:
  3610. description: 品类id
  3611. type: integer
  3612. wrstandardname:
  3613. description: 品类名称
  3614. type: string
  3615. type: object
  3616. models.Ermcp3ExpourseReport:
  3617. properties:
  3618. accountid:
  3619. description: 期货账户ID (作废, 默认为0)
  3620. type: integer
  3621. accountname:
  3622. description: 机构名称
  3623. type: string
  3624. arbitrageqty:
  3625. description: 套利量
  3626. type: number
  3627. areauserid:
  3628. description: 所属机构\交易用户ID
  3629. type: integer
  3630. buyfutureqty:
  3631. description: 买入期货数量
  3632. type: number
  3633. buyplanqty:
  3634. description: 采购计划数量
  3635. type: number
  3636. buypricedqty:
  3637. description: 采购合同已定价数量
  3638. type: number
  3639. cycletime:
  3640. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3641. type: string
  3642. cycletype:
  3643. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3644. type: integer
  3645. diffexposure:
  3646. description: 变动量(套保敞口)
  3647. type: number
  3648. difffutuqty:
  3649. description: 变动量(期货)
  3650. type: number
  3651. diffhedgeqty:
  3652. description: 变动量(现货应套保总量)
  3653. type: number
  3654. diffmgqtya:
  3655. description: 套保变动量
  3656. type: number
  3657. diffmgqtyb:
  3658. description: 套利变动量
  3659. type: number
  3660. diffqty:
  3661. description: 变动量(总敞口)
  3662. type: number
  3663. diffspotqty:
  3664. description: 变动量(现货)
  3665. type: number
  3666. enumdicname:
  3667. description: 单位名称
  3668. type: string
  3669. hedgeqty:
  3670. description: 套保量
  3671. type: number
  3672. mgneedhedgeratio:
  3673. description: 套保比例(套保品的)
  3674. type: number
  3675. middlegoodsid:
  3676. description: 套保品种ID
  3677. type: integer
  3678. middlegoodsnam:
  3679. description: 套保商品名称
  3680. type: string
  3681. middlgoodscode:
  3682. description: 套保商品代码
  3683. type: string
  3684. needarbitrageqty:
  3685. description: 应套利量
  3686. type: number
  3687. needarbitrageratio:
  3688. description: 套利比例(套保品的)
  3689. type: number
  3690. needhedgeexposoure:
  3691. description: 应套保敞口(套保敞口)
  3692. type: number
  3693. needhedgeqty:
  3694. description: 应套保量
  3695. type: number
  3696. needhedgeratio:
  3697. description: 应套保敞口比例
  3698. type: number
  3699. oriarbitrageqty:
  3700. description: 期初套利量
  3701. type: number
  3702. oribuyfutureqty:
  3703. description: 期初买入期货数量
  3704. type: number
  3705. oribuyplanqty:
  3706. description: 期初采购计划数量
  3707. type: number
  3708. oribuypricedqty:
  3709. description: 期初采购合同已定价数量
  3710. type: number
  3711. orihedgeqty:
  3712. description: 期初套保量
  3713. type: number
  3714. orineedarbitrageqty:
  3715. description: 期初应套利量
  3716. type: number
  3717. orineedhedgeexposoure:
  3718. description: 期初应套保敞口
  3719. type: number
  3720. orineedhedgeqty:
  3721. description: 期初应套保量
  3722. type: number
  3723. orisellfutureqty:
  3724. description: 期初卖出期货数量
  3725. type: number
  3726. orisellplanqty:
  3727. description: 期初销售计划数量
  3728. type: number
  3729. orisellpricedqty:
  3730. description: 期初销售合同已定价数量
  3731. type: number
  3732. oritotalexposure:
  3733. description: 期初实时总敞口
  3734. type: number
  3735. oritotalfutureqty:
  3736. description: 期初期货头寸总量
  3737. type: number
  3738. oritotalneedhedgeqty:
  3739. description: 期初应套保总量
  3740. type: number
  3741. oritotalspotqty:
  3742. description: 期初现货头寸总量
  3743. type: number
  3744. reckondate:
  3745. description: 日照时期(yyyyMMdd)
  3746. type: string
  3747. sellfutureqty:
  3748. description: 卖出期货数量
  3749. type: number
  3750. sellplanqty:
  3751. description: 销售计划数量
  3752. type: number
  3753. sellpricedqty:
  3754. description: 销售合同已定价数量
  3755. type: number
  3756. totalexposure:
  3757. description: 实时总敞口(总敞口)
  3758. type: number
  3759. totalfutureqty:
  3760. description: 期货头寸总量(期货总量)
  3761. type: number
  3762. totalhedgeratio:
  3763. description: 敞口比例
  3764. type: number
  3765. totalneedhedgeqty:
  3766. description: 应套保总量(现货应套保总量)
  3767. type: number
  3768. totalspotqty:
  3769. description: 现货头寸总量
  3770. type: number
  3771. unitid:
  3772. description: 单位id
  3773. type: integer
  3774. updatetime:
  3775. description: 更新时间
  3776. type: string
  3777. type: object
  3778. models.Ermcp3FinanceReport:
  3779. properties:
  3780. areauserid:
  3781. description: 所属机构\交易用户ID
  3782. type: integer
  3783. biztype:
  3784. description: 业务类型 - 1:套保 2:套利
  3785. type: integer
  3786. buypreinvoicedamount:
  3787. description: 采购预收票额(预收票额)
  3788. type: number
  3789. buyprepaidamount:
  3790. description: 采购预付款额(预付货款额)
  3791. type: number
  3792. buytodayinvoiceamount:
  3793. description: 采购今收票额(今收票额)
  3794. type: number
  3795. buytodayrefundamount:
  3796. description: 采购今收退款额(今收退款额)
  3797. type: number
  3798. buytodaysettleamount:
  3799. description: 采购今付款额(今付货款额)
  3800. type: number
  3801. buyuninvoicedamount:
  3802. description: 采购应收票额(应收票额)
  3803. type: number
  3804. buyunpaidamount:
  3805. description: 采购应付款额(应付货款额)
  3806. type: number
  3807. currencyid:
  3808. description: 结算币种ID
  3809. type: integer
  3810. currencyname:
  3811. description: 币种名称
  3812. type: string
  3813. cycletime:
  3814. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3815. type: string
  3816. cycletype:
  3817. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3818. type: integer
  3819. reckondate:
  3820. description: 日照时期(yyyyMMdd)
  3821. type: string
  3822. sellpreinvoicedamount:
  3823. description: 销售预开票额(预开票额)
  3824. type: number
  3825. sellprepaidamount:
  3826. description: 销售预收款额(预收货款额)
  3827. type: number
  3828. selltodayinvoiceamount:
  3829. description: 销售今开票额(今开票额)
  3830. type: number
  3831. selltodayrefundamount:
  3832. description: 销售今付退款额(今付退款额)
  3833. type: number
  3834. selltodaysettleamount:
  3835. description: 销售今收款额(今收货款额)
  3836. type: number
  3837. selluninvoicedamount:
  3838. description: 销售应开票额(应开票额)
  3839. type: number
  3840. sellunpaidamount:
  3841. description: 销售应收款额(应收货款额)
  3842. type: number
  3843. todaypaysum:
  3844. description: 今付款合计
  3845. type: number
  3846. todayreceivesum:
  3847. description: 今收款合计
  3848. type: number
  3849. updatetime:
  3850. description: 更新时间
  3851. type: string
  3852. type: object
  3853. models.Ermcp3Goods:
  3854. properties:
  3855. agreeunit:
  3856. description: 合约单位(合约乘数)
  3857. type: number
  3858. enumdicname:
  3859. description: 单位名称
  3860. type: string
  3861. exexchangecode:
  3862. description: 交易所代码
  3863. type: string
  3864. goodscode:
  3865. description: 期货商品代码
  3866. type: string
  3867. goodsid:
  3868. description: 期货商品id
  3869. type: integer
  3870. goodsname:
  3871. description: 期货商品名称
  3872. type: string
  3873. type: object
  3874. models.Ermcp3GoodsGroup:
  3875. properties:
  3876. agreeunit:
  3877. description: 合约单位
  3878. type: number
  3879. areauserid:
  3880. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  3881. type: integer
  3882. canshort:
  3883. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  3884. type: integer
  3885. closepricemode:
  3886. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  3887. type: integer
  3888. createtime:
  3889. description: 创建时间
  3890. type: string
  3891. creatorid:
  3892. description: 创建人
  3893. type: integer
  3894. currencyid:
  3895. description: 报价货币ID
  3896. type: integer
  3897. decimalplace:
  3898. description: 报价小数位
  3899. type: integer
  3900. enumdicname:
  3901. description: 单位名称
  3902. type: string
  3903. excludecfg:
  3904. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  3905. type: integer
  3906. exexchangeid:
  3907. description: 外部交易所ID[通道交易]
  3908. type: integer
  3909. goodsgroupid:
  3910. description: 商品组ID(自增ID)
  3911. type: integer
  3912. goodsgroupname:
  3913. description: 商品组名称
  3914. type: string
  3915. goodsgroupstatus:
  3916. description: 商品组状态 - 1:正常 2:注销
  3917. type: integer
  3918. goodunitid:
  3919. description: 报价单位ID
  3920. type: integer
  3921. groupcategroyid:
  3922. description: 品种分类ID
  3923. type: integer
  3924. innerdealmode:
  3925. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  3926. type: integer
  3927. marketid:
  3928. description: 所属市场ID
  3929. type: integer
  3930. modifierid:
  3931. description: 修改人
  3932. type: integer
  3933. modifytime:
  3934. description: 修改时间
  3935. type: string
  3936. outerdealmode:
  3937. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  3938. type: integer
  3939. outergroupcode:
  3940. description: 外部商品组代码[通道交易]
  3941. type: string
  3942. quoteminunit:
  3943. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3944. type: integer
  3945. quotesourcegroupid:
  3946. description: 所属行情源分组ID[参考行情市场用\通道交易]
  3947. type: integer
  3948. syncgoodsqty:
  3949. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  3950. type: integer
  3951. required:
  3952. - areauserid
  3953. type: object
  3954. models.Ermcp3GoodsGroupEx:
  3955. properties:
  3956. convertratio:
  3957. description: 折算系数(品种系数)
  3958. type: number
  3959. enumdicname:
  3960. description: 单位名称
  3961. type: string
  3962. exexchangecode:
  3963. description: 交易所代码
  3964. type: string
  3965. glist:
  3966. description: 合约列表
  3967. items:
  3968. $ref: '#/definitions/models.Ermcp3Goods'
  3969. type: array
  3970. goodsgroupid:
  3971. description: 商品组id
  3972. type: integer
  3973. goodsgroupname:
  3974. description: 商品组名称
  3975. type: string
  3976. goodsunitid:
  3977. description: 单位id
  3978. type: integer
  3979. middlegoodsid:
  3980. description: 套保商品id
  3981. type: integer
  3982. type: object
  3983. models.Ermcp3HedgePlan:
  3984. properties:
  3985. accountid:
  3986. description: 资金账号
  3987. type: integer
  3988. areauserid:
  3989. description: 用户ID
  3990. type: integer
  3991. audittime:
  3992. description: 审核时间
  3993. type: string
  3994. contracttype:
  3995. description: 计划类型 - 1:采购 -1:销售
  3996. type: integer
  3997. convertfactor:
  3998. description: 标仓系数
  3999. type: number
  4000. createtime:
  4001. description: 创建时间
  4002. type: string
  4003. currencyid:
  4004. description: 币种id
  4005. type: integer
  4006. currencyname:
  4007. description: 币种名称
  4008. type: string
  4009. deliverygoodscode:
  4010. description: 现货品种代码
  4011. type: string
  4012. deliverygoodsid:
  4013. description: 现货品种ID
  4014. type: integer
  4015. deliverygoodsname:
  4016. description: 现货品种名称
  4017. type: string
  4018. enumdicname:
  4019. description: 单位名称(现货商品)
  4020. type: string
  4021. hedgeplanid:
  4022. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  4023. type: string
  4024. hedgeplanno:
  4025. description: 套保计划编号(名称)
  4026. type: string
  4027. hedgeplanstatus:
  4028. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4029. type: integer
  4030. planqty:
  4031. description: 计划数量
  4032. type: number
  4033. plantime:
  4034. description: 计划时间
  4035. type: string
  4036. producttype:
  4037. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4038. type: integer
  4039. remark:
  4040. description: 备注
  4041. type: string
  4042. spotgoodsdesc:
  4043. description: 商品型号
  4044. type: string
  4045. taaccountname:
  4046. description: 资金账号名称
  4047. type: string
  4048. tradeuserid:
  4049. description: 交易用户id
  4050. type: integer
  4051. tradeusername:
  4052. description: 交易用户名称
  4053. type: string
  4054. unitid:
  4055. description: 单位id(现货商品)
  4056. type: integer
  4057. updatetime:
  4058. description: 更新时间
  4059. type: string
  4060. wrstandardcode:
  4061. description: 品类代码
  4062. type: string
  4063. wrstandardid:
  4064. description: 品类id
  4065. type: integer
  4066. wrstandardname:
  4067. description: 品类名称
  4068. type: string
  4069. wrunitid:
  4070. description: 品类单位id
  4071. type: integer
  4072. wrunitidame:
  4073. description: 品类单位名称
  4074. type: string
  4075. type: object
  4076. models.Ermcp3MiddleGoodsDetail2:
  4077. properties:
  4078. convertratio:
  4079. description: 套保系数(折算系数)
  4080. type: number
  4081. gplist:
  4082. description: 关联商品组列表
  4083. items:
  4084. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4085. type: array
  4086. mg:
  4087. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4088. description: 套保商品信息
  4089. type: object
  4090. type: object
  4091. models.Ermcp3MiddleGoodsDetailEx:
  4092. properties:
  4093. dglist:
  4094. description: 关联的现货品种列表
  4095. items:
  4096. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  4097. type: array
  4098. gplist:
  4099. description: 关联商品组列表
  4100. items:
  4101. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4102. type: array
  4103. mg:
  4104. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4105. description: 套保商品信息
  4106. type: object
  4107. type: object
  4108. models.Ermcp3SellBuyContract:
  4109. properties:
  4110. accountid:
  4111. description: 期货账户id
  4112. type: string
  4113. accountname:
  4114. description: 账户名称
  4115. type: string
  4116. attachment:
  4117. description: 附件
  4118. type: string
  4119. audittime:
  4120. description: 审核时间
  4121. type: string
  4122. biztype:
  4123. description: 业务类型 1-套保 2-套利
  4124. type: integer
  4125. brandname:
  4126. description: 品牌名称
  4127. type: string
  4128. contracctstatus:
  4129. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4130. type: integer
  4131. contractmargin:
  4132. description: 合同保证金
  4133. type: number
  4134. contractno:
  4135. description: 合同编号
  4136. type: string
  4137. contracttype:
  4138. description: 合同类型 1-采购, -1-销售
  4139. type: integer
  4140. convertfactor:
  4141. description: 标仓系数(品类)
  4142. type: number
  4143. createtime:
  4144. description: 创建时间
  4145. type: string
  4146. currencyid:
  4147. description: 币种id
  4148. type: integer
  4149. currencyname:
  4150. description: 币种名称
  4151. type: string
  4152. daikaiamount:
  4153. description: 应收(开)票额
  4154. type: number
  4155. deliveryenddate:
  4156. description: 交割结束日
  4157. type: string
  4158. deliverygoodscode:
  4159. description: 现货品种代码
  4160. type: string
  4161. deliverygoodsid:
  4162. description: 现货商品ID
  4163. type: integer
  4164. deliverygoodsname:
  4165. description: 现货品种名称
  4166. type: string
  4167. deliverystartdate:
  4168. description: 交割开始日
  4169. type: string
  4170. enddate:
  4171. description: 点价结束日
  4172. type: string
  4173. enumdicname:
  4174. description: 单位名称
  4175. type: string
  4176. goodscode:
  4177. description: 点价商品代码
  4178. type: string
  4179. goodsid:
  4180. description: 点价商品ID
  4181. type: integer
  4182. goodsname:
  4183. description: 点价商品名称
  4184. type: string
  4185. invoiceamount:
  4186. description: 已开票额
  4187. type: number
  4188. loanamount:
  4189. description: 贷款总额=已定价额+调整金额
  4190. type: number
  4191. margin:
  4192. description: 保证金
  4193. type: number
  4194. meruserid:
  4195. description: 跟单员id
  4196. type: integer
  4197. meruserlogincode:
  4198. description: 跟单员登录代码
  4199. type: string
  4200. nickname:
  4201. description: 账户昵称
  4202. type: string
  4203. payamount:
  4204. description: 已收付额(收款或付款)
  4205. type: number
  4206. preinvoiceamount:
  4207. description: 预收(开)票额
  4208. type: number
  4209. prepayamount:
  4210. description: 预收付额
  4211. type: number
  4212. price:
  4213. description: 价格
  4214. type: number
  4215. pricedamount:
  4216. description: 已定价额
  4217. type: number
  4218. pricedavg:
  4219. description: 已点均价
  4220. type: number
  4221. pricedqty:
  4222. description: 已定价量
  4223. type: number
  4224. pricemove:
  4225. description: 升贴水
  4226. type: number
  4227. pricetype:
  4228. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4229. type: integer
  4230. producttype:
  4231. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4232. type: integer
  4233. qty:
  4234. description: 合同量
  4235. type: number
  4236. reckonadjustamount:
  4237. description: 调整金额
  4238. type: number
  4239. reckonedamount:
  4240. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  4241. type: number
  4242. reckonotheramount:
  4243. description: 其它费用
  4244. type: number
  4245. reckonrealqty:
  4246. description: 已确定量
  4247. type: number
  4248. remark:
  4249. description: 备注
  4250. type: string
  4251. saleuserid:
  4252. description: 业务员id
  4253. type: integer
  4254. saleuserlogincode:
  4255. description: 业务员登录代码
  4256. type: string
  4257. spotcontractid:
  4258. description: 合同ID
  4259. type: string
  4260. spotgoodsbrandid:
  4261. description: 现货品牌ID(DGFactoryItem表的ID)
  4262. type: integer
  4263. spotgoodsdesc:
  4264. description: 商品型号(商品规格)
  4265. type: string
  4266. startdate:
  4267. description: 点价开始日
  4268. type: string
  4269. totalamount:
  4270. description: 合计总额
  4271. type: number
  4272. tradeuserid:
  4273. description: 交易员id
  4274. type: integer
  4275. tradeuserlogincode:
  4276. description: 交易员登录代码
  4277. type: string
  4278. tradeusername:
  4279. description: 交易员名称
  4280. type: string
  4281. unpayamount:
  4282. description: 应收付款额(应支付或应收款)
  4283. type: number
  4284. unpricedqty:
  4285. description: 未定价量
  4286. type: number
  4287. unsureqty:
  4288. description: 未确定量
  4289. type: number
  4290. userid:
  4291. description: 机构ID
  4292. type: integer
  4293. wrstandardcode:
  4294. description: 品类代码
  4295. type: string
  4296. wrstandardid:
  4297. description: 品类ID
  4298. type: integer
  4299. wrstandardname:
  4300. description: 品类名称
  4301. type: string
  4302. type: object
  4303. models.Ermcp3SpotGoodsPrice:
  4304. properties:
  4305. areauserid:
  4306. description: 所属机构id
  4307. type: integer
  4308. brandname:
  4309. description: 品牌名称
  4310. type: string
  4311. currencyid:
  4312. description: 报价货币ID
  4313. type: integer
  4314. currencyname:
  4315. description: 币种名称
  4316. type: string
  4317. deliverygoodscode:
  4318. description: 现货商品代码
  4319. type: string
  4320. deliverygoodsid:
  4321. description: 现货商品id
  4322. type: integer
  4323. deliverygoodsname:
  4324. description: 现货商品名称
  4325. type: string
  4326. enumdicname:
  4327. description: 现货商品单位名称
  4328. type: string
  4329. gbenumdicname:
  4330. description: 品类单位名称
  4331. type: string
  4332. gmunitid:
  4333. description: 品类单位id
  4334. type: integer
  4335. isvalid:
  4336. description: 是否有效 - 0:无效 1:有效
  4337. type: integer
  4338. operateid:
  4339. description: 最后操作人
  4340. type: integer
  4341. operatesrc:
  4342. description: 最后操作来源 - 1:管理端 2:终端
  4343. type: integer
  4344. operatetime:
  4345. description: 最后操作时间
  4346. type: string
  4347. operatorname:
  4348. description: 操作人名称
  4349. type: string
  4350. spotgoodsbrandid:
  4351. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  4352. type: integer
  4353. spotgoodsprice:
  4354. description: 现货价格
  4355. type: number
  4356. tradedate:
  4357. description: 交易日(yyyyMMdd)
  4358. type: string
  4359. unitid:
  4360. description: 现货商品单位id
  4361. type: integer
  4362. wrstandardcode:
  4363. description: 品类代码
  4364. type: string
  4365. wrstandardid:
  4366. description: 现货品类ID(通用则为0)
  4367. type: integer
  4368. wrstandardname:
  4369. description: 品类名称
  4370. type: string
  4371. type: object
  4372. models.Ermcp3SpotGoodsPriceLog:
  4373. properties:
  4374. areauserid:
  4375. description: 所属机构id
  4376. type: integer
  4377. brandname:
  4378. description: 品牌名称
  4379. type: string
  4380. currencyid:
  4381. description: 报价货币ID
  4382. type: integer
  4383. deliverygoodscode:
  4384. description: 现货商品代码
  4385. type: string
  4386. deliverygoodsid:
  4387. description: 现货商品id
  4388. type: integer
  4389. deliverygoodsname:
  4390. description: 现货商品名称
  4391. type: string
  4392. enumdicname:
  4393. description: 现货商品单位名称
  4394. type: string
  4395. gbenumdicname:
  4396. description: 品类单位名称
  4397. type: string
  4398. gmunitid:
  4399. description: 品类单位id
  4400. type: integer
  4401. logid:
  4402. description: 日志id
  4403. type: integer
  4404. operateid:
  4405. description: 最后操作人
  4406. type: integer
  4407. operatesrc:
  4408. description: 最后操作来源 - 1:管理端 2:终端
  4409. type: integer
  4410. operatetime:
  4411. description: 最后操作时间
  4412. type: string
  4413. operatorname:
  4414. description: 操作人名称
  4415. type: string
  4416. spotgoodsbrandid:
  4417. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  4418. type: integer
  4419. spotgoodsprice:
  4420. description: 现货价格
  4421. type: number
  4422. tradedate:
  4423. description: 交易日(yyyyMMdd)
  4424. type: string
  4425. unitid:
  4426. description: 现货商品单位id
  4427. type: integer
  4428. wrstandardcode:
  4429. description: 品类代码
  4430. type: string
  4431. wrstandardid:
  4432. description: 现货品类ID(通用则为0)
  4433. type: integer
  4434. wrstandardname:
  4435. description: 品类名称
  4436. type: string
  4437. type: object
  4438. models.Ermcp3Wrstandard:
  4439. properties:
  4440. areauserid:
  4441. description: 所属机构
  4442. type: integer
  4443. convertfactor:
  4444. description: 标仓系数
  4445. type: number
  4446. createtime:
  4447. description: 创建时间
  4448. type: string
  4449. creatorid:
  4450. description: 创建人
  4451. type: integer
  4452. deliverygoodsid:
  4453. description: 现货品种ID
  4454. type: integer
  4455. enumdicname:
  4456. description: 品类单位名称
  4457. type: string
  4458. isvalid:
  4459. description: 是否有效 0-无效(停用) 1-有效(正常)
  4460. type: integer
  4461. minivalue:
  4462. description: 最小变动值
  4463. type: integer
  4464. minivaluedp:
  4465. description: 最小变动值小数位
  4466. type: integer
  4467. realminivalue:
  4468. description: 实际最小变动值
  4469. type: integer
  4470. realminivaluedp:
  4471. description: 实际最小变动值小数位
  4472. type: integer
  4473. remark:
  4474. description: 备注
  4475. type: string
  4476. unitid:
  4477. description: 品类单位ID
  4478. type: integer
  4479. updatetime:
  4480. description: 更新时间
  4481. type: string
  4482. wrstandardcode:
  4483. description: 品类代码
  4484. type: string
  4485. wrstandardid:
  4486. description: 品类ID(SEQ_WRSTANDARD)
  4487. type: integer
  4488. wrstandardname:
  4489. description: 品类名称
  4490. type: string
  4491. type: object
  4492. models.ErmcpAreaSpotDetailModel:
  4493. properties:
  4494. contracttype:
  4495. description: 合同类型 1-采购 -1-销售
  4496. type: integer
  4497. createtime:
  4498. description: 创建时间
  4499. type: string
  4500. enumdicname:
  4501. description: 现货商品单位名称
  4502. type: string
  4503. logtype:
  4504. description: 记录类型 1-套保 2-现货合同
  4505. type: integer
  4506. qty:
  4507. description: 数量
  4508. type: number
  4509. recordname:
  4510. description: 类型名称
  4511. type: string
  4512. relatedid:
  4513. description: 套保计划ID/现货合同ID
  4514. type: string
  4515. relatedno:
  4516. description: 编号
  4517. type: string
  4518. strtime:
  4519. description: 时间
  4520. type: string
  4521. wrstandardcode:
  4522. description: 现货商品代码
  4523. type: string
  4524. wrstandardname:
  4525. description: 现货商品名称
  4526. type: string
  4527. type: object
  4528. models.ErmcpAvalidGoodsGroupModel:
  4529. properties:
  4530. goodsgroupid:
  4531. description: 期货品种id
  4532. type: integer
  4533. goodsgroupname:
  4534. description: 期货品种名称
  4535. type: string
  4536. goodunitid:
  4537. description: 品种单位id
  4538. type: integer
  4539. goodunitname:
  4540. description: 品种单位名称
  4541. type: string
  4542. outergroupcode:
  4543. description: 期货品种代码
  4544. type: string
  4545. type: object
  4546. models.ErmcpBizGroupEx:
  4547. properties:
  4548. acclist:
  4549. description: 账号列表
  4550. items:
  4551. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  4552. type: array
  4553. bizgroupid:
  4554. description: 业务分组id
  4555. type: integer
  4556. biztype:
  4557. description: 业务类型 1-套保 2-套利
  4558. type: integer
  4559. wrlist:
  4560. description: 现货商品表
  4561. items:
  4562. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  4563. type: array
  4564. type: object
  4565. models.ErmcpBizGroupSpotGoods:
  4566. properties:
  4567. areauserid:
  4568. description: 所属机构id
  4569. type: integer
  4570. bizgroupid:
  4571. description: 分组id
  4572. type: integer
  4573. biztype:
  4574. description: 业务类型 1-套保 2-套利
  4575. type: integer
  4576. deliverygoodscode:
  4577. description: 现货商品代码
  4578. type: string
  4579. deliverygoodsid:
  4580. description: 现货商品id
  4581. type: integer
  4582. deliverygoodsname:
  4583. description: 现货商品名称
  4584. type: string
  4585. unitid:
  4586. description: 现货商品单位id
  4587. type: integer
  4588. type: object
  4589. models.ErmcpBizGroupTaAccount:
  4590. properties:
  4591. accountid:
  4592. description: 账号id
  4593. type: integer
  4594. accountname:
  4595. description: 账号名称
  4596. type: string
  4597. areauserid:
  4598. description: 所属机构id
  4599. type: integer
  4600. bizgroupid:
  4601. description: 业务分组id
  4602. type: integer
  4603. ismain:
  4604. description: 是否主账号 1-是 0-否
  4605. type: integer
  4606. type: object
  4607. models.ErmcpDGFactoryItem:
  4608. properties:
  4609. areauserid:
  4610. description: 用户id
  4611. type: integer
  4612. deliverygoodsid:
  4613. description: 现货品种ID
  4614. type: integer
  4615. dgfactoryitemid:
  4616. description: 选择项ID(SEQ_DGFACTORYITEM)
  4617. type: integer
  4618. dgfactoryitemtypeid:
  4619. description: 要素项类型
  4620. type: integer
  4621. dgfactoryitemvalue:
  4622. description: 要素项值(类型为仓库时填写仓库名称)
  4623. type: string
  4624. isvalid:
  4625. description: 是否有效 - 0:无效 1:有效
  4626. type: integer
  4627. orderindex:
  4628. description: 顺序
  4629. type: integer
  4630. warehouseid:
  4631. description: 仓库ID(类型为仓库时填写)
  4632. type: integer
  4633. type: object
  4634. models.ErmcpDeliveryGoods:
  4635. properties:
  4636. agreeunit:
  4637. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  4638. type: integer
  4639. areauserid:
  4640. description: 所属机构
  4641. type: integer
  4642. auditflag:
  4643. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  4644. type: integer
  4645. categoryid:
  4646. description: 类别ID(SEQ_WRCATEGORY)
  4647. type: integer
  4648. deliverygoodscode:
  4649. description: 现货品种代码
  4650. type: string
  4651. deliverygoodsid:
  4652. description: 现货品种ID(SEQ_DELIVERYGOODS)
  4653. type: integer
  4654. deliverygoodsname:
  4655. description: 现货品种名称
  4656. type: string
  4657. deliverygoodstype:
  4658. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  4659. type: integer
  4660. dgstatus:
  4661. description: 品种状态 - 作废 - 0:未激活 1:正常
  4662. type: integer
  4663. enumdicname:
  4664. description: 现货品种单位名称
  4665. type: string
  4666. goodsunitid:
  4667. description: 现货品种单位ID
  4668. type: integer
  4669. isvalid:
  4670. description: 是否有效 - 0:无效 1:有效
  4671. type: integer
  4672. qtydecimalplace:
  4673. description: 成交量小数位
  4674. type: integer
  4675. remark:
  4676. description: 备注
  4677. type: string
  4678. standardqty:
  4679. description: 标准数量(库位数量) [标准品特有]
  4680. type: integer
  4681. standardqtyrange:
  4682. description: 标准数量偏差范围 [标准品特有]
  4683. type: integer
  4684. type: object
  4685. models.ErmcpDeliveryGoodsDetail2:
  4686. properties:
  4687. convertratio:
  4688. description: 套保系数(折算系数)
  4689. type: number
  4690. data:
  4691. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  4692. description: 现货商品基本信息(交割品种)
  4693. type: object
  4694. gblist:
  4695. description: 品牌列表
  4696. items:
  4697. $ref: '#/definitions/models.Ermcp3Brand'
  4698. type: array
  4699. gmlist:
  4700. description: 品类列表(仓单标准)
  4701. items:
  4702. $ref: '#/definitions/models.Ermcp3Wrstandard'
  4703. type: array
  4704. type: object
  4705. models.ErmcpDeliveryGoodsDetailEx:
  4706. properties:
  4707. data:
  4708. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  4709. description: 现货商品基本信息(交割品种)
  4710. type: object
  4711. gblist:
  4712. description: 品牌列表
  4713. items:
  4714. $ref: '#/definitions/models.Ermcp3Brand'
  4715. type: array
  4716. gmlist:
  4717. description: 品类列表(仓单标准)
  4718. items:
  4719. $ref: '#/definitions/models.Ermcp3Wrstandard'
  4720. type: array
  4721. mgList:
  4722. description: 套保列表
  4723. items:
  4724. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  4725. type: array
  4726. type: object
  4727. models.ErmcpExposureDetailModel:
  4728. properties:
  4729. areauserid:
  4730. description: 机构ID
  4731. type: integer
  4732. changeQty:
  4733. description: 套保变动量
  4734. type: number
  4735. contracttype:
  4736. description: 现货合同类型 - 1:采购 -1:销售
  4737. type: integer
  4738. convertfactor:
  4739. description: 标仓系数
  4740. type: number
  4741. convertratio:
  4742. description: 套保系数
  4743. type: number
  4744. createtime:
  4745. description: 时间
  4746. type: string
  4747. enumdicname:
  4748. description: 现货商品单位名称
  4749. type: string
  4750. logtype:
  4751. description: 类型 - 1:套保计划 2:现货合同
  4752. type: integer
  4753. middlegoodsId:
  4754. description: 套保商品id
  4755. type: integer
  4756. middlegoodscode:
  4757. description: 套保商品代码
  4758. type: string
  4759. middlegoodsname:
  4760. description: 套保商品名称
  4761. type: string
  4762. qty:
  4763. description: 数量
  4764. type: number
  4765. relateNo:
  4766. description: 现货合同/套保计划编号
  4767. type: string
  4768. wrstandardcode:
  4769. description: 现货商品代码
  4770. type: string
  4771. wrstandardid:
  4772. description: 现货商品ID
  4773. type: integer
  4774. wrstandardname:
  4775. description: 现货商品名称
  4776. type: string
  4777. type: object
  4778. models.ErmcpExposurePostion:
  4779. properties:
  4780. agreeunit:
  4781. description: 合约单位
  4782. type: string
  4783. areauserid:
  4784. description: 所属机构id
  4785. type: integer
  4786. convertratio:
  4787. description: 期货品种系数(折算系数)
  4788. type: number
  4789. curqty:
  4790. description: 当前持仓
  4791. type: integer
  4792. diffhedgeqty:
  4793. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  4794. type: number
  4795. diffqty:
  4796. description: 持仓变动量=当前持仓-昨日持仓
  4797. type: integer
  4798. goodscode:
  4799. description: 商品代码
  4800. type: string
  4801. goodsid:
  4802. description: 商品id
  4803. type: integer
  4804. goodsname:
  4805. description: 商品名称
  4806. type: string
  4807. middlegoodsid:
  4808. description: 套保商品id
  4809. type: integer
  4810. ydqty:
  4811. description: 昨日持仓
  4812. type: integer
  4813. type: object
  4814. models.ErmcpFuturesCompany:
  4815. properties:
  4816. brokerid:
  4817. description: 经纪公司代码
  4818. type: string
  4819. channeladdress:
  4820. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  4821. type: string
  4822. channelid:
  4823. description: 对冲渠道ID
  4824. type: string
  4825. createtime:
  4826. description: 创建时间
  4827. type: string
  4828. creatorid:
  4829. description: 创建人
  4830. type: string
  4831. fcid:
  4832. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  4833. type: integer
  4834. fcname:
  4835. description: 期货公司名称
  4836. type: string
  4837. isvalid:
  4838. description: 是否有效 - 0:无效 1:有效
  4839. type: integer
  4840. mhpaddress:
  4841. description: MHP服务地址(IP:Port)
  4842. type: string
  4843. riskrulegroupid:
  4844. description: 风控规则组ID
  4845. type: string
  4846. tradefeetmpid:
  4847. description: 手续费模板ID[TradeConfigTmpType为2]
  4848. type: string
  4849. trademargintmpid:
  4850. description: 保证金模板ID [TradeConfigTmpType为1]
  4851. type: string
  4852. traderatetmpid:
  4853. description: 汇率模板ID[TradeConfigTmpType为3]
  4854. type: string
  4855. updatetime:
  4856. description: 更新时间
  4857. type: string
  4858. updatorid:
  4859. description: 更新人
  4860. type: string
  4861. type: object
  4862. models.ErmcpGGConvertCfg:
  4863. properties:
  4864. convertratio:
  4865. description: 折算系数
  4866. type: number
  4867. destgoodsgroupid:
  4868. description: 目标品种ID
  4869. type: integer
  4870. dstcode:
  4871. description: 目录品种代码
  4872. type: string
  4873. dstexchangecode:
  4874. description: 目标期货交易所
  4875. type: string
  4876. dstname:
  4877. description: 目标品种名称
  4878. type: string
  4879. dstunitid:
  4880. description: 目标品种单位ID
  4881. type: integer
  4882. dstunitidname:
  4883. description: 目标品种单位名称
  4884. type: string
  4885. modifytime:
  4886. description: 修改时间
  4887. type: string
  4888. srccode:
  4889. description: 源品种代码
  4890. type: string
  4891. srcexchangecode:
  4892. description: 源期货交易所
  4893. type: string
  4894. srcgoodsgroupid:
  4895. description: 源品种ID
  4896. type: integer
  4897. srcname:
  4898. description: 源品种名称
  4899. type: string
  4900. srcunitid:
  4901. description: 源品种单位ID
  4902. type: integer
  4903. srcunitidname:
  4904. description: 源品种单位名称
  4905. type: string
  4906. type: object
  4907. models.ErmcpGoodsBrand:
  4908. properties:
  4909. areauserid:
  4910. description: 所属机构
  4911. type: integer
  4912. brandid:
  4913. description: BrandID(SEQ_SPOTGOODSBRAND)
  4914. type: integer
  4915. brandname:
  4916. description: 品牌名称
  4917. type: string
  4918. createtime:
  4919. description: 创建时间
  4920. type: string
  4921. creatorid:
  4922. description: 创建人
  4923. type: integer
  4924. creatorsrc:
  4925. description: 创建人来源 - 1:管理端 2:终端
  4926. type: integer
  4927. deliverygoodsid:
  4928. description: 现货品种ID
  4929. type: integer
  4930. isvalid:
  4931. description: 是否有效 - 0:无效 1:有效
  4932. type: integer
  4933. updatetime:
  4934. description: 更新时间
  4935. type: string
  4936. updatorid:
  4937. description: 更新人
  4938. type: integer
  4939. updatorsrc:
  4940. description: 更新人来源 - 1:管理端 2:终端
  4941. type: integer
  4942. wrstandardid:
  4943. description: 现货商品ID
  4944. type: integer
  4945. type: object
  4946. models.ErmcpGoodsModel:
  4947. properties:
  4948. areauserid:
  4949. description: 所属机构
  4950. type: integer
  4951. convertfactor:
  4952. description: 标仓系数
  4953. type: number
  4954. createtime:
  4955. description: 创建时间
  4956. type: string
  4957. creatorid:
  4958. description: 创建人
  4959. type: integer
  4960. creatorsrc:
  4961. description: 创建人来源 - 1:管理端 2:终端
  4962. type: integer
  4963. deliverygoodsid:
  4964. description: 现货品种ID
  4965. type: integer
  4966. isvalid:
  4967. description: 是否有效 - 0:无效 1:有效
  4968. type: integer
  4969. modelid:
  4970. description: ModelID(SEQ_SPOTGOODSMODEL)
  4971. type: integer
  4972. modelname:
  4973. description: 型号名称
  4974. type: string
  4975. updatetime:
  4976. description: 更新时间
  4977. type: string
  4978. updatorid:
  4979. description: 更新人
  4980. type: integer
  4981. updatorsrc:
  4982. description: 更新人来源 - 1:管理端 2:终端
  4983. type: integer
  4984. wrstandardid:
  4985. description: 现货商品ID
  4986. type: integer
  4987. type: object
  4988. models.ErmcpHedgePosition:
  4989. properties:
  4990. accountid:
  4991. description: 资金账号[外部母账户]
  4992. type: integer
  4993. curbuyposition:
  4994. description: 期末买头寸
  4995. type: integer
  4996. cursellposition:
  4997. description: 期末卖头寸
  4998. type: integer
  4999. curtdbuyposition:
  5000. description: 期末今日买头寸
  5001. type: integer
  5002. curtdsellposition:
  5003. description: 期末今日卖头寸
  5004. type: integer
  5005. curydbuyposition:
  5006. description: 期末上日买头寸
  5007. type: integer
  5008. curydsellposition:
  5009. description: 期末上日卖头寸
  5010. type: integer
  5011. decreaseqty:
  5012. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  5013. type: integer
  5014. fretdbuyposition:
  5015. description: 冻结今日买头寸
  5016. type: integer
  5017. fretdsellposition:
  5018. description: 冻结今日卖头寸
  5019. type: integer
  5020. freydbuyposition:
  5021. description: 冻结上日买头寸
  5022. type: integer
  5023. freydsellposition:
  5024. description: 冻结上日卖头寸
  5025. type: integer
  5026. goodscode:
  5027. description: 商品代码
  5028. type: string
  5029. goodsid:
  5030. description: 商品id
  5031. type: integer
  5032. goodsname:
  5033. description: 商品名称
  5034. type: string
  5035. hedgeaccountcode:
  5036. description: 对冲账号
  5037. type: string
  5038. hedgegoodsid:
  5039. description: 对冲合约ID
  5040. type: integer
  5041. increaseqty:
  5042. description: 增加数量 = 期末买头寸 - 期初买头寸
  5043. type: integer
  5044. marketid:
  5045. description: 市场ID
  5046. type: integer
  5047. relateduserid:
  5048. description: 关联用户id
  5049. type: integer
  5050. totalcurqty:
  5051. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  5052. type: integer
  5053. totalydqty:
  5054. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  5055. type: integer
  5056. tradedate:
  5057. description: 交易日(yyyyMMdd)
  5058. type: string
  5059. ydbuyposition:
  5060. description: 期初买头寸
  5061. type: integer
  5062. ydsellposition:
  5063. description: 期初卖头寸
  5064. type: integer
  5065. type: object
  5066. models.ErmcpHedgePositionDetail:
  5067. properties:
  5068. buyorsell:
  5069. description: 买卖方向 0-买 1-卖
  5070. type: integer
  5071. channelbuildtype:
  5072. description: 开平方向 1-建仓 2-平仓
  5073. type: integer
  5074. goodscode:
  5075. description: 商品代码
  5076. type: string
  5077. goodsname:
  5078. description: 商品名称
  5079. type: string
  5080. hedgegoodsid:
  5081. description: 商品id
  5082. type: integer
  5083. tradeqty:
  5084. description: 数量(成交数量)
  5085. type: integer
  5086. tradetime:
  5087. description: 时间(成交时间)
  5088. type: string
  5089. type: object
  5090. models.ErmcpHisExposure:
  5091. properties:
  5092. needhedgeexposoure:
  5093. description: 应套保敞口
  5094. type: number
  5095. reckondate:
  5096. description: 日照时期(yyyyMMdd)
  5097. type: string
  5098. totalexposure:
  5099. description: 总敞口
  5100. type: number
  5101. type: object
  5102. models.ErmcpHisExposureS:
  5103. properties:
  5104. data:
  5105. description: 历史敞口
  5106. items:
  5107. $ref: '#/definitions/models.ErmcpHisExposure'
  5108. type: array
  5109. enumdicname:
  5110. description: 单位名称
  5111. type: string
  5112. middlegoodscode:
  5113. description: 套保品种代码
  5114. type: string
  5115. middlegoodsid:
  5116. description: 套保品种ID
  5117. type: integer
  5118. middlegoodsname:
  5119. description: 套保品种名称
  5120. type: string
  5121. type: object
  5122. models.ErmcpLoginTaAccount:
  5123. properties:
  5124. accountid:
  5125. description: 账号id
  5126. type: integer
  5127. accountname:
  5128. description: 账号名称
  5129. type: string
  5130. type: object
  5131. models.ErmcpLoginUser:
  5132. properties:
  5133. acclist:
  5134. description: 关联资金账号
  5135. items:
  5136. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  5137. type: array
  5138. accountname:
  5139. description: 用户名称
  5140. type: string
  5141. clientroleid:
  5142. description: 角色id(usertype=2)
  5143. type: integer
  5144. createtime:
  5145. description: 创建时间
  5146. type: string
  5147. logincode:
  5148. description: 登录代码
  5149. type: string
  5150. loginid:
  5151. description: 登录id(LOGINID)
  5152. type: integer
  5153. loginname:
  5154. description: 登录名称(loginaccount表中的accountname字段)
  5155. type: string
  5156. loginstatus:
  5157. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  5158. type: integer
  5159. memberuserid:
  5160. description: 所属会员id
  5161. type: integer
  5162. mobile:
  5163. description: 手机号
  5164. type: string
  5165. modifytime:
  5166. description: 修改时间
  5167. type: string
  5168. password:
  5169. description: 密码(不可解密)
  5170. type: string
  5171. rolename:
  5172. description: 角色名称
  5173. type: string
  5174. rolestatus:
  5175. description: 角色状态 1-启用 2-停用
  5176. type: integer
  5177. roletype:
  5178. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  5179. type: string
  5180. userid:
  5181. description: 用户id
  5182. type: integer
  5183. usertype:
  5184. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  5185. type: integer
  5186. type: object
  5187. models.ErmcpLoginUserEx:
  5188. properties:
  5189. accountstatus:
  5190. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  5191. type: integer
  5192. mobile:
  5193. description: 手机号
  5194. type: string
  5195. querytype:
  5196. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  5197. type: integer
  5198. roleid:
  5199. description: 角色id(交易账户->用户id)
  5200. type: integer
  5201. rolename:
  5202. description: 角色名称(交易账户->用户名称)
  5203. type: string
  5204. userlist:
  5205. description: 用户列表
  5206. items:
  5207. $ref: '#/definitions/models.ErmcpLoginUser'
  5208. type: array
  5209. usertype:
  5210. description: 用户类型 2-机构 7-企业成员(云平台)
  5211. type: integer
  5212. type: object
  5213. models.ErmcpMiddleGoodsChangeLog:
  5214. properties:
  5215. aftervalue:
  5216. description: 变更后
  5217. type: number
  5218. applyid:
  5219. description: 操作人
  5220. type: integer
  5221. applyname:
  5222. description: 操作人名称
  5223. type: string
  5224. applysrc:
  5225. description: 操作来源 - 1:管理端 2:终端
  5226. type: integer
  5227. beforevalue:
  5228. description: 变更前
  5229. type: number
  5230. changelogtype:
  5231. description: 变更流水类型 - 1:套保比率变更
  5232. type: integer
  5233. handlestatus:
  5234. description: 处理状态
  5235. type: integer
  5236. logdatetime:
  5237. description: 流水日期
  5238. type: string
  5239. logid:
  5240. description: 流水ID
  5241. type: integer
  5242. logremark:
  5243. description: 流水备注
  5244. type: string
  5245. middlegoodsid:
  5246. description: 套保品种ID
  5247. type: integer
  5248. tradedate:
  5249. description: 交易日(yyyyMMdd)
  5250. type: string
  5251. updatetime:
  5252. description: 更新时间
  5253. type: string
  5254. type: object
  5255. models.ErmcpMiddleGoodsDetail:
  5256. properties:
  5257. cvList:
  5258. description: 期货品种折算列表
  5259. items:
  5260. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  5261. type: array
  5262. mg:
  5263. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  5264. description: 套保品种基本信息
  5265. type: object
  5266. wrcList:
  5267. description: 现货品种列表(现货商品折算配置)
  5268. items:
  5269. $ref: '#/definitions/models.WRSConverTDetail'
  5270. type: array
  5271. type: object
  5272. models.ErmcpMiddleGoodsModel:
  5273. properties:
  5274. areauserid:
  5275. description: 机构用户ID
  5276. type: integer
  5277. createtime:
  5278. description: 修改时间
  5279. type: string
  5280. enumdicname:
  5281. description: 单位名称
  5282. type: string
  5283. evaluateratio:
  5284. description: 估价系数
  5285. type: number
  5286. goodsgroupid:
  5287. description: 关联期货品种ID
  5288. type: integer
  5289. goodsunitid:
  5290. description: 单位ID
  5291. type: integer
  5292. isvalid:
  5293. description: 状态 0-无效(停用) 1-有效(正常)
  5294. type: integer
  5295. middlegoodscode:
  5296. description: 套保品种代码
  5297. type: string
  5298. middlegoodsid:
  5299. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5300. type: integer
  5301. middlegoodsname:
  5302. description: 套保品种名称
  5303. type: string
  5304. modifytime:
  5305. description: 修改时间
  5306. type: string
  5307. needhedgeratio:
  5308. description: 套保比率
  5309. type: number
  5310. qtydecimalplace:
  5311. description: 数量小数位
  5312. type: integer
  5313. relatedgoodsid:
  5314. description: 关联交易商品ID
  5315. type: integer
  5316. relatedgoodstype:
  5317. description: 关联商品类型 - 1:期货合约 2:现货品种
  5318. type: integer
  5319. remark:
  5320. description: 备注
  5321. type: string
  5322. type: object
  5323. models.ErmcpOPLogModel:
  5324. properties:
  5325. aftervalue:
  5326. description: 变更后
  5327. type: number
  5328. applyid:
  5329. description: 操作人ID
  5330. type: string
  5331. applyname:
  5332. description: 操作人名称
  5333. type: string
  5334. beforevalue:
  5335. description: 变更前
  5336. type: number
  5337. biztype:
  5338. description: 业务类型 - 1:套保计划 2:现货合同
  5339. type: integer
  5340. contracttype:
  5341. description: 现货合同类型 - 1:采购 -1:销售
  5342. type: integer
  5343. logvalue:
  5344. description: 数值
  5345. type: number
  5346. operatelogtype:
  5347. description: 操作流水类型
  5348. type: integer
  5349. operatelogtypedesc:
  5350. description: 操作流水类型名称
  5351. type: string
  5352. relatedid:
  5353. description: 现货合同ID\套保计划
  5354. type: string
  5355. updatetime:
  5356. description: 更新时间
  5357. type: string
  5358. type: object
  5359. models.ErmcpPendingAudit:
  5360. properties:
  5361. areastockqty:
  5362. description: '待审核数量: 库存申请'
  5363. type: integer
  5364. businessdjqty:
  5365. description: '待审核数量: 点价'
  5366. type: integer
  5367. businessfpqty:
  5368. description: '待审核数量: 发票'
  5369. type: integer
  5370. businessjsqty:
  5371. description: '待审核数量: 结算'
  5372. type: integer
  5373. businesskxqty:
  5374. description: '待审核数量: 款项'
  5375. type: integer
  5376. hedgeplanqty:
  5377. description: '待审核数量: 套保计划'
  5378. type: integer
  5379. spotcontractqty:
  5380. description: '待审核数量: 现货合同'
  5381. type: integer
  5382. userqty:
  5383. description: '待审核数量: 用户'
  5384. type: integer
  5385. type: object
  5386. models.ErmcpRealExposureModel:
  5387. properties:
  5388. AreaUserID:
  5389. description: 所属机构
  5390. type: integer
  5391. BuyFutureQty:
  5392. description: 买入期货数量
  5393. type: number
  5394. BuyPlanQty:
  5395. description: 采购计划数量
  5396. type: number
  5397. BuyPricedQty:
  5398. description: 采购合同已定价数量
  5399. type: number
  5400. MiddleGoodsCode:
  5401. description: 套保品种代码
  5402. type: string
  5403. MiddleGoodsHedgeRatio:
  5404. description: 应套保比例
  5405. type: number
  5406. MiddleGoodsID:
  5407. description: 套保品种
  5408. type: integer
  5409. MiddleGoodsName:
  5410. description: 套保品种名称
  5411. type: string
  5412. NeedHedgeExposoure:
  5413. description: 应套保敞口
  5414. type: number
  5415. NeedHedgeRatio:
  5416. description: 应套保敞口比例
  5417. type: number
  5418. OriBuyFutureQty:
  5419. description: 期初买入期货数量
  5420. type: number
  5421. OriBuyPlanQty:
  5422. description: 期初采购计划数量
  5423. type: number
  5424. OriBuyPricedQty:
  5425. description: 期初采购合同已定价数量
  5426. type: number
  5427. OriSellFutureQty:
  5428. description: 期初卖出期货数量
  5429. type: number
  5430. OriSellPlanQty:
  5431. description: 期初销售计划数量
  5432. type: number
  5433. OriSellPricedQty:
  5434. description: 期初销售合同已定价数量
  5435. type: number
  5436. SellFutureQty:
  5437. description: 卖出期货数量
  5438. type: number
  5439. SellPlanQty:
  5440. description: 销售计划数量
  5441. type: number
  5442. SellPricedQty:
  5443. description: 销售合同已定价数量
  5444. type: number
  5445. TotalExposure:
  5446. description: 总敞口
  5447. type: number
  5448. TotalFutureQty:
  5449. description: 期货数量
  5450. type: number
  5451. TotalHedgeRatio:
  5452. description: 敞口比例
  5453. type: number
  5454. TotalNeedHedgeQty:
  5455. description: 期货应套保量
  5456. type: number
  5457. TotalSpotQty:
  5458. description: 现货数量
  5459. type: number
  5460. arbitrageqty:
  5461. description: 套利量
  5462. type: number
  5463. diffFutuQty:
  5464. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  5465. type: number
  5466. diffSpotQty:
  5467. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  5468. type: number
  5469. enumdicname:
  5470. description: 单位名称
  5471. type: string
  5472. hedgeqty:
  5473. description: 套保量
  5474. type: number
  5475. needarbitrageqty:
  5476. description: 应套利量
  5477. type: number
  5478. needarbitrageratio:
  5479. description: 套利比例
  5480. type: number
  5481. needhedgeqty:
  5482. description: 应套保量
  5483. type: number
  5484. oriTotalFutuQty:
  5485. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  5486. type: number
  5487. oriTotalSpotQty:
  5488. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  5489. type: number
  5490. type: object
  5491. models.ErmcpRole:
  5492. properties:
  5493. areauserid:
  5494. description: 所属机构
  5495. type: integer
  5496. autoid:
  5497. description: 角色ID(自增ID)
  5498. type: integer
  5499. modifierid:
  5500. description: 修改人(创建人)
  5501. type: integer
  5502. modifiername:
  5503. description: 修改人名称
  5504. type: string
  5505. modifytime:
  5506. description: 修改时间(创建时间)
  5507. type: string
  5508. rolename:
  5509. description: 角色名称
  5510. type: string
  5511. rolestatus:
  5512. description: 角色状态 - 1:启用 2:停用
  5513. type: integer
  5514. roletype:
  5515. description: 角色类型 - 1- 管理端 2- 交易端
  5516. type: integer
  5517. type: object
  5518. models.ErmcpRoleMenu:
  5519. properties:
  5520. iconame:
  5521. description: 菜单图标
  5522. type: string
  5523. ishadrole:
  5524. description: 是否有权限
  5525. type: boolean
  5526. menutype:
  5527. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  5528. type: integer
  5529. parentcode:
  5530. description: 上级资源代码
  5531. type: string
  5532. remark:
  5533. description: 菜单备注
  5534. type: string
  5535. resourcecode:
  5536. description: 菜单代码
  5537. type: string
  5538. resourcelevel:
  5539. description: 级别
  5540. type: integer
  5541. resourcename:
  5542. description: 菜单名称
  5543. type: string
  5544. roleid:
  5545. description: 角色id
  5546. type: integer
  5547. sort:
  5548. description: 排序
  5549. type: integer
  5550. url:
  5551. description: URL
  5552. type: string
  5553. userid:
  5554. description: 用户id
  5555. type: integer
  5556. type: object
  5557. models.ErmcpRoleMenuEx:
  5558. properties:
  5559. menu:
  5560. $ref: '#/definitions/models.ErmcpRoleMenu'
  5561. description: 父级菜单
  5562. type: object
  5563. subMenu:
  5564. description: 子级菜单
  5565. items:
  5566. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  5567. type: array
  5568. type: object
  5569. models.ErmcpTaAccount:
  5570. properties:
  5571. accountid:
  5572. description: 账户id
  5573. type: integer
  5574. accountname:
  5575. description: 账户名称
  5576. type: string
  5577. currencyid:
  5578. description: 币种id
  5579. type: integer
  5580. hedgeaccountcode:
  5581. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  5582. type: string
  5583. ismain:
  5584. description: 是否主账户 0-否 1-是
  5585. type: integer
  5586. parentaccountid:
  5587. description: 父账户id
  5588. type: integer
  5589. relateduserid:
  5590. description: 关联userid
  5591. type: integer
  5592. tradestatus:
  5593. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  5594. type: integer
  5595. userid:
  5596. description: 用户id
  5597. type: integer
  5598. type: object
  5599. models.ErmcpTaAccountEx:
  5600. properties:
  5601. mainAcc:
  5602. $ref: '#/definitions/models.ErmcpTaAccountM'
  5603. description: 主账号
  5604. type: object
  5605. subacclist:
  5606. description: 子账号列表
  5607. items:
  5608. $ref: '#/definitions/models.ErmcpTaAccount'
  5609. type: array
  5610. type: object
  5611. models.ErmcpTaAccountInfo:
  5612. properties:
  5613. accountid:
  5614. description: 资金账户ID
  5615. type: integer
  5616. accountname:
  5617. description: 账户名称
  5618. type: string
  5619. balance:
  5620. description: 期初余额
  5621. type: number
  5622. capitalbalance:
  5623. description: 本金余额[外部子账户实际出入金余额]
  5624. type: number
  5625. closepl:
  5626. description: 今日平仓盈亏
  5627. type: number
  5628. creditdecrease:
  5629. description: 今日授信减少
  5630. type: number
  5631. creditincrease:
  5632. description: 今日授信增加
  5633. type: number
  5634. curdebt:
  5635. description: 期末欠款
  5636. type: number
  5637. currencyid:
  5638. description: 货币ID
  5639. type: integer
  5640. currentbalance:
  5641. description: 期末余额
  5642. type: number
  5643. freezecharge:
  5644. description: 手续费冻结
  5645. type: number
  5646. freezemargin:
  5647. description: 冻结保证金
  5648. type: number
  5649. fromaccountid:
  5650. description: 所属上级账户
  5651. type: integer
  5652. inamount:
  5653. description: 今日入金金额(包括三方入金)
  5654. type: number
  5655. ismain:
  5656. description: 是否母账号 0:不是母账户 1:是母账户
  5657. type: integer
  5658. mortgagecredit:
  5659. description: 授信金额
  5660. type: number
  5661. oridebt:
  5662. description: 期初欠款
  5663. type: number
  5664. orifreezecharge:
  5665. description: 期初手续费冻结
  5666. type: number
  5667. orifreezemargin:
  5668. description: 期初冻结保证金
  5669. type: number
  5670. orimortgagecredit:
  5671. description: 期初授信金额
  5672. type: number
  5673. oriothercredit:
  5674. description: 期初其它授信金额
  5675. type: number
  5676. oriotherfreezemargin:
  5677. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  5678. type: number
  5679. orioutamountfreeze:
  5680. description: 期初出金冻结
  5681. type: number
  5682. oriusedmargin:
  5683. description: 期初占用保证金
  5684. type: number
  5685. othercredit:
  5686. description: 其它授信金额
  5687. type: number
  5688. othercreditdecrease:
  5689. description: 今日其它授信减少
  5690. type: number
  5691. othercreditincrease:
  5692. description: 今日其它授信增加
  5693. type: number
  5694. otherfreezemargin:
  5695. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  5696. type: number
  5697. outamount:
  5698. description: 今日出金金额(包括三方出金)
  5699. type: number
  5700. outamountfreeze:
  5701. description: 出金冻结
  5702. type: number
  5703. outthreshold:
  5704. description: 出金阈值
  5705. type: number
  5706. parentaccountid:
  5707. description: 所属根账号
  5708. type: integer
  5709. paycharge:
  5710. description: 今日手续费支出
  5711. type: number
  5712. relateduserid:
  5713. description: 关联用户
  5714. type: integer
  5715. signstatus:
  5716. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  5717. type: integer
  5718. sublevelpath:
  5719. description: 账号层级路径(逗号分隔,首尾加逗号)
  5720. type: string
  5721. taaccounttype:
  5722. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  5723. type: integer
  5724. thirdinamount:
  5725. description: 今日三方入金
  5726. type: number
  5727. thirdoutamount:
  5728. description: 今日三方出金
  5729. type: number
  5730. tradestatus:
  5731. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  5732. type: integer
  5733. transferamount:
  5734. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  5735. type: number
  5736. usedmargin:
  5737. description: 占用保证金
  5738. type: number
  5739. userid:
  5740. description: 用户ID
  5741. type: integer
  5742. type: object
  5743. models.ErmcpTaAccountM:
  5744. properties:
  5745. accountid:
  5746. description: 账户id
  5747. type: integer
  5748. accountname:
  5749. description: 账户名称
  5750. type: string
  5751. currencyid:
  5752. description: 币种id
  5753. type: integer
  5754. fcid:
  5755. description: 期货公司id
  5756. type: integer
  5757. fcname:
  5758. description: 期货公司代码
  5759. type: string
  5760. hedgeaccountcode:
  5761. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  5762. type: string
  5763. ismain:
  5764. description: 是否主账户 0-否 1-是
  5765. type: integer
  5766. parentaccountid:
  5767. description: 父账户id
  5768. type: integer
  5769. relateduserid:
  5770. description: 关联userid
  5771. type: integer
  5772. tradestatus:
  5773. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  5774. type: integer
  5775. userid:
  5776. description: 用户id
  5777. type: integer
  5778. type: object
  5779. models.ErmcpTradeConfigTMP:
  5780. properties:
  5781. areauserid:
  5782. description: 所属机构
  5783. type: integer
  5784. basiccurrencyid:
  5785. description: 基本币种ID[汇率] - 目标币种
  5786. type: integer
  5787. mainaccountid:
  5788. description: 主账户ID
  5789. type: integer
  5790. modifierid:
  5791. description: 修改人
  5792. type: integer
  5793. remark:
  5794. description: 备注
  5795. type: string
  5796. tradeconfigtmpid:
  5797. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  5798. type: integer
  5799. tradeconfigtmpname:
  5800. description: 交易配置模板名称
  5801. type: string
  5802. tradeconfigtmptype:
  5803. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  5804. type: integer
  5805. updatetime:
  5806. description: 更新时间
  5807. type: string
  5808. type: object
  5809. models.ErmcpUserModel:
  5810. properties:
  5811. address:
  5812. description: 通讯地址
  5813. type: string
  5814. attachment1:
  5815. description: 附件1
  5816. type: string
  5817. audittime:
  5818. description: 审核时间
  5819. type: string
  5820. cardbackphotourl:
  5821. description: 证件反面图片地址
  5822. type: string
  5823. cardfrontphotourl:
  5824. description: 证件正面图片地址
  5825. type: string
  5826. cardnum:
  5827. description: 证件号码
  5828. type: string
  5829. cardtype:
  5830. description: 证件类型
  5831. type: integer
  5832. cardtypename:
  5833. description: 证件类型名称
  5834. type: string
  5835. cityid:
  5836. description: 市
  5837. type: integer
  5838. contactname:
  5839. description: 联系人
  5840. type: string
  5841. countryid:
  5842. description: 国家
  5843. type: integer
  5844. createtime:
  5845. description: 创建时间
  5846. type: string
  5847. customername:
  5848. description: 企业名称
  5849. type: string
  5850. districtid:
  5851. description: 区域
  5852. type: integer
  5853. email:
  5854. description: 邮件
  5855. type: string
  5856. legalpersonname:
  5857. description: 法人姓名(企业)
  5858. type: string
  5859. memberuserid:
  5860. description: 所属机构ID
  5861. type: integer
  5862. mobile:
  5863. description: 手机号码
  5864. type: string
  5865. modifytime:
  5866. description: 修改时间
  5867. type: string
  5868. nickname:
  5869. description: 昵称
  5870. type: string
  5871. provinceid:
  5872. description: 省
  5873. type: integer
  5874. remark:
  5875. description: 备注
  5876. type: string
  5877. status:
  5878. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  5879. type: integer
  5880. statusdesc:
  5881. description: 账户状态中文描述
  5882. type: string
  5883. taxpayernum:
  5884. description: 纳税人识别号
  5885. type: string
  5886. telphone:
  5887. description: 联系电话
  5888. type: string
  5889. userid:
  5890. description: 用户ID
  5891. type: integer
  5892. userinfotype:
  5893. description: 客户类型
  5894. type: string
  5895. type: object
  5896. models.ErmcpWareHouseInfo:
  5897. properties:
  5898. address:
  5899. description: 详细地址
  5900. type: string
  5901. areauserid:
  5902. description: 所属机构
  5903. type: integer
  5904. autoid:
  5905. description: 自增ID(仓库ID)
  5906. type: integer
  5907. cityid:
  5908. description: 市
  5909. type: integer
  5910. contactname:
  5911. description: 联系人
  5912. type: string
  5913. contactnum:
  5914. description: 联系电话
  5915. type: string
  5916. countryid:
  5917. description: 国家
  5918. type: integer
  5919. createtime:
  5920. description: 创建时间
  5921. type: string
  5922. districtid:
  5923. description: 区
  5924. type: integer
  5925. hasvideo:
  5926. description: 是否有视频 - 0:无 1:有
  5927. type: integer
  5928. provinceid:
  5929. description: 省
  5930. type: integer
  5931. remark:
  5932. description: 审核备注
  5933. type: string
  5934. videourl:
  5935. description: 视频地址
  5936. type: string
  5937. warehousecode:
  5938. description: 仓库代码
  5939. type: string
  5940. warehousename:
  5941. description: 仓库名称
  5942. type: string
  5943. warehousestatus:
  5944. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  5945. type: integer
  5946. warehousetype:
  5947. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5948. type: integer
  5949. type: object
  5950. models.Externalexchange:
  5951. properties:
  5952. autoid:
  5953. description: AutoID - SEQ_EXTERNALEXCHANGE
  5954. type: integer
  5955. exchangefullname:
  5956. description: 外部交易所全称
  5957. type: string
  5958. exexchangecode:
  5959. description: 外部交易所代码
  5960. type: string
  5961. exexchangename:
  5962. description: 外部交易所名称(简称)
  5963. type: string
  5964. ismarketprice:
  5965. description: 是否支持市价 - 0:不支持 1:支持
  5966. type: integer
  5967. quotegear:
  5968. description: 行情档位(1-10)
  5969. type: integer
  5970. showbrokerflag:
  5971. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  5972. type: integer
  5973. updatetime:
  5974. description: 更新时间
  5975. type: string
  5976. required:
  5977. - autoid
  5978. type: object
  5979. models.Funcmenulist:
  5980. properties:
  5981. iconame:
  5982. description: 菜单图标
  5983. type: string
  5984. menutype:
  5985. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  5986. type: integer
  5987. parentcode:
  5988. description: 上级资源代码
  5989. type: string
  5990. remark:
  5991. description: 备注
  5992. type: string
  5993. resourcecode:
  5994. description: 资源代码
  5995. type: string
  5996. resourcelevel:
  5997. description: 级别 1-一级 2-二级 3-三级 4-四级
  5998. type: integer
  5999. resourcename:
  6000. description: 资源名
  6001. type: string
  6002. sort:
  6003. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  6004. type: integer
  6005. url:
  6006. description: URL
  6007. type: string
  6008. required:
  6009. - resourcecode
  6010. type: object
  6011. models.Goods:
  6012. properties:
  6013. agreeunit:
  6014. description: 合约单位
  6015. type: number
  6016. auditaccountid:
  6017. description: 审核操作员账号
  6018. type: integer
  6019. audittime:
  6020. description: 审核时间
  6021. type: string
  6022. cancelaccountid:
  6023. description: 注销操作员账号
  6024. type: integer
  6025. canceltime:
  6026. description: 注销时间
  6027. type: string
  6028. closepricemode:
  6029. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6030. type: integer
  6031. closepriceparam:
  6032. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  6033. type: number
  6034. createtime:
  6035. description: 创建时间
  6036. type: string
  6037. creatorid:
  6038. description: 创建人
  6039. type: integer
  6040. currencyid:
  6041. description: 报价货币ID
  6042. type: integer
  6043. cutmode:
  6044. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  6045. type: integer
  6046. decimalplace:
  6047. description: 报价小数位
  6048. type: integer
  6049. delistingdate:
  6050. description: 商品退市时间(状态:退市) -- 已作废
  6051. type: string
  6052. delistingmode:
  6053. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  6054. type: integer
  6055. deliveryflag:
  6056. description: 交割标志 - 0:不可交割 1:可交割
  6057. type: integer
  6058. forceclosemode:
  6059. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  6060. type: integer
  6061. forceclosevalue:
  6062. description: 定期强平参数 [收益权]
  6063. type: integer
  6064. goodscode:
  6065. description: 商品代码(内部)
  6066. type: string
  6067. goodscurrencyid:
  6068. description: 合约货币ID
  6069. type: integer
  6070. goodsgroupid:
  6071. description: 所属商品组ID
  6072. type: integer
  6073. goodsid:
  6074. description: 商品ID(自增ID SEQ_GOODS)
  6075. type: integer
  6076. goodsname:
  6077. description: 商品名称
  6078. type: string
  6079. goodsquotetype:
  6080. description: '合约报价类型: 1-直接报价 2-间接报价'
  6081. type: integer
  6082. goodsstatus:
  6083. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  6084. type: integer
  6085. goodstradetype:
  6086. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  6087. type: integer
  6088. goodunitid:
  6089. description: 报价单位ID
  6090. type: integer
  6091. hasquoter:
  6092. description: 是否有报价商 - 0:无报价商 1:有报价商
  6093. type: integer
  6094. hqprotecttime:
  6095. description: 行情保护时间(秒)
  6096. type: integer
  6097. innerdealmode:
  6098. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6099. type: integer
  6100. isbuylimited:
  6101. description: 是否限制建仓量 - 0:不限制 1:限制
  6102. type: integer
  6103. lasttradedate:
  6104. description: 最后交易日期(状态:待退市)
  6105. type: string
  6106. listingdate:
  6107. description: 交易开始日期
  6108. type: string
  6109. marketid:
  6110. description: 所属市场ID
  6111. type: integer
  6112. modifierid:
  6113. description: 修改人
  6114. type: integer
  6115. modifystatus:
  6116. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6117. type: integer
  6118. modifytime:
  6119. description: 修改时间
  6120. type: string
  6121. outerdealmode:
  6122. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6123. type: integer
  6124. outgoodscode:
  6125. description: 商品代码(外部)
  6126. type: string
  6127. qtydecimalplace:
  6128. description: 成交量小数位
  6129. type: integer
  6130. quotegear:
  6131. description: 行情档位(1-10)
  6132. type: integer
  6133. quoteminunit:
  6134. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6135. type: integer
  6136. quoteshowtype:
  6137. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6138. type: integer
  6139. quoteshowtypeinterval:
  6140. description: 行情报价间隔时间(秒)(成交价时为0)
  6141. type: integer
  6142. remark:
  6143. description: 备注
  6144. type: string
  6145. required:
  6146. - goodscode
  6147. - goodsid
  6148. - goodsname
  6149. - marketid
  6150. type: object
  6151. models.GoodsIDAndName:
  6152. properties:
  6153. goodscode:
  6154. description: 商品代码(内部)
  6155. type: string
  6156. goodsid:
  6157. description: 商品ID(自增ID SEQ_GOODS)
  6158. type: integer
  6159. goodsname:
  6160. description: 商品名称
  6161. type: string
  6162. marketid:
  6163. description: 所属市场ID
  6164. type: integer
  6165. required:
  6166. - goodscode
  6167. - goodsid
  6168. - goodsname
  6169. - marketid
  6170. type: object
  6171. models.Goodsgroup:
  6172. properties:
  6173. agreeunit:
  6174. description: 合约单位
  6175. type: number
  6176. canshort:
  6177. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6178. type: integer
  6179. closepricemode:
  6180. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6181. type: integer
  6182. closepriceparam:
  6183. description: 强平最新价浮动比例 - 方式为2时使用
  6184. type: number
  6185. createtime:
  6186. description: 创建时间
  6187. type: string
  6188. creatorid:
  6189. description: 创建人
  6190. type: integer
  6191. currencyid:
  6192. description: 报价货币ID
  6193. type: integer
  6194. decimalplace:
  6195. description: 报价小数位
  6196. type: integer
  6197. exercisetype:
  6198. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  6199. type: integer
  6200. exexchangeid:
  6201. description: 外部交易所ID[通道交易]
  6202. type: integer
  6203. goodsgroupid:
  6204. description: 商品组ID(自增ID)
  6205. type: integer
  6206. goodsgroupname:
  6207. description: 商品组名称
  6208. type: string
  6209. goodsgroupstatus:
  6210. description: 商品组状态 - 1:正常 2:注销
  6211. type: integer
  6212. goodunitid:
  6213. description: 报价单位ID
  6214. type: integer
  6215. innerdealmode:
  6216. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6217. type: integer
  6218. isbuylimited:
  6219. description: 是否限制建仓量 - 0:不限制 1:限制
  6220. type: integer
  6221. marketid:
  6222. description: 所属市场ID
  6223. type: integer
  6224. modifierid:
  6225. description: 修改人
  6226. type: integer
  6227. modifytime:
  6228. description: 修改时间
  6229. type: string
  6230. outerdealmode:
  6231. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6232. type: integer
  6233. outergroupcode:
  6234. description: 外部商品组代码[通道交易]
  6235. type: string
  6236. premiumdecimalplace:
  6237. description: 权利金小数位[场外期权]
  6238. type: integer
  6239. premiumspreadalgorithm:
  6240. description: 权利金点差方式[场外期权] 1:比率 2:固定
  6241. type: integer
  6242. premiumspreadvalue:
  6243. description: 权利金点差值[场外期权]
  6244. type: number
  6245. qtydecimalplace:
  6246. description: 成交量小数位
  6247. type: integer
  6248. quotegear:
  6249. description: 行情档位(1-10)
  6250. type: integer
  6251. quoteminunit:
  6252. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6253. type: integer
  6254. quoterid:
  6255. description: 报价商ID[场外期权]
  6256. type: integer
  6257. quotesourcegroupid:
  6258. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6259. type: integer
  6260. syncgoodsqty:
  6261. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6262. type: integer
  6263. required:
  6264. - goodsgroupid
  6265. - goodsgroupname
  6266. - goodsgroupstatus
  6267. - marketid
  6268. type: object
  6269. models.Goodssortbypreposition:
  6270. properties:
  6271. goodscode:
  6272. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  6273. type: string
  6274. goodsgroupcode:
  6275. description: 品种代码
  6276. type: string
  6277. prepositionqty:
  6278. description: 昨持仓量
  6279. type: integer
  6280. sortindex:
  6281. description: 排序
  6282. type: integer
  6283. tradedate:
  6284. description: 交易日
  6285. type: string
  6286. updatetime:
  6287. description: 更新时间
  6288. type: string
  6289. required:
  6290. - goodscode
  6291. - tradedate
  6292. type: object
  6293. models.Hedgeinnerholderdetail:
  6294. properties:
  6295. accountid:
  6296. description: 账号ID
  6297. type: integer
  6298. buyorsell:
  6299. description: 方向 - 0:买 1:卖
  6300. type: integer
  6301. freezeqty:
  6302. description: 冻结数量 - 按单平使用
  6303. type: integer
  6304. goodsid:
  6305. description: 商品ID
  6306. type: integer
  6307. holderamount:
  6308. description: 持仓金额 [商品币种]
  6309. type: number
  6310. holderdays:
  6311. description: 剩余冻结天数
  6312. type: integer
  6313. holderprice:
  6314. description: 持仓价格
  6315. type: number
  6316. holderqty:
  6317. description: 持仓数量
  6318. type: integer
  6319. marketid:
  6320. description: 市场ID
  6321. type: integer
  6322. openprice:
  6323. description: 建仓价格
  6324. type: number
  6325. openqty:
  6326. description: 建仓数量
  6327. type: integer
  6328. parentaccountid:
  6329. description: 所属母账户
  6330. type: integer
  6331. releaseamount:
  6332. description: 释放持仓金额[商品币种]
  6333. type: number
  6334. tradeamount:
  6335. description: 成交金额[账户]
  6336. type: number
  6337. tradedate:
  6338. description: 交易日(yyyyMMdd)
  6339. type: string
  6340. tradeid:
  6341. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6342. type: string
  6343. tradetime:
  6344. description: 交易时间
  6345. type: string
  6346. required:
  6347. - buyorsell
  6348. - tradeid
  6349. type: object
  6350. models.Hedgemarketopenlog:
  6351. properties:
  6352. accountid:
  6353. description: 资金账号[外部母账户]
  6354. type: integer
  6355. fcname:
  6356. description: 期货公司名称
  6357. type: string
  6358. handlestatus:
  6359. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  6360. type: integer
  6361. marketid:
  6362. description: 市场ID
  6363. type: integer
  6364. status:
  6365. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  6366. type: integer
  6367. tradedate:
  6368. description: 交易日(yyyyMMdd)
  6369. type: string
  6370. updatetime:
  6371. description: 更新时间
  6372. type: string
  6373. required:
  6374. - accountid
  6375. type: object
  6376. models.HsbyBuyMyPayOrder:
  6377. properties:
  6378. agreeunit:
  6379. description: 合约单位
  6380. type: number
  6381. buyaccountid:
  6382. description: 买方账号ID[报价币种]
  6383. type: integer
  6384. buyorderid:
  6385. description: 买方委托单号
  6386. type: string
  6387. createtime:
  6388. description: 创建时间
  6389. type: string
  6390. currencysign:
  6391. description: 货币符号
  6392. type: string
  6393. decimalplace:
  6394. description: 报价小数位
  6395. type: integer
  6396. goodscode:
  6397. description: 商品代码(内部)
  6398. type: string
  6399. goodsid:
  6400. description: 商品ID
  6401. type: integer
  6402. goodsname:
  6403. description: 商品名称
  6404. type: string
  6405. marketid:
  6406. description: 市场ID
  6407. type: integer
  6408. offamount:
  6409. description: 优惠金额
  6410. type: number
  6411. originalamount:
  6412. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  6413. type: number
  6414. payamount:
  6415. description: 支付金额 = TradeAmount + TradeCharge
  6416. type: number
  6417. payflag:
  6418. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  6419. type: integer
  6420. paylimitedtime:
  6421. description: 支付期限
  6422. type: string
  6423. paytime:
  6424. description: 付款时间
  6425. type: string
  6426. picurls1:
  6427. description: 预售商品介绍图片[多张用逗号分隔]
  6428. type: string
  6429. picurls2:
  6430. description: 挂牌商品介绍图片[多张用逗号分隔]
  6431. type: string
  6432. sellaccountid:
  6433. description: 卖方账号ID[报价币种]
  6434. type: integer
  6435. sellorderid:
  6436. description: 卖方委托单号
  6437. type: string
  6438. tradeamount:
  6439. description: 成交金额
  6440. type: number
  6441. tradecharge:
  6442. description: 成交手续费(买方)
  6443. type: number
  6444. tradedate:
  6445. description: 交易日(yyyyMMdd)
  6446. type: string
  6447. tradeid:
  6448. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6449. type: string
  6450. trademode:
  6451. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6452. 21:竞拍-大宗式 22:受托竞价
  6453. type: integer
  6454. tradeprice:
  6455. description: 成交价格
  6456. type: number
  6457. tradeqty:
  6458. description: 成交数量
  6459. type: integer
  6460. vendorname1:
  6461. description: 预售商品供应商名称
  6462. type: string
  6463. vendorname2:
  6464. description: 挂牌商品供应商名称
  6465. type: string
  6466. required:
  6467. - goodscode
  6468. - goodsname
  6469. - tradeid
  6470. - trademode
  6471. type: object
  6472. models.HsbyBuyMyTradeDetail:
  6473. properties:
  6474. accountid:
  6475. description: 账户ID[报价币种]
  6476. type: integer
  6477. agreeunit:
  6478. description: 合约单位
  6479. type: number
  6480. amount:
  6481. description: 金额 = 价格 * 数量 * 合约单位
  6482. type: number
  6483. buyorsell:
  6484. description: 买卖 - 0:买 1:卖
  6485. type: integer
  6486. currencysign:
  6487. description: 货币符号
  6488. type: string
  6489. decimalplace:
  6490. description: 报价小数位
  6491. type: integer
  6492. goodscode:
  6493. description: 商品代码(内部)
  6494. type: string
  6495. goodsid:
  6496. description: 商品ID
  6497. type: integer
  6498. goodsname:
  6499. description: 商品名称
  6500. type: string
  6501. marketid:
  6502. description: 市场ID
  6503. type: integer
  6504. orderamount:
  6505. description: 委托金额
  6506. type: number
  6507. orderid:
  6508. description: 单号(成交单号)
  6509. type: string
  6510. picurls1:
  6511. description: 预售商品介绍图片[多张用逗号分隔]
  6512. type: string
  6513. picurls2:
  6514. description: 挂牌商品介绍图片[多张用逗号分隔]
  6515. type: string
  6516. price:
  6517. description: 价格
  6518. type: number
  6519. qty:
  6520. description: 数量
  6521. type: integer
  6522. time:
  6523. description: 时间
  6524. type: string
  6525. trademode:
  6526. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6527. 21:竞拍-大宗式 22:受托竞价
  6528. type: integer
  6529. vendorname1:
  6530. description: 预售商品供应商名称
  6531. type: string
  6532. vendorname2:
  6533. description: 挂牌商品供应商名称
  6534. type: string
  6535. required:
  6536. - accountid
  6537. - buyorsell
  6538. - goodscode
  6539. - goodsid
  6540. - goodsname
  6541. - marketid
  6542. - orderid
  6543. - qty
  6544. - time
  6545. - trademode
  6546. type: object
  6547. models.HsbyGoodsOrderDetail:
  6548. properties:
  6549. buyorsell:
  6550. description: 买卖 - 0:买 1:卖
  6551. type: integer
  6552. currencysign:
  6553. description: 货币符号
  6554. type: string
  6555. customername:
  6556. description: 客户名称(企业名称),已脱敏
  6557. type: string
  6558. enableqty:
  6559. description: 可用数量
  6560. type: integer
  6561. goodunit:
  6562. description: 报价单位
  6563. type: string
  6564. orderid:
  6565. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6566. type: string
  6567. orderprice:
  6568. description: 委托价格
  6569. type: number
  6570. ordertime:
  6571. description: 委托时间
  6572. type: string
  6573. required:
  6574. - buyorsell
  6575. - orderid
  6576. - ordertime
  6577. type: object
  6578. models.HsbyListingGoodsDetail:
  6579. properties:
  6580. agreeunit:
  6581. description: 合约单位
  6582. type: number
  6583. buymaxqty:
  6584. description: 购买上限 [71] - 0为不限
  6585. type: integer
  6586. currency:
  6587. description: 货币
  6588. type: string
  6589. currencysign:
  6590. description: 货币符号
  6591. type: string
  6592. decimalplace:
  6593. description: 报价小数位
  6594. type: integer
  6595. desccityid:
  6596. description: 目的地(市)ID
  6597. type: integer
  6598. descprovinceid:
  6599. description: 目的地(省)ID
  6600. type: integer
  6601. goodscode:
  6602. description: 商品代码(内部)
  6603. type: string
  6604. goodsdesc:
  6605. description: 商品详情
  6606. type: string
  6607. goodsid:
  6608. description: 商品ID(自增ID SEQ_GOODS)
  6609. type: integer
  6610. goodsname:
  6611. description: 商品名称
  6612. type: string
  6613. goodsprice:
  6614. description: 商品价格
  6615. type: number
  6616. hotindex:
  6617. description: 景点热度
  6618. type: integer
  6619. last:
  6620. description: 现价
  6621. type: number
  6622. limitdown:
  6623. description: 跌停价
  6624. type: number
  6625. limitup:
  6626. description: 涨停价
  6627. type: number
  6628. lotsize:
  6629. description: 手数最小变动单位
  6630. type: integer
  6631. marketid:
  6632. description: 所属市场ID
  6633. type: integer
  6634. picurls:
  6635. description: 介绍图片[多张用逗号分隔]
  6636. type: string
  6637. quoteminunit:
  6638. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6639. type: integer
  6640. stepvalue:
  6641. description: 价格最小变动单位
  6642. type: number
  6643. trademode:
  6644. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6645. 21:竞拍-大宗式 22:受托竞价
  6646. type: integer
  6647. vendorattr:
  6648. description: 供应商附件(多张,逗号分隔)
  6649. type: string
  6650. vendorname:
  6651. description: 供应商名称
  6652. type: string
  6653. vendorphone:
  6654. description: 供应商客服电话
  6655. type: string
  6656. videourls:
  6657. description: 介绍视频[多张用逗号分隔]
  6658. type: string
  6659. required:
  6660. - goodscode
  6661. - goodsid
  6662. - goodsname
  6663. - marketid
  6664. - trademode
  6665. type: object
  6666. models.HsbyMarketGoods:
  6667. properties:
  6668. accountid:
  6669. description: 账户ID[报价币种]
  6670. type: integer
  6671. agreeunit:
  6672. description: 合约单位
  6673. type: number
  6674. buyorsell:
  6675. description: 买卖 - 0:买 1:卖
  6676. type: integer
  6677. categoryid:
  6678. description: 类别ID(WRCATEGORY)
  6679. type: integer
  6680. currency:
  6681. description: 货币
  6682. type: string
  6683. currencysign:
  6684. description: 货币符号
  6685. type: string
  6686. customername:
  6687. description: 卖家名称
  6688. type: string
  6689. decimalplace:
  6690. description: 报价小数位
  6691. type: integer
  6692. goodscode:
  6693. description: 商品代码(内部)
  6694. type: string
  6695. goodsid:
  6696. description: 商品ID
  6697. type: integer
  6698. goodsname:
  6699. description: 商品名称
  6700. type: string
  6701. goodsprice:
  6702. description: 商品价格
  6703. type: number
  6704. hascoupon:
  6705. description: 是否可用优惠卷
  6706. type: boolean
  6707. hotindex:
  6708. description: 景点热度
  6709. type: integer
  6710. marketid:
  6711. description: 市场ID
  6712. type: integer
  6713. orderid:
  6714. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6715. type: string
  6716. orderprice:
  6717. description: 委托价格
  6718. type: number
  6719. orderstatus:
  6720. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  6721. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  6722. 16:成交失败违约(荷兰式竞拍专用)
  6723. type: integer
  6724. picurls:
  6725. description: 介绍图片[多张用逗号分隔]
  6726. type: string
  6727. quoteminunit:
  6728. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6729. type: integer
  6730. sellUserID:
  6731. description: 卖方UserID
  6732. type: integer
  6733. trademode:
  6734. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6735. 21:竞拍-大宗式 22:受托竞价
  6736. type: integer
  6737. videourls:
  6738. description: 介绍视频[多张用逗号分隔]
  6739. type: string
  6740. required:
  6741. - accountid
  6742. - buyorsell
  6743. - goodscode
  6744. - goodsid
  6745. - goodsname
  6746. - marketid
  6747. - orderid
  6748. - trademode
  6749. type: object
  6750. models.HsbyMarketGoodsDetail:
  6751. properties:
  6752. accountid:
  6753. description: 账户ID[报价币种]
  6754. type: integer
  6755. agreeunit:
  6756. description: 合约单位
  6757. type: number
  6758. buymaxqty:
  6759. description: 购买上限 [71] - 0为不限
  6760. type: integer
  6761. buyorsell:
  6762. description: 买卖 - 0:买 1:卖
  6763. type: integer
  6764. cancelqty:
  6765. description: 撤单数量
  6766. type: integer
  6767. categoryid:
  6768. description: 类别ID(WRCATEGORY)
  6769. type: integer
  6770. currency:
  6771. description: 货币
  6772. type: string
  6773. currencysign:
  6774. description: 货币符号
  6775. type: string
  6776. customername:
  6777. description: 卖家名称
  6778. type: string
  6779. decimalplace:
  6780. description: 报价小数位
  6781. type: integer
  6782. goodscode:
  6783. description: 商品代码(内部)
  6784. type: string
  6785. goodsdesc:
  6786. description: 商品详情
  6787. type: string
  6788. goodsid:
  6789. description: 商品ID
  6790. type: integer
  6791. goodsname:
  6792. description: 商品名称
  6793. type: string
  6794. goodsprice:
  6795. description: 商品价格
  6796. type: number
  6797. hotindex:
  6798. description: 景点热度
  6799. type: integer
  6800. lotsize:
  6801. description: 手数最小变动单位
  6802. type: integer
  6803. marketid:
  6804. description: 市场ID
  6805. type: integer
  6806. orderid:
  6807. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6808. type: string
  6809. orderprice:
  6810. description: 委托价格
  6811. type: number
  6812. orderqty:
  6813. description: 委托数量
  6814. type: integer
  6815. orderstatus:
  6816. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  6817. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  6818. 16:成交失败违约(荷兰式竞拍专用)
  6819. type: integer
  6820. picurls:
  6821. description: 介绍图片[多张用逗号分隔]
  6822. type: string
  6823. quoteminunit:
  6824. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6825. type: integer
  6826. sellUserID:
  6827. description: 卖方UserID
  6828. type: integer
  6829. trademode:
  6830. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6831. 21:竞拍-大宗式 22:受托竞价
  6832. type: integer
  6833. tradeqty:
  6834. description: 成交数量
  6835. type: integer
  6836. vendorattr:
  6837. description: 供应商附件(多张,逗号分隔)
  6838. type: string
  6839. vendorname:
  6840. description: 供应商名称
  6841. type: string
  6842. vendorphone:
  6843. description: 供应商客服电话
  6844. type: string
  6845. videourls:
  6846. description: 介绍视频[多张用逗号分隔]
  6847. type: string
  6848. required:
  6849. - accountid
  6850. - buyorsell
  6851. - goodscode
  6852. - goodsid
  6853. - goodsname
  6854. - marketid
  6855. - orderid
  6856. - orderqty
  6857. - trademode
  6858. type: object
  6859. models.HsbyMarketInfo:
  6860. properties:
  6861. marketid:
  6862. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  6863. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  6864. type: integer
  6865. marketname:
  6866. description: 市场名称
  6867. type: string
  6868. marketstatus:
  6869. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  6870. type: integer
  6871. trademode:
  6872. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6873. 21:竞拍-大宗式 22:受托竞价
  6874. type: integer
  6875. required:
  6876. - marketid
  6877. - marketstatus
  6878. - trademode
  6879. type: object
  6880. models.HsbyMyGoods:
  6881. properties:
  6882. accountid:
  6883. description: 账号Id
  6884. type: integer
  6885. agreeunit:
  6886. description: 合约单位
  6887. type: number
  6888. buyaverageprice:
  6889. description: 持仓均价
  6890. type: number
  6891. buycurholderamount:
  6892. description: 买当前持仓总金额[商品币种]
  6893. type: number
  6894. buycurpositionqty:
  6895. description: 买当前持仓总数量
  6896. type: integer
  6897. buymaxqty:
  6898. description: 购买上限 [71] - 0为不限
  6899. type: integer
  6900. currencysign:
  6901. description: 货币符号
  6902. type: string
  6903. decimalplace:
  6904. description: 报价小数位
  6905. type: integer
  6906. enableqty:
  6907. description: 可用数量
  6908. type: integer
  6909. goodscode:
  6910. description: 商品代码(内部)
  6911. type: string
  6912. goodsid:
  6913. description: 商品Id
  6914. type: integer
  6915. goodsname:
  6916. description: 商品名称
  6917. type: string
  6918. goodsprice:
  6919. description: 商品价格
  6920. type: number
  6921. goodsstatus:
  6922. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  6923. type: integer
  6924. last:
  6925. description: 现价(仅使用于挂牌点选)
  6926. type: number
  6927. limitdown:
  6928. description: 跌停价(仅使用于挂牌点选)
  6929. type: number
  6930. limitup:
  6931. description: 涨停价(仅使用于挂牌点选)
  6932. type: number
  6933. lotsize:
  6934. description: 手数最小变动单位
  6935. type: integer
  6936. marketid:
  6937. description: 所属市场ID
  6938. type: integer
  6939. picurls:
  6940. description: 介绍图片[多张用逗号分隔]
  6941. type: string
  6942. quoteminunit:
  6943. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6944. type: integer
  6945. stepvalue:
  6946. description: 价格最小变动单位
  6947. type: number
  6948. trademode:
  6949. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6950. 21:竞拍-大宗式 22:受托竞价
  6951. type: integer
  6952. required:
  6953. - accountid
  6954. - goodscode
  6955. - goodsid
  6956. - goodsname
  6957. - marketid
  6958. - trademode
  6959. type: object
  6960. models.HsbyMyPackage:
  6961. properties:
  6962. accountid:
  6963. description: 账户ID
  6964. type: integer
  6965. address:
  6966. description: 提货人详细地址
  6967. type: string
  6968. agreeunit:
  6969. description: 合约单位
  6970. type: number
  6971. amount:
  6972. description: 提货金额
  6973. type: number
  6974. auditer:
  6975. description: 审核人
  6976. type: integer
  6977. audittime:
  6978. description: 审核时间
  6979. type: string
  6980. averageprice:
  6981. description: 均价
  6982. type: number
  6983. cardnum:
  6984. description: 提货人证件号码
  6985. type: string
  6986. cardtypeid:
  6987. description: 提货人证件类型
  6988. type: integer
  6989. checkremark:
  6990. description: 审核备注
  6991. type: string
  6992. currencysign:
  6993. description: 货币符号
  6994. type: string
  6995. decimalplace:
  6996. description: 报价小数位
  6997. type: integer
  6998. goodscode:
  6999. description: 商品代码(内部)
  7000. type: string
  7001. goodsid:
  7002. description: 商品ID
  7003. type: integer
  7004. goodsname:
  7005. description: 商品名称
  7006. type: string
  7007. handlestatus:
  7008. description: 处理状态
  7009. type: integer
  7010. marketid:
  7011. description: 市场ID
  7012. type: integer
  7013. phonenum:
  7014. description: 提货人联系方式
  7015. type: string
  7016. picurls:
  7017. description: 介绍图片[多张用逗号分隔]
  7018. type: string
  7019. qty:
  7020. description: 提货数量
  7021. type: number
  7022. recivername:
  7023. description: 提货人姓名
  7024. type: string
  7025. reqtime:
  7026. description: 更新时间
  7027. type: string
  7028. takemode:
  7029. description: 提货方式 - 2:自提 3:配送
  7030. type: integer
  7031. takeorderid:
  7032. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  7033. type: string
  7034. takeorderstatus:
  7035. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  7036. type: integer
  7037. takeremark:
  7038. description: 提货备注
  7039. type: string
  7040. tradedate:
  7041. description: 交易日(yyyyMMdd)
  7042. type: string
  7043. trademode:
  7044. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7045. 21:竞拍-大宗式 22:受托竞价
  7046. type: integer
  7047. userid:
  7048. description: 用户ID
  7049. type: integer
  7050. vendorname:
  7051. description: 供应商名称
  7052. type: string
  7053. required:
  7054. - goodscode
  7055. - goodsname
  7056. - takeorderid
  7057. - trademode
  7058. type: object
  7059. models.HsbyPreGoods:
  7060. properties:
  7061. agreeunit:
  7062. description: 合约单位
  7063. type: number
  7064. currency:
  7065. description: 货币
  7066. type: string
  7067. currencysign:
  7068. description: 货币符号
  7069. type: string
  7070. decimalplace:
  7071. description: 报价小数位
  7072. type: integer
  7073. desccityid:
  7074. description: 目的地(市)
  7075. type: integer
  7076. descprovinceid:
  7077. description: 目的地(省)
  7078. type: integer
  7079. enableqty:
  7080. description: 剩余数量
  7081. type: integer
  7082. goodscode:
  7083. description: 商品代码(内部)
  7084. type: string
  7085. goodsid:
  7086. description: 商品ID(自增ID SEQ_GOODS)
  7087. type: integer
  7088. goodsname:
  7089. description: 商品名称
  7090. type: string
  7091. goodsstatus:
  7092. description: 商品状态- 2:未上市 3:上市
  7093. type: integer
  7094. lasttradedate:
  7095. description: 最后交易日期(状态:待退市)
  7096. type: string
  7097. listingdate:
  7098. description: 交易开始日期
  7099. type: string
  7100. marketid:
  7101. description: 所属市场ID
  7102. type: integer
  7103. picurls:
  7104. description: 介绍图片[多张用逗号分隔]
  7105. type: string
  7106. presaledqty:
  7107. description: 已预售量(预售结束时更新)
  7108. type: integer
  7109. presaleqty:
  7110. description: 预售数量
  7111. type: integer
  7112. quoteminunit:
  7113. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7114. type: integer
  7115. refprice:
  7116. description: 参考价格[一口价]
  7117. type: number
  7118. relatedgoodsid:
  7119. description: 关联交易合约ID
  7120. type: integer
  7121. trademode:
  7122. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7123. 21:竞拍-大宗式 22:受托竞价
  7124. type: integer
  7125. videourls:
  7126. description: 介绍视频[多张用逗号分隔]
  7127. type: string
  7128. required:
  7129. - goodscode
  7130. - goodsid
  7131. - goodsname
  7132. - marketid
  7133. - trademode
  7134. type: object
  7135. models.HsbyPreGoodsDetail:
  7136. properties:
  7137. agreeunit:
  7138. description: 合约单位
  7139. type: number
  7140. buymaxqty:
  7141. description: 购买上限 [71] - 0为不限
  7142. type: integer
  7143. currency:
  7144. description: 货币
  7145. type: string
  7146. currencysign:
  7147. description: 货币符号
  7148. type: string
  7149. customername:
  7150. description: 发行单位
  7151. type: string
  7152. decimalplace:
  7153. description: 报价小数位
  7154. type: integer
  7155. desccityid:
  7156. description: 目的地(市)ID
  7157. type: integer
  7158. descprovinceid:
  7159. description: 目的地(省)ID
  7160. type: integer
  7161. enableqty:
  7162. description: 剩余数量
  7163. type: integer
  7164. goodscode:
  7165. description: 商品代码(内部)
  7166. type: string
  7167. goodsdesc:
  7168. description: 商品详情
  7169. type: string
  7170. goodsid:
  7171. description: 商品ID(自增ID SEQ_GOODS)
  7172. type: integer
  7173. goodsname:
  7174. description: 商品名称
  7175. type: string
  7176. goodsstatus:
  7177. description: 商品状态- 2:未上市 3:上市
  7178. type: integer
  7179. goodunit:
  7180. description: 报价单位
  7181. type: string
  7182. lasttradedate:
  7183. description: 最后交易日期(状态:待退市)
  7184. type: string
  7185. listingdate:
  7186. description: 交易开始日期
  7187. type: string
  7188. lotsize:
  7189. description: 手数最小变动单位
  7190. type: integer
  7191. marketid:
  7192. description: 所属市场ID
  7193. type: integer
  7194. picurls:
  7195. description: 介绍图片[多张用逗号分隔]
  7196. type: string
  7197. presaledqty:
  7198. description: 已预售量(预售结束时更新)
  7199. type: integer
  7200. presaleqty:
  7201. description: 预售数量
  7202. type: integer
  7203. quoteminunit:
  7204. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7205. type: integer
  7206. refprice:
  7207. description: 参考价格[一口价]
  7208. type: number
  7209. relatedgoodsid:
  7210. description: 关联交易合约ID
  7211. type: integer
  7212. stepvalue:
  7213. description: 价格最小变动单位
  7214. type: number
  7215. trademode:
  7216. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7217. 21:竞拍-大宗式 22:受托竞价
  7218. type: integer
  7219. vendorattr:
  7220. description: 供应商附件(多张,逗号分隔)
  7221. type: string
  7222. vendorname:
  7223. description: 供应商名称
  7224. type: string
  7225. vendorphone:
  7226. description: 供应商客服电话
  7227. type: string
  7228. videourls:
  7229. description: 介绍视频[多张用逗号分隔]
  7230. type: string
  7231. required:
  7232. - goodscode
  7233. - goodsid
  7234. - goodsname
  7235. - marketid
  7236. - trademode
  7237. type: object
  7238. models.HsbySellCollectionOrder:
  7239. properties:
  7240. agreeunit:
  7241. description: 合约单位
  7242. type: number
  7243. buyaccountid:
  7244. description: 买方账号ID[报价币种]
  7245. type: integer
  7246. buyorderid:
  7247. description: 买方委托单号
  7248. type: string
  7249. createtime:
  7250. description: 创建时间
  7251. type: string
  7252. currencysign:
  7253. description: 货币符号
  7254. type: string
  7255. decimalplace:
  7256. description: 报价小数位
  7257. type: integer
  7258. goodscode:
  7259. description: 商品代码(内部)
  7260. type: string
  7261. goodsid:
  7262. description: 商品ID
  7263. type: integer
  7264. goodsname:
  7265. description: 商品名称
  7266. type: string
  7267. marketid:
  7268. description: 市场ID
  7269. type: integer
  7270. offamount:
  7271. description: 优惠金额
  7272. type: number
  7273. payamount:
  7274. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  7275. type: number
  7276. payflag:
  7277. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7278. type: integer
  7279. paylimitedtime:
  7280. description: 支付期限
  7281. type: string
  7282. paytime:
  7283. description: 付款时间
  7284. type: string
  7285. picurls:
  7286. description: 商品介绍图片[多张用逗号分隔]
  7287. type: string
  7288. sellaccountid:
  7289. description: 卖方账号ID[报价币种]
  7290. type: integer
  7291. sellorderid:
  7292. description: 卖方委托单号
  7293. type: string
  7294. tradeamount:
  7295. description: 成交金额
  7296. type: number
  7297. tradecharge:
  7298. description: 成交手续费(买方)
  7299. type: number
  7300. tradedate:
  7301. description: 交易日(yyyyMMdd)
  7302. type: string
  7303. tradeid:
  7304. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7305. type: string
  7306. trademode:
  7307. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7308. 21:竞拍-大宗式 22:受托竞价
  7309. type: integer
  7310. tradeprice:
  7311. description: 成交价格
  7312. type: number
  7313. tradeqty:
  7314. description: 成交数量
  7315. type: integer
  7316. required:
  7317. - goodscode
  7318. - goodsname
  7319. - tradeid
  7320. - trademode
  7321. type: object
  7322. models.HsbySellMyDetail:
  7323. properties:
  7324. accountid:
  7325. description: 账户ID[报价币种]
  7326. type: integer
  7327. agreeunit:
  7328. description: 合约单位
  7329. type: number
  7330. buyorsell:
  7331. description: 买卖 - 0:买 1:卖
  7332. type: integer
  7333. currencysign:
  7334. description: 货币符号
  7335. type: string
  7336. decimalplace:
  7337. description: 报价小数位
  7338. type: integer
  7339. goodscode:
  7340. description: 商品代码(内部)
  7341. type: string
  7342. goodsid:
  7343. description: 商品ID
  7344. type: integer
  7345. goodsname:
  7346. description: 商品名称
  7347. type: string
  7348. marketid:
  7349. description: 市场ID
  7350. type: integer
  7351. orderid:
  7352. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  7353. type: string
  7354. ordertype:
  7355. description: 单据类型:0 - 发布中, 1 - 已完成
  7356. type: integer
  7357. picurls:
  7358. description: 介绍图片[多张用逗号分隔]
  7359. type: string
  7360. price:
  7361. description: 价格
  7362. type: number
  7363. qty:
  7364. description: 数量
  7365. type: integer
  7366. time:
  7367. description: 时间
  7368. type: string
  7369. trademode:
  7370. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7371. 21:竞拍-大宗式 22:受托竞价
  7372. type: integer
  7373. vendorname:
  7374. description: 供应商名称
  7375. type: string
  7376. required:
  7377. - accountid
  7378. - buyorsell
  7379. - goodscode
  7380. - goodsid
  7381. - goodsname
  7382. - marketid
  7383. - orderid
  7384. - time
  7385. - trademode
  7386. type: object
  7387. models.HsbyTopGoods:
  7388. properties:
  7389. agreeunit:
  7390. description: 合约单位
  7391. type: number
  7392. currency:
  7393. description: 货币
  7394. type: string
  7395. currencysign:
  7396. description: 货币符号
  7397. type: string
  7398. decimalplace:
  7399. description: 报价小数位
  7400. type: integer
  7401. desccityid:
  7402. description: 目的地(市)
  7403. type: integer
  7404. descprovinceid:
  7405. description: 目的地(省)
  7406. type: integer
  7407. goodscode:
  7408. description: 商品代码(内部)
  7409. type: string
  7410. goodsid:
  7411. description: 商品ID(自增ID SEQ_GOODS)
  7412. type: integer
  7413. goodsname:
  7414. description: 商品名称
  7415. type: string
  7416. hotindex:
  7417. description: 景点热度
  7418. type: integer
  7419. last:
  7420. description: 现价
  7421. type: number
  7422. marketid:
  7423. description: 所属市场ID
  7424. type: integer
  7425. picurls:
  7426. description: 介绍图片[多张用逗号分隔]
  7427. type: string
  7428. quoteminunit:
  7429. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7430. type: integer
  7431. trademode:
  7432. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7433. 21:竞拍-大宗式 22:受托竞价
  7434. type: integer
  7435. videourls:
  7436. description: 介绍视频[多张用逗号分隔]
  7437. type: string
  7438. required:
  7439. - goodscode
  7440. - goodsid
  7441. - goodsname
  7442. - marketid
  7443. - trademode
  7444. type: object
  7445. models.HybsMyBuyOrderDetail:
  7446. properties:
  7447. accountid:
  7448. description: 账户ID[报价币种]
  7449. type: integer
  7450. agreeunit:
  7451. description: 合约单位
  7452. type: number
  7453. buyorsell:
  7454. description: 买卖 - 0:买 1:卖
  7455. type: integer
  7456. cancelqty:
  7457. description: 撤单数量
  7458. type: integer
  7459. currencysign:
  7460. description: 货币符号
  7461. type: string
  7462. decimalplace:
  7463. description: 报价小数位
  7464. type: integer
  7465. goodscode:
  7466. description: 商品代码(内部)
  7467. type: string
  7468. goodsid:
  7469. description: 商品ID
  7470. type: integer
  7471. goodsname:
  7472. description: 商品名称
  7473. type: string
  7474. listingselecttype:
  7475. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  7476. type: integer
  7477. marketid:
  7478. description: 市场ID
  7479. type: integer
  7480. mybuystatus:
  7481. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  7482. type: integer
  7483. orderamount:
  7484. description: 委托金额
  7485. type: number
  7486. orderid:
  7487. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7488. type: string
  7489. orderprice:
  7490. description: 委托价格
  7491. type: number
  7492. orderqty:
  7493. description: 委托数量
  7494. type: integer
  7495. orderstatus:
  7496. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7497. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7498. 16:成交失败违约(荷兰式竞拍专用)
  7499. type: integer
  7500. ordertime:
  7501. description: 委托时间
  7502. type: string
  7503. picurls1:
  7504. description: 预售商品介绍图片[多张用逗号分隔]
  7505. type: string
  7506. picurls2:
  7507. description: 挂牌商品介绍图片[多张用逗号分隔]
  7508. type: string
  7509. trademode:
  7510. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7511. 21:竞拍-大宗式 22:受托竞价
  7512. type: integer
  7513. tradeqty:
  7514. description: 成交数量
  7515. type: integer
  7516. vendorname1:
  7517. description: 预售商品供应商名称
  7518. type: string
  7519. vendorname2:
  7520. description: 挂牌商品供应商名称
  7521. type: string
  7522. required:
  7523. - accountid
  7524. - buyorsell
  7525. - goodscode
  7526. - goodsid
  7527. - goodsname
  7528. - marketid
  7529. - orderid
  7530. - orderqty
  7531. - ordertime
  7532. - trademode
  7533. type: object
  7534. models.Loginaccount:
  7535. properties:
  7536. canoutin:
  7537. description: 是否可出入金 - 0:不可 1:可
  7538. type: integer
  7539. clientroleid:
  7540. description: 终端角色ID
  7541. type: integer
  7542. haslogined:
  7543. description: 是否已登录 - 0:未登录 1:已登录
  7544. type: integer
  7545. hasupdatedpwd:
  7546. description: 是否已更改密码 - 0:未修改 1:已修改
  7547. type: integer
  7548. lastloginip:
  7549. description: 最新登录地址
  7550. type: string
  7551. lastloginmode:
  7552. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  7553. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  7554. type: integer
  7555. lastloginremark:
  7556. description: 最新登录描述
  7557. type: string
  7558. lastlogintime:
  7559. description: 最新登录时间
  7560. type: string
  7561. logincode:
  7562. description: 登录代码
  7563. type: string
  7564. loginfailnum:
  7565. description: 连续登录失败次数(登录成功时清零)
  7566. type: integer
  7567. loginid:
  7568. description: 登陆账号
  7569. type: integer
  7570. loginport:
  7571. description: 最新登录端口
  7572. type: integer
  7573. loginstatus:
  7574. description: 登录账号状态 1:正常 2:冻结 3:无效
  7575. type: integer
  7576. loginusertype:
  7577. description: 登录账号类型 - 1:投资者 2:机构交易员
  7578. type: integer
  7579. modifierid:
  7580. description: 修改人
  7581. type: integer
  7582. modifytime:
  7583. description: 修改时间
  7584. type: string
  7585. pwdwrongcount:
  7586. description: 密码错误次数
  7587. type: integer
  7588. taaccountrighttype:
  7589. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  7590. type: integer
  7591. unfreezetime:
  7592. description: 账户解冻时间
  7593. type: string
  7594. userid:
  7595. description: 用户ID
  7596. type: integer
  7597. required:
  7598. - loginid
  7599. type: object
  7600. models.MainAccountInfo:
  7601. properties:
  7602. accountid:
  7603. description: 账号id
  7604. type: integer
  7605. accountname:
  7606. description: 账号名称(taaccount表中的名称)
  7607. type: string
  7608. appid:
  7609. description: AppID
  7610. type: string
  7611. authcode:
  7612. description: 授权码
  7613. type: string
  7614. brokerid:
  7615. description: 经纪商id
  7616. type: string
  7617. fcid:
  7618. description: 期货公司id
  7619. type: integer
  7620. fcname:
  7621. description: 期货公司代码
  7622. type: string
  7623. hedgeaccountcode:
  7624. description: 外部账号代码(主账号登录代码)
  7625. type: string
  7626. hedgeaccountpwd:
  7627. description: 密码
  7628. type: string
  7629. ismain:
  7630. description: 是否主账号
  7631. type: integer
  7632. relateduserid:
  7633. description: 关联用户id
  7634. type: integer
  7635. userid:
  7636. description: 关联用户id
  7637. type: integer
  7638. type: object
  7639. models.Market:
  7640. properties:
  7641. auctionwrtype:
  7642. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  7643. type: integer
  7644. canacceptquote:
  7645. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  7646. type: integer
  7647. cangoodsexercise:
  7648. description: '[期权]是否可现货行权- 0:否 1:是'
  7649. type: integer
  7650. cangoodsexercisetype:
  7651. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  7652. type: integer
  7653. canmanualquotestrike:
  7654. description: 是否可手动报行权价- 0:否 1:是 [期权]
  7655. type: integer
  7656. canmutistage:
  7657. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  7658. type: integer
  7659. canpreexercise:
  7660. description: '[期权]是否可预申报- 0:否 1:是'
  7661. type: integer
  7662. clearinterval:
  7663. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  7664. type: integer
  7665. contracttmp:
  7666. description: 合同模板[荷兰式][竞价式][仓单贸易]
  7667. type: string
  7668. exchareaid:
  7669. description: 所属交易所,可以没有
  7670. type: integer
  7671. goodstype:
  7672. description: 商品类型 - 1:交易商品 2:仓单商品
  7673. type: integer
  7674. hasrebate:
  7675. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  7676. type: integer
  7677. hastradecredit:
  7678. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  7679. type: integer
  7680. haswr:
  7681. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  7682. type: integer
  7683. isdeductmargin:
  7684. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  7685. type: integer
  7686. isrecordsource:
  7687. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  7688. type: integer
  7689. isreleasemargin:
  7690. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  7691. type: integer
  7692. marginformula:
  7693. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  7694. type: integer
  7695. marginformula2:
  7696. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  7697. type: integer
  7698. marketid:
  7699. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  7700. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  7701. type: integer
  7702. marketname:
  7703. description: 市场名称
  7704. type: string
  7705. marketserviceid:
  7706. description: 市场服务ID
  7707. type: integer
  7708. marketstatus:
  7709. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  7710. type: integer
  7711. markettype:
  7712. description: 市场类型- 1:非交易服务 2:交易服务
  7713. type: integer
  7714. matchermode:
  7715. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  7716. type: integer
  7717. openmethod:
  7718. description: 开盘模式 - 0 自动 1手动
  7719. type: integer
  7720. otcuserid:
  7721. description: 场外期权做市商[场外期权]
  7722. type: integer
  7723. outersynctime:
  7724. description: 外部同步时间点(h24:mi:ss)[场外期权]
  7725. type: string
  7726. pendingflag:
  7727. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  7728. type: integer
  7729. pendingtime:
  7730. description: 待开市时间[通道交易-对冲](HH:mm)
  7731. type: string
  7732. performancetempid:
  7733. description: 履约计划模板ID - 作废
  7734. type: integer
  7735. premiumquotemode:
  7736. description: 权利金报价方式 - 1:自动 2:手动
  7737. type: integer
  7738. rebateratio:
  7739. description: 返利比率[竞价式]
  7740. type: number
  7741. reckonorder:
  7742. description: 结算顺序
  7743. type: integer
  7744. reckonpricealgorithm:
  7745. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  7746. 6.卖一价 7.买一卖一均价 8.外部结算价'
  7747. type: integer
  7748. reckonpriceparam:
  7749. description: 结算价参数
  7750. type: integer
  7751. reckontime:
  7752. description: 结算时间[通道交易-对冲](HH:mm)
  7753. type: string
  7754. roleprioritytype:
  7755. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  7756. type: integer
  7757. selllistingauditflag:
  7758. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  7759. type: integer
  7760. trademarkettype:
  7761. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  7762. type: integer
  7763. trademode:
  7764. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7765. 21:竞拍-大宗式 22:受托竞价
  7766. type: integer
  7767. tradeproperty:
  7768. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  7769. 8:场外期权
  7770. type: integer
  7771. tradetype:
  7772. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  7773. type: integer
  7774. required:
  7775. - marketid
  7776. - marketstatus
  7777. - openmethod
  7778. - reckonpricealgorithm
  7779. - trademode
  7780. - tradeproperty
  7781. type: object
  7782. models.Marketrun:
  7783. properties:
  7784. afternexttradedate:
  7785. description: 下下交易日
  7786. type: string
  7787. clearquoteflag:
  7788. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  7789. type: integer
  7790. lastreckondate:
  7791. description: 最新交易日(结算成功)
  7792. type: string
  7793. machinedate:
  7794. description: 机器时间
  7795. type: string
  7796. manualflag:
  7797. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  7798. type: integer
  7799. marketid:
  7800. description: 市场ID
  7801. type: integer
  7802. nexttradedate:
  7803. description: 下一交易日
  7804. type: string
  7805. pretradedate:
  7806. description: 上一交易日
  7807. type: string
  7808. reckonflag:
  7809. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  7810. type: integer
  7811. runstatus:
  7812. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  7813. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  7814. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  7815. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  7816. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  7817. 62.今日免清算
  7818. type: integer
  7819. sectionid:
  7820. description: 时间段号[多时段时用]
  7821. type: integer
  7822. tradedate:
  7823. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  7824. type: string
  7825. tradedate2:
  7826. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  7827. type: string
  7828. updatetime:
  7829. description: 更新时间
  7830. type: string
  7831. required:
  7832. - marketid
  7833. - nexttradedate
  7834. - reckonflag
  7835. - runstatus
  7836. - tradedate
  7837. - tradedate2
  7838. type: object
  7839. models.Messageboard:
  7840. properties:
  7841. contactnum:
  7842. description: 联系电话
  7843. type: string
  7844. createtime:
  7845. description: 创建时间
  7846. type: string
  7847. message:
  7848. description: 留言信息
  7849. type: string
  7850. messageboardid:
  7851. description: 留言簿ID(SEQ_MessageBoard)
  7852. type: integer
  7853. userid:
  7854. description: 用户ID
  7855. type: integer
  7856. required:
  7857. - messageboardid
  7858. type: object
  7859. models.MyCoupon:
  7860. properties:
  7861. accountid:
  7862. description: 资金账户ID
  7863. type: integer
  7864. areauserid:
  7865. description: 所属机构
  7866. type: integer
  7867. conditionvalue:
  7868. description: 条件阈值(可为0)
  7869. type: number
  7870. couponcategroy:
  7871. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  7872. type: integer
  7873. couponname:
  7874. description: 优惠券名称
  7875. type: string
  7876. coupontypeid:
  7877. description: 优惠券类型ID
  7878. type: string
  7879. couponvalue:
  7880. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  7881. type: number
  7882. curfreezeqty:
  7883. description: 期末冻结数量
  7884. type: integer
  7885. curqty:
  7886. description: 期末数量
  7887. type: integer
  7888. isgeneral:
  7889. description: 是否通用券 - 0:否 1:是
  7890. type: integer
  7891. isunusable:
  7892. description: 是否不可用
  7893. type: boolean
  7894. limitedflag:
  7895. description: 是否指定商品 - 0:不限 1:限制
  7896. type: integer
  7897. limitedgoodsids:
  7898. description: 指定商品IDs[逗号分隔,前后加逗号]
  7899. type: string
  7900. orifreezeqty:
  7901. description: 期初冻结数量
  7902. type: integer
  7903. oriqty:
  7904. description: 期初数量
  7905. type: integer
  7906. reasontype:
  7907. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  7908. type: integer
  7909. todaydecrease:
  7910. description: 今日减少
  7911. type: integer
  7912. todayincrease:
  7913. description: 今日增加
  7914. type: integer
  7915. userid:
  7916. description: 用户ID
  7917. type: integer
  7918. userscope:
  7919. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  7920. type: string
  7921. required:
  7922. - accountid
  7923. - coupontypeid
  7924. type: object
  7925. models.MyCouponHold:
  7926. properties:
  7927. accountid:
  7928. description: 资金账户ID
  7929. type: integer
  7930. conditionvalue:
  7931. description: 条件阈值(可为0)
  7932. type: number
  7933. couponcategroy:
  7934. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  7935. type: integer
  7936. couponholdid:
  7937. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  7938. type: string
  7939. couponname:
  7940. description: 优惠券名称
  7941. type: string
  7942. coupontypeid:
  7943. description: 优惠券类型ID - SEQ_COUPONTYPE
  7944. type: string
  7945. couponvalue:
  7946. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  7947. type: number
  7948. createtime:
  7949. description: 创建时间
  7950. type: string
  7951. enddate:
  7952. description: 结束日期
  7953. type: string
  7954. giveapplyid:
  7955. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  7956. type: integer
  7957. holdstatus:
  7958. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  7959. type: integer
  7960. isgeneral:
  7961. description: 是否通用券 - 0:否 1:是
  7962. type: integer
  7963. limitedflag:
  7964. description: 是否指定商品 - 0:不限 1:限制
  7965. type: integer
  7966. limitedgoodsids:
  7967. description: 指定商品IDs[逗号分隔]
  7968. type: string
  7969. qty:
  7970. description: 数量(按1平铺)
  7971. type: integer
  7972. startdate:
  7973. description: 开始日期
  7974. type: string
  7975. userid:
  7976. description: 用户ID
  7977. type: integer
  7978. userscope:
  7979. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  7980. type: string
  7981. required:
  7982. - couponholdid
  7983. type: object
  7984. models.MyUsedCoupon:
  7985. properties:
  7986. accountid:
  7987. description: 资金账户ID(买方)
  7988. type: integer
  7989. conditionvalue:
  7990. description: 条件阈值(可为0)
  7991. type: number
  7992. couponcategroy:
  7993. description: 种类 - 1:现金券 2:折扣券
  7994. type: integer
  7995. couponname:
  7996. description: 优惠券名称
  7997. type: string
  7998. coupontypeid:
  7999. description: 优惠券类型ID(买方)
  8000. type: string
  8001. couponvalue:
  8002. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  8003. type: number
  8004. createtime:
  8005. description: 创建时间
  8006. type: string
  8007. goodsid:
  8008. description: 商品ID
  8009. type: integer
  8010. handlestatus:
  8011. description: 处理状态
  8012. type: integer
  8013. marketid:
  8014. description: 市场ID
  8015. type: integer
  8016. offamount:
  8017. description: 优惠金额
  8018. type: number
  8019. orderid:
  8020. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8021. type: string
  8022. sellaccountid:
  8023. description: 资金账户ID(卖方)
  8024. type: integer
  8025. tradeamount:
  8026. description: 成交金额
  8027. type: number
  8028. tradeid:
  8029. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8030. type: string
  8031. usedqty:
  8032. description: 使用数量
  8033. type: integer
  8034. required:
  8035. - coupontypeid
  8036. - orderid
  8037. type: object
  8038. models.OperationPrimaryMenu:
  8039. properties:
  8040. Children:
  8041. description: 二级功能菜单
  8042. items:
  8043. $ref: '#/definitions/models.OperationSecondaryMenu'
  8044. type: array
  8045. Key:
  8046. description: 菜单KEY
  8047. type: string
  8048. Label:
  8049. description: 菜单标题
  8050. type: string
  8051. type: object
  8052. models.OperationSecondaryMenu:
  8053. properties:
  8054. Key:
  8055. description: 菜单KEY
  8056. type: string
  8057. Label:
  8058. description: 菜单标题
  8059. type: string
  8060. TabList:
  8061. description: 三级功能菜单
  8062. items:
  8063. $ref: '#/definitions/models.OperationTabMenu'
  8064. type: array
  8065. type: object
  8066. models.OperationTabMenu:
  8067. properties:
  8068. Key:
  8069. description: 菜单KEY
  8070. type: string
  8071. Label:
  8072. description: 菜单标题
  8073. type: string
  8074. type: object
  8075. models.PendingAuditBizModel:
  8076. properties:
  8077. accountid:
  8078. description: 现货账户
  8079. type: string
  8080. areaname:
  8081. description: 所属部门
  8082. type: string
  8083. bizid:
  8084. description: 业务ID
  8085. type: string
  8086. bizname:
  8087. description: 业务名称
  8088. type: string
  8089. status:
  8090. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  8091. type: integer
  8092. type:
  8093. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  8094. type: integer
  8095. type: object
  8096. models.QueryErrorInfosRsp:
  8097. properties:
  8098. description:
  8099. description: 异常描述
  8100. type: string
  8101. errorcode:
  8102. description: 异常代码
  8103. type: string
  8104. errorid:
  8105. description: 异常ID
  8106. type: integer
  8107. modulecode:
  8108. description: 所属模块
  8109. type: string
  8110. operatecode:
  8111. description: 所属操作
  8112. type: string
  8113. rownumber:
  8114. description: 行号
  8115. type: string
  8116. required:
  8117. - errorid
  8118. type: object
  8119. models.QueryHedgeOrderDetailRsp:
  8120. properties:
  8121. accountid:
  8122. description: 账户ID
  8123. type: integer
  8124. buyorsell:
  8125. description: 买卖 - 0:买 1:卖
  8126. type: integer
  8127. cancellogincode:
  8128. description: 撤单人
  8129. type: string
  8130. channelbuildtype:
  8131. description: 开平标志 - 0:无 1:建仓 2:平仓
  8132. type: integer
  8133. channelinnerorderstatus:
  8134. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  8135. 9:全部成交
  8136. type: integer
  8137. channeloperatetype:
  8138. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  8139. type: integer
  8140. closetype:
  8141. description: 平仓方式 - 0:无 1:平今 2:平昨
  8142. type: integer
  8143. curexchangerate:
  8144. description: 当前汇率
  8145. type: number
  8146. exchangefullname:
  8147. description: 外部交易所全称
  8148. type: string
  8149. goodscode:
  8150. description: 商品代码(内部)
  8151. type: string
  8152. goodsid:
  8153. description: 商品ID
  8154. type: integer
  8155. goodsname:
  8156. description: 商品名称
  8157. type: string
  8158. marketid:
  8159. description: 市场ID
  8160. type: integer
  8161. openfreezemargin:
  8162. description: 冻结保证金(冻结交易金额)
  8163. type: number
  8164. orderid:
  8165. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8166. type: string
  8167. orderlogincode:
  8168. description: 委托人
  8169. type: string
  8170. orderprice:
  8171. description: 委托价格(账户)
  8172. type: number
  8173. orderqty:
  8174. description: 委托数量
  8175. type: integer
  8176. ordertime:
  8177. description: 委托时间
  8178. type: string
  8179. pricemode:
  8180. description: '取价方式 - 1:市价 2: 限价'
  8181. type: integer
  8182. tradedate:
  8183. description: 交易日(yyyyMMdd)
  8184. type: string
  8185. tradeqty:
  8186. description: 成交数量
  8187. type: integer
  8188. type: object
  8189. models.QueryHedgeTradeDetailRsp:
  8190. properties:
  8191. accountid:
  8192. description: 账号ID
  8193. type: integer
  8194. buyorsell:
  8195. description: 方向 - 0:买 1:卖
  8196. type: integer
  8197. channelbuildtype:
  8198. description: 委托单据类型 0:无 1:建仓 2:平仓
  8199. type: integer
  8200. closecharge:
  8201. description: 平仓手续费(账户)
  8202. type: number
  8203. closecharge2:
  8204. description: 平仓手续费(商品)
  8205. type: number
  8206. closepl:
  8207. description: 平仓盈亏(账户)
  8208. type: number
  8209. closepl2:
  8210. description: 平仓盈亏(商品)
  8211. type: number
  8212. closepl3:
  8213. description: 平仓盈亏(账户)(逐笔)
  8214. type: number
  8215. closepl4:
  8216. description: 平仓盈亏(商品)(逐笔)
  8217. type: number
  8218. closetype:
  8219. description: 平仓方式 - 0:无 1:平今 2:平昨
  8220. type: integer
  8221. curexchangerate:
  8222. description: 当前汇率
  8223. type: number
  8224. exchangefullname:
  8225. description: 外部交易所全称
  8226. type: string
  8227. goodscode:
  8228. description: 商品代码(内部)
  8229. type: string
  8230. goodsid:
  8231. description: 商品ID
  8232. type: integer
  8233. goodsname:
  8234. description: 商品名称
  8235. type: string
  8236. marketid:
  8237. description: 市场ID
  8238. type: integer
  8239. opencharge:
  8240. description: 建仓手续费(账户)
  8241. type: number
  8242. opencharge2:
  8243. description: 建仓手续费(商品)
  8244. type: number
  8245. orderid:
  8246. description: 委托单号
  8247. type: string
  8248. orderlogincode:
  8249. description: 委托人
  8250. type: string
  8251. tradeamount:
  8252. description: 成交金额(账户)
  8253. type: number
  8254. tradedate:
  8255. description: 交易日(yyyyMMdd)
  8256. type: string
  8257. tradeid:
  8258. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8259. type: string
  8260. tradeprice:
  8261. description: 成交价格
  8262. type: number
  8263. tradeqty:
  8264. description: 成交数量
  8265. type: integer
  8266. tradetime:
  8267. description: 成交时间
  8268. type: string
  8269. tradetype:
  8270. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  8271. type: integer
  8272. type: object
  8273. models.QuotePrimaryMenu:
  8274. properties:
  8275. Index:
  8276. description: 序号
  8277. type: integer
  8278. Key:
  8279. description: 键名
  8280. type: string
  8281. Name:
  8282. description: 菜单名称
  8283. type: string
  8284. SubMenus:
  8285. description: 子菜单
  8286. items:
  8287. $ref: '#/definitions/models.QuoteSecondaryMenu'
  8288. type: array
  8289. SubTitleType:
  8290. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  8291. type: integer
  8292. TradeModes:
  8293. description: 包含市场交易类型
  8294. type: string
  8295. type: object
  8296. models.QuoteSecondaryMenu:
  8297. properties:
  8298. ExExchangeCode:
  8299. description: 外部交易所代码
  8300. type: string
  8301. ExExchangeID:
  8302. description: 外部交易所ID
  8303. type: integer
  8304. GoodsGroupIDs:
  8305. description: 商品组ID列表
  8306. items:
  8307. type: integer
  8308. type: array
  8309. Index:
  8310. description: 序号
  8311. type: integer
  8312. MarketID:
  8313. description: 市场ID
  8314. type: integer
  8315. MenuTitle:
  8316. description: 菜单标题(市场名称或外部交易所名称)
  8317. type: string
  8318. TradeMode:
  8319. description: 交易模式
  8320. type: integer
  8321. type: object
  8322. models.SearchGoods:
  8323. properties:
  8324. goodscode:
  8325. description: 商品代码(内部)
  8326. type: string
  8327. goodsid:
  8328. description: 商品ID(自增ID SEQ_GOODS)
  8329. type: integer
  8330. goodsname:
  8331. description: 商品名称
  8332. type: string
  8333. marketid:
  8334. description: 所属市场ID
  8335. type: integer
  8336. marketname:
  8337. description: 市场名称
  8338. type: string
  8339. trademode:
  8340. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8341. 21:竞拍-大宗式 22:受托竞价
  8342. type: integer
  8343. required:
  8344. - goodscode
  8345. - goodsid
  8346. - goodsname
  8347. - marketid
  8348. - trademode
  8349. type: object
  8350. models.Systemparam:
  8351. properties:
  8352. loginid:
  8353. description: 更新用户账号,登录账号
  8354. type: string
  8355. modifyflag:
  8356. description: 修改标志0 不允许修改 1 允许修改
  8357. type: integer
  8358. paramcode:
  8359. description: 参数代码
  8360. type: string
  8361. paramname:
  8362. description: 参数名
  8363. type: string
  8364. paramtype:
  8365. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  8366. type: integer
  8367. paramvalue:
  8368. description: 参数值
  8369. type: string
  8370. paramvalue2:
  8371. description: 参数值(CLOB)
  8372. type: string
  8373. regexpress:
  8374. description: 正则表达式
  8375. type: string
  8376. remark:
  8377. description: 备注
  8378. type: string
  8379. serverip:
  8380. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  8381. type: string
  8382. showflag:
  8383. description: 是否显示0 不显示 1 显示
  8384. type: integer
  8385. updatetime:
  8386. description: 更新时间
  8387. type: string
  8388. userid:
  8389. description: 更新用户ID
  8390. type: integer
  8391. required:
  8392. - paramcode
  8393. type: object
  8394. models.Szdz3convertconfig:
  8395. properties:
  8396. canin:
  8397. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  8398. type: integer
  8399. canout:
  8400. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  8401. type: integer
  8402. converttype:
  8403. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  8404. 6:交易转花生米(不设置)
  8405. type: integer
  8406. createtime:
  8407. description: 创建时间
  8408. type: string
  8409. creatorid:
  8410. description: 创建人
  8411. type: integer
  8412. daymaxvalue:
  8413. description: 当日最大转入限制
  8414. type: number
  8415. freezedays:
  8416. description: 冻结天数 [5:花生米转交易]
  8417. type: integer
  8418. innergoodsid:
  8419. description: 内部商品ID[交易]
  8420. type: integer
  8421. inratio:
  8422. description: 目标值
  8423. type: integer
  8424. modifierid:
  8425. description: 修改人
  8426. type: integer
  8427. modifytime:
  8428. description: 修改时间
  8429. type: string
  8430. outergoodscode:
  8431. description: 外部商品代码[JD\PD]
  8432. type: string
  8433. outratio:
  8434. description: 源值
  8435. type: integer
  8436. pddecimalplace:
  8437. description: PD小数位
  8438. type: integer
  8439. timemaxvalue:
  8440. description: 单次最大转入限制
  8441. type: number
  8442. timeminvalue:
  8443. description: 单次最小转入限制
  8444. type: number
  8445. required:
  8446. - converttype
  8447. - innergoodsid
  8448. - outergoodscode
  8449. type: object
  8450. models.Szdz3searchwhitelist:
  8451. properties:
  8452. createtime:
  8453. description: 创建时间
  8454. type: string
  8455. creatorid:
  8456. description: 创建人
  8457. type: integer
  8458. modifierid:
  8459. description: 修改人
  8460. type: integer
  8461. modifytime:
  8462. description: 修改时间
  8463. type: string
  8464. userid:
  8465. description: 用户ID
  8466. type: integer
  8467. required:
  8468. - userid
  8469. type: object
  8470. models.Taaccount:
  8471. properties:
  8472. accountflag:
  8473. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  8474. type: integer
  8475. accountid:
  8476. description: 资金账户ID
  8477. type: integer
  8478. accountname:
  8479. description: 账户名称
  8480. type: string
  8481. balance:
  8482. description: 期初余额
  8483. type: number
  8484. capitalbalance:
  8485. description: 本金余额[外部子账户实际出入金余额]
  8486. type: number
  8487. changeflag:
  8488. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  8489. type: integer
  8490. changetime:
  8491. description: 账户状态变更时间
  8492. type: string
  8493. closepl:
  8494. description: 今日平仓盈亏
  8495. type: number
  8496. creditdecrease:
  8497. description: 今日授信减少
  8498. type: number
  8499. creditincrease:
  8500. description: 今日授信增加
  8501. type: number
  8502. currencyid:
  8503. description: 货币ID
  8504. type: integer
  8505. currentbalance:
  8506. description: 期末余额
  8507. type: number
  8508. freezecharge:
  8509. description: 手续费冻结
  8510. type: number
  8511. freezemargin:
  8512. description: 冻结保证金
  8513. type: number
  8514. fromaccountid:
  8515. description: 所属上级账户
  8516. type: integer
  8517. inamount:
  8518. description: 今日入金金额(包括三方入金)
  8519. type: number
  8520. ismain:
  8521. description: 是否母账号 0:不是母账户 1:是母账户
  8522. type: integer
  8523. ismarketaccount:
  8524. description: 是否机构接单账号 0:不是 1:是
  8525. type: integer
  8526. isreckonaccount:
  8527. description: 是否机构分润账号 0:不是 1:是
  8528. type: integer
  8529. mortgagecredit:
  8530. description: 授信金额
  8531. type: number
  8532. orifreezecharge:
  8533. description: 期初手续费冻结
  8534. type: number
  8535. orifreezemargin:
  8536. description: 期初冻结保证金
  8537. type: number
  8538. orimortgagecredit:
  8539. description: 期初授信金额
  8540. type: number
  8541. oriothercredit:
  8542. description: 期初其它授信金额
  8543. type: number
  8544. oriotherfreezemargin:
  8545. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  8546. type: number
  8547. orioutamountfreeze:
  8548. description: 期初出金冻结
  8549. type: number
  8550. oriusedmargin:
  8551. description: 期初占用保证金
  8552. type: number
  8553. othercredit:
  8554. description: 其它授信金额
  8555. type: number
  8556. othercreditdecrease:
  8557. description: 今日其它授信减少
  8558. type: number
  8559. othercreditincrease:
  8560. description: 今日其它授信增加
  8561. type: number
  8562. otherfreezemargin:
  8563. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  8564. type: number
  8565. otherincome:
  8566. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  8567. type: number
  8568. otherpay:
  8569. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  8570. type: number
  8571. outamount:
  8572. description: 今日出金金额(包括三方出金)
  8573. type: number
  8574. outamountfreeze:
  8575. description: 出金冻结
  8576. type: number
  8577. outthreshold:
  8578. description: 出金阈值
  8579. type: number
  8580. parentaccountid:
  8581. description: 所属根账号
  8582. type: integer
  8583. paycharge:
  8584. description: 今日手续费支出
  8585. type: number
  8586. relatedaccountstatus:
  8587. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  8588. type: integer
  8589. relateduserid:
  8590. description: 关联用户
  8591. type: integer
  8592. serivcegroup:
  8593. description: 服务分组
  8594. type: integer
  8595. signstatus:
  8596. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  8597. type: integer
  8598. sublevelpath:
  8599. description: 账号层级路径(逗号分隔,首尾加逗号)
  8600. type: string
  8601. taaccounttype:
  8602. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  8603. type: integer
  8604. thirdinamount:
  8605. description: 今日三方入金
  8606. type: number
  8607. thirdoutamount:
  8608. description: 今日三方出金
  8609. type: number
  8610. tradestatus:
  8611. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8612. type: integer
  8613. tradestatuschangetime:
  8614. description: 激活时间
  8615. type: string
  8616. transferamount:
  8617. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  8618. type: number
  8619. usedmargin:
  8620. description: 占用保证金
  8621. type: number
  8622. userid:
  8623. description: 用户ID
  8624. type: integer
  8625. required:
  8626. - accountid
  8627. - userid
  8628. type: object
  8629. models.Tablecolumnconfig:
  8630. properties:
  8631. aligntype:
  8632. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  8633. type: integer
  8634. autoid:
  8635. description: AutoID
  8636. type: integer
  8637. columnfield:
  8638. description: 列字段
  8639. type: string
  8640. columntitle:
  8641. description: 列Title
  8642. type: string
  8643. columnwidth:
  8644. description: 列宽
  8645. type: string
  8646. formatterstring:
  8647. description: 格式化字符
  8648. type: string
  8649. formattertype:
  8650. description: 格式化类型
  8651. type: string
  8652. groupname:
  8653. description: 表头分组名称
  8654. type: string
  8655. isshow:
  8656. description: 是否显示 - 0:不显示 1:显示
  8657. type: integer
  8658. needsummary:
  8659. description: 是否需要汇总 - 0:不需要 1:需要
  8660. type: integer
  8661. orderindex:
  8662. description: 顺序
  8663. type: integer
  8664. remark:
  8665. description: 备注
  8666. type: string
  8667. summarytype:
  8668. description: 汇总类型 - 1:加总 2:最后一个
  8669. type: integer
  8670. tablekey:
  8671. description: 列表Key
  8672. type: string
  8673. required:
  8674. - autoid
  8675. type: object
  8676. models.Useraccount:
  8677. properties:
  8678. accountname:
  8679. description: 账户名称(机构名称)
  8680. type: string
  8681. accountstatus:
  8682. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  8683. type: integer
  8684. auditremark:
  8685. description: 审核备注
  8686. type: string
  8687. audittime:
  8688. description: 审核时间
  8689. type: string
  8690. audituserid:
  8691. description: 审核人
  8692. type: integer
  8693. broker:
  8694. description: 所属经纪人ID
  8695. type: integer
  8696. canceltime:
  8697. description: 销户时间
  8698. type: string
  8699. canceluserid:
  8700. description: 销户人
  8701. type: integer
  8702. createtime:
  8703. description: 创建时间
  8704. type: string
  8705. creatorid:
  8706. description: 创建人
  8707. type: integer
  8708. hasauth:
  8709. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  8710. type: integer
  8711. isanonymous:
  8712. description: 是否匿名下单 - 0:否 1:是
  8713. type: integer
  8714. maxinvestornum:
  8715. description: 最大用户数(经纪会员下投资者个数)
  8716. type: integer
  8717. memberuserid:
  8718. description: 所属会员ID
  8719. type: integer
  8720. modifierid:
  8721. description: 修改人
  8722. type: integer
  8723. modifyremark:
  8724. description: 变更备注
  8725. type: string
  8726. modifystatus:
  8727. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  8728. type: integer
  8729. modifytime:
  8730. description: 修改时间
  8731. type: string
  8732. parentuserid:
  8733. description: 所属机构ID
  8734. type: integer
  8735. reckonaccountid:
  8736. description: 默认结算资金账号ID(机构分润使用) 作废
  8737. type: integer
  8738. refercount:
  8739. description: 推荐总人数
  8740. type: integer
  8741. refereeuserid:
  8742. description: 推荐人ID
  8743. type: integer
  8744. refernum:
  8745. description: 推荐码
  8746. type: string
  8747. subarealevelpath:
  8748. description: 子机构层级路径(逗号分隔,首尾加逗号)
  8749. type: string
  8750. userid:
  8751. description: 用户ID
  8752. type: integer
  8753. usertype:
  8754. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  8755. type: integer
  8756. required:
  8757. - userid
  8758. type: object
  8759. models.Userfavoritegoods:
  8760. properties:
  8761. goodsid:
  8762. description: 商品ID
  8763. type: integer
  8764. required:
  8765. - goodsid
  8766. type: object
  8767. models.Userinfo:
  8768. properties:
  8769. address:
  8770. description: 地址
  8771. type: string
  8772. attachment1:
  8773. description: 附件1
  8774. type: string
  8775. attachment2:
  8776. description: 附件2
  8777. type: string
  8778. bankaccount:
  8779. description: 银行帐号 (加密存储)
  8780. type: string
  8781. bankaccountname:
  8782. description: 收款人名称
  8783. type: string
  8784. bankcardfrontphotourl:
  8785. description: 银行卡正面照地址
  8786. type: string
  8787. bankid:
  8788. description: 银行编码
  8789. type: string
  8790. bankname:
  8791. description: 银行名称
  8792. type: string
  8793. biznature:
  8794. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  8795. type: integer
  8796. bizscope:
  8797. description: 企业经营范围(企业)
  8798. type: string
  8799. cardbackphotourl:
  8800. description: 证件背面图片地址
  8801. type: string
  8802. cardfrontphotourl:
  8803. description: 证件正面图片地址
  8804. type: string
  8805. cardnum:
  8806. description: 证件号码(加密存储)
  8807. type: string
  8808. cardtypeid:
  8809. description: 证件类型ID
  8810. type: integer
  8811. cityid:
  8812. description: 市
  8813. type: integer
  8814. company:
  8815. description: 公司(个人)
  8816. type: string
  8817. contactname:
  8818. description: 联系人
  8819. type: string
  8820. countryid:
  8821. description: 国家
  8822. type: integer
  8823. createtime:
  8824. description: 创建时间
  8825. type: string
  8826. creatorid:
  8827. description: 创建人
  8828. type: integer
  8829. customername:
  8830. description: 客户名称(企业名称)
  8831. type: string
  8832. districtid:
  8833. description: 地区
  8834. type: integer
  8835. email:
  8836. description: 邮件(加密存储)
  8837. type: string
  8838. fax:
  8839. description: 传真(加密存储)
  8840. type: string
  8841. halfbodyphotourl:
  8842. description: 半身照地址
  8843. type: string
  8844. hasencrypt:
  8845. description: 数据是否已加密 - 0:未加密 1:已加密
  8846. type: integer
  8847. headurl:
  8848. description: 头像地址
  8849. type: string
  8850. legalcardbackphotourl:
  8851. description: 法人身份证背面照地址
  8852. type: string
  8853. legalcardfrontphotourl:
  8854. description: 法人身份证正面照地址
  8855. type: string
  8856. legalpersonname:
  8857. description: 法人姓名(企业)
  8858. type: string
  8859. mobile:
  8860. description: 手机号码(加密存储)
  8861. type: string
  8862. mobile2:
  8863. description: 手机号码[明文-尚志]
  8864. type: string
  8865. modifierid:
  8866. description: 修改人
  8867. type: integer
  8868. modifiertime:
  8869. description: 修改时间
  8870. type: string
  8871. needinvoice:
  8872. description: 是否需要发票 - 0:不需要 1:需要
  8873. type: integer
  8874. nickname:
  8875. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  8876. type: string
  8877. openmode:
  8878. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  8879. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  8880. type: integer
  8881. otherurl:
  8882. description: 其它图片地址[使用分号分隔]
  8883. type: string
  8884. postalcode:
  8885. description: 邮政编码
  8886. type: string
  8887. provinceid:
  8888. description: 省
  8889. type: integer
  8890. qq:
  8891. description: QQ(加密存储
  8892. type: string
  8893. remark:
  8894. description: 备注
  8895. type: string
  8896. sex:
  8897. description: '用户性别 0: 女 1: 男'
  8898. type: integer
  8899. signpdfurl:
  8900. description: 签约pdf文件
  8901. type: string
  8902. telphone:
  8903. description: 联系电话(加密存储)
  8904. type: string
  8905. userid:
  8906. description: 用户ID
  8907. type: integer
  8908. userinfotype:
  8909. description: 用户信息类型 - 1:个人 2:企业
  8910. type: integer
  8911. userstatus:
  8912. description: 用户状态 - 1:正常 2:注销
  8913. type: integer
  8914. usertype:
  8915. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  8916. type: integer
  8917. wechat:
  8918. description: 微信(加密存储)
  8919. type: string
  8920. wskhinfo:
  8921. description: 开户申请信息(JSON)
  8922. type: string
  8923. required:
  8924. - userid
  8925. type: object
  8926. models.WRSConverTDetail:
  8927. properties:
  8928. convertratio:
  8929. description: 套保系数
  8930. type: number
  8931. deliverygoodscode:
  8932. description: 现货商品代码
  8933. type: string
  8934. deliverygoodsid:
  8935. description: 现货品种ID
  8936. type: integer
  8937. deliverygoodsname:
  8938. description: 现货商品名称
  8939. type: string
  8940. enumdicname:
  8941. description: 单位名称
  8942. type: string
  8943. goodsunitid:
  8944. description: 套保品种单位id
  8945. type: integer
  8946. middlegoodscode:
  8947. description: 套保品种代码
  8948. type: string
  8949. middlegoodsid:
  8950. description: 套保品种ID
  8951. type: integer
  8952. middlegoodsname:
  8953. description: 套保品种名称
  8954. type: string
  8955. modifytime:
  8956. description: 修改时间
  8957. type: string
  8958. wrstandardid:
  8959. description: 品类ID
  8960. type: integer
  8961. type: object
  8962. models.WRStandardInfo:
  8963. properties:
  8964. areauserid:
  8965. description: 所属机构
  8966. type: integer
  8967. convertfactor:
  8968. description: 标仓系数
  8969. type: number
  8970. createtime:
  8971. description: 创建时间
  8972. type: string
  8973. creatorid:
  8974. description: 创建人
  8975. type: integer
  8976. deliverygoodsid:
  8977. description: 品种ID
  8978. type: integer
  8979. deliverygoodsname:
  8980. description: 交割商品名称
  8981. type: string
  8982. factoryitemjson:
  8983. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  8984. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  8985. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  8986. 逗号分隔'
  8987. type: string
  8988. isvalid:
  8989. description: 是否有效 - 0:无效 1:有效
  8990. type: integer
  8991. minivalue:
  8992. description: 最小变动值
  8993. type: integer
  8994. minivaluedp:
  8995. description: 最小变动值小数位
  8996. type: integer
  8997. realminivalue:
  8998. description: 实际最小变动值
  8999. type: integer
  9000. realminivaluedp:
  9001. description: 实际最小变动值小数位
  9002. type: integer
  9003. remark:
  9004. description: 备注
  9005. type: string
  9006. unitid:
  9007. description: 单位ID
  9008. type: integer
  9009. unitname:
  9010. description: 单位
  9011. type: string
  9012. updatetime:
  9013. description: 更新时间
  9014. type: string
  9015. updatorid:
  9016. description: 更新人
  9017. type: integer
  9018. wrsstatus:
  9019. description: 状态 - 作废 - 0:未激活 1:正常
  9020. type: integer
  9021. wrstandardcode:
  9022. description: 现货品类代码
  9023. type: string
  9024. wrstandardid:
  9025. description: 现货品类ID(SEQ_WRSTANDARD)
  9026. type: integer
  9027. wrstandardname:
  9028. description: 现货品类名称
  9029. type: string
  9030. required:
  9031. - wrstandardid
  9032. type: object
  9033. models.Warehouseinfo:
  9034. properties:
  9035. address:
  9036. description: 详细地址
  9037. type: string
  9038. areauserid:
  9039. description: 所属机构
  9040. type: integer
  9041. autoid:
  9042. description: 自增ID
  9043. type: integer
  9044. cityid:
  9045. description: 市
  9046. type: integer
  9047. contactname:
  9048. description: 联系人
  9049. type: string
  9050. contactnum:
  9051. description: 联系电话
  9052. type: string
  9053. countryid:
  9054. description: 国家
  9055. type: integer
  9056. createtime:
  9057. description: 创建时间
  9058. type: string
  9059. districtid:
  9060. description: 区
  9061. type: integer
  9062. hasvideo:
  9063. description: 是否有视频 - 0:无 1:有
  9064. type: integer
  9065. provinceid:
  9066. description: 省
  9067. type: integer
  9068. remark:
  9069. description: 审核备注
  9070. type: string
  9071. videourl:
  9072. description: 视频地址
  9073. type: string
  9074. warehousecode:
  9075. description: 仓库代码
  9076. type: string
  9077. warehousename:
  9078. description: 仓库名称
  9079. type: string
  9080. warehousestatus:
  9081. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  9082. type: integer
  9083. warehousetype:
  9084. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  9085. type: integer
  9086. required:
  9087. - autoid
  9088. - warehousecode
  9089. type: object
  9090. order.QueryHisTradeDetailRsp:
  9091. properties:
  9092. accountid:
  9093. description: 账户ID[报价币种]
  9094. type: integer
  9095. buildtype:
  9096. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  9097. type: integer
  9098. buyorsell:
  9099. description: 方向 - 0:买 1:卖
  9100. type: integer
  9101. charge:
  9102. description: 手续费
  9103. type: number
  9104. closecharge:
  9105. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9106. type: number
  9107. closeexchagechargevalue:
  9108. description: 平仓交易所手续费设置值
  9109. type: number
  9110. closefeealgorithm:
  9111. description: 平仓手续费收取方式 1:比率 2:固定
  9112. type: integer
  9113. closememberchargevalue:
  9114. description: 平仓会员手续费设置值
  9115. type: number
  9116. closepl:
  9117. description: 平仓盈亏
  9118. type: number
  9119. closepl2:
  9120. description: 平仓盈亏[逐笔]
  9121. type: number
  9122. closeqty:
  9123. description: 平仓数量(先建后平操作 需要记录)
  9124. type: integer
  9125. creditamount:
  9126. description: 授信金额
  9127. type: number
  9128. gcaccountid:
  9129. description: 账户ID[合约币种]
  9130. type: integer
  9131. goodscode:
  9132. description: 商品代码
  9133. type: string
  9134. goodsid:
  9135. description: 商品ID
  9136. type: integer
  9137. goodsname:
  9138. description: 商品名称
  9139. type: string
  9140. histradedate:
  9141. description: 历史交易日
  9142. type: string
  9143. intclosepl:
  9144. description: 整型盈亏(用于交易结算试算平衡-收益权)
  9145. type: integer
  9146. isconfirmexercise:
  9147. description: 是否确认行权- 0:否 1:是
  9148. type: integer
  9149. ismain:
  9150. description: 是否主单 - 0:不是 1:是
  9151. type: integer
  9152. ispreexercise:
  9153. description: 是否预申报- 0:否 1:是
  9154. type: integer
  9155. isreckoned:
  9156. description: 是否结算 - 0:未结算 1:已结算
  9157. type: integer
  9158. isvaliddata:
  9159. description: 是否有效 - 0:无效 1:有效
  9160. type: integer
  9161. listingselecttype:
  9162. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9163. type: integer
  9164. marketid:
  9165. description: 市场ID
  9166. type: integer
  9167. marketname:
  9168. description: 市场名称
  9169. type: string
  9170. matchaccountid:
  9171. description: 对手账号id
  9172. type: integer
  9173. memberuserid:
  9174. description: 会员id 个人投资者 需要填写
  9175. type: integer
  9176. opencharge:
  9177. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9178. type: number
  9179. openexchagechargevalue:
  9180. description: 建仓交易所手续费设置值
  9181. type: number
  9182. openfeealgorithm:
  9183. description: 建仓手续费收取方式 1:比率 2:固定
  9184. type: integer
  9185. openmemberchargevalue:
  9186. description: 建仓会员手续费设置值
  9187. type: number
  9188. openqty:
  9189. description: 开仓数量(先建后平操作 需要记录)
  9190. type: integer
  9191. optiontype:
  9192. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  9193. type: integer
  9194. orderid:
  9195. description: 委托单号
  9196. type: string
  9197. performanceplanid:
  9198. description: 履约计划ID[期权]
  9199. type: integer
  9200. performancestatus:
  9201. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  9202. type: integer
  9203. preexerciseprice:
  9204. description: 预申报价格
  9205. type: number
  9206. premium:
  9207. description: 权利金 - [持仓单的权利金]
  9208. type: number
  9209. relatedouttradeid:
  9210. description: 关联外部成交单ID
  9211. type: integer
  9212. status:
  9213. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  9214. type: integer
  9215. tradeamount:
  9216. description: 成交金额[账户币种,用于所有权]
  9217. type: number
  9218. tradedate:
  9219. description: 交易日(yyyyMMdd)
  9220. type: string
  9221. tradeid:
  9222. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9223. type: string
  9224. trademode:
  9225. description: 交易模式
  9226. type: integer
  9227. tradeprice:
  9228. description: 成交价格
  9229. type: number
  9230. tradeproperty:
  9231. description: 交易属性
  9232. type: integer
  9233. tradeqty:
  9234. description: 成交数量
  9235. type: integer
  9236. tradetime:
  9237. description: 成交时间
  9238. type: string
  9239. tradetype:
  9240. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  9241. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  9242. type: integer
  9243. required:
  9244. - accountid
  9245. - buyorsell
  9246. - goodsid
  9247. - histradedate
  9248. - marketid
  9249. - memberuserid
  9250. - orderid
  9251. - tradeamount
  9252. - tradedate
  9253. - tradeid
  9254. - tradeprice
  9255. - tradeqty
  9256. - tradetime
  9257. type: object
  9258. order.QueryHisTradeOrderDetailRsp:
  9259. properties:
  9260. accountid:
  9261. description: 账户ID[报价币种]
  9262. type: integer
  9263. buildtype:
  9264. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  9265. type: integer
  9266. buyorsell:
  9267. description: 买卖 - 0:买 1:卖
  9268. type: integer
  9269. cancelorderid:
  9270. description: 撤单单号(撤单时填写)
  9271. type: string
  9272. cancelqty:
  9273. description: 撤单数量
  9274. type: integer
  9275. clientordertime:
  9276. description: 客户端委托时间
  9277. type: string
  9278. clientticket:
  9279. description: 客户端流水号
  9280. type: string
  9281. clienttype:
  9282. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  9283. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9284. type: integer
  9285. closeexchagechargevalue:
  9286. description: 平仓交易所手续费设置值
  9287. type: number
  9288. closefeealgorithm:
  9289. description: 平仓手续费收取方式 1:比率 2:固定
  9290. type: integer
  9291. closefreezecharge:
  9292. description: 平仓冻结手续费(先建后平操作,需要记录)
  9293. type: number
  9294. closememberchargevalue:
  9295. description: 平仓会员手续费设置值
  9296. type: number
  9297. closeqty:
  9298. description: 平仓数量(先建后平操作 需要记录)
  9299. type: integer
  9300. closetradeqty:
  9301. description: 平仓成交数量(先建后平操作,需要记录)
  9302. type: integer
  9303. closeunfreezecharge:
  9304. description: 平仓解冻手续费(先建后平操作,需要记录)
  9305. type: number
  9306. delistingtype:
  9307. description: 摘牌类型 - 1:价格最优 2:点选成交
  9308. type: integer
  9309. freezecharge:
  9310. description: 冻结手续费
  9311. type: number
  9312. freezemargin:
  9313. description: 冻结保证金(冻结交易金额)
  9314. type: number
  9315. gcaccountid:
  9316. description: 账户ID[合约币种]
  9317. type: integer
  9318. goodscode:
  9319. description: 商品代码
  9320. type: string
  9321. goodsid:
  9322. description: 商品ID
  9323. type: integer
  9324. goodsname:
  9325. description: 商品名称
  9326. type: string
  9327. histradedate:
  9328. description: 历史交易日
  9329. type: string
  9330. isconfirmexercise:
  9331. description: 是否确认行权- 0:否 1:是
  9332. type: integer
  9333. ispreexercise:
  9334. description: 是否预申报- 0:否 1:是
  9335. type: integer
  9336. isvaliddata:
  9337. description: 是否有效 - 0:无效 1:有效
  9338. type: integer
  9339. listingselecttype:
  9340. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9341. type: integer
  9342. marginalgorithm:
  9343. description: 保证金收取方式 1:比率 2:固定
  9344. type: integer
  9345. marginvalue:
  9346. description: 即市保证金设置值
  9347. type: number
  9348. marketid:
  9349. description: 市场ID
  9350. type: integer
  9351. marketmaxsub:
  9352. description: 市价最大偏移范围
  9353. type: number
  9354. marketname:
  9355. description: 市场名称
  9356. type: string
  9357. memberuserid:
  9358. description: 所属会员UserID
  9359. type: integer
  9360. openexchagechargevalue:
  9361. description: 建仓交易所手续费设置值
  9362. type: number
  9363. openfeealgorithm:
  9364. description: 建仓手续费收取方式 1:比率 2:固定
  9365. type: integer
  9366. openfreezecharge:
  9367. description: 开仓冻结手续费(先建后平操作,需要记录)
  9368. type: number
  9369. openmemberchargevalue:
  9370. description: 建仓会员手续费设置值
  9371. type: number
  9372. openqty:
  9373. description: 开仓数量(先建后平操作,需要记录)
  9374. type: integer
  9375. opentradeqty:
  9376. description: 开仓成交数量(先建后平操作,需要记录)
  9377. type: integer
  9378. openunfreezecharge:
  9379. description: 开仓解冻手续费(先建后平操作,需要记录)
  9380. type: number
  9381. operatetype:
  9382. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  9383. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  9384. 15:管理端协议转让
  9385. type: integer
  9386. operatorid:
  9387. description: 登录账号(LoginID)
  9388. type: integer
  9389. optiontype:
  9390. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  9391. type: integer
  9392. orderid:
  9393. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9394. type: string
  9395. orderprice:
  9396. description: 委托价格
  9397. type: number
  9398. orderqty:
  9399. description: 委托数量
  9400. type: integer
  9401. ordersrc:
  9402. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  9403. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  9404. type: integer
  9405. orderstatus:
  9406. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9407. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9408. 16:成交失败违约(荷兰式竞拍专用)
  9409. type: integer
  9410. ordertime:
  9411. description: 委托时间
  9412. type: string
  9413. preexerciseprice:
  9414. description: 预申报价格
  9415. type: number
  9416. premium:
  9417. description: 权利金
  9418. type: number
  9419. preorderid:
  9420. description: 关联预埋单号(止盈止损单时填写)
  9421. type: string
  9422. pricemode:
  9423. description: '取价方式 - 1:市价 2: 限价'
  9424. type: integer
  9425. quoteid:
  9426. description: 报价单ID
  9427. type: integer
  9428. relatedid:
  9429. description: 关联单号(交割单)
  9430. type: string
  9431. retcode:
  9432. description: 错误代码
  9433. type: integer
  9434. sessionid:
  9435. description: 会话ID
  9436. type: integer
  9437. tradedate:
  9438. description: 交易日(yyyyMMdd)
  9439. type: string
  9440. trademode:
  9441. description: 交易模式
  9442. type: integer
  9443. tradeproperty:
  9444. description: 交易属性
  9445. type: integer
  9446. tradeqty:
  9447. description: 成交数量
  9448. type: integer
  9449. unfreezecharge:
  9450. description: 解冻手续费
  9451. type: number
  9452. unfreezemargin:
  9453. description: 解冻保证金
  9454. type: number
  9455. updatetime:
  9456. description: 更新时间
  9457. type: string
  9458. uuid:
  9459. description: 发起端唯一id
  9460. type: string
  9461. validtime:
  9462. description: 有效期限
  9463. type: string
  9464. validtype:
  9465. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  9466. type: integer
  9467. volumetype:
  9468. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  9469. type: integer
  9470. required:
  9471. - accountid
  9472. - buildtype
  9473. - buyorsell
  9474. - goodsid
  9475. - histradedate
  9476. - marketid
  9477. - memberuserid
  9478. - operatetype
  9479. - orderid
  9480. - orderqty
  9481. - ordertime
  9482. - pricemode
  9483. - tradedate
  9484. - validtype
  9485. type: object
  9486. order.QueryTradeDetailRsp:
  9487. properties:
  9488. accountid:
  9489. description: 账户ID[报价币种]
  9490. type: integer
  9491. buildtype:
  9492. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  9493. type: integer
  9494. buyorsell:
  9495. description: 方向 - 0:买 1:卖
  9496. type: integer
  9497. charge:
  9498. description: 手续费
  9499. type: number
  9500. closecharge:
  9501. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9502. type: number
  9503. closeexchagechargevalue:
  9504. description: 平仓交易所手续费设置值
  9505. type: number
  9506. closefeealgorithm:
  9507. description: 平仓手续费收取方式 1:比率 2:固定
  9508. type: integer
  9509. closememberchargevalue:
  9510. description: 平仓会员手续费设置值
  9511. type: number
  9512. closepl:
  9513. description: 平仓盈亏
  9514. type: number
  9515. closepl2:
  9516. description: 平仓盈亏[逐笔]
  9517. type: number
  9518. closeqty:
  9519. description: 平仓数量(先建后平操作 需要记录)
  9520. type: integer
  9521. creditamount:
  9522. description: 授信金额
  9523. type: number
  9524. gcaccountid:
  9525. description: 账户ID[合约币种]
  9526. type: integer
  9527. goodscode:
  9528. description: 商品代码
  9529. type: string
  9530. goodsid:
  9531. description: 商品ID
  9532. type: integer
  9533. goodsname:
  9534. description: 商品名称
  9535. type: string
  9536. intclosepl:
  9537. description: 整型盈亏(用于交易结算试算平衡-收益权)
  9538. type: integer
  9539. isconfirmexercise:
  9540. description: 是否确认行权- 0:否 1:是
  9541. type: integer
  9542. ismain:
  9543. description: 是否主单 - 0:不是 1:是
  9544. type: integer
  9545. ispreexercise:
  9546. description: 是否预申报- 0:否 1:是
  9547. type: integer
  9548. isreckoned:
  9549. description: 是否结算 - 0:未结算 1:已结算
  9550. type: integer
  9551. listingselecttype:
  9552. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9553. type: integer
  9554. marketid:
  9555. description: 市场ID
  9556. type: integer
  9557. marketname:
  9558. description: 市场名称
  9559. type: string
  9560. matchaccountid:
  9561. description: 对手账号id
  9562. type: integer
  9563. memberuserid:
  9564. description: 会员id 个人投资者 需要填写
  9565. type: integer
  9566. opencharge:
  9567. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9568. type: number
  9569. openexchagechargevalue:
  9570. description: 建仓交易所手续费设置值
  9571. type: number
  9572. openfeealgorithm:
  9573. description: 建仓手续费收取方式 1:比率 2:固定
  9574. type: integer
  9575. openmemberchargevalue:
  9576. description: 建仓会员手续费设置值
  9577. type: number
  9578. openqty:
  9579. description: 开仓数量(先建后平操作 需要记录)
  9580. type: integer
  9581. optiontype:
  9582. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  9583. type: integer
  9584. orderid:
  9585. description: 委托单号
  9586. type: string
  9587. performanceplanid:
  9588. description: 履约计划ID[期权]
  9589. type: integer
  9590. performancestatus:
  9591. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  9592. type: integer
  9593. preexerciseprice:
  9594. description: 预申报价格
  9595. type: number
  9596. premium:
  9597. description: 权利金 - [持仓单的权利金]
  9598. type: number
  9599. relatedouttradeid:
  9600. description: 关联外部成交单ID
  9601. type: integer
  9602. status:
  9603. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  9604. type: integer
  9605. tradeamount:
  9606. description: 成交金额[账户币种,用于所有权]
  9607. type: number
  9608. tradedate:
  9609. description: 交易日(yyyyMMdd)
  9610. type: string
  9611. tradeid:
  9612. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9613. type: string
  9614. trademode:
  9615. description: 交易模式
  9616. type: integer
  9617. tradeprice:
  9618. description: 成交价格
  9619. type: number
  9620. tradeproperty:
  9621. description: 交易属性
  9622. type: integer
  9623. tradeqty:
  9624. description: 成交数量
  9625. type: integer
  9626. tradetime:
  9627. description: 成交时间
  9628. type: string
  9629. tradetype:
  9630. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  9631. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  9632. type: integer
  9633. required:
  9634. - accountid
  9635. - buyorsell
  9636. - goodsid
  9637. - marketid
  9638. - memberuserid
  9639. - orderid
  9640. - tradeamount
  9641. - tradedate
  9642. - tradeid
  9643. - tradeprice
  9644. - tradeqty
  9645. - tradetime
  9646. type: object
  9647. order.QueryTradeOrderDetailRsp:
  9648. properties:
  9649. accountid:
  9650. description: 账户ID[报价币种]
  9651. type: integer
  9652. buildtype:
  9653. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  9654. type: integer
  9655. buyorsell:
  9656. description: 买卖 - 0:买 1:卖
  9657. type: integer
  9658. cancelorderid:
  9659. description: 撤单单号(撤单时填写)
  9660. type: string
  9661. cancelqty:
  9662. description: 撤单数量
  9663. type: integer
  9664. clienttype:
  9665. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  9666. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9667. type: integer
  9668. closefreezecharge:
  9669. description: 平仓冻结手续费(先建后平操作,需要记录)
  9670. type: number
  9671. closeqty:
  9672. description: 平仓数量(先建后平操作 需要记录)
  9673. type: integer
  9674. closetradeqty:
  9675. description: 平仓成交数量(先建后平操作,需要记录)
  9676. type: integer
  9677. closeunfreezecharge:
  9678. description: 平仓解冻手续费(先建后平操作,需要记录)
  9679. type: number
  9680. delistingtype:
  9681. description: 摘牌类型 - 1:价格最优 2:点选成交
  9682. type: integer
  9683. enableqty:
  9684. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  9685. type: integer
  9686. freezecharge:
  9687. description: 冻结手续费
  9688. type: number
  9689. freezemargin:
  9690. description: 冻结保证金(冻结交易金额)
  9691. type: number
  9692. goodscode:
  9693. description: 商品代码
  9694. type: string
  9695. goodsid:
  9696. description: 商品ID
  9697. type: integer
  9698. goodsname:
  9699. description: 商品名称
  9700. type: string
  9701. listingselecttype:
  9702. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9703. type: integer
  9704. marketid:
  9705. description: 市场ID
  9706. type: integer
  9707. marketname:
  9708. description: 市场名称
  9709. type: string
  9710. openfreezecharge:
  9711. description: 开仓冻结手续费(先建后平操作,需要记录)
  9712. type: number
  9713. openqty:
  9714. description: 开仓数量(先建后平操作,需要记录)
  9715. type: integer
  9716. opentradeqty:
  9717. description: 开仓成交数量(先建后平操作,需要记录)
  9718. type: integer
  9719. openunfreezecharge:
  9720. description: 开仓解冻手续费(先建后平操作,需要记录)
  9721. type: number
  9722. operatetype:
  9723. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  9724. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  9725. 15:管理端协议转让
  9726. type: integer
  9727. operatorid:
  9728. description: 登录账号(LoginID)
  9729. type: integer
  9730. orderid:
  9731. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9732. type: string
  9733. orderprice:
  9734. description: 委托价格
  9735. type: number
  9736. orderqty:
  9737. description: 委托数量
  9738. type: integer
  9739. ordersrc:
  9740. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  9741. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  9742. type: integer
  9743. orderstatus:
  9744. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9745. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9746. 16:成交失败违约(荷兰式竞拍专用)
  9747. type: integer
  9748. ordertime:
  9749. description: 委托时间
  9750. type: string
  9751. preorderid:
  9752. description: 关联预埋单号(止盈止损单时填写)
  9753. type: string
  9754. pricemode:
  9755. description: '取价方式 - 1:市价 2: 限价'
  9756. type: integer
  9757. relatedid:
  9758. description: 关联单号(交割单)
  9759. type: string
  9760. tradedate:
  9761. description: 交易日(yyyyMMdd)
  9762. type: string
  9763. trademode:
  9764. description: 交易模式
  9765. type: integer
  9766. tradeqty:
  9767. description: 成交数量
  9768. type: integer
  9769. unfreezecharge:
  9770. description: 解冻手续费
  9771. type: number
  9772. unfreezemargin:
  9773. description: 解冻保证金
  9774. type: number
  9775. validtime:
  9776. description: 有效期限
  9777. type: string
  9778. validtype:
  9779. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  9780. type: integer
  9781. volumetype:
  9782. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  9783. type: integer
  9784. required:
  9785. - accountid
  9786. - buildtype
  9787. - buyorsell
  9788. - goodsid
  9789. - marketid
  9790. - operatetype
  9791. - orderqty
  9792. - ordertime
  9793. - pricemode
  9794. - tradedate
  9795. - validtype
  9796. type: object
  9797. order.QueryTradePositionRsp:
  9798. properties:
  9799. accountid:
  9800. description: 资金账户
  9801. type: integer
  9802. agreeunit:
  9803. description: 合约单位
  9804. type: number
  9805. averageprice:
  9806. description: 持仓均价
  9807. type: number
  9808. buyorsell:
  9809. description: 方向 - 0:买 1:卖
  9810. type: integer
  9811. closetotalqty:
  9812. description: 平仓总数量
  9813. type: integer
  9814. curholderamount:
  9815. description: 当前持仓总金额[商品币种]
  9816. type: number
  9817. curpositionqty:
  9818. description: 当前持仓总数量
  9819. type: integer
  9820. currencyid:
  9821. description: 报价货币ID
  9822. type: integer
  9823. curtdposition:
  9824. description: 期末今日头寸
  9825. type: integer
  9826. decimalplace:
  9827. description: 报价小数位
  9828. type: integer
  9829. enableqty:
  9830. description: 可用量
  9831. type: integer
  9832. fretdposition:
  9833. description: 冻结今日头寸
  9834. type: integer
  9835. frozenqty:
  9836. description: 持仓冻结数量
  9837. type: integer
  9838. goodscode:
  9839. description: 商品代码
  9840. type: string
  9841. goodsid:
  9842. description: 商品Id
  9843. type: integer
  9844. goodsname:
  9845. description: 商品名称
  9846. type: string
  9847. goodunit:
  9848. description: 报价单位
  9849. type: string
  9850. goodunitid:
  9851. description: 报价单位ID
  9852. type: integer
  9853. holderamount:
  9854. description: 期初持仓总金额[商品币种]
  9855. type: number
  9856. marketid:
  9857. description: 所属市场ID
  9858. type: integer
  9859. openreqqty:
  9860. description: 开仓申请数量(用于比较最大持仓数量)
  9861. type: integer
  9862. opentotalqty:
  9863. description: 开仓总数量
  9864. type: integer
  9865. otherfrozenqty:
  9866. description: 持仓其他冻结数量(交割冻结)
  9867. type: integer
  9868. positionqty:
  9869. description: 期初持仓数量
  9870. type: integer
  9871. tnqty:
  9872. description: T+N冻结总量
  9873. type: integer
  9874. tnusedqty:
  9875. description: T+N使用量(可以使用T+N的冻结数量)
  9876. type: integer
  9877. trademode:
  9878. description: 交易模式
  9879. type: integer
  9880. usedmargin:
  9881. description: 占用保证金[商品币种]
  9882. type: number
  9883. required:
  9884. - goodsid
  9885. type: object
  9886. quote.HistoryData:
  9887. properties:
  9888. c:
  9889. description: 收盘价
  9890. type: number
  9891. f:
  9892. description: 是否补充数据
  9893. type: boolean
  9894. h:
  9895. description: 最高价
  9896. type: number
  9897. hv:
  9898. description: 持仓量
  9899. type: integer
  9900. l:
  9901. description: 最低价
  9902. type: number
  9903. o:
  9904. description: 开盘价
  9905. type: number
  9906. s:
  9907. description: 结算价,日线周期(包括)以上才有
  9908. type: number
  9909. ts:
  9910. description: 时间
  9911. type: string
  9912. tt:
  9913. description: 总金额
  9914. type: number
  9915. tv:
  9916. description: 总量
  9917. type: integer
  9918. type: object
  9919. quote.HistoryTikData:
  9920. properties:
  9921. AV:
  9922. description: 卖量
  9923. type: integer
  9924. Ask:
  9925. description: 卖价
  9926. type: number
  9927. BV:
  9928. description: 买量
  9929. type: integer
  9930. Bid:
  9931. description: 买价
  9932. type: number
  9933. HI:
  9934. description: 单笔持仓
  9935. type: integer
  9936. HV:
  9937. description: 持仓量
  9938. type: integer
  9939. PE:
  9940. description: 现价
  9941. type: number
  9942. TDR:
  9943. description: 交易方向,0:买 1:卖
  9944. type: integer
  9945. TK:
  9946. description: 交易类型
  9947. type: integer
  9948. TS:
  9949. description: 行情时间文本
  9950. type: string
  9951. TT:
  9952. description: 现金额
  9953. type: number
  9954. Vol:
  9955. description: 现量
  9956. type: integer
  9957. type: object
  9958. quote.QueryQuoteDayRsp:
  9959. properties:
  9960. ask:
  9961. description: 卖1
  9962. type: number
  9963. ask2:
  9964. description: 卖2
  9965. type: number
  9966. ask3:
  9967. description: 卖3
  9968. type: number
  9969. ask4:
  9970. description: 卖4
  9971. type: number
  9972. ask5:
  9973. description: 卖5
  9974. type: number
  9975. ask6:
  9976. description: 卖6
  9977. type: number
  9978. ask7:
  9979. description: 卖7
  9980. type: number
  9981. ask8:
  9982. description: 卖8
  9983. type: number
  9984. ask9:
  9985. description: 卖9
  9986. type: number
  9987. ask10:
  9988. description: 卖10
  9989. type: number
  9990. askorderid:
  9991. description: 卖单号1
  9992. type: integer
  9993. askorderid2:
  9994. description: 卖单号2
  9995. type: integer
  9996. askorderid3:
  9997. description: 卖单号3
  9998. type: integer
  9999. askorderid4:
  10000. description: 卖单号4
  10001. type: integer
  10002. askorderid5:
  10003. description: 卖单号5
  10004. type: integer
  10005. askordervolume:
  10006. description: 卖单量1
  10007. type: integer
  10008. askordervolume2:
  10009. description: 卖单量2
  10010. type: integer
  10011. askordervolume3:
  10012. description: 卖单量3
  10013. type: integer
  10014. askordervolume4:
  10015. description: 卖单量4
  10016. type: integer
  10017. askordervolume5:
  10018. description: 卖单量5
  10019. type: integer
  10020. askordervolume6:
  10021. description: 卖单量6
  10022. type: integer
  10023. askordervolume7:
  10024. description: 卖单量7
  10025. type: integer
  10026. askordervolume8:
  10027. description: 卖单量8
  10028. type: integer
  10029. askordervolume9:
  10030. description: 卖单量9
  10031. type: integer
  10032. askordervolume10:
  10033. description: 卖单量10
  10034. type: integer
  10035. askqueueinfo:
  10036. description: 大利市卖港股用
  10037. type: string
  10038. askvolume:
  10039. description: 卖量1
  10040. type: integer
  10041. askvolume2:
  10042. description: 卖量2
  10043. type: integer
  10044. askvolume3:
  10045. description: 卖量3
  10046. type: integer
  10047. askvolume4:
  10048. description: 卖量4
  10049. type: integer
  10050. askvolume5:
  10051. description: 卖量5
  10052. type: integer
  10053. askvolume6:
  10054. description: 卖量6
  10055. type: integer
  10056. askvolume7:
  10057. description: 卖量7
  10058. type: integer
  10059. askvolume8:
  10060. description: 卖量8
  10061. type: integer
  10062. askvolume9:
  10063. description: 卖量9
  10064. type: integer
  10065. askvolume10:
  10066. description: 卖量10
  10067. type: integer
  10068. averageprice:
  10069. description: 均价
  10070. type: number
  10071. bid:
  10072. description: 买1
  10073. type: number
  10074. bid2:
  10075. description: 买2
  10076. type: number
  10077. bid3:
  10078. description: 买3
  10079. type: number
  10080. bid4:
  10081. description: 买4
  10082. type: number
  10083. bid5:
  10084. description: 买5
  10085. type: number
  10086. bid6:
  10087. description: 买6
  10088. type: number
  10089. bid7:
  10090. description: 买7
  10091. type: number
  10092. bid8:
  10093. description: 买8
  10094. type: number
  10095. bid9:
  10096. description: 买9
  10097. type: number
  10098. bid10:
  10099. description: 买10
  10100. type: number
  10101. bidorderid:
  10102. description: 买单号1
  10103. type: integer
  10104. bidorderid2:
  10105. description: 买单号2
  10106. type: integer
  10107. bidorderid3:
  10108. description: 买单号3
  10109. type: integer
  10110. bidorderid4:
  10111. description: 买单号4
  10112. type: integer
  10113. bidorderid5:
  10114. description: 买单号5
  10115. type: integer
  10116. bidordervolume:
  10117. description: 买单量1
  10118. type: integer
  10119. bidordervolume2:
  10120. description: 买单量2
  10121. type: integer
  10122. bidordervolume3:
  10123. description: 买单量3
  10124. type: integer
  10125. bidordervolume4:
  10126. description: 买单量4
  10127. type: integer
  10128. bidordervolume5:
  10129. description: 买单量5
  10130. type: integer
  10131. bidordervolume6:
  10132. description: 买单量6
  10133. type: integer
  10134. bidordervolume7:
  10135. description: 买单量7
  10136. type: integer
  10137. bidordervolume8:
  10138. description: 买单量8
  10139. type: integer
  10140. bidordervolume9:
  10141. description: 买单量9
  10142. type: integer
  10143. bidordervolume10:
  10144. description: 买单量10
  10145. type: integer
  10146. bidqueueinfo:
  10147. description: 大利市买港股用
  10148. type: string
  10149. bidvolume:
  10150. description: 买量1
  10151. type: integer
  10152. bidvolume2:
  10153. description: 买量2
  10154. type: integer
  10155. bidvolume3:
  10156. description: 买量3
  10157. type: integer
  10158. bidvolume4:
  10159. description: 买量4
  10160. type: integer
  10161. bidvolume5:
  10162. description: 买量5
  10163. type: integer
  10164. bidvolume6:
  10165. description: 买量6
  10166. type: integer
  10167. bidvolume7:
  10168. description: 买量7
  10169. type: integer
  10170. bidvolume8:
  10171. description: 买量8
  10172. type: integer
  10173. bidvolume9:
  10174. description: 买量9
  10175. type: integer
  10176. bidvolume10:
  10177. description: 买量10
  10178. type: integer
  10179. calloptionpremiums:
  10180. description: 认购期权1
  10181. type: integer
  10182. calloptionpremiums2:
  10183. description: 认购期权2
  10184. type: integer
  10185. calloptionpremiums3:
  10186. description: 认购期权3
  10187. type: integer
  10188. calloptionpremiums4:
  10189. description: 认购期权4
  10190. type: integer
  10191. calloptionpremiums5:
  10192. description: 认购期权5
  10193. type: integer
  10194. cleartime:
  10195. description: 清盘时间
  10196. type: integer
  10197. exchangecode:
  10198. description: 交易所代码
  10199. type: integer
  10200. exchangedate:
  10201. description: 交易日
  10202. type: integer
  10203. goodscode:
  10204. description: 商品代码
  10205. type: string
  10206. grepmarketprice:
  10207. description: 暗盘价 港股专用
  10208. type: number
  10209. highest:
  10210. description: 最高价
  10211. type: number
  10212. holdincrement:
  10213. description: 单笔持仓
  10214. type: integer
  10215. holdvolume:
  10216. description: 持仓
  10217. type: integer
  10218. iep:
  10219. description: 平衡价 港股专用
  10220. type: number
  10221. iev:
  10222. description: 平衡量 港股专用
  10223. type: number
  10224. inventory:
  10225. description: 库存
  10226. type: integer
  10227. iscleared:
  10228. description: 是否清盘标志
  10229. type: integer
  10230. issettled:
  10231. description: 是否结算标志
  10232. type: integer
  10233. last:
  10234. description: 最新价
  10235. type: number
  10236. lastlot:
  10237. description: 最新成交手数
  10238. type: integer
  10239. lasttime:
  10240. description: 行情时间(只有现价变化行情时间才变化)
  10241. type: string
  10242. lastturnover:
  10243. description: 最新成交金额
  10244. type: number
  10245. lastvolume:
  10246. description: 最新成交量
  10247. type: integer
  10248. limitdown:
  10249. description: 跌停价
  10250. type: number
  10251. limitup:
  10252. description: 涨停价
  10253. type: number
  10254. lowest:
  10255. description: 最低价
  10256. type: number
  10257. nontotalholdervolume:
  10258. description: 非交易持仓量
  10259. type: integer
  10260. nontotallot:
  10261. description: 非交易总手数
  10262. type: integer
  10263. nontotalturnover:
  10264. description: 非交易总金额
  10265. type: integer
  10266. nontotalvolume:
  10267. description: 非交易总量
  10268. type: integer
  10269. opened:
  10270. description: 开盘价
  10271. type: number
  10272. opentime:
  10273. description: 开盘时间
  10274. type: string
  10275. orderid:
  10276. description: 序号
  10277. type: integer
  10278. preclose:
  10279. description: 昨收
  10280. type: number
  10281. preholdvolume:
  10282. description: 昨持仓
  10283. type: integer
  10284. presettle:
  10285. description: 昨结价
  10286. type: number
  10287. publictradetype:
  10288. description: 公共交易标志类型 港股专用
  10289. type: string
  10290. putoptionpremiums:
  10291. description: 认沽期权1
  10292. type: integer
  10293. putoptionpremiums2:
  10294. description: 认沽期权2
  10295. type: integer
  10296. putoptionpremiums3:
  10297. description: 认沽期权3
  10298. type: integer
  10299. putoptionpremiums4:
  10300. description: 认沽期权4
  10301. type: integer
  10302. putoptionpremiums5:
  10303. description: 认沽期权5
  10304. type: integer
  10305. settle:
  10306. description: 结算价
  10307. type: number
  10308. strikeprice:
  10309. description: 发行价
  10310. type: number
  10311. totalaskvolume:
  10312. description: 内盘
  10313. type: integer
  10314. totalbidvolume:
  10315. description: 外盘
  10316. type: integer
  10317. totallot:
  10318. description: 总手数
  10319. type: integer
  10320. totalturnover:
  10321. description: 总金额
  10322. type: number
  10323. totalvolume:
  10324. description: 总量
  10325. type: integer
  10326. utclasttime:
  10327. description: utc的行情时间
  10328. type: string
  10329. type: object
  10330. quote.QueryTSDataRsp:
  10331. properties:
  10332. Count:
  10333. description: 交易日应有数据个数
  10334. type: integer
  10335. decimalPlace:
  10336. description: 小数位
  10337. type: integer
  10338. endTime:
  10339. description: 结束时间
  10340. type: string
  10341. goodsCode:
  10342. description: 商品代码
  10343. type: string
  10344. historyDatas:
  10345. description: 历史数据
  10346. items:
  10347. $ref: '#/definitions/quote.HistoryData'
  10348. type: array
  10349. outGoodsCode:
  10350. description: 外部商品代码
  10351. type: string
  10352. preSettle:
  10353. description: 昨结价
  10354. type: number
  10355. runSteps:
  10356. description: 交易日开休市计划
  10357. items:
  10358. $ref: '#/definitions/quote.TSDataRunStep'
  10359. type: array
  10360. startTime:
  10361. description: 开始时间
  10362. type: string
  10363. tradeDate:
  10364. description: 交易日
  10365. type: string
  10366. type: object
  10367. quote.TSDataRunStep:
  10368. properties:
  10369. end:
  10370. description: 真实结束时间
  10371. type: string
  10372. endflag:
  10373. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  10374. type: integer
  10375. endtime:
  10376. description: 结束时间(HH:mm)
  10377. type: string
  10378. endweekday:
  10379. description: 结束周几
  10380. type: integer
  10381. groupid:
  10382. description: 分组ID
  10383. type: integer
  10384. runstep:
  10385. description: 运行阶段 - 2:连续交易
  10386. type: integer
  10387. sectionid:
  10388. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  10389. 结束时间=结算时间 结束周几=结算周几
  10390. type: integer
  10391. start:
  10392. description: 真实开始时间
  10393. type: string
  10394. startflag:
  10395. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  10396. type: integer
  10397. starttime:
  10398. description: 起始时间(HH:mm)
  10399. type: string
  10400. startweekday:
  10401. description: 起始周几
  10402. type: integer
  10403. tradeweekday:
  10404. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  10405. type: integer
  10406. type: object
  10407. szdz.QueryConvertLogRsp:
  10408. properties:
  10409. accountid:
  10410. description: 资金账户ID
  10411. type: integer
  10412. clientticket:
  10413. description: 客户端流水号
  10414. type: string
  10415. converttype:
  10416. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  10417. type: integer
  10418. createtime:
  10419. description: 记账时间
  10420. type: string
  10421. daymaxvalue:
  10422. description: 配置当日最大转入限制
  10423. type: number
  10424. daymaxvalue2:
  10425. description: 配置当日最大转入限制(转入)
  10426. type: number
  10427. goodscode:
  10428. description: 商品代码
  10429. type: string
  10430. goodsname:
  10431. description: 商品名称
  10432. type: string
  10433. handlestatus:
  10434. description: 处理状态
  10435. type: integer
  10436. innergoodsid:
  10437. description: 内部商品ID
  10438. type: integer
  10439. inratio:
  10440. description: 配置转入比值
  10441. type: integer
  10442. invalue:
  10443. description: 目标值
  10444. type: number
  10445. logid:
  10446. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10447. type: integer
  10448. mobile:
  10449. description: 手机号码(加密存储)
  10450. type: string
  10451. outergoodscode:
  10452. description: 外部商品代码[JD\PD]
  10453. type: string
  10454. outratio:
  10455. description: 配置转出比值
  10456. type: integer
  10457. outvalue:
  10458. description: 源值
  10459. type: number
  10460. pddecimalplace:
  10461. description: PD小数位
  10462. type: integer
  10463. qty:
  10464. description: 数量
  10465. type: string
  10466. remark:
  10467. description: 备注
  10468. type: string
  10469. sessionid:
  10470. description: 会话ID
  10471. type: integer
  10472. timemaxvalue:
  10473. description: 配置单次最大转入限制
  10474. type: number
  10475. timemaxvalue2:
  10476. description: 配置单次最大转入限制(转入)
  10477. type: number
  10478. timeminvalue:
  10479. description: 配置单次最小数量限制
  10480. type: number
  10481. timeminvalue2:
  10482. description: 配置单次最小数量限制(转入)
  10483. type: number
  10484. tradedate:
  10485. description: 交易日(yyyyMMdd)
  10486. type: string
  10487. userid:
  10488. description: 用户ID
  10489. type: integer
  10490. required:
  10491. - logid
  10492. type: object
  10493. szdz.QueryGoodsPickupRsp:
  10494. properties:
  10495. accountid:
  10496. description: 账户ID
  10497. type: integer
  10498. address:
  10499. description: 提货人详细地址
  10500. type: string
  10501. auditer:
  10502. description: 审核人
  10503. type: integer
  10504. audittime:
  10505. description: 审核时间
  10506. type: string
  10507. cardnum:
  10508. description: 提货人证件号码
  10509. type: string
  10510. cardtypeid:
  10511. description: 提货人证件类型
  10512. type: integer
  10513. checkremark:
  10514. description: 审核备注
  10515. type: string
  10516. goodscode:
  10517. description: 商品代码
  10518. type: string
  10519. goodsid:
  10520. description: 商品ID
  10521. type: integer
  10522. goodsname:
  10523. description: 商品名称
  10524. type: string
  10525. handlestatus:
  10526. description: 处理状态
  10527. type: integer
  10528. marketid:
  10529. description: 市场ID
  10530. type: integer
  10531. phonenum:
  10532. description: 提货人联系方式
  10533. type: string
  10534. qty:
  10535. description: 提货数量
  10536. type: number
  10537. recivername:
  10538. description: 提货人姓名
  10539. type: string
  10540. reqtime:
  10541. description: 更新时间
  10542. type: string
  10543. takemode:
  10544. description: 提货方式 - 2:自提 3:配送
  10545. type: integer
  10546. takeorderid:
  10547. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  10548. type: string
  10549. takeorderstatus:
  10550. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  10551. type: integer
  10552. takeremark:
  10553. description: 提货备注
  10554. type: string
  10555. tradedate:
  10556. description: 交易日(yyyyMMdd)
  10557. type: string
  10558. userid:
  10559. description: 用户ID
  10560. type: integer
  10561. required:
  10562. - takeorderid
  10563. type: object
  10564. szdz.QueryRecieptOrderRsp:
  10565. properties:
  10566. accountName:
  10567. description: 所属账号名称(已脱敏)
  10568. type: string
  10569. accountid:
  10570. description: 资金账号
  10571. type: integer
  10572. buyorsell:
  10573. description: 方向 - 0:买 1:卖
  10574. type: integer
  10575. enableqty:
  10576. description: 可摘数量
  10577. type: integer
  10578. goodscode:
  10579. description: 商品代码
  10580. type: string
  10581. goodsid:
  10582. description: 商品ID
  10583. type: integer
  10584. goodsname:
  10585. description: 商品名称
  10586. type: string
  10587. orderid:
  10588. description: 委托单号
  10589. type: string
  10590. orderprice:
  10591. description: 委托价格
  10592. type: number
  10593. ordertime:
  10594. description: 委托时间
  10595. type: string
  10596. tradedate:
  10597. description: 交易日(yyyyMMdd)
  10598. type: string
  10599. required:
  10600. - ordertime
  10601. type: object
  10602. szdz.QuerySZDZTradePositionRsp:
  10603. properties:
  10604. accountid:
  10605. description: 账号Id
  10606. type: integer
  10607. agreeunit:
  10608. description: 合约单位
  10609. type: number
  10610. averageprice:
  10611. description: 持仓均价
  10612. type: number
  10613. buyorsell:
  10614. description: 方向 - 0:买 1:卖
  10615. type: integer
  10616. closetotalqty:
  10617. description: 平仓总数量
  10618. type: integer
  10619. curholderamount:
  10620. description: 当前持仓总金额
  10621. type: number
  10622. curpositionqty:
  10623. description: 当前持仓总数量
  10624. type: integer
  10625. currencyid:
  10626. description: 报价货币ID
  10627. type: integer
  10628. curtdposition:
  10629. description: 期末今日头寸
  10630. type: integer
  10631. decimalplace:
  10632. description: 报价小数位
  10633. type: integer
  10634. enableqty:
  10635. description: 可用量
  10636. type: integer
  10637. fretdposition:
  10638. description: 冻结今日头寸
  10639. type: integer
  10640. frozenqty:
  10641. description: 持仓冻结数量
  10642. type: integer
  10643. goodscode:
  10644. description: 商品代码(内部)
  10645. type: string
  10646. goodsid:
  10647. description: 商品Id
  10648. type: integer
  10649. goodsname:
  10650. description: 商品名称
  10651. type: string
  10652. goodunit:
  10653. description: 报价单位
  10654. type: string
  10655. goodunitid:
  10656. description: 报价单位ID
  10657. type: integer
  10658. holderamount:
  10659. description: 期初持仓总金额
  10660. type: number
  10661. marketid:
  10662. description: 市场ID
  10663. type: integer
  10664. openreqqty:
  10665. description: 开仓申请数量
  10666. type: integer
  10667. opentotalqty:
  10668. description: 开仓总数量
  10669. type: integer
  10670. otherfrozenqty:
  10671. description: 持仓其他冻结数量(交割冻结)
  10672. type: integer
  10673. positionqty:
  10674. description: 期初持仓数量
  10675. type: integer
  10676. szdz3freezqty:
  10677. description: 尚志大宗转换冻结总数量
  10678. type: integer
  10679. tnqty:
  10680. description: T+N冻结总量
  10681. type: integer
  10682. tnusedqty:
  10683. description: T+N使用量
  10684. type: integer
  10685. trademode:
  10686. description: 交易模式
  10687. type: integer
  10688. usedmargin:
  10689. description: 占用保证金
  10690. type: number
  10691. type: object
  10692. taaccount.QueryAmountLogRsp:
  10693. properties:
  10694. OPERATETYPENAME:
  10695. description: 资金操作类型名称
  10696. type: string
  10697. accountid:
  10698. description: 资金账户ID
  10699. type: integer
  10700. agoodscode:
  10701. description: 竞拍商品代码
  10702. type: string
  10703. agoodsname:
  10704. description: 竞拍商品名称
  10705. type: string
  10706. amount:
  10707. description: 资金金额
  10708. type: number
  10709. amountadjusttype:
  10710. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  10711. type: integer
  10712. autoid:
  10713. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  10714. type: integer
  10715. balance:
  10716. description: 期初余额
  10717. type: number
  10718. businesscode:
  10719. description: 业务编号
  10720. type: integer
  10721. createtime:
  10722. description: 发生时间
  10723. type: string
  10724. currencyid:
  10725. description: 币种ID
  10726. type: integer
  10727. currentbalance:
  10728. description: 期末余额(变动后金额)
  10729. type: number
  10730. dgoodscode:
  10731. description: 交割商品代码
  10732. type: string
  10733. dgoodsname:
  10734. description: 交割商品名称
  10735. type: string
  10736. goodscode:
  10737. description: 商品代码
  10738. type: string
  10739. goodsid:
  10740. description: 商品ID
  10741. type: integer
  10742. goodsname:
  10743. description: 商品名称
  10744. type: string
  10745. marketid:
  10746. description: 市场ID
  10747. type: integer
  10748. marketname:
  10749. description: 市场名称
  10750. type: string
  10751. moneyticket:
  10752. description: 资金流水号:银行端流水号
  10753. type: integer
  10754. operatetype:
  10755. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  10756. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  10757. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  10758. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  10759. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  10760. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  10761. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  10762. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  10763. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  10764. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  10765. type: integer
  10766. relationorderid:
  10767. description: 关联单号
  10768. type: string
  10769. remark:
  10770. description: 备注
  10771. type: string
  10772. trademode:
  10773. description: 交易模式
  10774. type: integer
  10775. required:
  10776. - accountid
  10777. - amount
  10778. - amountadjusttype
  10779. - autoid
  10780. - balance
  10781. - createtime
  10782. - currentbalance
  10783. - operatetype
  10784. type: object
  10785. taaccount.QueryHisAmountLogRsp:
  10786. properties:
  10787. OPERATETYPENAME:
  10788. description: 资金操作类型名称
  10789. type: string
  10790. accountid:
  10791. description: 资金账户ID
  10792. type: integer
  10793. agoodscode:
  10794. description: 竞拍商品代码
  10795. type: string
  10796. agoodsname:
  10797. description: 竞拍商品名称
  10798. type: string
  10799. amount:
  10800. description: 资金金额
  10801. type: number
  10802. amountadjusttype:
  10803. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  10804. type: integer
  10805. autoid:
  10806. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  10807. type: integer
  10808. balance:
  10809. description: 期初余额
  10810. type: number
  10811. businesscode:
  10812. description: 业务编号
  10813. type: integer
  10814. createtime:
  10815. description: 发生时间
  10816. type: string
  10817. currencyid:
  10818. description: 币种ID
  10819. type: integer
  10820. currentbalance:
  10821. description: 期末余额(变动后金额)
  10822. type: number
  10823. dgoodscode:
  10824. description: 交割商品代码
  10825. type: string
  10826. dgoodsname:
  10827. description: 交割商品名称
  10828. type: string
  10829. goodscode:
  10830. description: 商品代码
  10831. type: string
  10832. goodsid:
  10833. description: 商品ID
  10834. type: integer
  10835. goodsname:
  10836. description: 商品名称
  10837. type: string
  10838. histradedate:
  10839. description: 历史交易日
  10840. type: string
  10841. isvaliddata:
  10842. description: 是否有效 - 0:无效 1:有效
  10843. type: integer
  10844. marketid:
  10845. description: 市场ID
  10846. type: integer
  10847. marketname:
  10848. description: 市场名称
  10849. type: string
  10850. moneyticket:
  10851. description: 资金流水号:银行端流水号
  10852. type: integer
  10853. operatetype:
  10854. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  10855. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  10856. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  10857. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  10858. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  10859. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  10860. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  10861. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  10862. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  10863. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  10864. type: integer
  10865. relationorderid:
  10866. description: 关联单号
  10867. type: string
  10868. remark:
  10869. description: 备注
  10870. type: string
  10871. trademode:
  10872. description: 交易模式
  10873. type: integer
  10874. required:
  10875. - accountid
  10876. - amount
  10877. - amountadjusttype
  10878. - autoid
  10879. - balance
  10880. - createtime
  10881. - currentbalance
  10882. - histradedate
  10883. - operatetype
  10884. type: object
  10885. trade.QueryRecieptOrderRsp:
  10886. properties:
  10887. accountName:
  10888. description: 所属账号名称(已脱敏)
  10889. type: string
  10890. accountid:
  10891. description: 资金账号
  10892. type: integer
  10893. buyorsell:
  10894. description: 方向 - 0:买 1:卖
  10895. type: integer
  10896. enableqty:
  10897. description: 可摘数量
  10898. type: integer
  10899. goodscode:
  10900. description: 商品代码
  10901. type: string
  10902. goodsid:
  10903. description: 商品ID
  10904. type: integer
  10905. goodsname:
  10906. description: 商品名称
  10907. type: string
  10908. orderid:
  10909. description: 委托单号
  10910. type: string
  10911. orderprice:
  10912. description: 委托价格
  10913. type: number
  10914. ordertime:
  10915. description: 委托时间
  10916. type: string
  10917. tradedate:
  10918. description: 交易日(yyyyMMdd)
  10919. type: string
  10920. required:
  10921. - ordertime
  10922. type: object
  10923. user.LoginQueryRsp:
  10924. properties:
  10925. areaRoles:
  10926. description: 所属角色信息
  10927. items:
  10928. $ref: '#/definitions/models.Arearole'
  10929. type: array
  10930. externalExchanges:
  10931. description: 外部交易所
  10932. items:
  10933. $ref: '#/definitions/models.Externalexchange'
  10934. type: array
  10935. goodsgroups:
  10936. description: 商品组
  10937. items:
  10938. $ref: '#/definitions/models.Goodsgroup'
  10939. type: array
  10940. loginAccount:
  10941. $ref: '#/definitions/models.Loginaccount'
  10942. description: 登录账号
  10943. type: object
  10944. markets:
  10945. description: 市场
  10946. items:
  10947. $ref: '#/definitions/models.Market'
  10948. type: array
  10949. systemParams:
  10950. description: 系统参数
  10951. items:
  10952. $ref: '#/definitions/models.Systemparam'
  10953. type: array
  10954. userAccount:
  10955. $ref: '#/definitions/models.Useraccount'
  10956. description: 用户账号
  10957. type: object
  10958. userInfo:
  10959. $ref: '#/definitions/models.Userinfo'
  10960. description: 用户信息
  10961. type: object
  10962. username:
  10963. description: 用户姓名
  10964. type: string
  10965. type: object
  10966. info:
  10967. contact: {}
  10968. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  10969. license: {}
  10970. termsOfService: http://muchinfo.cn
  10971. title: MTP2.0 查询服务 API
  10972. version: "1.0"
  10973. paths:
  10974. /CPTrade/QueryCPTradeMyBidInfos:
  10975. get:
  10976. parameters:
  10977. - description: 资金账户
  10978. in: query
  10979. name: accountid
  10980. required: true
  10981. type: integer
  10982. - description: 预售市场ID
  10983. in: query
  10984. name: marketid
  10985. type: integer
  10986. - description: 预售商品ID
  10987. in: query
  10988. name: goodsid
  10989. type: integer
  10990. produces:
  10991. - application/json
  10992. responses:
  10993. "200":
  10994. description: OK
  10995. schema:
  10996. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  10997. "500":
  10998. description: Internal Server Error
  10999. schema:
  11000. $ref: '#/definitions/app.Response'
  11001. security:
  11002. - ApiKeyAuth: []
  11003. summary: 查询产能预售我的出价信息
  11004. tags:
  11005. - 产能预售
  11006. /CPTrade/QueryCPTradeOrderDetail:
  11007. get:
  11008. parameters:
  11009. - description: 预售商品ID
  11010. in: query
  11011. name: goodsid
  11012. type: integer
  11013. - description: 预售市场ID
  11014. in: query
  11015. name: marketid
  11016. type: integer
  11017. - description: 预售商品ID列表 - 格式:1,2,3
  11018. in: query
  11019. name: goodsids
  11020. type: string
  11021. produces:
  11022. - application/json
  11023. responses:
  11024. "200":
  11025. description: OK
  11026. schema:
  11027. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  11028. "500":
  11029. description: Internal Server Error
  11030. schema:
  11031. $ref: '#/definitions/app.Response'
  11032. security:
  11033. - ApiKeyAuth: []
  11034. summary: 查询产能预售委托单信息
  11035. tags:
  11036. - 产能预售
  11037. /CPTrade/QueryMyCPTradeGoods:
  11038. get:
  11039. parameters:
  11040. - description: 资金账户
  11041. in: query
  11042. name: accountid
  11043. required: true
  11044. type: integer
  11045. produces:
  11046. - application/json
  11047. responses:
  11048. "200":
  11049. description: OK
  11050. schema:
  11051. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  11052. "500":
  11053. description: Internal Server Error
  11054. schema:
  11055. $ref: '#/definitions/app.Response'
  11056. security:
  11057. - ApiKeyAuth: []
  11058. summary: 查询我的预售信息
  11059. tags:
  11060. - 产能预售
  11061. /CPTrade/QueryPositionCancel:
  11062. get:
  11063. parameters:
  11064. - description: 账户ID
  11065. in: query
  11066. name: userid
  11067. required: true
  11068. type: integer
  11069. - description: 注销ID
  11070. in: query
  11071. name: cancelid
  11072. type: integer
  11073. - description: 资金账户ID
  11074. in: query
  11075. name: accountid
  11076. type: integer
  11077. produces:
  11078. - application/json
  11079. responses:
  11080. "200":
  11081. description: OK
  11082. schema:
  11083. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  11084. "500":
  11085. description: Internal Server Error
  11086. schema:
  11087. $ref: '#/definitions/app.Response'
  11088. security:
  11089. - ApiKeyAuth: []
  11090. summary: 查询远期订单注销申请信息
  11091. tags:
  11092. - 产能预售
  11093. /CPTrade/QueryPreasleApply:
  11094. get:
  11095. parameters:
  11096. - description: 账户ID
  11097. in: query
  11098. name: userid
  11099. required: true
  11100. type: integer
  11101. - description: 申请ID
  11102. in: query
  11103. name: applyid
  11104. type: integer
  11105. - description: 资金账户ID
  11106. in: query
  11107. name: accountid
  11108. type: integer
  11109. produces:
  11110. - application/json
  11111. responses:
  11112. "200":
  11113. description: OK
  11114. schema:
  11115. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  11116. "500":
  11117. description: Internal Server Error
  11118. schema:
  11119. $ref: '#/definitions/app.Response'
  11120. security:
  11121. - ApiKeyAuth: []
  11122. summary: 查询产能预售申请信息
  11123. tags:
  11124. - 产能预售
  11125. /CPTrade/QueryPresaleGoodsEx:
  11126. get:
  11127. parameters:
  11128. - description: 预售商品ID
  11129. in: query
  11130. name: goodsid
  11131. type: integer
  11132. - description: 预售市场ID
  11133. in: query
  11134. name: marketid
  11135. type: integer
  11136. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  11137. in: query
  11138. name: presalemode
  11139. type: integer
  11140. - description: 预售商品ID列表 - 格式:1,2,3
  11141. in: query
  11142. name: goodsids
  11143. type: string
  11144. - description: 预售商品代码
  11145. in: query
  11146. name: goodscode
  11147. type: string
  11148. produces:
  11149. - application/json
  11150. responses:
  11151. "200":
  11152. description: OK
  11153. schema:
  11154. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  11155. "500":
  11156. description: Internal Server Error
  11157. schema:
  11158. $ref: '#/definitions/app.Response'
  11159. security:
  11160. - ApiKeyAuth: []
  11161. summary: 查询产能预售商品扩展信息
  11162. tags:
  11163. - 产能预售
  11164. /CPTrade/QueryUserGoodsData:
  11165. get:
  11166. parameters:
  11167. - description: 资金账户ID
  11168. in: query
  11169. name: accountid
  11170. required: true
  11171. type: integer
  11172. produces:
  11173. - application/json
  11174. responses:
  11175. "200":
  11176. description: OK
  11177. schema:
  11178. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  11179. "500":
  11180. description: Internal Server Error
  11181. schema:
  11182. $ref: '#/definitions/app.Response'
  11183. security:
  11184. - ApiKeyAuth: []
  11185. summary: 查询远期订单信息
  11186. tags:
  11187. - 产能预售
  11188. /Common/GetAllEnums:
  11189. get:
  11190. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  11191. parameters:
  11192. - description: 起始自增ID
  11193. in: query
  11194. name: autoid
  11195. type: integer
  11196. produces:
  11197. - application/json
  11198. responses:
  11199. "200":
  11200. description: OK
  11201. schema:
  11202. $ref: '#/definitions/models.Enumdicitem'
  11203. "500":
  11204. description: Internal Server Error
  11205. schema:
  11206. $ref: '#/definitions/app.Response'
  11207. summary: 获取所有枚举信息
  11208. tags:
  11209. - 通用服务
  11210. /Common/GetClientMenus:
  11211. get:
  11212. parameters:
  11213. - description: 登录账号
  11214. in: query
  11215. name: loginID
  11216. required: true
  11217. type: integer
  11218. - description: 终端类型,0:PC 1:Mobile
  11219. in: query
  11220. name: clientType
  11221. type: integer
  11222. produces:
  11223. - application/json
  11224. responses:
  11225. "200":
  11226. description: OK
  11227. schema:
  11228. items:
  11229. $ref: '#/definitions/common.ClientMenu'
  11230. type: array
  11231. "500":
  11232. description: Internal Server Error
  11233. schema:
  11234. $ref: '#/definitions/app.Response'
  11235. security:
  11236. - ApiKeyAuth: []
  11237. summary: 获取交易端菜单
  11238. tags:
  11239. - 通用服务
  11240. /Common/GetDivisions:
  11241. get:
  11242. produces:
  11243. - application/json
  11244. responses:
  11245. "200":
  11246. description: OK
  11247. schema:
  11248. $ref: '#/definitions/models.Division'
  11249. "500":
  11250. description: Internal Server Error
  11251. schema:
  11252. $ref: '#/definitions/app.Response'
  11253. summary: 查询区域信息
  11254. tags:
  11255. - 通用服务
  11256. /Common/GetServerTime:
  11257. get:
  11258. produces:
  11259. - application/json
  11260. responses:
  11261. "200":
  11262. description: OK
  11263. schema:
  11264. $ref: '#/definitions/app.Response'
  11265. "500":
  11266. description: Internal Server Error
  11267. schema:
  11268. $ref: '#/definitions/app.Response'
  11269. summary: 获取服务器时间
  11270. tags:
  11271. - 通用服务
  11272. /Common/NoticeReaded:
  11273. post:
  11274. parameters:
  11275. - description: 登录账号
  11276. in: query
  11277. name: loginID
  11278. required: true
  11279. type: integer
  11280. - description: 通知公告ID
  11281. in: query
  11282. name: noticeID
  11283. required: true
  11284. type: integer
  11285. produces:
  11286. - application/json
  11287. responses:
  11288. "200":
  11289. description: OK
  11290. schema:
  11291. $ref: '#/definitions/app.Response'
  11292. "500":
  11293. description: Internal Server Error
  11294. schema:
  11295. $ref: '#/definitions/app.Response'
  11296. security:
  11297. - ApiKeyAuth: []
  11298. summary: 通知公告设置已读请求
  11299. tags:
  11300. - 通用服务
  11301. /Common/QueryErrorInfos:
  11302. get:
  11303. description: 如果传入rowNumber,则返回此rowNumber后的数据
  11304. parameters:
  11305. - description: 起始行号前索引
  11306. in: query
  11307. name: rowNumber
  11308. type: string
  11309. produces:
  11310. - application/json
  11311. responses:
  11312. "200":
  11313. description: OK
  11314. schema:
  11315. $ref: '#/definitions/models.QueryErrorInfosRsp'
  11316. "500":
  11317. description: Internal Server Error
  11318. schema:
  11319. $ref: '#/definitions/app.Response'
  11320. summary: 获取数据库错误信息
  11321. tags:
  11322. - 通用服务
  11323. /Common/QueryImageConfigs:
  11324. get:
  11325. parameters:
  11326. - description: 类型 - 1:App首页轮播 2:我的
  11327. in: query
  11328. name: imageType
  11329. type: integer
  11330. produces:
  11331. - application/json
  11332. responses:
  11333. "200":
  11334. description: OK
  11335. schema:
  11336. $ref: '#/definitions/common.QueryImageConfigsRsp'
  11337. "500":
  11338. description: Internal Server Error
  11339. schema:
  11340. $ref: '#/definitions/app.Response'
  11341. summary: 查询轮播图配置信息
  11342. tags:
  11343. - 通用服务
  11344. /Common/QueryNotice:
  11345. get:
  11346. parameters:
  11347. - description: 页码
  11348. in: query
  11349. name: page
  11350. type: integer
  11351. - description: 每页条数
  11352. in: query
  11353. name: pagesize
  11354. type: integer
  11355. - description: 登录账号
  11356. in: query
  11357. name: loginID
  11358. required: true
  11359. type: integer
  11360. - description: 消息类型 - 1:公告通知 2:系统消息
  11361. in: query
  11362. name: msgType
  11363. type: integer
  11364. - description: 是否只获取未读信息
  11365. in: query
  11366. name: onlyUnRead
  11367. type: boolean
  11368. - description: 自增ID,传入后会返回这个ID后面的记录
  11369. in: query
  11370. name: lastID
  11371. type: integer
  11372. produces:
  11373. - application/json
  11374. responses:
  11375. "200":
  11376. description: OK
  11377. schema:
  11378. $ref: '#/definitions/common.QueryNoticeRsp'
  11379. "500":
  11380. description: Internal Server Error
  11381. schema:
  11382. $ref: '#/definitions/app.Response'
  11383. security:
  11384. - ApiKeyAuth: []
  11385. summary: 通知公告系统消息查询
  11386. tags:
  11387. - 通用服务
  11388. /Common/QueryProvincesAndCities:
  11389. get:
  11390. parameters:
  11391. - description: 省ID
  11392. in: query
  11393. name: provinceID
  11394. type: integer
  11395. produces:
  11396. - application/json
  11397. responses:
  11398. "200":
  11399. description: OK
  11400. schema:
  11401. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  11402. "500":
  11403. description: Internal Server Error
  11404. schema:
  11405. $ref: '#/definitions/app.Response'
  11406. summary: 查询省市信息(不包括区)
  11407. tags:
  11408. - 通用服务
  11409. /Common/QueryTableDefine:
  11410. get:
  11411. parameters:
  11412. - description: 表key
  11413. in: query
  11414. name: tableKey
  11415. type: string
  11416. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  11417. in: query
  11418. name: tableType
  11419. type: integer
  11420. produces:
  11421. - application/json
  11422. responses:
  11423. "200":
  11424. description: OK
  11425. schema:
  11426. $ref: '#/definitions/common.QueryTableDefineRsp'
  11427. "500":
  11428. description: Internal Server Error
  11429. schema:
  11430. $ref: '#/definitions/app.Response'
  11431. summary: 查询交易端列表头信息
  11432. tags:
  11433. - 通用服务
  11434. /Common/QueryTraderMenu:
  11435. get:
  11436. parameters:
  11437. - description: 登录账号
  11438. in: query
  11439. name: loginid
  11440. required: true
  11441. type: integer
  11442. produces:
  11443. - application/json
  11444. responses:
  11445. "200":
  11446. description: OK
  11447. schema:
  11448. $ref: '#/definitions/common.QueryTraderMenuRsp'
  11449. "500":
  11450. description: Internal Server Error
  11451. schema:
  11452. $ref: '#/definitions/app.Response'
  11453. summary: 查询交易端菜单
  11454. tags:
  11455. - 通用服务
  11456. /Delivery/QueryDeliveryRelation:
  11457. get:
  11458. parameters:
  11459. - description: 商品ID
  11460. in: query
  11461. name: goodsid
  11462. type: integer
  11463. - description: 品种ID
  11464. in: query
  11465. name: deliverygoodsid
  11466. type: integer
  11467. - description: 市场ID
  11468. in: query
  11469. name: marketid
  11470. type: integer
  11471. produces:
  11472. - application/json
  11473. responses:
  11474. "200":
  11475. description: OK
  11476. schema:
  11477. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  11478. "500":
  11479. description: Internal Server Error
  11480. schema:
  11481. $ref: '#/definitions/app.Response'
  11482. security:
  11483. - ApiKeyAuth: []
  11484. summary: 查询商品交割关系表
  11485. tags:
  11486. - 交割服务
  11487. /Ermcp/GetErmcpGoods:
  11488. get:
  11489. parameters:
  11490. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  11491. in: query
  11492. name: lastUpdateTime
  11493. type: string
  11494. produces:
  11495. - application/json
  11496. responses:
  11497. "200":
  11498. description: OK
  11499. schema:
  11500. $ref: '#/definitions/models.Goods'
  11501. "500":
  11502. description: Internal Server Error
  11503. schema:
  11504. $ref: '#/definitions/app.Response'
  11505. security:
  11506. - ApiKeyAuth: []
  11507. summary: 查询企业风管期货商品信息
  11508. tags:
  11509. - 企业风险管理(app)
  11510. /Ermcp/GetErmcpGoodsSortByPosition:
  11511. get:
  11512. parameters:
  11513. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  11514. in: query
  11515. name: sortIndex
  11516. type: string
  11517. produces:
  11518. - application/json
  11519. responses:
  11520. "200":
  11521. description: OK
  11522. schema:
  11523. $ref: '#/definitions/models.Goodssortbypreposition'
  11524. "500":
  11525. description: Internal Server Error
  11526. schema:
  11527. $ref: '#/definitions/app.Response'
  11528. security:
  11529. - ApiKeyAuth: []
  11530. summary: 查询企业风管期货主力、次主力商品信息
  11531. tags:
  11532. - 企业风险管理(app)
  11533. /Ermcp/GetErmcpOutAccountStatus:
  11534. get:
  11535. parameters:
  11536. - description: 登录账号
  11537. in: query
  11538. name: loginID
  11539. required: true
  11540. type: integer
  11541. produces:
  11542. - application/json
  11543. responses:
  11544. "200":
  11545. description: OK
  11546. schema:
  11547. $ref: '#/definitions/models.Hedgemarketopenlog'
  11548. "500":
  11549. description: Internal Server Error
  11550. schema:
  11551. $ref: '#/definitions/app.Response'
  11552. security:
  11553. - ApiKeyAuth: []
  11554. summary: 获取目标登录账号当前对冲账号在线状态
  11555. tags:
  11556. - 企业风险管理(app)
  11557. /Ermcp/GetErmcpRoleFuncMenuLists:
  11558. get:
  11559. parameters:
  11560. - description: 登录账号
  11561. in: query
  11562. name: loginID
  11563. required: true
  11564. type: integer
  11565. produces:
  11566. - application/json
  11567. responses:
  11568. "200":
  11569. description: OK
  11570. schema:
  11571. $ref: '#/definitions/models.Funcmenulist'
  11572. "500":
  11573. description: Internal Server Error
  11574. schema:
  11575. $ref: '#/definitions/app.Response'
  11576. security:
  11577. - ApiKeyAuth: []
  11578. summary: 获取企业风管终端权限
  11579. tags:
  11580. - 企业风险管理(app)
  11581. /Ermcp/QueryAccMgrBizGroupSet:
  11582. get:
  11583. parameters:
  11584. - description: 用户ID
  11585. in: query
  11586. name: userid
  11587. required: true
  11588. type: integer
  11589. - description: 现货商品id
  11590. in: query
  11591. name: deliverygoodsid
  11592. type: integer
  11593. produces:
  11594. - application/json
  11595. responses:
  11596. "200":
  11597. description: OK
  11598. schema:
  11599. items:
  11600. $ref: '#/definitions/models.ErmcpBizGroupEx'
  11601. type: array
  11602. "500":
  11603. description: Internal Server Error
  11604. schema:
  11605. $ref: '#/definitions/app.Response'
  11606. security:
  11607. - ApiKeyAuth: []
  11608. summary: 查询业务类型分组(账户管理/账户设置)
  11609. tags:
  11610. - 企业风险管理(app)
  11611. /Ermcp/QueryAccMgrLoginUser:
  11612. get:
  11613. parameters:
  11614. - description: 用户ID
  11615. in: query
  11616. name: userid
  11617. required: true
  11618. type: integer
  11619. - description: 用户类型 2-机构 7-企业成员
  11620. in: query
  11621. name: usertype
  11622. type: integer
  11623. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  11624. in: query
  11625. name: querytype
  11626. required: true
  11627. type: integer
  11628. produces:
  11629. - application/json
  11630. responses:
  11631. "200":
  11632. description: OK
  11633. schema:
  11634. items:
  11635. $ref: '#/definitions/models.ErmcpLoginUserEx'
  11636. type: array
  11637. "500":
  11638. description: Internal Server Error
  11639. schema:
  11640. $ref: '#/definitions/app.Response'
  11641. security:
  11642. - ApiKeyAuth: []
  11643. summary: 查询账户管理登录账号(账户管理/登录账号)
  11644. tags:
  11645. - 企业风险管理(app)
  11646. /Ermcp/QueryAccMgrMainAccountInfo:
  11647. get:
  11648. parameters:
  11649. - description: 用户ID
  11650. in: query
  11651. name: userid
  11652. type: integer
  11653. - description: 主账号id
  11654. in: query
  11655. name: accountid
  11656. type: integer
  11657. produces:
  11658. - application/json
  11659. responses:
  11660. "200":
  11661. description: OK
  11662. schema:
  11663. items:
  11664. $ref: '#/definitions/models.MainAccountInfo'
  11665. type: array
  11666. "500":
  11667. description: Internal Server Error
  11668. schema:
  11669. $ref: '#/definitions/app.Response'
  11670. security:
  11671. - ApiKeyAuth: []
  11672. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  11673. tags:
  11674. - 企业风险管理(app)
  11675. /Ermcp/QueryAccMgrRole:
  11676. get:
  11677. parameters:
  11678. - description: 用户ID
  11679. in: query
  11680. name: userid
  11681. required: true
  11682. type: integer
  11683. produces:
  11684. - application/json
  11685. responses:
  11686. "200":
  11687. description: OK
  11688. schema:
  11689. items:
  11690. $ref: '#/definitions/models.ErmcpRole'
  11691. type: array
  11692. "500":
  11693. description: Internal Server Error
  11694. schema:
  11695. $ref: '#/definitions/app.Response'
  11696. security:
  11697. - ApiKeyAuth: []
  11698. summary: 查询账户管理角色设置(账户管理/角色设置)
  11699. tags:
  11700. - 企业风险管理(app)
  11701. /Ermcp/QueryAccMgrRoleMenu:
  11702. get:
  11703. parameters:
  11704. - description: 用户ID
  11705. in: query
  11706. name: userid
  11707. required: true
  11708. type: integer
  11709. - description: 角色id(可多个,逗号隔开)
  11710. in: query
  11711. name: roleid
  11712. type: string
  11713. produces:
  11714. - application/json
  11715. responses:
  11716. "200":
  11717. description: OK
  11718. schema:
  11719. items:
  11720. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  11721. type: array
  11722. "500":
  11723. description: Internal Server Error
  11724. schema:
  11725. $ref: '#/definitions/app.Response'
  11726. security:
  11727. - ApiKeyAuth: []
  11728. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  11729. tags:
  11730. - 企业风险管理(app)
  11731. /Ermcp/QueryAccMgrTaAccountInfo:
  11732. get:
  11733. parameters:
  11734. - description: 用户ID
  11735. in: query
  11736. name: userid
  11737. required: true
  11738. type: integer
  11739. - description: 账号id
  11740. in: query
  11741. name: accountid
  11742. type: integer
  11743. produces:
  11744. - application/json
  11745. responses:
  11746. "200":
  11747. description: OK
  11748. schema:
  11749. items:
  11750. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  11751. type: array
  11752. "500":
  11753. description: Internal Server Error
  11754. schema:
  11755. $ref: '#/definitions/app.Response'
  11756. security:
  11757. - ApiKeyAuth: []
  11758. summary: 查询账户管理授信(账户管理/账户设置/授信)
  11759. tags:
  11760. - 企业风险管理(app)
  11761. /Ermcp/QueryAccMgrTaaccount:
  11762. get:
  11763. parameters:
  11764. - description: 用户ID
  11765. in: query
  11766. name: userid
  11767. required: true
  11768. type: integer
  11769. produces:
  11770. - application/json
  11771. responses:
  11772. "200":
  11773. description: OK
  11774. schema:
  11775. items:
  11776. $ref: '#/definitions/models.ErmcpTaAccountEx'
  11777. type: array
  11778. "500":
  11779. description: Internal Server Error
  11780. schema:
  11781. $ref: '#/definitions/app.Response'
  11782. security:
  11783. - ApiKeyAuth: []
  11784. summary: 查询账户管理期货账号(账户管理/期货账号)
  11785. tags:
  11786. - 企业风险管理(app)
  11787. /Ermcp/QueryAvaildGoodsGroup:
  11788. get:
  11789. parameters:
  11790. - description: 所属机构ID
  11791. in: query
  11792. name: userid
  11793. required: true
  11794. type: integer
  11795. produces:
  11796. - application/json
  11797. responses:
  11798. "200":
  11799. description: OK
  11800. schema:
  11801. items:
  11802. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  11803. type: array
  11804. "500":
  11805. description: Internal Server Error
  11806. schema:
  11807. $ref: '#/definitions/app.Response'
  11808. security:
  11809. - ApiKeyAuth: []
  11810. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  11811. tags:
  11812. - 企业风险管理(app)
  11813. /Ermcp/QueryChangeLog:
  11814. get:
  11815. parameters:
  11816. - description: 合同ID
  11817. in: query
  11818. name: RelatedId
  11819. required: true
  11820. type: string
  11821. produces:
  11822. - application/json
  11823. responses:
  11824. "200":
  11825. description: OK
  11826. schema:
  11827. items:
  11828. $ref: '#/definitions/ermcp.QryOPLogRsp'
  11829. type: array
  11830. "500":
  11831. description: Internal Server Error
  11832. schema:
  11833. $ref: '#/definitions/app.Response'
  11834. security:
  11835. - ApiKeyAuth: []
  11836. summary: 查询变更记录
  11837. tags:
  11838. - 企业风险管理(app)
  11839. /Ermcp/QueryErmcpHisOrderDetails:
  11840. get:
  11841. parameters:
  11842. - description: 资金账户ID
  11843. in: query
  11844. name: accountID
  11845. required: true
  11846. type: integer
  11847. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  11848. in: query
  11849. name: startDate
  11850. type: string
  11851. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  11852. in: query
  11853. name: endDate
  11854. type: string
  11855. produces:
  11856. - application/json
  11857. responses:
  11858. "200":
  11859. description: OK
  11860. schema:
  11861. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  11862. "500":
  11863. description: Internal Server Error
  11864. schema:
  11865. $ref: '#/definitions/app.Response'
  11866. security:
  11867. - ApiKeyAuth: []
  11868. summary: 获取企业风管期货历史委托单信息
  11869. tags:
  11870. - 企业风险管理(app)
  11871. /Ermcp/QueryErmcpHisTradeDetails:
  11872. get:
  11873. parameters:
  11874. - description: 资金账户ID
  11875. in: query
  11876. name: accountID
  11877. required: true
  11878. type: integer
  11879. - description: 商品ID
  11880. in: query
  11881. name: goodsID
  11882. type: integer
  11883. - description: 买卖方向,0:买 1:卖
  11884. in: query
  11885. name: buyOrSell
  11886. type: integer
  11887. - description: 关联委托单号
  11888. in: query
  11889. name: orderID
  11890. type: integer
  11891. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  11892. in: query
  11893. name: startDate
  11894. type: string
  11895. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  11896. in: query
  11897. name: endDate
  11898. type: string
  11899. produces:
  11900. - application/json
  11901. responses:
  11902. "200":
  11903. description: OK
  11904. schema:
  11905. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  11906. "500":
  11907. description: Internal Server Error
  11908. schema:
  11909. $ref: '#/definitions/app.Response'
  11910. security:
  11911. - ApiKeyAuth: []
  11912. summary: 获取企业风管期货历史成交单信息
  11913. tags:
  11914. - 企业风险管理(app)
  11915. /Ermcp/QueryErmcpInnerHolderDetails:
  11916. get:
  11917. parameters:
  11918. - description: 资金账户ID
  11919. in: query
  11920. name: accountID
  11921. required: true
  11922. type: integer
  11923. - description: 商品ID
  11924. in: query
  11925. name: goodsID
  11926. type: integer
  11927. - description: 买卖方向,0:买 1:卖
  11928. in: query
  11929. name: buyOrSell
  11930. type: integer
  11931. produces:
  11932. - application/json
  11933. responses:
  11934. "200":
  11935. description: OK
  11936. schema:
  11937. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  11938. "500":
  11939. description: Internal Server Error
  11940. schema:
  11941. $ref: '#/definitions/app.Response'
  11942. security:
  11943. - ApiKeyAuth: []
  11944. summary: 获取企业风管期货内部持仓单信息
  11945. tags:
  11946. - 企业风险管理(app)
  11947. /Ermcp/QueryErmcpOrderDetails:
  11948. get:
  11949. parameters:
  11950. - description: 资金账户ID
  11951. in: query
  11952. name: accountID
  11953. required: true
  11954. type: integer
  11955. produces:
  11956. - application/json
  11957. responses:
  11958. "200":
  11959. description: OK
  11960. schema:
  11961. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  11962. "500":
  11963. description: Internal Server Error
  11964. schema:
  11965. $ref: '#/definitions/app.Response'
  11966. security:
  11967. - ApiKeyAuth: []
  11968. summary: 获取企业风管期货委托单信息
  11969. tags:
  11970. - 企业风险管理(app)
  11971. /Ermcp/QueryErmcpTradeDetails:
  11972. get:
  11973. parameters:
  11974. - description: 资金账户ID
  11975. in: query
  11976. name: accountID
  11977. required: true
  11978. type: integer
  11979. - description: 商品ID
  11980. in: query
  11981. name: goodsID
  11982. type: integer
  11983. - description: 买卖方向,0:买 1:卖
  11984. in: query
  11985. name: buyOrSell
  11986. type: integer
  11987. - description: 关联委托单号
  11988. in: query
  11989. name: orderID
  11990. type: integer
  11991. produces:
  11992. - application/json
  11993. responses:
  11994. "200":
  11995. description: OK
  11996. schema:
  11997. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  11998. "500":
  11999. description: Internal Server Error
  12000. schema:
  12001. $ref: '#/definitions/app.Response'
  12002. security:
  12003. - ApiKeyAuth: []
  12004. summary: 获取企业风管期货成交单信息
  12005. tags:
  12006. - 企业风险管理(app)
  12007. /Ermcp/QueryErmcpTradePosition:
  12008. get:
  12009. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  12010. parameters:
  12011. - description: 资金账户ID
  12012. in: query
  12013. name: accountID
  12014. required: true
  12015. type: integer
  12016. - description: 所属市场ID
  12017. in: query
  12018. name: marketID
  12019. type: integer
  12020. produces:
  12021. - application/json
  12022. responses:
  12023. "200":
  12024. description: OK
  12025. schema:
  12026. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  12027. "500":
  12028. description: Internal Server Error
  12029. schema:
  12030. $ref: '#/definitions/app.Response'
  12031. security:
  12032. - ApiKeyAuth: []
  12033. summary: 获取企业风管期货持仓头寸信息
  12034. tags:
  12035. - 企业风险管理(app)
  12036. /Ermcp/QueryExposureDetail:
  12037. get:
  12038. parameters:
  12039. - description: 所属机构ID
  12040. in: query
  12041. name: areaUserId
  12042. required: true
  12043. type: integer
  12044. - description: 套保商品
  12045. in: query
  12046. name: middleGoodsId
  12047. required: true
  12048. type: integer
  12049. produces:
  12050. - application/json
  12051. responses:
  12052. "200":
  12053. description: OK
  12054. schema:
  12055. items:
  12056. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  12057. type: array
  12058. "500":
  12059. description: Internal Server Error
  12060. schema:
  12061. $ref: '#/definitions/app.Response'
  12062. security:
  12063. - ApiKeyAuth: []
  12064. summary: 查询敞口现货明细
  12065. tags:
  12066. - 企业风险管理(app)
  12067. /Ermcp/QueryExposureHedgePosition:
  12068. get:
  12069. parameters:
  12070. - description: 用户id
  12071. in: query
  12072. name: userid
  12073. required: true
  12074. type: integer
  12075. produces:
  12076. - application/json
  12077. responses:
  12078. "200":
  12079. description: OK
  12080. schema:
  12081. items:
  12082. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  12083. type: array
  12084. "500":
  12085. description: Internal Server Error
  12086. schema:
  12087. $ref: '#/definitions/app.Response'
  12088. security:
  12089. - ApiKeyAuth: []
  12090. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  12091. tags:
  12092. - 企业风险管理(app)
  12093. /Ermcp/QueryExposureHedgePositionDetail:
  12094. get:
  12095. parameters:
  12096. - description: 所属机构ID
  12097. in: query
  12098. name: userid
  12099. required: true
  12100. type: integer
  12101. - description: 商品id
  12102. in: query
  12103. name: goodsId
  12104. required: true
  12105. type: integer
  12106. produces:
  12107. - application/json
  12108. responses:
  12109. "200":
  12110. description: OK
  12111. schema:
  12112. items:
  12113. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  12114. type: array
  12115. "500":
  12116. description: Internal Server Error
  12117. schema:
  12118. $ref: '#/definitions/app.Response'
  12119. security:
  12120. - ApiKeyAuth: []
  12121. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  12122. tags:
  12123. - 企业风险管理(app)
  12124. /Ermcp/QueryExposureSpot:
  12125. get:
  12126. parameters:
  12127. - description: 所属机构ID
  12128. in: query
  12129. name: areaUserId
  12130. required: true
  12131. type: integer
  12132. produces:
  12133. - application/json
  12134. responses:
  12135. "200":
  12136. description: OK
  12137. schema:
  12138. items:
  12139. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  12140. type: array
  12141. "500":
  12142. description: Internal Server Error
  12143. schema:
  12144. $ref: '#/definitions/app.Response'
  12145. security:
  12146. - ApiKeyAuth: []
  12147. summary: 查询敞口现货头寸(敞口/现货头寸)
  12148. tags:
  12149. - 企业风险管理(app)
  12150. /Ermcp/QueryExposureSpotDetail:
  12151. get:
  12152. parameters:
  12153. - description: 所属机构ID
  12154. in: query
  12155. name: areaUserId
  12156. required: true
  12157. type: integer
  12158. - description: 现货品种ID
  12159. in: query
  12160. name: wrstandardId
  12161. required: true
  12162. type: integer
  12163. produces:
  12164. - application/json
  12165. responses:
  12166. "200":
  12167. description: OK
  12168. schema:
  12169. items:
  12170. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  12171. type: array
  12172. "500":
  12173. description: Internal Server Error
  12174. schema:
  12175. $ref: '#/definitions/app.Response'
  12176. security:
  12177. - ApiKeyAuth: []
  12178. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  12179. tags:
  12180. - 企业风险管理(app)
  12181. /Ermcp/QueryFuturesCompany:
  12182. get:
  12183. produces:
  12184. - application/json
  12185. responses:
  12186. "200":
  12187. description: OK
  12188. schema:
  12189. items:
  12190. $ref: '#/definitions/models.ErmcpFuturesCompany'
  12191. type: array
  12192. "500":
  12193. description: Internal Server Error
  12194. schema:
  12195. $ref: '#/definitions/app.Response'
  12196. security:
  12197. - ApiKeyAuth: []
  12198. summary: 查询期货公司
  12199. tags:
  12200. - 企业风险管理(app)
  12201. /Ermcp/QueryGGConvertConfig:
  12202. get:
  12203. parameters:
  12204. - description: 品种id(不填则查所有)
  12205. in: query
  12206. name: goodsgroupid
  12207. type: integer
  12208. produces:
  12209. - application/json
  12210. responses:
  12211. "200":
  12212. description: OK
  12213. schema:
  12214. items:
  12215. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  12216. type: array
  12217. "500":
  12218. description: Internal Server Error
  12219. schema:
  12220. $ref: '#/definitions/app.Response'
  12221. security:
  12222. - ApiKeyAuth: []
  12223. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  12224. tags:
  12225. - 企业风险管理(app)
  12226. /Ermcp/QueryGoodsBrand:
  12227. get:
  12228. parameters:
  12229. - description: 用户ID
  12230. in: query
  12231. name: userid
  12232. required: true
  12233. type: integer
  12234. - description: 现货商品ID
  12235. in: query
  12236. name: wrstandardid
  12237. type: integer
  12238. produces:
  12239. - application/json
  12240. responses:
  12241. "200":
  12242. description: OK
  12243. schema:
  12244. items:
  12245. $ref: '#/definitions/models.ErmcpGoodsBrand'
  12246. type: array
  12247. "500":
  12248. description: Internal Server Error
  12249. schema:
  12250. $ref: '#/definitions/app.Response'
  12251. security:
  12252. - ApiKeyAuth: []
  12253. summary: 查询商品品牌
  12254. tags:
  12255. - 企业风险管理(app)
  12256. /Ermcp/QueryGoodsModel:
  12257. get:
  12258. parameters:
  12259. - description: 用户ID
  12260. in: query
  12261. name: userid
  12262. required: true
  12263. type: integer
  12264. produces:
  12265. - application/json
  12266. responses:
  12267. "200":
  12268. description: OK
  12269. schema:
  12270. items:
  12271. $ref: '#/definitions/models.ErmcpGoodsModel'
  12272. type: array
  12273. "500":
  12274. description: Internal Server Error
  12275. schema:
  12276. $ref: '#/definitions/app.Response'
  12277. security:
  12278. - ApiKeyAuth: []
  12279. summary: 查询商品型号
  12280. tags:
  12281. - 企业风险管理(app)
  12282. /Ermcp/QueryHisExposure:
  12283. get:
  12284. parameters:
  12285. - description: 用户id
  12286. in: query
  12287. name: userid
  12288. required: true
  12289. type: integer
  12290. - description: 每个品种记录数
  12291. in: query
  12292. name: lastNum
  12293. required: true
  12294. type: integer
  12295. produces:
  12296. - application/json
  12297. responses:
  12298. "200":
  12299. description: OK
  12300. schema:
  12301. items:
  12302. $ref: '#/definitions/ermcp.HisExposureRsp'
  12303. type: array
  12304. "500":
  12305. description: Internal Server Error
  12306. schema:
  12307. $ref: '#/definitions/app.Response'
  12308. security:
  12309. - ApiKeyAuth: []
  12310. summary: 查询历史敞口(菜单:敞口/历史敞口)
  12311. tags:
  12312. - 企业风险管理(app)
  12313. /Ermcp/QueryMiddleGoods:
  12314. get:
  12315. parameters:
  12316. - description: 所属机构ID
  12317. in: query
  12318. name: userid
  12319. required: true
  12320. type: integer
  12321. - description: 状态 0-停用 1-正常
  12322. in: query
  12323. name: status
  12324. required: true
  12325. type: integer
  12326. produces:
  12327. - application/json
  12328. responses:
  12329. "200":
  12330. description: OK
  12331. schema:
  12332. items:
  12333. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  12334. type: array
  12335. "500":
  12336. description: Internal Server Error
  12337. schema:
  12338. $ref: '#/definitions/app.Response'
  12339. security:
  12340. - ApiKeyAuth: []
  12341. summary: 查询套保品种(菜单:套保品种)
  12342. tags:
  12343. - 企业风险管理(app)
  12344. /Ermcp/QueryMiddleGoodsChangeLog:
  12345. get:
  12346. parameters:
  12347. - description: 所属机构ID
  12348. in: query
  12349. name: userid
  12350. required: true
  12351. type: integer
  12352. - description: 套保品种id
  12353. in: query
  12354. name: middlegoodsid
  12355. required: true
  12356. type: integer
  12357. produces:
  12358. - application/json
  12359. responses:
  12360. "200":
  12361. description: OK
  12362. schema:
  12363. items:
  12364. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  12365. type: array
  12366. "500":
  12367. description: Internal Server Error
  12368. schema:
  12369. $ref: '#/definitions/app.Response'
  12370. security:
  12371. - ApiKeyAuth: []
  12372. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  12373. tags:
  12374. - 企业风险管理(app)
  12375. /Ermcp/QueryMiddleGoodsDetail:
  12376. get:
  12377. parameters:
  12378. - description: 所属机构ID
  12379. in: query
  12380. name: userid
  12381. required: true
  12382. type: integer
  12383. - description: 套保品种id
  12384. in: query
  12385. name: middlegoodsid
  12386. type: integer
  12387. produces:
  12388. - application/json
  12389. responses:
  12390. "200":
  12391. description: OK
  12392. schema:
  12393. items:
  12394. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  12395. type: array
  12396. "500":
  12397. description: Internal Server Error
  12398. schema:
  12399. $ref: '#/definitions/app.Response'
  12400. security:
  12401. - ApiKeyAuth: []
  12402. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  12403. tags:
  12404. - 企业风险管理(app)
  12405. /Ermcp/QueryPendingAuditInfo:
  12406. get:
  12407. parameters:
  12408. - description: 用户ID
  12409. in: query
  12410. name: UserId
  12411. required: true
  12412. type: integer
  12413. produces:
  12414. - application/json
  12415. responses:
  12416. "200":
  12417. description: OK
  12418. schema:
  12419. items:
  12420. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  12421. type: array
  12422. "500":
  12423. description: Internal Server Error
  12424. schema:
  12425. $ref: '#/definitions/app.Response'
  12426. security:
  12427. - ApiKeyAuth: []
  12428. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  12429. tags:
  12430. - 企业风险管理(app)
  12431. /Ermcp/QueryRealtimeExposure:
  12432. get:
  12433. parameters:
  12434. - description: 所属机构ID
  12435. in: query
  12436. name: userid
  12437. required: true
  12438. type: integer
  12439. produces:
  12440. - application/json
  12441. responses:
  12442. "200":
  12443. description: OK
  12444. schema:
  12445. items:
  12446. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  12447. type: array
  12448. "500":
  12449. description: Internal Server Error
  12450. schema:
  12451. $ref: '#/definitions/app.Response'
  12452. security:
  12453. - ApiKeyAuth: []
  12454. summary: 查询实时敞口
  12455. tags:
  12456. - 企业风险管理(app)
  12457. /Ermcp/QueryRealtimeExposurePosition:
  12458. get:
  12459. parameters:
  12460. - description: 用户id
  12461. in: query
  12462. name: userid
  12463. required: true
  12464. type: integer
  12465. - description: 套保商品ID
  12466. in: query
  12467. name: middleGoodsId
  12468. required: true
  12469. type: integer
  12470. produces:
  12471. - application/json
  12472. responses:
  12473. "200":
  12474. description: OK
  12475. schema:
  12476. items:
  12477. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  12478. type: array
  12479. "500":
  12480. description: Internal Server Error
  12481. schema:
  12482. $ref: '#/definitions/app.Response'
  12483. security:
  12484. - ApiKeyAuth: []
  12485. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  12486. tags:
  12487. - 企业风险管理(app)
  12488. /Ermcp/QueryTradeConfigTMP:
  12489. get:
  12490. parameters:
  12491. - description: 所属机构id
  12492. in: query
  12493. name: areauserid
  12494. type: integer
  12495. produces:
  12496. - application/json
  12497. responses:
  12498. "200":
  12499. description: OK
  12500. schema:
  12501. items:
  12502. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  12503. type: array
  12504. "500":
  12505. description: Internal Server Error
  12506. schema:
  12507. $ref: '#/definitions/app.Response'
  12508. security:
  12509. - ApiKeyAuth: []
  12510. summary: 查询交易模板配置
  12511. tags:
  12512. - 企业风险管理(app)
  12513. /Ermcp/QueryUserInfo:
  12514. get:
  12515. parameters:
  12516. - description: 所属机构用户ID
  12517. in: query
  12518. name: MemberUserID
  12519. required: true
  12520. type: integer
  12521. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  12522. in: query
  12523. name: queryType
  12524. required: true
  12525. type: integer
  12526. produces:
  12527. - application/json
  12528. responses:
  12529. "200":
  12530. description: OK
  12531. schema:
  12532. items:
  12533. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  12534. type: array
  12535. "500":
  12536. description: Internal Server Error
  12537. schema:
  12538. $ref: '#/definitions/app.Response'
  12539. security:
  12540. - ApiKeyAuth: []
  12541. summary: 查询客户资料
  12542. tags:
  12543. - 企业风险管理(app)
  12544. /Ermcp/QueryWarehouseInfo:
  12545. get:
  12546. parameters:
  12547. - description: 用户ID
  12548. in: query
  12549. name: userid
  12550. required: true
  12551. type: integer
  12552. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  12553. in: query
  12554. name: status
  12555. type: string
  12556. produces:
  12557. - application/json
  12558. responses:
  12559. "200":
  12560. description: OK
  12561. schema:
  12562. items:
  12563. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  12564. type: array
  12565. "500":
  12566. description: Internal Server Error
  12567. schema:
  12568. $ref: '#/definitions/app.Response'
  12569. security:
  12570. - ApiKeyAuth: []
  12571. summary: 查询仓库信息
  12572. tags:
  12573. - 企业风险管理(app)
  12574. /Ermcp3/QryAreaExpourseContractDetail:
  12575. get:
  12576. parameters:
  12577. - description: 用户ID
  12578. in: query
  12579. name: userid
  12580. required: true
  12581. type: integer
  12582. - description: 套保商品id
  12583. in: query
  12584. name: middlegoodsid
  12585. required: true
  12586. type: integer
  12587. - description: 交易日(格式yyyymmdd)
  12588. in: query
  12589. name: tradedate
  12590. required: true
  12591. type: string
  12592. produces:
  12593. - application/json
  12594. responses:
  12595. "200":
  12596. description: OK
  12597. schema:
  12598. items:
  12599. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  12600. type: array
  12601. "500":
  12602. description: Internal Server Error
  12603. schema:
  12604. $ref: '#/definitions/app.Response'
  12605. security:
  12606. - ApiKeyAuth: []
  12607. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  12608. tags:
  12609. - 企业风险管理v3(app)
  12610. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  12611. get:
  12612. parameters:
  12613. - description: 用户ID
  12614. in: query
  12615. name: userid
  12616. required: true
  12617. type: integer
  12618. - description: 套保商品id
  12619. in: query
  12620. name: middlegoodsid
  12621. required: true
  12622. type: integer
  12623. - description: 交易日(格式yyyymmdd)
  12624. in: query
  12625. name: tradedate
  12626. required: true
  12627. type: string
  12628. produces:
  12629. - application/json
  12630. responses:
  12631. "200":
  12632. description: OK
  12633. schema:
  12634. items:
  12635. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  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. - 企业风险管理v3(app)
  12646. /Ermcp3/QryAreaExpourseReport:
  12647. get:
  12648. parameters:
  12649. - description: 用户ID
  12650. in: query
  12651. name: userid
  12652. required: true
  12653. type: integer
  12654. - description: 查询类型 1-日报表 2-周期报表 3-日报表(指定时间段[开始交易日,结束交易日])
  12655. in: query
  12656. name: querytype
  12657. required: true
  12658. type: integer
  12659. - description: 交易日(格式yyyymmdd)
  12660. in: query
  12661. name: tradedate
  12662. type: string
  12663. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  12664. in: query
  12665. name: cycletype
  12666. type: integer
  12667. - description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  12668. in: query
  12669. name: cycletime
  12670. type: string
  12671. - description: 开始交易日(格式yyyymmdd)
  12672. in: query
  12673. name: begindate
  12674. type: string
  12675. - description: 结束交易日(格式yyyymmdd)
  12676. in: query
  12677. name: enddate
  12678. type: string
  12679. produces:
  12680. - application/json
  12681. responses:
  12682. "200":
  12683. description: OK
  12684. schema:
  12685. items:
  12686. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  12687. type: array
  12688. "500":
  12689. description: Internal Server Error
  12690. schema:
  12691. $ref: '#/definitions/app.Response'
  12692. security:
  12693. - ApiKeyAuth: []
  12694. summary: 查询敞口报表
  12695. tags:
  12696. - 企业风险管理v3(app)
  12697. /Ermcp3/QryAreaSpotplReport:
  12698. get:
  12699. parameters:
  12700. - description: 用户ID
  12701. in: query
  12702. name: userid
  12703. required: true
  12704. type: integer
  12705. - description: 查询类型 1-日报表 2-周期报表 3-日报表(指定时间段[开始交易日,结束交易日])
  12706. in: query
  12707. name: querytype
  12708. required: true
  12709. type: integer
  12710. - description: 交易日(格式yyyymmdd)
  12711. in: query
  12712. name: tradedate
  12713. type: string
  12714. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  12715. in: query
  12716. name: cycletype
  12717. type: integer
  12718. - description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  12719. in: query
  12720. name: cycletime
  12721. type: string
  12722. - description: 开始交易日(格式yyyymmdd)
  12723. in: query
  12724. name: begindate
  12725. type: string
  12726. - description: 结束交易日(格式yyyymmdd)
  12727. in: query
  12728. name: enddate
  12729. type: string
  12730. produces:
  12731. - application/json
  12732. responses:
  12733. "200":
  12734. description: OK
  12735. schema:
  12736. items:
  12737. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  12738. type: array
  12739. "500":
  12740. description: Internal Server Error
  12741. schema:
  12742. $ref: '#/definitions/app.Response'
  12743. security:
  12744. - ApiKeyAuth: []
  12745. summary: 查询现货报表
  12746. tags:
  12747. - 企业风险管理v3(app)
  12748. /Ermcp3/QryAreaStockReport:
  12749. get:
  12750. parameters:
  12751. - description: 用户ID
  12752. in: query
  12753. name: userid
  12754. required: true
  12755. type: integer
  12756. - description: 查询类型 1-日报表 2-周期报表 3-日报表(指定时间段[开始交易日,结束交易日])
  12757. in: query
  12758. name: querytype
  12759. required: true
  12760. type: integer
  12761. - description: 交易日(格式yyyymmdd)
  12762. in: query
  12763. name: tradedate
  12764. type: string
  12765. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  12766. in: query
  12767. name: cycletype
  12768. type: integer
  12769. - description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  12770. in: query
  12771. name: cycletime
  12772. type: string
  12773. - description: 开始交易日(格式yyyymmdd)
  12774. in: query
  12775. name: begindate
  12776. type: string
  12777. - description: 结束交易日(格式yyyymmdd)
  12778. in: query
  12779. name: enddate
  12780. type: string
  12781. - description: 现货商品ID
  12782. in: query
  12783. name: deliverygoodsid
  12784. type: integer
  12785. - description: 品类ID
  12786. in: query
  12787. name: wrstandardid
  12788. type: integer
  12789. - description: 品牌ID
  12790. in: query
  12791. name: spotgoodsbrandid
  12792. type: integer
  12793. - description: 仓库ID
  12794. in: query
  12795. name: warehouseinfoid
  12796. type: integer
  12797. produces:
  12798. - application/json
  12799. responses:
  12800. "200":
  12801. description: OK
  12802. schema:
  12803. items:
  12804. $ref: '#/definitions/models.Ermcp3AreaStockReport'
  12805. type: array
  12806. "500":
  12807. description: Internal Server Error
  12808. schema:
  12809. $ref: '#/definitions/app.Response'
  12810. security:
  12811. - ApiKeyAuth: []
  12812. summary: 查询库存报表
  12813. tags:
  12814. - 企业风险管理v3(app)
  12815. /Ermcp3/QryAreaSumPL:
  12816. get:
  12817. parameters:
  12818. - description: 用户ID
  12819. in: query
  12820. name: userid
  12821. required: true
  12822. type: integer
  12823. - description: 查询类型 1-日报表 2-周期报表 3-日报表(指定时间段[开始交易日,结束交易日])
  12824. in: query
  12825. name: querytype
  12826. required: true
  12827. type: integer
  12828. - description: 交易日(格式yyyymmdd)
  12829. in: query
  12830. name: tradedate
  12831. type: string
  12832. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  12833. in: query
  12834. name: cycletype
  12835. type: integer
  12836. - description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  12837. in: query
  12838. name: cycletime
  12839. type: string
  12840. - description: 开始交易日(格式yyyymmdd)
  12841. in: query
  12842. name: begindate
  12843. type: string
  12844. - description: 结束交易日(格式yyyymmdd)
  12845. in: query
  12846. name: enddate
  12847. type: string
  12848. produces:
  12849. - application/json
  12850. responses:
  12851. "200":
  12852. description: OK
  12853. schema:
  12854. items:
  12855. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  12856. type: array
  12857. "500":
  12858. description: Internal Server Error
  12859. schema:
  12860. $ref: '#/definitions/app.Response'
  12861. security:
  12862. - ApiKeyAuth: []
  12863. summary: 查询汇总损益表
  12864. tags:
  12865. - 企业风险管理v3(app)
  12866. /Ermcp3/QryFinanceReport:
  12867. get:
  12868. parameters:
  12869. - description: 用户ID
  12870. in: query
  12871. name: userid
  12872. required: true
  12873. type: integer
  12874. - description: 查询类型 1-日报表 2-周期报表 3-日报表(指定时间段[开始交易日,结束交易日])
  12875. in: query
  12876. name: querytype
  12877. required: true
  12878. type: integer
  12879. - description: 交易日(格式yyyymmdd)
  12880. in: query
  12881. name: tradedate
  12882. type: string
  12883. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  12884. in: query
  12885. name: cycletype
  12886. type: integer
  12887. - description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  12888. in: query
  12889. name: cycletime
  12890. type: string
  12891. - description: 开始交易日(格式yyyymmdd)
  12892. in: query
  12893. name: begindate
  12894. type: string
  12895. - description: 结束交易日(格式yyyymmdd)
  12896. in: query
  12897. name: enddate
  12898. type: string
  12899. produces:
  12900. - application/json
  12901. responses:
  12902. "200":
  12903. description: OK
  12904. schema:
  12905. items:
  12906. $ref: '#/definitions/models.Ermcp3FinanceReport'
  12907. type: array
  12908. "500":
  12909. description: Internal Server Error
  12910. schema:
  12911. $ref: '#/definitions/app.Response'
  12912. security:
  12913. - ApiKeyAuth: []
  12914. summary: 查询财务报表
  12915. tags:
  12916. - 企业风险管理v3(app)
  12917. /Ermcp3/QueryAreaStock:
  12918. get:
  12919. parameters:
  12920. - description: 用户ID
  12921. in: query
  12922. name: userid
  12923. required: true
  12924. type: integer
  12925. produces:
  12926. - application/json
  12927. responses:
  12928. "200":
  12929. description: OK
  12930. schema:
  12931. items:
  12932. $ref: '#/definitions/models.Ermcp3AreaStock'
  12933. type: array
  12934. "500":
  12935. description: Internal Server Error
  12936. schema:
  12937. $ref: '#/definitions/app.Response'
  12938. security:
  12939. - ApiKeyAuth: []
  12940. summary: 查询机构库存(库存管理/当前库存)
  12941. tags:
  12942. - 企业风险管理v3(app)
  12943. /Ermcp3/QueryAreaStockApply:
  12944. get:
  12945. parameters:
  12946. - description: 用户ID
  12947. in: query
  12948. name: userid
  12949. required: true
  12950. type: integer
  12951. - description: 现货商品ID
  12952. in: query
  12953. name: deliverygoodsid
  12954. type: integer
  12955. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  12956. in: query
  12957. name: inouttype
  12958. type: string
  12959. - description: 合同ID
  12960. in: query
  12961. name: spotcontractid
  12962. type: integer
  12963. - description: 品类ID
  12964. in: query
  12965. name: wrstandardid
  12966. type: integer
  12967. - description: 品牌ID
  12968. in: query
  12969. name: spotgoodsbrandid
  12970. type: integer
  12971. - description: 仓库ID
  12972. in: query
  12973. name: warehouseinfoid
  12974. type: integer
  12975. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12976. in: query
  12977. name: applystatus
  12978. type: string
  12979. produces:
  12980. - application/json
  12981. responses:
  12982. "200":
  12983. description: OK
  12984. schema:
  12985. items:
  12986. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  12987. type: array
  12988. "500":
  12989. description: Internal Server Error
  12990. schema:
  12991. $ref: '#/definitions/app.Response'
  12992. security:
  12993. - ApiKeyAuth: []
  12994. summary: 查询库存申请(出入库记录|库存审核)
  12995. tags:
  12996. - 企业风险管理v3(app)
  12997. /Ermcp3/QueryAreaStockApplySum:
  12998. get:
  12999. parameters:
  13000. - description: 合同ID
  13001. in: query
  13002. name: spotcontractid
  13003. type: integer
  13004. produces:
  13005. - application/json
  13006. responses:
  13007. "200":
  13008. description: OK
  13009. schema:
  13010. items:
  13011. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  13012. type: array
  13013. "500":
  13014. description: Internal Server Error
  13015. schema:
  13016. $ref: '#/definitions/app.Response'
  13017. security:
  13018. - ApiKeyAuth: []
  13019. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  13020. tags:
  13021. - 企业风险管理v3(app)
  13022. /Ermcp3/QueryDGFactoryItem:
  13023. get:
  13024. parameters:
  13025. - description: 用户id
  13026. in: query
  13027. name: userid
  13028. type: integer
  13029. - description: 用户类型 2-机构 7-企业成员
  13030. in: query
  13031. name: usertype
  13032. type: integer
  13033. - description: 选择项ID(SEQ_DGFACTORYITEM)
  13034. in: query
  13035. name: dgfactoryitemid
  13036. type: integer
  13037. - description: 现货品种ID
  13038. in: query
  13039. name: deliverygoodsid
  13040. type: integer
  13041. - description: 要素项类型
  13042. in: query
  13043. name: dgfactoryitemtypeid
  13044. type: integer
  13045. - description: 顺序
  13046. in: query
  13047. name: orderindex
  13048. type: integer
  13049. produces:
  13050. - application/json
  13051. responses:
  13052. "200":
  13053. description: OK
  13054. schema:
  13055. items:
  13056. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  13057. type: array
  13058. "500":
  13059. description: Internal Server Error
  13060. schema:
  13061. $ref: '#/definitions/app.Response'
  13062. security:
  13063. - ApiKeyAuth: []
  13064. summary: 查询品种要素定义项
  13065. tags:
  13066. - 企业风险管理v3(app)
  13067. /Ermcp3/QueryDeliveryGoods:
  13068. get:
  13069. parameters:
  13070. - description: 用户id
  13071. in: query
  13072. name: userid
  13073. required: true
  13074. type: integer
  13075. - description: 用户类型 2-机构 7-企业成员
  13076. in: query
  13077. name: usertype
  13078. type: integer
  13079. - description: 排除已配置的业务类型商品 1-套保 2-套利
  13080. in: query
  13081. name: excludecfg
  13082. type: integer
  13083. produces:
  13084. - application/json
  13085. responses:
  13086. "200":
  13087. description: OK
  13088. schema:
  13089. items:
  13090. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  13091. type: array
  13092. "500":
  13093. description: Internal Server Error
  13094. schema:
  13095. $ref: '#/definitions/app.Response'
  13096. security:
  13097. - ApiKeyAuth: []
  13098. summary: 查询现货商品
  13099. tags:
  13100. - 企业风险管理v3(app)
  13101. /Ermcp3/QueryDeliveryGoodsDetail:
  13102. get:
  13103. parameters:
  13104. - description: 用户id
  13105. in: query
  13106. name: userid
  13107. required: true
  13108. type: integer
  13109. - description: 用户类型 2-机构 7-企业成员
  13110. in: query
  13111. name: usertype
  13112. type: integer
  13113. - description: 现货商品id
  13114. in: query
  13115. name: deliverygoodsid
  13116. type: integer
  13117. produces:
  13118. - application/json
  13119. responses:
  13120. "200":
  13121. description: OK
  13122. schema:
  13123. items:
  13124. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  13125. type: array
  13126. "500":
  13127. description: Internal Server Error
  13128. schema:
  13129. $ref: '#/definitions/app.Response'
  13130. security:
  13131. - ApiKeyAuth: []
  13132. summary: 查询现货商品详情
  13133. tags:
  13134. - 企业风险管理v3(app)
  13135. /Ermcp3/QueryExposureDetail:
  13136. get:
  13137. parameters:
  13138. - description: 用户id
  13139. in: query
  13140. name: userid
  13141. required: true
  13142. type: integer
  13143. - description: 用户类型 2-机构 7-企业成员
  13144. in: query
  13145. name: usertype
  13146. type: integer
  13147. - description: 套保商品
  13148. in: query
  13149. name: middlegoodsid
  13150. required: true
  13151. type: integer
  13152. produces:
  13153. - application/json
  13154. responses:
  13155. "200":
  13156. description: OK
  13157. schema:
  13158. items:
  13159. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  13160. type: array
  13161. "500":
  13162. description: Internal Server Error
  13163. schema:
  13164. $ref: '#/definitions/app.Response'
  13165. security:
  13166. - ApiKeyAuth: []
  13167. summary: 查询敞口现货明细
  13168. tags:
  13169. - 企业风险管理v3(app)
  13170. /Ermcp3/QueryExposureSpot:
  13171. get:
  13172. parameters:
  13173. - description: 用户id
  13174. in: query
  13175. name: userid
  13176. required: true
  13177. type: integer
  13178. - description: 用户类型 2-机构 7-企业成员
  13179. in: query
  13180. name: usertype
  13181. type: integer
  13182. produces:
  13183. - application/json
  13184. responses:
  13185. "200":
  13186. description: OK
  13187. schema:
  13188. items:
  13189. $ref: '#/definitions/models.Ermcp3AreaSpot'
  13190. type: array
  13191. "500":
  13192. description: Internal Server Error
  13193. schema:
  13194. $ref: '#/definitions/app.Response'
  13195. security:
  13196. - ApiKeyAuth: []
  13197. summary: 查询敞口现货头寸(敞口/现货头寸)
  13198. tags:
  13199. - 企业风险管理v3(app)
  13200. /Ermcp3/QueryExposureSpotDetail:
  13201. get:
  13202. parameters:
  13203. - description: 用户id
  13204. in: query
  13205. name: userid
  13206. required: true
  13207. type: integer
  13208. - description: 用户类型 2-机构 7-企业成员
  13209. in: query
  13210. name: usertype
  13211. type: integer
  13212. - description: 现货品种ID
  13213. in: query
  13214. name: deliverygoodsid
  13215. required: true
  13216. type: integer
  13217. produces:
  13218. - application/json
  13219. responses:
  13220. "200":
  13221. description: OK
  13222. schema:
  13223. items:
  13224. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  13225. type: array
  13226. "500":
  13227. description: Internal Server Error
  13228. schema:
  13229. $ref: '#/definitions/app.Response'
  13230. security:
  13231. - ApiKeyAuth: []
  13232. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  13233. tags:
  13234. - 企业风险管理v3(app)
  13235. /Ermcp3/QueryGoodsGroup:
  13236. get:
  13237. parameters:
  13238. - description: 用户id
  13239. in: query
  13240. name: userid
  13241. required: true
  13242. type: integer
  13243. - description: 用户类型 2-机构 7-企业成员
  13244. in: query
  13245. name: usertype
  13246. type: integer
  13247. - description: 排除套保品中已关联的商品组 1-排除
  13248. in: query
  13249. name: excludecfg
  13250. type: integer
  13251. produces:
  13252. - application/json
  13253. responses:
  13254. "200":
  13255. description: OK
  13256. schema:
  13257. items:
  13258. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  13259. type: array
  13260. "500":
  13261. description: Internal Server Error
  13262. schema:
  13263. $ref: '#/definitions/app.Response'
  13264. security:
  13265. - ApiKeyAuth: []
  13266. summary: 查询期货商品组
  13267. tags:
  13268. - 企业风险管理v3(app)
  13269. /Ermcp3/QueryGoodsWrstandard:
  13270. get:
  13271. parameters:
  13272. - description: 用户id
  13273. in: query
  13274. name: userid
  13275. required: true
  13276. type: integer
  13277. - description: 用户类型 2-机构 7-企业成员
  13278. in: query
  13279. name: usertype
  13280. type: integer
  13281. - description: 现货商品id
  13282. in: query
  13283. name: deliverygoodsid
  13284. type: integer
  13285. produces:
  13286. - application/json
  13287. responses:
  13288. "200":
  13289. description: OK
  13290. schema:
  13291. items:
  13292. $ref: '#/definitions/models.Ermcp3Wrstandard'
  13293. type: array
  13294. "500":
  13295. description: Internal Server Error
  13296. schema:
  13297. $ref: '#/definitions/app.Response'
  13298. security:
  13299. - ApiKeyAuth: []
  13300. summary: 查询商品品类
  13301. tags:
  13302. - 企业风险管理v3(app)
  13303. /Ermcp3/QueryGoodsbrand:
  13304. get:
  13305. parameters:
  13306. - description: 用户id
  13307. in: query
  13308. name: userid
  13309. required: true
  13310. type: integer
  13311. - description: 用户类型 2-机构 7-企业成员
  13312. in: query
  13313. name: usertype
  13314. type: integer
  13315. produces:
  13316. - application/json
  13317. responses:
  13318. "200":
  13319. description: OK
  13320. schema:
  13321. items:
  13322. $ref: '#/definitions/models.Ermcp3Brand'
  13323. type: array
  13324. "500":
  13325. description: Internal Server Error
  13326. schema:
  13327. $ref: '#/definitions/app.Response'
  13328. security:
  13329. - ApiKeyAuth: []
  13330. summary: 查询商品品牌
  13331. tags:
  13332. - 企业风险管理v3(app)
  13333. /Ermcp3/QueryHedgePlan:
  13334. get:
  13335. parameters:
  13336. - description: 用户ID
  13337. in: query
  13338. name: userid
  13339. required: true
  13340. type: integer
  13341. - description: 用户类型 2-机构 7-企业成员
  13342. in: query
  13343. name: usertype
  13344. type: integer
  13345. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  13346. in: query
  13347. name: hedgeplanstatus
  13348. required: true
  13349. type: string
  13350. produces:
  13351. - application/json
  13352. responses:
  13353. "200":
  13354. description: OK
  13355. schema:
  13356. items:
  13357. $ref: '#/definitions/models.Ermcp3HedgePlan'
  13358. type: array
  13359. "500":
  13360. description: Internal Server Error
  13361. schema:
  13362. $ref: '#/definitions/app.Response'
  13363. security:
  13364. - ApiKeyAuth: []
  13365. summary: 查询套保计划
  13366. tags:
  13367. - 企业风险管理v3(app)
  13368. /Ermcp3/QueryMiddleGoodsDetail:
  13369. get:
  13370. parameters:
  13371. - description: 用户id
  13372. in: query
  13373. name: userid
  13374. required: true
  13375. type: integer
  13376. - description: 用户类型 2-机构 7-企业成员
  13377. in: query
  13378. name: usertype
  13379. type: integer
  13380. - description: 套保品种id
  13381. in: query
  13382. name: middlegoodsid
  13383. type: integer
  13384. produces:
  13385. - application/json
  13386. responses:
  13387. "200":
  13388. description: OK
  13389. schema:
  13390. items:
  13391. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  13392. type: array
  13393. "500":
  13394. description: Internal Server Error
  13395. schema:
  13396. $ref: '#/definitions/app.Response'
  13397. security:
  13398. - ApiKeyAuth: []
  13399. summary: 查询套保品种详情(套保品种/商品详情)
  13400. tags:
  13401. - 企业风险管理v3(app)
  13402. /Ermcp3/QuerySpotContract:
  13403. get:
  13404. parameters:
  13405. - description: 用户id
  13406. in: query
  13407. name: userid
  13408. required: true
  13409. type: integer
  13410. - description: 用户类型 2-机构 7-企业成员
  13411. in: query
  13412. name: usertype
  13413. type: integer
  13414. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  13415. in: query
  13416. name: querytype
  13417. required: true
  13418. type: integer
  13419. - description: 合同ID(SpotContractId)
  13420. in: query
  13421. name: contractid
  13422. type: string
  13423. produces:
  13424. - application/json
  13425. responses:
  13426. "200":
  13427. description: OK
  13428. schema:
  13429. items:
  13430. $ref: '#/definitions/models.Ermcp3Contract'
  13431. type: array
  13432. "500":
  13433. description: Internal Server Error
  13434. schema:
  13435. $ref: '#/definitions/app.Response'
  13436. security:
  13437. - ApiKeyAuth: []
  13438. summary: 查询现货合同
  13439. tags:
  13440. - 企业风险管理v3(app)
  13441. /Ermcp3/QuerySpotContractBS:
  13442. get:
  13443. parameters:
  13444. - description: 用户id
  13445. in: query
  13446. name: userid
  13447. required: true
  13448. type: integer
  13449. - description: 用户类型 2-机构 7-企业成员
  13450. in: query
  13451. name: usertype
  13452. type: integer
  13453. - description: 合同类型 1-采购, -1-销售
  13454. in: query
  13455. name: contracttype
  13456. required: true
  13457. type: integer
  13458. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  13459. in: query
  13460. name: querytype
  13461. required: true
  13462. type: integer
  13463. - description: 合同ID(SpotContractId)
  13464. in: query
  13465. name: contractid
  13466. type: string
  13467. produces:
  13468. - application/json
  13469. responses:
  13470. "200":
  13471. description: OK
  13472. schema:
  13473. items:
  13474. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  13475. type: array
  13476. "500":
  13477. description: Internal Server Error
  13478. schema:
  13479. $ref: '#/definitions/app.Response'
  13480. security:
  13481. - ApiKeyAuth: []
  13482. summary: 查询合同(采购/销售)
  13483. tags:
  13484. - 企业风险管理v3(app)
  13485. /Ermcp3/QuerySpotGoodsPrice:
  13486. get:
  13487. parameters:
  13488. - description: 用户ID
  13489. in: query
  13490. name: userid
  13491. required: true
  13492. type: integer
  13493. produces:
  13494. - application/json
  13495. responses:
  13496. "200":
  13497. description: OK
  13498. schema:
  13499. items:
  13500. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  13501. type: array
  13502. "500":
  13503. description: Internal Server Error
  13504. schema:
  13505. $ref: '#/definitions/app.Response'
  13506. security:
  13507. - ApiKeyAuth: []
  13508. summary: 查询现货市价(现货市价)
  13509. tags:
  13510. - 企业风险管理v3(app)
  13511. /Ermcp3/QuerySpotGoodsPriceLog:
  13512. get:
  13513. parameters:
  13514. - description: 用户ID
  13515. in: query
  13516. name: userid
  13517. required: true
  13518. type: integer
  13519. - description: 现货商品ID
  13520. in: query
  13521. name: deliverygoodsid
  13522. required: true
  13523. type: integer
  13524. - description: 品牌ID
  13525. in: query
  13526. name: brandid
  13527. type: integer
  13528. - description: 品类ID
  13529. in: query
  13530. name: wrstandardid
  13531. type: integer
  13532. produces:
  13533. - application/json
  13534. responses:
  13535. "200":
  13536. description: OK
  13537. schema:
  13538. items:
  13539. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  13540. type: array
  13541. "500":
  13542. description: Internal Server Error
  13543. schema:
  13544. $ref: '#/definitions/app.Response'
  13545. security:
  13546. - ApiKeyAuth: []
  13547. summary: 查询现货市价详情(现货市价/详情)
  13548. tags:
  13549. - 企业风险管理v3(app)
  13550. /Erms2/QueryArbitrageStrategy:
  13551. get:
  13552. parameters:
  13553. - description: 账户ID
  13554. in: query
  13555. name: userid
  13556. required: true
  13557. type: integer
  13558. - description: 商品组ID(品种ID)
  13559. in: query
  13560. name: goodsgroupid
  13561. type: string
  13562. produces:
  13563. - application/json
  13564. responses:
  13565. "200":
  13566. description: OK
  13567. schema:
  13568. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  13569. "500":
  13570. description: Internal Server Error
  13571. schema:
  13572. $ref: '#/definitions/app.Response'
  13573. security:
  13574. - ApiKeyAuth: []
  13575. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  13576. tags:
  13577. - 风险管理
  13578. /Erms2/QueryInnerTradeDetail:
  13579. get:
  13580. parameters:
  13581. - description: 资金账户
  13582. in: query
  13583. name: accountid
  13584. required: true
  13585. type: integer
  13586. produces:
  13587. - application/json
  13588. responses:
  13589. "200":
  13590. description: OK
  13591. schema:
  13592. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  13593. "500":
  13594. description: Internal Server Error
  13595. schema:
  13596. $ref: '#/definitions/app.Response'
  13597. security:
  13598. - ApiKeyAuth: []
  13599. summary: 查询内部成交单信息
  13600. tags:
  13601. - 风险管理
  13602. /Erms2/QuerySpotContract:
  13603. get:
  13604. parameters:
  13605. - description: 策略申请ID
  13606. in: query
  13607. name: asapplyid
  13608. required: true
  13609. type: integer
  13610. - description: 现货合同ID
  13611. in: query
  13612. name: spotcontractid
  13613. type: integer
  13614. produces:
  13615. - application/json
  13616. responses:
  13617. "200":
  13618. description: OK
  13619. schema:
  13620. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  13621. "500":
  13622. description: Internal Server Error
  13623. schema:
  13624. $ref: '#/definitions/app.Response'
  13625. security:
  13626. - ApiKeyAuth: []
  13627. summary: 查询现货合同表信息(指定策略ID、未结束的)
  13628. tags:
  13629. - 风险管理
  13630. /Erms3/AddErms2ASApply:
  13631. post:
  13632. parameters:
  13633. - description: 申请参数
  13634. in: body
  13635. name: jsonBody
  13636. required: true
  13637. schema:
  13638. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  13639. produces:
  13640. - application/json
  13641. responses:
  13642. "200":
  13643. description: OK
  13644. schema:
  13645. $ref: '#/definitions/app.Response'
  13646. "500":
  13647. description: Internal Server Error
  13648. schema:
  13649. $ref: '#/definitions/app.Response'
  13650. security:
  13651. - ApiKeyAuth: []
  13652. summary: 新增期现套利业务申请
  13653. tags:
  13654. - 风险管理v3
  13655. /Erms3/AddErms2SpotTradeApply:
  13656. post:
  13657. parameters:
  13658. - description: 申请参数
  13659. in: body
  13660. name: jsonBody
  13661. required: true
  13662. schema:
  13663. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  13664. produces:
  13665. - application/json
  13666. responses:
  13667. "200":
  13668. description: OK
  13669. schema:
  13670. $ref: '#/definitions/app.Response'
  13671. "500":
  13672. description: Internal Server Error
  13673. schema:
  13674. $ref: '#/definitions/app.Response'
  13675. security:
  13676. - ApiKeyAuth: []
  13677. summary: 新增现货贸易业务申请
  13678. tags:
  13679. - 风险管理v3
  13680. /Erms3/AddSpotContractApply:
  13681. post:
  13682. parameters:
  13683. - description: 申请参数
  13684. in: body
  13685. name: jsonBody
  13686. required: true
  13687. schema:
  13688. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  13689. produces:
  13690. - application/json
  13691. responses:
  13692. "200":
  13693. description: OK
  13694. schema:
  13695. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  13696. "500":
  13697. description: Internal Server Error
  13698. schema:
  13699. $ref: '#/definitions/app.Response'
  13700. security:
  13701. - ApiKeyAuth: []
  13702. summary: 新增现货合同申请
  13703. tags:
  13704. - 风险管理v3
  13705. /Erms3/AddUserInfoApply:
  13706. post:
  13707. parameters:
  13708. - description: 用户信息
  13709. in: body
  13710. name: jsonBody
  13711. required: true
  13712. schema:
  13713. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  13714. produces:
  13715. - application/json
  13716. responses:
  13717. "200":
  13718. description: OK
  13719. schema:
  13720. $ref: '#/definitions/app.Response'
  13721. "500":
  13722. description: Internal Server Error
  13723. schema:
  13724. $ref: '#/definitions/app.Response'
  13725. security:
  13726. - ApiKeyAuth: []
  13727. summary: 新增客户申请
  13728. tags:
  13729. - 风险管理v3
  13730. /Erms3/DeleteUserInfoApply:
  13731. get:
  13732. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  13733. parameters:
  13734. - description: 用户ID
  13735. in: query
  13736. name: userID
  13737. required: true
  13738. type: integer
  13739. produces:
  13740. - application/json
  13741. responses:
  13742. "200":
  13743. description: OK
  13744. schema:
  13745. $ref: '#/definitions/app.Response'
  13746. "500":
  13747. description: Internal Server Error
  13748. schema:
  13749. $ref: '#/definitions/app.Response'
  13750. security:
  13751. - ApiKeyAuth: []
  13752. summary: 删除客户申请
  13753. tags:
  13754. - 风险管理v3
  13755. /Erms3/ModifyUserInfoApply:
  13756. post:
  13757. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  13758. int, "userstate": 2 }'
  13759. parameters:
  13760. - description: 用户信息
  13761. in: body
  13762. name: jsonBody
  13763. required: true
  13764. schema:
  13765. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  13766. produces:
  13767. - application/json
  13768. responses:
  13769. "200":
  13770. description: OK
  13771. schema:
  13772. $ref: '#/definitions/app.Response'
  13773. "500":
  13774. description: Internal Server Error
  13775. schema:
  13776. $ref: '#/definitions/app.Response'
  13777. security:
  13778. - ApiKeyAuth: []
  13779. summary: 修改客户申请
  13780. tags:
  13781. - 风险管理v3
  13782. /Erms3/QueryBusinessInfo:
  13783. get:
  13784. parameters:
  13785. - description: 资金账号ID列表,用逗号分隔
  13786. in: query
  13787. name: accountids
  13788. required: true
  13789. type: string
  13790. - description: 状态,0为未结束 1为已结束
  13791. in: query
  13792. name: status
  13793. required: true
  13794. type: integer
  13795. produces:
  13796. - application/json
  13797. responses:
  13798. "200":
  13799. description: OK
  13800. schema:
  13801. items:
  13802. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  13803. type: array
  13804. "500":
  13805. description: Internal Server Error
  13806. schema:
  13807. $ref: '#/definitions/app.Response'
  13808. security:
  13809. - ApiKeyAuth: []
  13810. summary: 查询业务表单数据
  13811. tags:
  13812. - 风险管理v3
  13813. /Erms3/QueryPendingAuditContract:
  13814. get:
  13815. parameters:
  13816. - description: 资金账号ID列表,逗号隔开
  13817. in: query
  13818. name: accountids
  13819. required: true
  13820. type: string
  13821. - description: 合同类型 1-采购 -1-销售
  13822. in: query
  13823. name: contracttype
  13824. required: true
  13825. type: integer
  13826. - description: 合同模式 1-普通 2-回购
  13827. in: query
  13828. name: contractmode
  13829. required: true
  13830. type: integer
  13831. produces:
  13832. - application/json
  13833. responses:
  13834. "200":
  13835. description: OK
  13836. schema:
  13837. items:
  13838. $ref: '#/definitions/erms3.QryAuditContractRsp'
  13839. type: array
  13840. "500":
  13841. description: Internal Server Error
  13842. schema:
  13843. $ref: '#/definitions/app.Response'
  13844. security:
  13845. - ApiKeyAuth: []
  13846. summary: 查询待审核合同
  13847. tags:
  13848. - 风险管理v3
  13849. /Erms3/QueryPendingBusiness:
  13850. get:
  13851. parameters:
  13852. - description: 资金账号ID列表,逗号隔开
  13853. in: query
  13854. name: accountids
  13855. required: true
  13856. type: string
  13857. produces:
  13858. - application/json
  13859. responses:
  13860. "200":
  13861. description: OK
  13862. schema:
  13863. items:
  13864. $ref: '#/definitions/erms3.QryPendingBizRsp'
  13865. type: array
  13866. "500":
  13867. description: Internal Server Error
  13868. schema:
  13869. $ref: '#/definitions/app.Response'
  13870. security:
  13871. - ApiKeyAuth: []
  13872. summary: 查询待审核基差贸易业务
  13873. tags:
  13874. - 风险管理v3
  13875. /Erms3/QuerySpotContractAppleForm:
  13876. get:
  13877. parameters:
  13878. - description: 登录账号
  13879. in: query
  13880. name: loginID
  13881. required: true
  13882. type: integer
  13883. produces:
  13884. - application/json
  13885. responses:
  13886. "200":
  13887. description: OK
  13888. schema:
  13889. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  13890. "500":
  13891. description: Internal Server Error
  13892. schema:
  13893. $ref: '#/definitions/app.Response'
  13894. security:
  13895. - ApiKeyAuth: []
  13896. summary: 查询合同申请表单数据
  13897. tags:
  13898. - 风险管理v3
  13899. /Erms3/QuerySpotContractDetail:
  13900. get:
  13901. parameters:
  13902. - description: 资金账号ID列表,用逗号分隔
  13903. in: query
  13904. name: accountids
  13905. required: true
  13906. type: string
  13907. - description: 合同类型,1为采购合同 -1为销售合同
  13908. in: query
  13909. name: contracttype
  13910. required: true
  13911. type: integer
  13912. - description: 合同模式,1为普通合同 2为回购销售合同
  13913. in: query
  13914. name: contractmode
  13915. required: true
  13916. type: integer
  13917. - description: 状态,0为履约中 1为已完成
  13918. in: query
  13919. name: status
  13920. required: true
  13921. type: integer
  13922. produces:
  13923. - application/json
  13924. responses:
  13925. "200":
  13926. description: OK
  13927. schema:
  13928. items:
  13929. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  13930. type: array
  13931. "500":
  13932. description: Internal Server Error
  13933. schema:
  13934. $ref: '#/definitions/app.Response'
  13935. security:
  13936. - ApiKeyAuth: []
  13937. summary: 查询合同详细信息
  13938. tags:
  13939. - 风险管理v3
  13940. /Erms3/QueryUserInfoApplies:
  13941. get:
  13942. parameters:
  13943. - description: 页码
  13944. in: query
  13945. name: page
  13946. type: integer
  13947. - description: 每页条数
  13948. in: query
  13949. name: pagesize
  13950. type: integer
  13951. - description: 客户名称,支持模糊查询
  13952. in: query
  13953. name: userName
  13954. type: string
  13955. produces:
  13956. - application/json
  13957. responses:
  13958. "200":
  13959. description: OK
  13960. schema:
  13961. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  13962. "500":
  13963. description: Internal Server Error
  13964. schema:
  13965. $ref: '#/definitions/app.Response'
  13966. security:
  13967. - ApiKeyAuth: []
  13968. summary: 客户申请信息查询
  13969. tags:
  13970. - 风险管理v3
  13971. /Erms3/QueryUserInfos:
  13972. get:
  13973. parameters:
  13974. - description: 页码
  13975. in: query
  13976. name: page
  13977. type: integer
  13978. - description: 每页条数
  13979. in: query
  13980. name: pagesize
  13981. type: integer
  13982. - description: 客户名称,支持模糊查询
  13983. in: query
  13984. name: userName
  13985. type: string
  13986. produces:
  13987. - application/json
  13988. responses:
  13989. "200":
  13990. description: OK
  13991. schema:
  13992. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  13993. "500":
  13994. description: Internal Server Error
  13995. schema:
  13996. $ref: '#/definitions/app.Response'
  13997. security:
  13998. - ApiKeyAuth: []
  13999. summary: 客户信息查询
  14000. tags:
  14001. - 风险管理v3
  14002. /HSBY/GetHsbyMyCount:
  14003. get:
  14004. description: 说明: 不包括已完成的数量。
  14005. parameters:
  14006. - description: 资金账户列表,格式:1,2,3
  14007. in: query
  14008. name: accountIDs
  14009. required: true
  14010. type: string
  14011. produces:
  14012. - application/json
  14013. responses:
  14014. "200":
  14015. description: OK
  14016. schema:
  14017. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  14018. "500":
  14019. description: Internal Server Error
  14020. schema:
  14021. $ref: '#/definitions/app.Response'
  14022. security:
  14023. - ApiKeyAuth: []
  14024. summary: 获取我的订单与包裹数量
  14025. tags:
  14026. - 定制【海商报业】
  14027. /HSBY/QueryClientFixedADConfigs:
  14028. get:
  14029. produces:
  14030. - application/json
  14031. responses:
  14032. "200":
  14033. description: OK
  14034. schema:
  14035. $ref: '#/definitions/models.Clientfixedadconfig'
  14036. "500":
  14037. description: Internal Server Error
  14038. schema:
  14039. $ref: '#/definitions/app.Response'
  14040. security:
  14041. - ApiKeyAuth: []
  14042. summary: 获取终端固定广告配置
  14043. tags:
  14044. - 定制【海商报业】
  14045. /HSBY/QueryHsbyBuyMyTradeDetail:
  14046. get:
  14047. parameters:
  14048. - description: 页码
  14049. in: query
  14050. name: page
  14051. type: integer
  14052. - description: 每页条数
  14053. in: query
  14054. name: pagesize
  14055. type: integer
  14056. - description: 资金账户列表,格式:1,2,3
  14057. in: query
  14058. name: accountIDs
  14059. required: true
  14060. type: string
  14061. produces:
  14062. - application/json
  14063. responses:
  14064. "200":
  14065. description: OK
  14066. schema:
  14067. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  14068. "500":
  14069. description: Internal Server Error
  14070. schema:
  14071. $ref: '#/definitions/app.Response'
  14072. security:
  14073. - ApiKeyAuth: []
  14074. summary: 查询"我的订单 - 已完成"单据信息
  14075. tags:
  14076. - 定制【海商报业】
  14077. /HSBY/QueryHsbyGoodsOrderDetails:
  14078. get:
  14079. description: 说明:查询结果已按委托价格和委托时间排序
  14080. parameters:
  14081. - description: 商品ID
  14082. in: query
  14083. name: goodsID
  14084. required: true
  14085. type: integer
  14086. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  14087. in: query
  14088. name: accountIDs
  14089. type: string
  14090. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  14091. in: query
  14092. name: buyOrSell
  14093. type: integer
  14094. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  14095. in: query
  14096. name: price
  14097. type: number
  14098. - description: 档位,不传则默认为3档
  14099. in: query
  14100. name: speed
  14101. type: integer
  14102. produces:
  14103. - application/json
  14104. responses:
  14105. "200":
  14106. description: OK
  14107. schema:
  14108. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  14109. "500":
  14110. description: Internal Server Error
  14111. schema:
  14112. $ref: '#/definitions/app.Response'
  14113. security:
  14114. - ApiKeyAuth: []
  14115. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  14116. tags:
  14117. - 定制【海商报业】
  14118. /HSBY/QueryHsbyListingGoodsDetail:
  14119. get:
  14120. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  14121. parameters:
  14122. - description: 商品ID
  14123. in: query
  14124. name: goodsID
  14125. required: true
  14126. type: integer
  14127. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  14128. in: query
  14129. name: accountID
  14130. type: integer
  14131. produces:
  14132. - application/json
  14133. responses:
  14134. "200":
  14135. description: OK
  14136. schema:
  14137. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  14138. "500":
  14139. description: Internal Server Error
  14140. schema:
  14141. $ref: '#/definitions/app.Response'
  14142. security:
  14143. - ApiKeyAuth: []
  14144. summary: 查询二级市场(挂牌点选)商品信息详情
  14145. tags:
  14146. - 定制【海商报业】
  14147. /HSBY/QueryHsbyMarketGoodsDetail:
  14148. get:
  14149. parameters:
  14150. - description: 委托单号
  14151. in: query
  14152. name: orderID
  14153. required: true
  14154. type: integer
  14155. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  14156. in: query
  14157. name: accountID
  14158. type: integer
  14159. produces:
  14160. - application/json
  14161. responses:
  14162. "200":
  14163. description: OK
  14164. schema:
  14165. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  14166. "500":
  14167. description: Internal Server Error
  14168. schema:
  14169. $ref: '#/definitions/app.Response'
  14170. security:
  14171. - ApiKeyAuth: []
  14172. summary: 查询三级市场(商城)商品信息详情
  14173. tags:
  14174. - 定制【海商报业】
  14175. /HSBY/QueryHsbyMarketGoodses:
  14176. get:
  14177. parameters:
  14178. - description: 页码
  14179. in: query
  14180. name: page
  14181. type: integer
  14182. - description: 每页条数
  14183. in: query
  14184. name: pagesize
  14185. type: integer
  14186. - description: 市场ID列表,格式:1,2,3
  14187. in: query
  14188. name: marketIDs
  14189. required: true
  14190. type: string
  14191. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  14192. in: query
  14193. name: accountID
  14194. required: true
  14195. type: integer
  14196. - description: 类别ID
  14197. in: query
  14198. name: categoryID
  14199. type: integer
  14200. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  14201. in: query
  14202. name: goodsIDs
  14203. type: string
  14204. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  14205. in: query
  14206. name: couponTypeID
  14207. type: integer
  14208. produces:
  14209. - application/json
  14210. responses:
  14211. "200":
  14212. description: OK
  14213. schema:
  14214. $ref: '#/definitions/models.HsbyMarketGoods'
  14215. "500":
  14216. description: Internal Server Error
  14217. schema:
  14218. $ref: '#/definitions/app.Response'
  14219. security:
  14220. - ApiKeyAuth: []
  14221. summary: 查询特卖商品列表(三级商城)
  14222. tags:
  14223. - 定制【海商报业】
  14224. /HSBY/QueryHsbyMarkets:
  14225. get:
  14226. produces:
  14227. - application/json
  14228. responses:
  14229. "200":
  14230. description: OK
  14231. schema:
  14232. $ref: '#/definitions/models.HsbyMarketInfo'
  14233. "500":
  14234. description: Internal Server Error
  14235. schema:
  14236. $ref: '#/definitions/app.Response'
  14237. security:
  14238. - ApiKeyAuth: []
  14239. summary: 查询海商报业相关市场信息
  14240. tags:
  14241. - 定制【海商报业】
  14242. /HSBY/QueryHsbyMyBuyOrderDetails:
  14243. get:
  14244. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  14245. parameters:
  14246. - description: 资金账户列表,格式:1,2,3
  14247. in: query
  14248. name: accountIDs
  14249. required: true
  14250. type: string
  14251. produces:
  14252. - application/json
  14253. responses:
  14254. "200":
  14255. description: OK
  14256. schema:
  14257. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  14258. "500":
  14259. description: Internal Server Error
  14260. schema:
  14261. $ref: '#/definitions/app.Response'
  14262. security:
  14263. - ApiKeyAuth: []
  14264. summary: 查询“我的订单”信息
  14265. tags:
  14266. - 定制【海商报业】
  14267. /HSBY/QueryHsbyMyGoods:
  14268. get:
  14269. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  14270. parameters:
  14271. - description: 资金账户列表,格式:1,2,3
  14272. in: query
  14273. name: accountIDs
  14274. required: true
  14275. type: string
  14276. produces:
  14277. - application/json
  14278. responses:
  14279. "200":
  14280. description: OK
  14281. schema:
  14282. $ref: '#/definitions/models.HsbyMyGoods'
  14283. "500":
  14284. description: Internal Server Error
  14285. schema:
  14286. $ref: '#/definitions/app.Response'
  14287. security:
  14288. - ApiKeyAuth: []
  14289. summary: 查询“我的商品”信息
  14290. tags:
  14291. - 定制【海商报业】
  14292. /HSBY/QueryHsbyMyPackages:
  14293. get:
  14294. parameters:
  14295. - description: 资金账户列表,格式:1,2,3
  14296. in: query
  14297. name: accountIDs
  14298. required: true
  14299. type: string
  14300. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  14301. in: query
  14302. name: takeOrderStatus
  14303. type: integer
  14304. produces:
  14305. - application/json
  14306. responses:
  14307. "200":
  14308. description: OK
  14309. schema:
  14310. $ref: '#/definitions/models.HsbyMyPackage'
  14311. "500":
  14312. description: Internal Server Error
  14313. schema:
  14314. $ref: '#/definitions/app.Response'
  14315. security:
  14316. - ApiKeyAuth: []
  14317. summary: 查询我的包裹信息
  14318. tags:
  14319. - 定制【海商报业】
  14320. /HSBY/QueryHsbyPreGoodsDetail:
  14321. get:
  14322. parameters:
  14323. - description: 商品ID
  14324. in: query
  14325. name: goodsID
  14326. required: true
  14327. type: integer
  14328. - description: 资金账户,主要用于获取预售商品购买上限
  14329. in: query
  14330. name: accountID
  14331. type: integer
  14332. produces:
  14333. - application/json
  14334. responses:
  14335. "200":
  14336. description: OK
  14337. schema:
  14338. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  14339. "500":
  14340. description: Internal Server Error
  14341. schema:
  14342. $ref: '#/definitions/app.Response'
  14343. security:
  14344. - ApiKeyAuth: []
  14345. summary: 查询一级市场(预售)商品信息详情
  14346. tags:
  14347. - 定制【海商报业】
  14348. /HSBY/QueryHsbyPreGoodses:
  14349. get:
  14350. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  14351. parameters:
  14352. - description: 页码
  14353. in: query
  14354. name: page
  14355. type: integer
  14356. - description: 每页条数
  14357. in: query
  14358. name: pagesize
  14359. type: integer
  14360. - description: 市场ID列表,格式:1,2,3
  14361. in: query
  14362. name: marketIDs
  14363. required: true
  14364. type: string
  14365. - description: 目的地(省)ID
  14366. in: query
  14367. name: descProvinceID
  14368. type: integer
  14369. - description: 目的地(市)ID
  14370. in: query
  14371. name: descCityID
  14372. type: integer
  14373. produces:
  14374. - application/json
  14375. responses:
  14376. "200":
  14377. description: OK
  14378. schema:
  14379. $ref: '#/definitions/models.HsbyPreGoods'
  14380. "500":
  14381. description: Internal Server Error
  14382. schema:
  14383. $ref: '#/definitions/app.Response'
  14384. security:
  14385. - ApiKeyAuth: []
  14386. summary: 查询新品上市商品列表(一级市场预售)
  14387. tags:
  14388. - 定制【海商报业】
  14389. /HSBY/QueryHsbySellMyDetails:
  14390. get:
  14391. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  14392. parameters:
  14393. - description: 页码
  14394. in: query
  14395. name: page
  14396. type: integer
  14397. - description: 每页条数
  14398. in: query
  14399. name: pagesize
  14400. type: integer
  14401. - description: 资金账户列表,格式:1,2,3
  14402. in: query
  14403. name: accountIDs
  14404. required: true
  14405. type: string
  14406. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  14407. in: query
  14408. name: orderType
  14409. type: integer
  14410. produces:
  14411. - application/json
  14412. responses:
  14413. "200":
  14414. description: OK
  14415. schema:
  14416. $ref: '#/definitions/models.HsbySellMyDetail'
  14417. "500":
  14418. description: Internal Server Error
  14419. schema:
  14420. $ref: '#/definitions/app.Response'
  14421. security:
  14422. - ApiKeyAuth: []
  14423. summary: 查询"我的闲置"单据信息
  14424. tags:
  14425. - 定制【海商报业】
  14426. /HSBY/QueryHsbyTopGoodses:
  14427. get:
  14428. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  14429. parameters:
  14430. - description: 页码
  14431. in: query
  14432. name: page
  14433. type: integer
  14434. - description: 每页条数
  14435. in: query
  14436. name: pagesize
  14437. type: integer
  14438. - description: 市场ID列表,格式:1,2,3
  14439. in: query
  14440. name: marketIDs
  14441. required: true
  14442. type: string
  14443. - description: 目的地(省)ID
  14444. in: query
  14445. name: descProvinceID
  14446. type: integer
  14447. - description: 目的地(市)ID
  14448. in: query
  14449. name: descCityID
  14450. type: integer
  14451. produces:
  14452. - application/json
  14453. responses:
  14454. "200":
  14455. description: OK
  14456. schema:
  14457. $ref: '#/definitions/models.HsbyTopGoods'
  14458. "500":
  14459. description: Internal Server Error
  14460. schema:
  14461. $ref: '#/definitions/app.Response'
  14462. security:
  14463. - ApiKeyAuth: []
  14464. summary: 查询热卖商品列表(二级市场挂牌点选)
  14465. tags:
  14466. - 定制【海商报业】
  14467. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  14468. get:
  14469. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  14470. parameters:
  14471. - description: 商品ID
  14472. in: query
  14473. name: goodsID
  14474. required: true
  14475. type: integer
  14476. produces:
  14477. - application/json
  14478. responses:
  14479. "200":
  14480. description: OK
  14481. schema:
  14482. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  14483. "500":
  14484. description: Internal Server Error
  14485. schema:
  14486. $ref: '#/definitions/app.Response'
  14487. security:
  14488. - ApiKeyAuth: []
  14489. summary: 查询游客三级市场(商城)商品信息详情
  14490. tags:
  14491. - 定制【海商报业】
  14492. /HSBY/QueryHsbyVisitorMarketGoodses:
  14493. get:
  14494. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  14495. parameters:
  14496. - description: 页码
  14497. in: query
  14498. name: page
  14499. type: integer
  14500. - description: 每页条数
  14501. in: query
  14502. name: pagesize
  14503. type: integer
  14504. - description: 市场ID列表,格式:1,2,3
  14505. in: query
  14506. name: marketIDs
  14507. required: true
  14508. type: string
  14509. - description: 类别ID
  14510. in: query
  14511. name: categoryID
  14512. type: integer
  14513. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  14514. in: query
  14515. name: goodsIDs
  14516. type: string
  14517. produces:
  14518. - application/json
  14519. responses:
  14520. "200":
  14521. description: OK
  14522. schema:
  14523. $ref: '#/definitions/models.HsbyMarketGoods'
  14524. "500":
  14525. description: Internal Server Error
  14526. schema:
  14527. $ref: '#/definitions/app.Response'
  14528. security:
  14529. - ApiKeyAuth: []
  14530. summary: 查询游客特卖商品列表(三级商城)
  14531. tags:
  14532. - 定制【海商报业】
  14533. /HSBY/QueryMyCollectionOrders:
  14534. get:
  14535. parameters:
  14536. - description: 页码
  14537. in: query
  14538. name: page
  14539. type: integer
  14540. - description: 每页条数
  14541. in: query
  14542. name: pagesize
  14543. type: integer
  14544. - description: 资金账户,格式:1,2,3
  14545. in: query
  14546. name: accountIDs
  14547. required: true
  14548. type: string
  14549. produces:
  14550. - application/json
  14551. responses:
  14552. "200":
  14553. description: OK
  14554. schema:
  14555. $ref: '#/definitions/models.HsbySellCollectionOrder'
  14556. "500":
  14557. description: Internal Server Error
  14558. schema:
  14559. $ref: '#/definitions/app.Response'
  14560. security:
  14561. - ApiKeyAuth: []
  14562. summary: 我的闲置中收款信息查询
  14563. tags:
  14564. - 定制【海商报业】
  14565. /HSBY/QueryMyCouponHolds:
  14566. get:
  14567. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  14568. parameters:
  14569. - description: 资金账户列表,格式:1,2,3
  14570. in: query
  14571. name: accountIDs
  14572. required: true
  14573. type: string
  14574. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  14575. in: query
  14576. name: holdStatus
  14577. type: string
  14578. produces:
  14579. - application/json
  14580. responses:
  14581. "200":
  14582. description: OK
  14583. schema:
  14584. $ref: '#/definitions/models.MyCouponHold'
  14585. "500":
  14586. description: Internal Server Error
  14587. schema:
  14588. $ref: '#/definitions/app.Response'
  14589. security:
  14590. - ApiKeyAuth: []
  14591. summary: 我的优惠卷持仓查询
  14592. tags:
  14593. - 定制【海商报业】
  14594. /HSBY/QueryMyCoupons:
  14595. get:
  14596. parameters:
  14597. - description: 资金账户列表,格式:1,2,3
  14598. in: query
  14599. name: accountIDs
  14600. required: true
  14601. type: string
  14602. - description: 商品ID, 一般与sellUserID配套传入
  14603. in: query
  14604. name: goodsID
  14605. type: integer
  14606. - description: 卖方UserID
  14607. in: query
  14608. name: sellUserID
  14609. type: integer
  14610. produces:
  14611. - application/json
  14612. responses:
  14613. "200":
  14614. description: OK
  14615. schema:
  14616. $ref: '#/definitions/models.MyCoupon'
  14617. "500":
  14618. description: Internal Server Error
  14619. schema:
  14620. $ref: '#/definitions/app.Response'
  14621. security:
  14622. - ApiKeyAuth: []
  14623. summary: 我的优惠卷查询
  14624. tags:
  14625. - 定制【海商报业】
  14626. /HSBY/QueryMyPayOrders:
  14627. get:
  14628. parameters:
  14629. - description: 页码
  14630. in: query
  14631. name: page
  14632. type: integer
  14633. - description: 每页条数
  14634. in: query
  14635. name: pagesize
  14636. type: integer
  14637. - description: 资金账户列表,格式:1,2,3
  14638. in: query
  14639. name: accountIDs
  14640. required: true
  14641. type: string
  14642. - description: 买方委托单号
  14643. in: query
  14644. name: buyOrderID
  14645. type: integer
  14646. - description: 卖方委托单号
  14647. in: query
  14648. name: sellOrderID
  14649. type: integer
  14650. produces:
  14651. - application/json
  14652. responses:
  14653. "200":
  14654. description: OK
  14655. schema:
  14656. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  14657. "500":
  14658. description: Internal Server Error
  14659. schema:
  14660. $ref: '#/definitions/app.Response'
  14661. security:
  14662. - ApiKeyAuth: []
  14663. summary: 获取我的订单中待付款信息
  14664. tags:
  14665. - 定制【海商报业】
  14666. /HSBY/QueryMyUsedCoupon:
  14667. get:
  14668. parameters:
  14669. - description: 资金账户列表,格式:1,2,3
  14670. in: query
  14671. name: accountIDs
  14672. required: true
  14673. type: string
  14674. produces:
  14675. - application/json
  14676. responses:
  14677. "200":
  14678. description: OK
  14679. schema:
  14680. $ref: '#/definitions/models.MyUsedCoupon'
  14681. "500":
  14682. description: Internal Server Error
  14683. schema:
  14684. $ref: '#/definitions/app.Response'
  14685. security:
  14686. - ApiKeyAuth: []
  14687. summary: 已使用优惠卷查询
  14688. tags:
  14689. - 定制【海商报业】
  14690. /HSBY/QueryProvincesAndCities:
  14691. get:
  14692. description: 查询结果只包括二级市场商品已关连的省市信息。
  14693. parameters:
  14694. - description: 省ID
  14695. in: query
  14696. name: provinceID
  14697. type: integer
  14698. produces:
  14699. - application/json
  14700. responses:
  14701. "200":
  14702. description: OK
  14703. schema:
  14704. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  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/SetHsbyMyPackagesStatus:
  14715. post:
  14716. parameters:
  14717. - description: 提货单号
  14718. in: query
  14719. name: takeOrderID
  14720. required: true
  14721. type: string
  14722. - description: 资金账号
  14723. in: query
  14724. name: accountID
  14725. required: true
  14726. type: integer
  14727. produces:
  14728. - application/json
  14729. responses:
  14730. "200":
  14731. description: OK
  14732. schema:
  14733. $ref: '#/definitions/app.Response'
  14734. "500":
  14735. description: Internal Server Error
  14736. schema:
  14737. $ref: '#/definitions/app.Response'
  14738. security:
  14739. - ApiKeyAuth: []
  14740. summary: 设置我的包裹已收货状态
  14741. tags:
  14742. - 定制【海商报业】
  14743. /Market/QueryGoodsesByLoginID:
  14744. get:
  14745. parameters:
  14746. - description: 登录账号
  14747. in: query
  14748. name: loginID
  14749. required: true
  14750. type: integer
  14751. - description: 市场ID列表,格式:1,2,3
  14752. in: query
  14753. name: marketIDs
  14754. type: string
  14755. produces:
  14756. - application/json
  14757. responses:
  14758. "200":
  14759. description: OK
  14760. schema:
  14761. $ref: '#/definitions/models.Goods'
  14762. "500":
  14763. description: Internal Server Error
  14764. schema:
  14765. $ref: '#/definitions/app.Response'
  14766. security:
  14767. - ApiKeyAuth: []
  14768. summary: 获取登录账号有权限的商品信息
  14769. tags:
  14770. - 通用市场
  14771. /Market/QueryMarketRun:
  14772. get:
  14773. parameters:
  14774. - description: 市场ID,不传返回所有
  14775. in: query
  14776. name: marketID
  14777. type: integer
  14778. produces:
  14779. - application/json
  14780. responses:
  14781. "200":
  14782. description: OK
  14783. schema:
  14784. $ref: '#/definitions/models.Marketrun'
  14785. "500":
  14786. description: Internal Server Error
  14787. schema:
  14788. $ref: '#/definitions/app.Response'
  14789. security:
  14790. - ApiKeyAuth: []
  14791. summary: 查询市场运行信息
  14792. tags:
  14793. - 通用市场
  14794. /Market/QueryMarketsByLoginID:
  14795. get:
  14796. parameters:
  14797. - description: 登录账号
  14798. in: query
  14799. name: loginID
  14800. required: true
  14801. type: integer
  14802. produces:
  14803. - application/json
  14804. responses:
  14805. "200":
  14806. description: OK
  14807. schema:
  14808. $ref: '#/definitions/models.Market'
  14809. "500":
  14810. description: Internal Server Error
  14811. schema:
  14812. $ref: '#/definitions/app.Response'
  14813. security:
  14814. - ApiKeyAuth: []
  14815. summary: 获取登录账号有权限的市场信息
  14816. tags:
  14817. - 通用市场
  14818. /Order/QueryHisTradeDetail:
  14819. get:
  14820. parameters:
  14821. - description: 资金账户 - 格式:1,2,3
  14822. in: query
  14823. name: accountID
  14824. required: true
  14825. type: string
  14826. - description: 成交单号
  14827. in: query
  14828. name: tradeID
  14829. type: integer
  14830. - description: 委托单号
  14831. in: query
  14832. name: orderID
  14833. type: integer
  14834. - description: 交易模式 - 格式:1,2,3
  14835. in: query
  14836. name: tradeMode
  14837. type: string
  14838. - description: 委托单据类型
  14839. in: query
  14840. name: buildType
  14841. type: integer
  14842. - description: 成交类别 - 格式:1,2,3
  14843. in: query
  14844. name: tradeType
  14845. type: string
  14846. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14847. in: query
  14848. name: startDate
  14849. type: string
  14850. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14851. in: query
  14852. name: endDate
  14853. type: string
  14854. produces:
  14855. - application/json
  14856. responses:
  14857. "200":
  14858. description: OK
  14859. schema:
  14860. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  14861. "500":
  14862. description: Internal Server Error
  14863. schema:
  14864. $ref: '#/definitions/app.Response'
  14865. security:
  14866. - ApiKeyAuth: []
  14867. summary: 历史成交单查询(合约市场)
  14868. tags:
  14869. - 通用单据
  14870. /Order/QueryHisTradeOrderDetail:
  14871. get:
  14872. parameters:
  14873. - description: 资金账户 - 格式:1,2,3
  14874. in: query
  14875. name: accountID
  14876. required: true
  14877. type: string
  14878. - description: 交易模式 - 格式:1,2,3
  14879. in: query
  14880. name: tradeMode
  14881. type: string
  14882. - description: 委托状态 - 格式:1,2,3
  14883. in: query
  14884. name: orderStatus
  14885. type: string
  14886. - description: 委托单号
  14887. in: query
  14888. name: orderID
  14889. type: integer
  14890. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14891. in: query
  14892. name: startDate
  14893. type: string
  14894. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14895. in: query
  14896. name: endDate
  14897. type: string
  14898. produces:
  14899. - application/json
  14900. responses:
  14901. "200":
  14902. description: OK
  14903. schema:
  14904. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  14905. "500":
  14906. description: Internal Server Error
  14907. schema:
  14908. $ref: '#/definitions/app.Response'
  14909. security:
  14910. - ApiKeyAuth: []
  14911. summary: 历史委托单查询请求(合约市场)
  14912. tags:
  14913. - 通用单据
  14914. /Order/QueryTradeDetail:
  14915. get:
  14916. parameters:
  14917. - description: 资金账户 - 格式:1,2,3
  14918. in: query
  14919. name: accountID
  14920. required: true
  14921. type: string
  14922. - description: 成交单号
  14923. in: query
  14924. name: tradeID
  14925. type: integer
  14926. - description: 委托单号
  14927. in: query
  14928. name: orderID
  14929. type: integer
  14930. - description: 交易模式 - 格式:1,2,3
  14931. in: query
  14932. name: tradeMode
  14933. type: string
  14934. - description: 委托单据类型
  14935. in: query
  14936. name: buildType
  14937. type: integer
  14938. - description: 成交类别 - 格式:1,2,3
  14939. in: query
  14940. name: tradeType
  14941. type: string
  14942. produces:
  14943. - application/json
  14944. responses:
  14945. "200":
  14946. description: OK
  14947. schema:
  14948. $ref: '#/definitions/order.QueryTradeDetailRsp'
  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/QueryTradeOrderDetail:
  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. produces:
  14979. - application/json
  14980. responses:
  14981. "200":
  14982. description: OK
  14983. schema:
  14984. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  14985. "500":
  14986. description: Internal Server Error
  14987. schema:
  14988. $ref: '#/definitions/app.Response'
  14989. security:
  14990. - ApiKeyAuth: []
  14991. summary: 委托单查询请求(合约市场)
  14992. tags:
  14993. - 通用单据
  14994. /Order/QueryTradePosition:
  14995. get:
  14996. parameters:
  14997. - description: 资金账户 - 格式:1,2,3
  14998. in: query
  14999. name: accountID
  15000. required: true
  15001. type: string
  15002. - description: 交易模式 - 格式:1,2,3
  15003. in: query
  15004. name: tradeMode
  15005. type: string
  15006. produces:
  15007. - application/json
  15008. responses:
  15009. "200":
  15010. description: OK
  15011. schema:
  15012. $ref: '#/definitions/order.QueryTradePositionRsp'
  15013. "500":
  15014. description: Internal Server Error
  15015. schema:
  15016. $ref: '#/definitions/app.Response'
  15017. security:
  15018. - ApiKeyAuth: []
  15019. summary: 持仓汇总查询(合约市场)
  15020. tags:
  15021. - 通用单据
  15022. /Quote/QueryHistoryDatas:
  15023. get:
  15024. parameters:
  15025. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  15026. 日线'
  15027. in: query
  15028. name: cycleType
  15029. required: true
  15030. type: integer
  15031. - description: 商品代码
  15032. in: query
  15033. name: goodsCode
  15034. required: true
  15035. type: string
  15036. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  15037. in: query
  15038. name: startTime
  15039. type: string
  15040. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  15041. in: query
  15042. name: endTime
  15043. type: string
  15044. - description: 条数
  15045. in: query
  15046. name: count
  15047. type: integer
  15048. - description: 是否按时间顺序排序(默认为时间倒序排序)
  15049. in: query
  15050. name: isAsc
  15051. type: boolean
  15052. produces:
  15053. - application/json
  15054. responses:
  15055. "200":
  15056. description: OK
  15057. schema:
  15058. $ref: '#/definitions/quote.HistoryData'
  15059. "500":
  15060. description: Internal Server Error
  15061. schema:
  15062. $ref: '#/definitions/app.Response'
  15063. security:
  15064. - ApiKeyAuth: []
  15065. summary: 查询行情历史数据
  15066. tags:
  15067. - 行情服务
  15068. /Quote/QueryHistoryTikDatas:
  15069. get:
  15070. parameters:
  15071. - description: 商品代码
  15072. in: query
  15073. name: goodsCode
  15074. required: true
  15075. type: string
  15076. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  15077. in: query
  15078. name: startTime
  15079. type: string
  15080. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  15081. in: query
  15082. name: endTime
  15083. type: string
  15084. - description: 条数
  15085. in: query
  15086. name: count
  15087. type: integer
  15088. - description: 是否按时间顺序排序(默认为时间倒序排序)
  15089. in: query
  15090. name: isAsc
  15091. type: boolean
  15092. produces:
  15093. - application/json
  15094. responses:
  15095. "200":
  15096. description: OK
  15097. schema:
  15098. $ref: '#/definitions/quote.HistoryTikData'
  15099. "500":
  15100. description: Internal Server Error
  15101. schema:
  15102. $ref: '#/definitions/app.Response'
  15103. security:
  15104. - ApiKeyAuth: []
  15105. summary: 查询行情Tik数据
  15106. tags:
  15107. - 行情服务
  15108. /Quote/QueryQuoteDay:
  15109. get:
  15110. parameters:
  15111. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  15112. in: query
  15113. name: goodsCodes
  15114. required: true
  15115. type: string
  15116. produces:
  15117. - application/json
  15118. responses:
  15119. "200":
  15120. description: OK
  15121. schema:
  15122. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  15123. "500":
  15124. description: Internal Server Error
  15125. schema:
  15126. $ref: '#/definitions/app.Response'
  15127. security:
  15128. - ApiKeyAuth: []
  15129. summary: 获取商品盘面信息
  15130. tags:
  15131. - 行情服务
  15132. /Quote/QueryTSData:
  15133. get:
  15134. parameters:
  15135. - description: 商品代码
  15136. in: query
  15137. name: goodsCode
  15138. required: true
  15139. type: string
  15140. produces:
  15141. - application/json
  15142. responses:
  15143. "200":
  15144. description: OK
  15145. schema:
  15146. $ref: '#/definitions/quote.QueryTSDataRsp'
  15147. "500":
  15148. description: Internal Server Error
  15149. schema:
  15150. $ref: '#/definitions/app.Response'
  15151. security:
  15152. - ApiKeyAuth: []
  15153. summary: 分时图数据查询
  15154. tags:
  15155. - 行情服务
  15156. /SZDZ/QueryConvertConfig:
  15157. get:
  15158. parameters:
  15159. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  15160. 6:交易转花生米(不设置)
  15161. in: query
  15162. name: convertType
  15163. type: integer
  15164. - description: 外部商品代码[JD\PD]
  15165. in: query
  15166. name: outerGoodsCode
  15167. type: string
  15168. - description: 内部商品ID列表[交易],格式:1,2,3
  15169. in: query
  15170. name: innerGoodsIDs
  15171. type: string
  15172. produces:
  15173. - application/json
  15174. responses:
  15175. "200":
  15176. description: OK
  15177. schema:
  15178. $ref: '#/definitions/models.Szdz3convertconfig'
  15179. "500":
  15180. description: Internal Server Error
  15181. schema:
  15182. $ref: '#/definitions/app.Response'
  15183. security:
  15184. - ApiKeyAuth: []
  15185. summary: 查询交易系统转换设置
  15186. tags:
  15187. - 定制【尚志大宗】
  15188. /SZDZ/QueryConvertLog:
  15189. get:
  15190. parameters:
  15191. - description: 资金账户 - 格式:1,2,3
  15192. in: query
  15193. name: accountID
  15194. required: true
  15195. type: string
  15196. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  15197. in: query
  15198. name: startDate
  15199. type: string
  15200. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  15201. in: query
  15202. name: endDate
  15203. type: string
  15204. produces:
  15205. - application/json
  15206. responses:
  15207. "200":
  15208. description: OK
  15209. schema:
  15210. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  15211. "500":
  15212. description: Internal Server Error
  15213. schema:
  15214. $ref: '#/definitions/app.Response'
  15215. security:
  15216. - ApiKeyAuth: []
  15217. summary: 交易系统转换流水查询
  15218. tags:
  15219. - 定制【尚志大宗】
  15220. /SZDZ/QueryGoodsPickup:
  15221. get:
  15222. parameters:
  15223. - description: 资金账户 - 格式:1,2,3
  15224. in: query
  15225. name: accountID
  15226. required: true
  15227. type: string
  15228. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  15229. in: query
  15230. name: takeOrderStatus
  15231. type: integer
  15232. produces:
  15233. - application/json
  15234. responses:
  15235. "200":
  15236. description: OK
  15237. schema:
  15238. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  15239. "500":
  15240. description: Internal Server Error
  15241. schema:
  15242. $ref: '#/definitions/app.Response'
  15243. security:
  15244. - ApiKeyAuth: []
  15245. summary: 商品提货单查询
  15246. tags:
  15247. - 定制【尚志大宗】
  15248. /SZDZ/QueryRecieptOrder:
  15249. get:
  15250. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  15251. parameters:
  15252. - description: 页码
  15253. in: query
  15254. name: page
  15255. type: integer
  15256. - description: 每页条数
  15257. in: query
  15258. name: pagesize
  15259. type: integer
  15260. - description: 商品ID
  15261. in: query
  15262. name: goodsID
  15263. required: true
  15264. type: integer
  15265. - description: 所属账户名称
  15266. in: query
  15267. name: accountName
  15268. type: string
  15269. - description: 市场ID
  15270. in: query
  15271. name: marketID
  15272. type: integer
  15273. - description: 方向 - 0:买 1:卖
  15274. in: query
  15275. name: buyorsell
  15276. required: true
  15277. type: integer
  15278. produces:
  15279. - application/json
  15280. responses:
  15281. "200":
  15282. description: OK
  15283. schema:
  15284. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  15285. "500":
  15286. description: Internal Server Error
  15287. schema:
  15288. $ref: '#/definitions/app.Response'
  15289. security:
  15290. - ApiKeyAuth: []
  15291. summary: 点选挂牌委托单据查询(摘牌大厅)
  15292. tags:
  15293. - 定制【尚志大宗】
  15294. /SZDZ/QuerySZDZTradePosition:
  15295. get:
  15296. parameters:
  15297. - description: 资金账户
  15298. in: query
  15299. name: accountID
  15300. required: true
  15301. type: integer
  15302. produces:
  15303. - application/json
  15304. responses:
  15305. "200":
  15306. description: OK
  15307. schema:
  15308. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  15309. "500":
  15310. description: Internal Server Error
  15311. schema:
  15312. $ref: '#/definitions/app.Response'
  15313. security:
  15314. - ApiKeyAuth: []
  15315. summary: 持仓汇总查询(尚志大宗)
  15316. tags:
  15317. - 定制【尚志大宗】
  15318. /SZDZ/SearchWhite:
  15319. get:
  15320. parameters:
  15321. - description: 用户ID
  15322. in: query
  15323. name: userID
  15324. required: true
  15325. type: integer
  15326. produces:
  15327. - application/json
  15328. responses:
  15329. "200":
  15330. description: OK
  15331. schema:
  15332. $ref: '#/definitions/models.Szdz3searchwhitelist'
  15333. "500":
  15334. description: Internal Server Error
  15335. schema:
  15336. $ref: '#/definitions/app.Response'
  15337. security:
  15338. - ApiKeyAuth: []
  15339. summary: 搜索白名单
  15340. tags:
  15341. - 定制【尚志大宗】
  15342. /Search/SearchGoodses:
  15343. get:
  15344. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  15345. parameters:
  15346. - description: 检索内容
  15347. in: query
  15348. name: content
  15349. required: true
  15350. type: string
  15351. - description: 交易模式,格式:1,2,3
  15352. in: query
  15353. name: tradeModes
  15354. type: string
  15355. produces:
  15356. - application/json
  15357. responses:
  15358. "200":
  15359. description: OK
  15360. schema:
  15361. $ref: '#/definitions/models.SearchGoods'
  15362. "500":
  15363. description: Internal Server Error
  15364. schema:
  15365. $ref: '#/definitions/app.Response'
  15366. summary: 检索商品信息
  15367. tags:
  15368. - 检索服务
  15369. /TaAccount/GetTaAccounts:
  15370. get:
  15371. parameters:
  15372. - description: 登录账户
  15373. in: query
  15374. name: loginID
  15375. required: true
  15376. type: integer
  15377. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  15378. in: query
  15379. name: taAccountType
  15380. type: integer
  15381. produces:
  15382. - application/json
  15383. responses:
  15384. "200":
  15385. description: OK
  15386. schema:
  15387. $ref: '#/definitions/models.Taaccount'
  15388. "500":
  15389. description: Internal Server Error
  15390. schema:
  15391. $ref: '#/definitions/app.Response'
  15392. security:
  15393. - ApiKeyAuth: []
  15394. summary: 获取资金账户信息
  15395. tags:
  15396. - 资金账户
  15397. /TaAccount/QueryAmountLog:
  15398. get:
  15399. parameters:
  15400. - description: 页码
  15401. in: query
  15402. name: page
  15403. type: integer
  15404. - description: 每页条数
  15405. in: query
  15406. name: pagesize
  15407. type: integer
  15408. - description: 资金账户 - 格式:1,2,3
  15409. in: query
  15410. name: accountID
  15411. required: true
  15412. type: string
  15413. - description: 资金操作类型 - 格式:1,2,3
  15414. in: query
  15415. name: OperateType
  15416. type: string
  15417. produces:
  15418. - application/json
  15419. responses:
  15420. "200":
  15421. description: OK
  15422. schema:
  15423. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  15424. "500":
  15425. description: Internal Server Error
  15426. schema:
  15427. $ref: '#/definitions/app.Response'
  15428. security:
  15429. - ApiKeyAuth: []
  15430. summary: 资金流水查询(当前)
  15431. tags:
  15432. - 资金账户
  15433. /TaAccount/QueryHisAmountLog:
  15434. get:
  15435. parameters:
  15436. - description: 页码
  15437. in: query
  15438. name: page
  15439. type: integer
  15440. - description: 每页条数
  15441. in: query
  15442. name: pagesize
  15443. type: integer
  15444. - description: 资金账户 - 格式:1,2,3
  15445. in: query
  15446. name: accountID
  15447. required: true
  15448. type: string
  15449. - description: 资金操作类型 - 格式:1,2,3
  15450. in: query
  15451. name: OperateType
  15452. type: string
  15453. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  15454. in: query
  15455. name: startDate
  15456. type: string
  15457. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  15458. in: query
  15459. name: endDate
  15460. type: string
  15461. produces:
  15462. - application/json
  15463. responses:
  15464. "200":
  15465. description: OK
  15466. schema:
  15467. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  15468. "500":
  15469. description: Internal Server Error
  15470. schema:
  15471. $ref: '#/definitions/app.Response'
  15472. security:
  15473. - ApiKeyAuth: []
  15474. summary: 资金流水查询(历史)
  15475. tags:
  15476. - 资金账户
  15477. /Trade/QueryRecieptOrder:
  15478. get:
  15479. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  15480. parameters:
  15481. - description: 页码
  15482. in: query
  15483. name: page
  15484. type: integer
  15485. - description: 每页条数
  15486. in: query
  15487. name: pagesize
  15488. type: integer
  15489. - description: 商品ID
  15490. in: query
  15491. name: goodsID
  15492. required: true
  15493. type: integer
  15494. - description: 所属账户名称
  15495. in: query
  15496. name: accountName
  15497. type: string
  15498. - description: 市场ID
  15499. in: query
  15500. name: marketID
  15501. type: integer
  15502. - description: 方向 - 0:买 1:卖
  15503. in: query
  15504. name: buyorsell
  15505. required: true
  15506. type: integer
  15507. produces:
  15508. - application/json
  15509. responses:
  15510. "200":
  15511. description: OK
  15512. schema:
  15513. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  15514. "500":
  15515. description: Internal Server Error
  15516. schema:
  15517. $ref: '#/definitions/app.Response'
  15518. security:
  15519. - ApiKeyAuth: []
  15520. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  15521. tags:
  15522. - 通用交易
  15523. /User/AddMessageBoard:
  15524. post:
  15525. parameters:
  15526. - description: 用户ID
  15527. in: query
  15528. name: userID
  15529. required: true
  15530. type: integer
  15531. - description: 留言信息
  15532. in: query
  15533. name: message
  15534. required: true
  15535. type: string
  15536. - description: 联系电话
  15537. in: query
  15538. name: contactNum
  15539. required: true
  15540. type: string
  15541. produces:
  15542. - application/json
  15543. responses:
  15544. "200":
  15545. description: OK
  15546. schema:
  15547. $ref: '#/definitions/app.Response'
  15548. "500":
  15549. description: Internal Server Error
  15550. schema:
  15551. $ref: '#/definitions/app.Response'
  15552. security:
  15553. - ApiKeyAuth: []
  15554. summary: 添加用户留言板信息
  15555. tags:
  15556. - 用户信息
  15557. /User/AddUserFavoriteGoods:
  15558. post:
  15559. parameters:
  15560. - description: 用户ID
  15561. in: query
  15562. name: userID
  15563. required: true
  15564. type: integer
  15565. - description: 商品ID
  15566. in: query
  15567. name: goodsID
  15568. required: true
  15569. type: integer
  15570. produces:
  15571. - application/json
  15572. responses:
  15573. "200":
  15574. description: OK
  15575. schema:
  15576. $ref: '#/definitions/app.Response'
  15577. "500":
  15578. description: Internal Server Error
  15579. schema:
  15580. $ref: '#/definitions/app.Response'
  15581. security:
  15582. - ApiKeyAuth: []
  15583. summary: 添加用户商品收藏信息
  15584. tags:
  15585. - 用户信息
  15586. /User/GetLoginID:
  15587. get:
  15588. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  15589. parameters:
  15590. - description: 登录代码
  15591. in: query
  15592. name: username
  15593. required: true
  15594. type: string
  15595. produces:
  15596. - application/json
  15597. responses:
  15598. "200":
  15599. description: OK
  15600. schema:
  15601. $ref: '#/definitions/app.Response'
  15602. "500":
  15603. description: Internal Server Error
  15604. schema:
  15605. $ref: '#/definitions/app.Response'
  15606. summary: 获取登录ID
  15607. tags:
  15608. - 用户信息
  15609. /User/GetUserAccount:
  15610. get:
  15611. parameters:
  15612. - description: 用户ID
  15613. in: query
  15614. name: userID
  15615. required: true
  15616. type: integer
  15617. produces:
  15618. - application/json
  15619. responses:
  15620. "200":
  15621. description: OK
  15622. schema:
  15623. $ref: '#/definitions/models.Useraccount'
  15624. "500":
  15625. description: Internal Server Error
  15626. schema:
  15627. $ref: '#/definitions/app.Response'
  15628. security:
  15629. - ApiKeyAuth: []
  15630. summary: 获取用户账号信息
  15631. tags:
  15632. - 用户信息
  15633. /User/GetUserAuthStatus:
  15634. get:
  15635. parameters:
  15636. - description: 用户ID
  15637. in: query
  15638. name: userID
  15639. required: true
  15640. type: integer
  15641. produces:
  15642. - application/json
  15643. responses:
  15644. "200":
  15645. description: OK
  15646. schema:
  15647. $ref: '#/definitions/app.Response'
  15648. "500":
  15649. description: Internal Server Error
  15650. schema:
  15651. $ref: '#/definitions/app.Response'
  15652. security:
  15653. - ApiKeyAuth: []
  15654. summary: 获取用户实名认证状态
  15655. tags:
  15656. - 用户信息
  15657. /User/LoginQuery:
  15658. get:
  15659. parameters:
  15660. - description: 登录账号
  15661. in: query
  15662. name: loginID
  15663. required: true
  15664. type: integer
  15665. produces:
  15666. - application/json
  15667. responses:
  15668. "200":
  15669. description: OK
  15670. schema:
  15671. $ref: '#/definitions/user.LoginQueryRsp'
  15672. "500":
  15673. description: Internal Server Error
  15674. schema:
  15675. $ref: '#/definitions/app.Response'
  15676. security:
  15677. - ApiKeyAuth: []
  15678. summary: 账户登录后信息查询
  15679. tags:
  15680. - 用户信息
  15681. /User/QueryMessageBoard:
  15682. get:
  15683. parameters:
  15684. - description: 用户ID
  15685. in: query
  15686. name: userID
  15687. required: true
  15688. type: integer
  15689. produces:
  15690. - application/json
  15691. responses:
  15692. "200":
  15693. description: OK
  15694. schema:
  15695. $ref: '#/definitions/models.Messageboard'
  15696. "500":
  15697. description: Internal Server Error
  15698. schema:
  15699. $ref: '#/definitions/app.Response'
  15700. security:
  15701. - ApiKeyAuth: []
  15702. summary: 获取用户留言板信息
  15703. tags:
  15704. - 用户信息
  15705. /User/QueryUserFavoriteGoodses:
  15706. get:
  15707. parameters:
  15708. - description: 用户ID
  15709. in: query
  15710. name: userID
  15711. required: true
  15712. type: integer
  15713. produces:
  15714. - application/json
  15715. responses:
  15716. "200":
  15717. description: OK
  15718. schema:
  15719. $ref: '#/definitions/models.Userfavoritegoods'
  15720. "500":
  15721. description: Internal Server Error
  15722. schema:
  15723. $ref: '#/definitions/app.Response'
  15724. security:
  15725. - ApiKeyAuth: []
  15726. summary: 获取用户商品收藏信息
  15727. tags:
  15728. - 用户信息
  15729. /User/QueryUserInfo:
  15730. get:
  15731. parameters:
  15732. - description: 用户ID
  15733. in: query
  15734. name: userID
  15735. required: true
  15736. type: integer
  15737. - description: 是否解密
  15738. in: query
  15739. name: isDecrypt
  15740. type: boolean
  15741. produces:
  15742. - application/json
  15743. responses:
  15744. "200":
  15745. description: OK
  15746. schema:
  15747. $ref: '#/definitions/models.Userinfo'
  15748. "500":
  15749. description: Internal Server Error
  15750. schema:
  15751. $ref: '#/definitions/app.Response'
  15752. security:
  15753. - ApiKeyAuth: []
  15754. summary: 获取用户信息
  15755. tags:
  15756. - 用户信息
  15757. /User/QueryUserReferNum:
  15758. get:
  15759. parameters:
  15760. - description: 用户ID
  15761. in: query
  15762. name: userID
  15763. required: true
  15764. type: integer
  15765. produces:
  15766. - application/json
  15767. responses:
  15768. "200":
  15769. description: OK
  15770. schema:
  15771. $ref: '#/definitions/app.Response'
  15772. "500":
  15773. description: Internal Server Error
  15774. schema:
  15775. $ref: '#/definitions/app.Response'
  15776. summary: 获取用户邀请码
  15777. tags:
  15778. - 用户信息
  15779. /User/RemoveUserFavoriteGoods:
  15780. post:
  15781. parameters:
  15782. - description: 用户ID
  15783. in: query
  15784. name: userID
  15785. required: true
  15786. type: integer
  15787. - description: 商品ID
  15788. in: query
  15789. name: goodsID
  15790. required: true
  15791. type: integer
  15792. produces:
  15793. - application/json
  15794. responses:
  15795. "200":
  15796. description: OK
  15797. schema:
  15798. $ref: '#/definitions/app.Response'
  15799. "500":
  15800. description: Internal Server Error
  15801. schema:
  15802. $ref: '#/definitions/app.Response'
  15803. security:
  15804. - ApiKeyAuth: []
  15805. summary: 移除用户商品收藏信息
  15806. tags:
  15807. - 用户信息
  15808. /User/UpdateUserAccountStatus:
  15809. post:
  15810. parameters:
  15811. - description: 用户ID
  15812. in: query
  15813. name: userID
  15814. required: true
  15815. type: integer
  15816. - description: 账户状态 - 4:正常 6:注销(停用)
  15817. in: query
  15818. name: accountStatus
  15819. required: true
  15820. type: integer
  15821. produces:
  15822. - application/json
  15823. responses:
  15824. "200":
  15825. description: OK
  15826. schema:
  15827. $ref: '#/definitions/app.Response'
  15828. "500":
  15829. description: Internal Server Error
  15830. schema:
  15831. $ref: '#/definitions/app.Response'
  15832. security:
  15833. - ApiKeyAuth: []
  15834. summary: 更新用户状态
  15835. tags:
  15836. - 用户信息
  15837. /WRTrade/GetAllDeliveryGoods:
  15838. get:
  15839. produces:
  15840. - application/json
  15841. - application/json
  15842. responses:
  15843. "200":
  15844. description: OK
  15845. schema:
  15846. $ref: '#/definitions/app.Response'
  15847. "500":
  15848. description: Internal Server Error
  15849. schema:
  15850. $ref: '#/definitions/app.Response'
  15851. security:
  15852. - ApiKeyAuth: []
  15853. - ApiKeyAuth: []
  15854. summary: 获取带仓单分类的种类信息
  15855. tags:
  15856. - 仓单贸易
  15857. - 仓单贸易
  15858. securityDefinitions:
  15859. ApiKeyAuth:
  15860. in: header
  15861. name: Authorization
  15862. type: apiKey
  15863. swagger: "2.0"