swagger.yaml 478 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392
  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.QryBusinessDjRsp:
  937. properties:
  938. amount:
  939. description: 点价金额=(点价价格+升贴水)*点价数量
  940. type: number
  941. applyid:
  942. description: 申请人
  943. type: string
  944. applyname:
  945. description: 申请人名称
  946. type: string
  947. applystatus:
  948. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  949. type: integer
  950. applytime:
  951. description: 申请时间
  952. type: string
  953. attachurl:
  954. description: 附件
  955. type: string
  956. auditid:
  957. description: 审核人ID
  958. type: string
  959. auditname:
  960. description: 审核人名称
  961. type: string
  962. audittime:
  963. description: 审核时间
  964. type: string
  965. buyusername:
  966. description: 采购方名称
  967. type: string
  968. contractno:
  969. description: 合同编号
  970. type: string
  971. contractstatus:
  972. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  973. type: integer
  974. contracttype:
  975. description: 现货合同类型 - 1:采购 -1:销售
  976. type: integer
  977. deliverygoodscode:
  978. description: 现货品种代码
  979. type: string
  980. deliverygoodsid:
  981. description: 现货商品ID
  982. type: integer
  983. deliverygoodsname:
  984. description: 现货品种名称
  985. type: string
  986. enumdicname:
  987. description: 单位名称
  988. type: string
  989. goodscode:
  990. description: 点价合约
  991. type: string
  992. goodsname:
  993. description: 商品名称
  994. type: string
  995. operateapplyid:
  996. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  997. type: string
  998. operateapplytype:
  999. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1000. type: integer
  1001. pricedPrice:
  1002. description: 点价价格(非必填)
  1003. type: number
  1004. pricedQty:
  1005. description: 点价数量(非必填)
  1006. type: number
  1007. pricemove:
  1008. description: 升贴水
  1009. type: number
  1010. pricetype:
  1011. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1012. type: integer
  1013. relatedid:
  1014. description: 现货合同ID
  1015. type: string
  1016. sellusername:
  1017. description: 销售方名字
  1018. type: string
  1019. userid:
  1020. description: 用户ID
  1021. type: integer
  1022. wrstandardcode:
  1023. description: 品类代码
  1024. type: string
  1025. wrstandardid:
  1026. description: 品类id
  1027. type: integer
  1028. wrstandardname:
  1029. description: 品类名称
  1030. type: string
  1031. type: object
  1032. ermcp.QryBussinessFpRsp:
  1033. properties:
  1034. applyid:
  1035. description: 申请人
  1036. type: string
  1037. applyname:
  1038. description: 申请人名称
  1039. type: string
  1040. applystatus:
  1041. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1042. type: integer
  1043. applytime:
  1044. description: 申请时间
  1045. type: string
  1046. attachurl:
  1047. description: 附件
  1048. type: string
  1049. auditid:
  1050. description: 审核人ID
  1051. type: string
  1052. auditname:
  1053. description: 审核人名称
  1054. type: string
  1055. audittime:
  1056. description: 审核时间
  1057. type: string
  1058. buyusername:
  1059. description: 采购方名称
  1060. type: string
  1061. contractno:
  1062. description: 合同编号
  1063. type: string
  1064. contractstatus:
  1065. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1066. type: integer
  1067. contracttype:
  1068. description: 现货合同类型 - 1:采购 -1:销售
  1069. type: integer
  1070. deliverygoodscode:
  1071. description: 现货品种代码
  1072. type: string
  1073. deliverygoodsid:
  1074. description: 现货商品ID
  1075. type: integer
  1076. deliverygoodsname:
  1077. description: 现货品种名称
  1078. type: string
  1079. enumdicname:
  1080. description: 单位名称
  1081. type: string
  1082. goodscode:
  1083. description: 点价合约
  1084. type: string
  1085. goodsname:
  1086. description: 商品名称
  1087. type: string
  1088. invoiceAmount:
  1089. description: 已开收票金额(销售为开票,采购为收票)
  1090. type: number
  1091. operateapplyid:
  1092. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1093. type: string
  1094. operateapplytype:
  1095. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1096. type: integer
  1097. pricemove:
  1098. description: 升贴水
  1099. type: number
  1100. pricetype:
  1101. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1102. type: integer
  1103. relatedid:
  1104. description: 现货合同ID
  1105. type: string
  1106. sellusername:
  1107. description: 销售方名字
  1108. type: string
  1109. userid:
  1110. description: 用户ID
  1111. type: integer
  1112. wrstandardcode:
  1113. description: 品类代码
  1114. type: string
  1115. wrstandardid:
  1116. description: 品类id
  1117. type: integer
  1118. wrstandardname:
  1119. description: 品类名称
  1120. type: string
  1121. type: object
  1122. ermcp.QryBussinessJsExRsp:
  1123. properties:
  1124. applyid:
  1125. description: 申请人
  1126. type: string
  1127. applyname:
  1128. description: 申请人名称
  1129. type: string
  1130. applystatus:
  1131. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1132. type: integer
  1133. applytime:
  1134. description: 申请时间
  1135. type: string
  1136. attachurl:
  1137. description: 附件
  1138. type: string
  1139. auditid:
  1140. description: 审核人ID
  1141. type: string
  1142. auditname:
  1143. description: 审核人名称
  1144. type: string
  1145. audittime:
  1146. description: 审核时间
  1147. type: string
  1148. buyusername:
  1149. description: 采购方名称
  1150. type: string
  1151. contractno:
  1152. description: 合同编号
  1153. type: string
  1154. contractstatus:
  1155. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1156. type: integer
  1157. contracttype:
  1158. description: 现货合同类型 - 1:采购 -1:销售
  1159. type: integer
  1160. deliverygoodscode:
  1161. description: 现货品种代码
  1162. type: string
  1163. deliverygoodsid:
  1164. description: 现货商品ID
  1165. type: integer
  1166. deliverygoodsname:
  1167. description: 现货品种名称
  1168. type: string
  1169. enumdicname:
  1170. description: 单位名称
  1171. type: string
  1172. goodscode:
  1173. description: 点价合约
  1174. type: string
  1175. goodsname:
  1176. description: 商品名称
  1177. type: string
  1178. operateapplyid:
  1179. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1180. type: string
  1181. operateapplytype:
  1182. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1183. type: integer
  1184. pricemove:
  1185. description: 升贴水
  1186. type: number
  1187. pricetype:
  1188. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1189. type: integer
  1190. reckontype:
  1191. description: 结算类型
  1192. type: string
  1193. reckonvalue:
  1194. description: 值
  1195. type: number
  1196. relatedid:
  1197. description: 现货合同ID
  1198. type: string
  1199. sellusername:
  1200. description: 销售方名字
  1201. type: string
  1202. userid:
  1203. description: 用户ID
  1204. type: integer
  1205. wrstandardcode:
  1206. description: 品类代码
  1207. type: string
  1208. wrstandardid:
  1209. description: 品类id
  1210. type: integer
  1211. wrstandardname:
  1212. description: 品类名称
  1213. type: string
  1214. type: object
  1215. ermcp.QryBussinessJsRsp:
  1216. properties:
  1217. addmargin:
  1218. description: 追加保证金(非必填)
  1219. type: number
  1220. applyid:
  1221. description: 申请人
  1222. type: string
  1223. applyname:
  1224. description: 申请人名称
  1225. type: string
  1226. applystatus:
  1227. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1228. type: integer
  1229. applytime:
  1230. description: 申请时间
  1231. type: string
  1232. attachurl:
  1233. description: 附件
  1234. type: string
  1235. auditid:
  1236. description: 审核人ID
  1237. type: string
  1238. auditname:
  1239. description: 审核人名称
  1240. type: string
  1241. audittime:
  1242. description: 审核时间
  1243. type: string
  1244. buyusername:
  1245. description: 采购方名称
  1246. type: string
  1247. contractno:
  1248. description: 合同编号
  1249. type: string
  1250. contractstatus:
  1251. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1252. type: integer
  1253. contracttype:
  1254. description: 现货合同类型 - 1:采购 -1:销售
  1255. type: integer
  1256. decmargin:
  1257. description: 减少保证金(非必填)
  1258. type: number
  1259. deliverygoodscode:
  1260. description: 现货品种代码
  1261. type: string
  1262. deliverygoodsid:
  1263. description: 现货商品ID
  1264. type: integer
  1265. deliverygoodsname:
  1266. description: 现货品种名称
  1267. type: string
  1268. enumdicname:
  1269. description: 单位名称
  1270. type: string
  1271. goodscode:
  1272. description: 点价合约
  1273. type: string
  1274. goodsname:
  1275. description: 商品名称
  1276. type: string
  1277. operateapplyid:
  1278. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1279. type: string
  1280. operateapplytype:
  1281. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1282. type: integer
  1283. pricemove:
  1284. description: 升贴水
  1285. type: number
  1286. pricetype:
  1287. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1288. type: integer
  1289. reckonadjustamount:
  1290. description: 结算调整金额(非必填)
  1291. type: number
  1292. reckonosamount:
  1293. description: 结算溢短金额(非必填)
  1294. type: number
  1295. reckonotheramount:
  1296. description: 结算其他费用(非必填)
  1297. type: number
  1298. reckonrealqty:
  1299. description: 结算实际数量(非必填)
  1300. type: number
  1301. relatedid:
  1302. description: 现货合同ID
  1303. type: string
  1304. sellusername:
  1305. description: 销售方名字
  1306. type: string
  1307. userid:
  1308. description: 用户ID
  1309. type: integer
  1310. wrstandardcode:
  1311. description: 品类代码
  1312. type: string
  1313. wrstandardid:
  1314. description: 品类id
  1315. type: integer
  1316. wrstandardname:
  1317. description: 品类名称
  1318. type: string
  1319. type: object
  1320. ermcp.QryBussinessKxRsp:
  1321. properties:
  1322. applyid:
  1323. description: 申请人
  1324. type: string
  1325. applyname:
  1326. description: 申请人名称
  1327. type: string
  1328. applystatus:
  1329. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1330. type: integer
  1331. applytime:
  1332. description: 申请时间
  1333. type: string
  1334. attachurl:
  1335. description: 附件
  1336. type: string
  1337. auditid:
  1338. description: 审核人ID
  1339. type: string
  1340. auditname:
  1341. description: 审核人名称
  1342. type: string
  1343. audittime:
  1344. description: 审核时间
  1345. type: string
  1346. buyusername:
  1347. description: 采购方名称
  1348. type: string
  1349. contractno:
  1350. description: 合同编号
  1351. type: string
  1352. contractstatus:
  1353. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1354. type: integer
  1355. contracttype:
  1356. description: 现货合同类型 - 1:采购 -1:销售
  1357. type: integer
  1358. deductamount:
  1359. description: 退款(非必填)
  1360. type: number
  1361. deliverygoodscode:
  1362. description: 现货品种代码
  1363. type: string
  1364. deliverygoodsid:
  1365. description: 现货商品ID
  1366. type: integer
  1367. deliverygoodsname:
  1368. description: 现货品种名称
  1369. type: string
  1370. enumdicname:
  1371. description: 单位名称
  1372. type: string
  1373. goodscode:
  1374. description: 点价合约
  1375. type: string
  1376. goodsname:
  1377. description: 商品名称
  1378. type: string
  1379. kxtype:
  1380. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1381. type: integer
  1382. operateapplyid:
  1383. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1384. type: string
  1385. operateapplytype:
  1386. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1387. type: integer
  1388. payamount:
  1389. description: 收付款(非必填)
  1390. type: number
  1391. pricemove:
  1392. description: 升贴水
  1393. type: number
  1394. pricetype:
  1395. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1396. type: integer
  1397. relatedid:
  1398. description: 现货合同ID
  1399. type: string
  1400. sellusername:
  1401. description: 销售方名字
  1402. type: string
  1403. userid:
  1404. description: 用户ID
  1405. type: integer
  1406. wrstandardcode:
  1407. description: 品类代码
  1408. type: string
  1409. wrstandardid:
  1410. description: 品类id
  1411. type: integer
  1412. wrstandardname:
  1413. description: 品类名称
  1414. type: string
  1415. type: object
  1416. ermcp.QryGGCovertCfgRsp:
  1417. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1418. ermcp.QryMGChangeLogRsp:
  1419. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1420. ermcp.QryMiddleGoodsDetailRsp:
  1421. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1422. ermcp.QryMiddleGoodsRsp:
  1423. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1424. ermcp.QryOPLogRsp:
  1425. $ref: '#/definitions/models.ErmcpOPLogModel'
  1426. ermcp.QryUserInfoRsp:
  1427. $ref: '#/definitions/models.ErmcpUserModel'
  1428. ermcp.QryWarehouseRsp:
  1429. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  1430. ermcp.QueryErmcpTradePositionRsp:
  1431. properties:
  1432. agreeunit:
  1433. description: 合约单位
  1434. type: number
  1435. buyorsell:
  1436. description: 方向 - 0:买 1:卖
  1437. type: integer
  1438. curpositionqty:
  1439. description: 持仓(总仓数量, 期末头寸)
  1440. type: integer
  1441. curtdposition:
  1442. description: 今仓数量(期末今日头寸)
  1443. type: integer
  1444. curtdpositionenabled:
  1445. description: 今仓可用
  1446. type: integer
  1447. decimalplace:
  1448. description: 报价小数位
  1449. type: integer
  1450. enableqty:
  1451. description: 可用(总仓可用)
  1452. type: integer
  1453. exexchangename:
  1454. description: 外部交易所名称
  1455. type: string
  1456. goodscode:
  1457. description: 商品代码(内部)
  1458. type: string
  1459. goodsid:
  1460. description: 商品ID(自增ID SEQ_GOODS)
  1461. type: integer
  1462. goodsname:
  1463. description: 商品名称
  1464. type: string
  1465. last:
  1466. description: 现价
  1467. type: number
  1468. marketid:
  1469. description: 所属市场ID
  1470. type: integer
  1471. openaverageprice:
  1472. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  1473. type: number
  1474. opencost:
  1475. description: 开仓成本
  1476. type: number
  1477. openpl:
  1478. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  1479. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1480. type: number
  1481. outgoodscode:
  1482. description: 商品代码(外部)
  1483. type: string
  1484. positionaverageprice:
  1485. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1486. type: number
  1487. positioncost:
  1488. description: 持仓成本
  1489. type: number
  1490. positionpl:
  1491. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1492. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1493. type: number
  1494. positionplrate:
  1495. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1496. type: number
  1497. usedmargin:
  1498. description: 占用保证金
  1499. type: number
  1500. type: object
  1501. ermcp.RealtimeExposurePositionRsp:
  1502. $ref: '#/definitions/models.ErmcpExposurePostion'
  1503. ermcp.RealtimeExposureRsp:
  1504. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1505. erms2.QueryArbitrageStrategyRsp:
  1506. properties:
  1507. applybasis:
  1508. description: 申请基差
  1509. type: number
  1510. asapplyid:
  1511. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1512. type: string
  1513. asname:
  1514. description: 策略名称
  1515. type: string
  1516. asno:
  1517. description: 策略编号
  1518. type: string
  1519. basischangepl:
  1520. description: 基差变动损益[结算更新]
  1521. type: number
  1522. biztype:
  1523. description: 业务类型 - 1:正向套利 -1:反向套利
  1524. type: integer
  1525. closetradedate:
  1526. description: 完结交易日(yyyyMMdd)
  1527. type: string
  1528. curbasis:
  1529. description: 当前基差[结算更新]
  1530. type: number
  1531. deliverygoodsid:
  1532. description: 现货品种ID
  1533. type: integer
  1534. futureavgprice:
  1535. description: 期货建仓均价
  1536. type: number
  1537. futurecloseamount:
  1538. description: 期货平仓金额
  1539. type: number
  1540. futurecloseqty:
  1541. description: 期货平仓数量
  1542. type: number
  1543. futureopenamount:
  1544. description: 期货开仓金额
  1545. type: number
  1546. futureopenqty:
  1547. description: 期货开仓数量
  1548. type: number
  1549. futurepl:
  1550. description: 期货总盈亏[结算更新]
  1551. type: number
  1552. futureqty:
  1553. description: 期货持仓数量
  1554. type: number
  1555. futurequote:
  1556. description: 期货额度
  1557. type: number
  1558. goodsgroupid:
  1559. description: 期货品种ID
  1560. type: integer
  1561. marketid:
  1562. description: 市场ID
  1563. type: integer
  1564. netexposure:
  1565. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1566. type: number
  1567. netexposurepl:
  1568. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1569. type: number
  1570. netexposurerate:
  1571. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1572. type: number
  1573. openbasis:
  1574. description: 建仓基差
  1575. type: number
  1576. pricedspotqty:
  1577. description: 已定价现货数量
  1578. type: number
  1579. pricedspotqtynotax:
  1580. description: 已定价现货不含税数量
  1581. type: number
  1582. remark:
  1583. description: 备注
  1584. type: string
  1585. spotavgprice:
  1586. description: 现货均价
  1587. type: number
  1588. spotbuyamount:
  1589. description: 现货采购金额
  1590. type: number
  1591. spotbuyqty:
  1592. description: 现货采购数量
  1593. type: number
  1594. spotpl:
  1595. description: 现货总盈亏[结算更新]
  1596. type: number
  1597. spotquota:
  1598. description: 现货额度
  1599. type: number
  1600. spotsellamount:
  1601. description: 现货销售金额
  1602. type: number
  1603. spotsellqty:
  1604. description: 现货销售数量
  1605. type: number
  1606. spotusedquota:
  1607. description: 现货占用资金
  1608. type: number
  1609. strategystatus:
  1610. description: 策略状态 - 0:未结束 1:已结束
  1611. type: integer
  1612. totalpl:
  1613. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1614. type: number
  1615. tradedate:
  1616. description: 交易日(yyyyMMdd)
  1617. type: string
  1618. updatetime:
  1619. description: 更新时间
  1620. type: string
  1621. usedquota:
  1622. description: 已占用资金
  1623. type: number
  1624. userid:
  1625. description: 所属机构
  1626. type: integer
  1627. required:
  1628. - asapplyid
  1629. type: object
  1630. erms2.QueryInnerTradeDetailRsp:
  1631. properties:
  1632. accountid:
  1633. description: 账号ID
  1634. type: integer
  1635. agreeunit:
  1636. description: 合约单位
  1637. type: number
  1638. asapplyid:
  1639. description: 策略申请ID
  1640. type: integer
  1641. asname:
  1642. description: 策略名称
  1643. type: string
  1644. asno:
  1645. description: 策略编号
  1646. type: string
  1647. buyorsell:
  1648. description: 方向 - 0:买 1:卖
  1649. type: integer
  1650. channelbuildtype:
  1651. description: 委托单据类型 0:无 1:建仓 2:平仓
  1652. type: integer
  1653. closetype:
  1654. description: 平仓方式 - 0:无 1:平今 2:平昨
  1655. type: integer
  1656. decimalplace:
  1657. description: 报价小数位
  1658. type: integer
  1659. detailtype:
  1660. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1661. type: integer
  1662. exexchangecode:
  1663. description: 外部交易所代码
  1664. type: string
  1665. exexchangename:
  1666. description: 外部交易所名称
  1667. type: string
  1668. goodscode:
  1669. description: 商品代码(合约)
  1670. type: string
  1671. goodsgroupid:
  1672. description: 商品组ID(品种ID)
  1673. type: integer
  1674. goodsgroupname:
  1675. description: 商品组名称(品种)
  1676. type: string
  1677. goodsid:
  1678. description: 商品ID
  1679. type: integer
  1680. goodsname:
  1681. description: 商品名称(合约)
  1682. type: string
  1683. goodunit:
  1684. description: 报价单位
  1685. type: string
  1686. marketid:
  1687. description: 市场ID
  1688. type: integer
  1689. orderid:
  1690. description: 委托单号
  1691. type: string
  1692. outgoodscode:
  1693. description: 商品代码(外部)
  1694. type: string
  1695. relatedouttradeid:
  1696. description: 关联外部成交单ID
  1697. type: string
  1698. remark:
  1699. description: 备注
  1700. type: string
  1701. spotcontractid:
  1702. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1703. type: integer
  1704. spotcontractno:
  1705. description: 现货合同编号
  1706. type: string
  1707. tradeid:
  1708. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1709. type: string
  1710. tradeprice:
  1711. description: 成交价格
  1712. type: number
  1713. tradeqty:
  1714. description: 成交数量
  1715. type: integer
  1716. tradetime:
  1717. description: 成交时间
  1718. type: string
  1719. updatetime:
  1720. description: 更新时间
  1721. type: string
  1722. required:
  1723. - asapplyid
  1724. - buyorsell
  1725. - goodscode
  1726. - goodsgroupid
  1727. - goodsgroupname
  1728. - goodsname
  1729. - tradeid
  1730. type: object
  1731. erms2.QuerySpotContractRsp:
  1732. properties:
  1733. accountid:
  1734. description: 资金账户ID
  1735. type: integer
  1736. areauserid:
  1737. description: 所属机构
  1738. type: integer
  1739. closedate:
  1740. description: 终止日期
  1741. type: string
  1742. closeremark:
  1743. description: 结束备注
  1744. type: string
  1745. closetradedate:
  1746. description: 完结交易日(yyyyMMdd)
  1747. type: string
  1748. closetype:
  1749. description: 终止类型 - 1:违约 2:提前终止
  1750. type: integer
  1751. contractamount:
  1752. description: 合同金额
  1753. type: number
  1754. contractattachment:
  1755. description: 合同附件
  1756. type: string
  1757. contractno:
  1758. description: 现货合同编号
  1759. type: string
  1760. contractqty:
  1761. description: 合同数量(数值) (用于计算)
  1762. type: number
  1763. contractqtychar:
  1764. description: 合同数量\已订价数量 (用于显示)
  1765. type: string
  1766. contractstatus:
  1767. description: 合同状态 - 0:未结束 1:已结束
  1768. type: integer
  1769. contracttype:
  1770. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1771. type: integer
  1772. customeraccountid:
  1773. description: 客户资金账户ID
  1774. type: integer
  1775. customeruserid:
  1776. description: 客户ID
  1777. type: integer
  1778. deliverygoodsdesc:
  1779. description: 品种说明
  1780. type: string
  1781. deliverygoodsid:
  1782. description: 现货品种ID
  1783. type: integer
  1784. handlestatus:
  1785. description: 处理状态
  1786. type: integer
  1787. invoiceatt:
  1788. description: 发票附件
  1789. type: string
  1790. invoicedatetime:
  1791. description: 开收票更新时间
  1792. type: string
  1793. invoiceopentime:
  1794. description: 开票时间
  1795. type: string
  1796. invoiceremark:
  1797. description: 发票备注
  1798. type: string
  1799. invoicestatus:
  1800. description: 开收票状态 - 0:未开票 1:已开票
  1801. type: integer
  1802. lastdate:
  1803. description: 交货时间
  1804. type: string
  1805. marketid:
  1806. description: 市场ID
  1807. type: integer
  1808. paydatetime:
  1809. description: 收付款更新时间
  1810. type: string
  1811. payremark:
  1812. description: 收付款备注
  1813. type: string
  1814. paystatus:
  1815. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1816. type: integer
  1817. positionqty:
  1818. description: 头寸数量 - 合同数量去小数部分
  1819. type: integer
  1820. producttype:
  1821. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1822. type: integer
  1823. relatedqty:
  1824. description: 已关联数量
  1825. type: number
  1826. relatedstatus:
  1827. description: 关联完结状态 - 0:未结束 1:已结束
  1828. type: integer
  1829. remark:
  1830. description: 备注
  1831. type: string
  1832. signdate:
  1833. description: 签订日期
  1834. type: string
  1835. spotcontractid:
  1836. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1837. type: string
  1838. spotdatetime:
  1839. description: 收发货更新时间
  1840. type: string
  1841. spotprice:
  1842. description: 价格
  1843. type: number
  1844. spotremark:
  1845. description: 收发货备注
  1846. type: string
  1847. spotstatus:
  1848. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1849. type: integer
  1850. tradedate:
  1851. description: 交易日(yyyyMMdd)
  1852. type: string
  1853. userid:
  1854. description: 业务员用户ID
  1855. type: integer
  1856. warehouseid:
  1857. description: 仓库ID
  1858. type: integer
  1859. wrfactortypeid:
  1860. description: 仓单要素类型ID
  1861. type: integer
  1862. wrstandardid:
  1863. description: 仓单标准ID(SEQ_WRSTANDARD)
  1864. type: integer
  1865. required:
  1866. - spotcontractid
  1867. type: object
  1868. erms3.AddErms2ASApplyReq:
  1869. properties:
  1870. applybasis:
  1871. description: 申请基差
  1872. type: number
  1873. applystatus:
  1874. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1875. type: integer
  1876. asapplyid:
  1877. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1878. type: integer
  1879. asname:
  1880. description: 策略名称
  1881. type: string
  1882. asno:
  1883. description: 策略编号
  1884. type: string
  1885. auditid:
  1886. description: 审核人
  1887. type: integer
  1888. auditremark:
  1889. description: 审核备注
  1890. type: string
  1891. audittime:
  1892. description: 审核时间
  1893. type: string
  1894. biztype:
  1895. description: 业务类型 - 1:正向套利 2:反向套利
  1896. type: integer
  1897. createtime:
  1898. description: 创建时间
  1899. type: string
  1900. creatorid:
  1901. description: 创建人
  1902. type: integer
  1903. deliverygoodsid:
  1904. description: 现货品种ID
  1905. type: integer
  1906. futurequote:
  1907. description: 期货额度
  1908. type: number
  1909. goodsgroupid:
  1910. description: 期货品种ID
  1911. type: integer
  1912. marketid:
  1913. description: 市场ID
  1914. type: integer
  1915. remark:
  1916. description: 备注
  1917. type: string
  1918. spotquota:
  1919. description: 现货额度
  1920. type: number
  1921. tradedate:
  1922. description: 交易日(yyyyMMdd)
  1923. type: string
  1924. userid:
  1925. description: 所属机构
  1926. type: integer
  1927. required:
  1928. - asapplyid
  1929. type: object
  1930. erms3.AddErms2SpotTradeApplyReq:
  1931. properties:
  1932. applyjsondetail:
  1933. description: 申请明细(JSON)
  1934. type: string
  1935. applystatus:
  1936. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1937. type: integer
  1938. areauserid:
  1939. description: 所属机构
  1940. type: integer
  1941. auditid:
  1942. description: 审核人
  1943. type: integer
  1944. auditremark:
  1945. description: 审核备注
  1946. type: string
  1947. audittime:
  1948. description: 审核时间
  1949. type: string
  1950. createtime:
  1951. description: 创建时间
  1952. type: string
  1953. creatorid:
  1954. description: 创建人
  1955. type: integer
  1956. deliverygoodsid:
  1957. description: 现货品种ID
  1958. type: integer
  1959. futureaccountid:
  1960. description: 期货资金账户
  1961. type: integer
  1962. goodsgroupid:
  1963. description: 期货品种
  1964. type: integer
  1965. marketid:
  1966. description: 市场ID
  1967. type: integer
  1968. remark:
  1969. description: 备注
  1970. type: string
  1971. spotaccountid:
  1972. description: 现货资金账户
  1973. type: integer
  1974. spottradeid:
  1975. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1976. type: integer
  1977. spottradename:
  1978. description: 业务名称
  1979. type: string
  1980. spottradeno:
  1981. description: 业务编号
  1982. type: string
  1983. tradedate:
  1984. description: 交易日(yyyyMMdd)
  1985. type: string
  1986. wrstandardid:
  1987. description: 仓单标准ID
  1988. type: integer
  1989. required:
  1990. - spottradeid
  1991. type: object
  1992. erms3.AddSpotContractApplyReq:
  1993. properties:
  1994. accountid:
  1995. description: 资金账户ID
  1996. type: integer
  1997. areauserid:
  1998. description: 所属机构
  1999. type: integer
  2000. contractattachment:
  2001. description: 合同附件
  2002. type: string
  2003. contractno:
  2004. description: 现货合同编号
  2005. type: string
  2006. contracttype:
  2007. description: 现货合同类型 - 1:采购 -1:销售
  2008. type: integer
  2009. creatorid:
  2010. description: 申请人
  2011. type: integer
  2012. customeraccountid:
  2013. description: 客户资金账户ID
  2014. type: integer
  2015. customeruserid:
  2016. description: 客户ID
  2017. type: integer
  2018. details:
  2019. description: 明细
  2020. items:
  2021. $ref: '#/definitions/erms3.SoptContractDetail'
  2022. type: array
  2023. orimargin:
  2024. description: 初始保证金
  2025. type: number
  2026. remark:
  2027. description: 备注
  2028. type: string
  2029. signdate:
  2030. description: 签订日期
  2031. type: string
  2032. required:
  2033. - accountid
  2034. - areauserid
  2035. - contractno
  2036. - contracttype
  2037. - customeraccountid
  2038. - customeruserid
  2039. - details
  2040. - orimargin
  2041. - signdate
  2042. type: object
  2043. erms3.AddSpotContractApplyRsp:
  2044. properties:
  2045. contractno:
  2046. description: 现货合同编号
  2047. type: string
  2048. spotcontractid:
  2049. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2050. type: integer
  2051. required:
  2052. - contractno
  2053. type: object
  2054. erms3.AddUserInfoApplyReq:
  2055. properties:
  2056. accountid:
  2057. description: 交易系统帐号Id (加密存储)
  2058. type: integer
  2059. areacode:
  2060. description: 机构代码
  2061. type: string
  2062. areaid:
  2063. description: 机构Id
  2064. type: integer
  2065. attachment1:
  2066. description: 附件1
  2067. type: string
  2068. attachment2:
  2069. description: 附件2
  2070. type: string
  2071. attachment3:
  2072. description: 附件3
  2073. type: string
  2074. attachment4:
  2075. description: 附件4
  2076. type: string
  2077. attachment5:
  2078. description: 附件5
  2079. type: string
  2080. auditedby:
  2081. description: 审核人
  2082. type: string
  2083. auditime:
  2084. description: 审核时间
  2085. type: string
  2086. auditsrc:
  2087. description: 审核来源 - 1:管理端 2:终端
  2088. type: integer
  2089. bankaccount:
  2090. description: 银行帐号 (加密存储)
  2091. type: string
  2092. bankaccountname:
  2093. description: 收款人名称
  2094. type: string
  2095. bankcardbackphotourl:
  2096. description: 银行卡背面照地址
  2097. type: string
  2098. bankcardfrontphotourl:
  2099. description: 银行卡正面照地址
  2100. type: string
  2101. bankid:
  2102. description: 银行编码
  2103. type: string
  2104. bankname:
  2105. description: 银行名称
  2106. type: string
  2107. bankpictureurl:
  2108. description: 银行卡正面地址
  2109. type: string
  2110. biznature:
  2111. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2112. type: integer
  2113. bizscope:
  2114. description: 企业经营范围(企业)
  2115. type: string
  2116. biztype:
  2117. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2118. type: integer
  2119. brokerid:
  2120. description: 经纪人ID(加密存储)
  2121. type: string
  2122. cardaddress:
  2123. description: 证件地址 (加密存储)
  2124. type: string
  2125. cardbackphotourl:
  2126. description: 背面证件照地址
  2127. type: string
  2128. cardfrontphotourl:
  2129. description: 正面证件照地址
  2130. type: string
  2131. cardnum:
  2132. description: 证件号码 (加密存储)
  2133. type: string
  2134. cardtype:
  2135. description: 证件类型
  2136. type: integer
  2137. cityid:
  2138. description: 市
  2139. type: integer
  2140. company:
  2141. description: 公司(个人)
  2142. type: string
  2143. contactcardbackphotourl:
  2144. description: 联系人证件背面图片地址
  2145. type: string
  2146. contactcardfrontphotourl:
  2147. description: 联系人证件正面图片地址
  2148. type: string
  2149. contactname:
  2150. description: 联系人
  2151. type: string
  2152. countryid:
  2153. description: 国家
  2154. type: integer
  2155. createtime:
  2156. description: 开户申请时间
  2157. type: string
  2158. cusbankid:
  2159. description: 签约类型
  2160. type: string
  2161. cusbankname:
  2162. description: 签约类型名称
  2163. type: string
  2164. customername:
  2165. description: 客户名称(企业名称)
  2166. type: string
  2167. districtid:
  2168. description: 地区
  2169. type: integer
  2170. email:
  2171. description: Email地址(加密存储)
  2172. type: string
  2173. halfbodyphotourl:
  2174. description: 半身照地址
  2175. type: string
  2176. headurl:
  2177. description: 头像地址
  2178. type: string
  2179. ipaddress:
  2180. description: IP地址
  2181. type: string
  2182. isvalidate:
  2183. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2184. type: string
  2185. legalcardbackphotourl:
  2186. description: 法人身份证背面照地址
  2187. type: string
  2188. legalcardfrontphotourl:
  2189. description: 法人身份证正面照地址
  2190. type: string
  2191. legalpersonname:
  2192. description: 法人姓名(企业)
  2193. type: string
  2194. logincode:
  2195. description: 登录帐号 (加密存储)
  2196. type: string
  2197. memberareaid:
  2198. description: 所属会员ID
  2199. type: integer
  2200. mobile2:
  2201. description: 手机号码[明文-尚志]
  2202. type: string
  2203. mobilephone:
  2204. description: 手机号码 (加密存储)
  2205. type: string
  2206. modifiedby:
  2207. description: 修改人帐号
  2208. type: integer
  2209. modifiedtime:
  2210. description: 修改时间
  2211. type: string
  2212. nickname:
  2213. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2214. type: string
  2215. openmode:
  2216. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2217. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2218. type: integer
  2219. otherurl:
  2220. description: 其它图片地址[使用分号分隔]
  2221. type: string
  2222. postalcode:
  2223. description: 邮政编码
  2224. type: string
  2225. provinceid:
  2226. description: 省
  2227. type: integer
  2228. proxystatementurl:
  2229. description: 授权委托书
  2230. type: string
  2231. qq:
  2232. description: QQ(加密存储
  2233. type: string
  2234. referral:
  2235. description: 推荐人编码
  2236. type: string
  2237. remark:
  2238. description: 备注
  2239. type: string
  2240. removebeforestatus:
  2241. description: REMOVEBEFORESTATUS
  2242. type: integer
  2243. sex:
  2244. description: 性别 - 0:女 1:男
  2245. type: integer
  2246. signedstatus:
  2247. description: 账户一号签签约状态
  2248. type: integer
  2249. signpdfurl:
  2250. description: 签约pdf文件
  2251. type: string
  2252. subbranch:
  2253. description: 开户支行
  2254. type: string
  2255. taxpayernum:
  2256. description: 纳税人识别号
  2257. type: string
  2258. telphone:
  2259. description: 联系电话(加密存储)
  2260. type: string
  2261. userid:
  2262. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2263. type: integer
  2264. userinfotype:
  2265. description: 用户信息类型 - 1:个人 2:企业
  2266. type: integer
  2267. username:
  2268. description: 用户姓名
  2269. type: string
  2270. userstate:
  2271. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2272. type: integer
  2273. usertype:
  2274. description: 用户类型 - 1:投资者 2:机构
  2275. type: integer
  2276. videourl:
  2277. description: 视频地址
  2278. type: string
  2279. wechat:
  2280. description: 微信号 (加密存储)
  2281. type: string
  2282. required:
  2283. - userid
  2284. type: object
  2285. erms3.CustomerInfo:
  2286. properties:
  2287. accountids:
  2288. description: 资金账户ID列表
  2289. items:
  2290. type: integer
  2291. type: array
  2292. customername:
  2293. description: 名称(企业名称)
  2294. type: string
  2295. mobile:
  2296. description: 手机号码
  2297. type: string
  2298. userid:
  2299. description: 用户ID
  2300. type: integer
  2301. required:
  2302. - userid
  2303. type: object
  2304. erms3.ModifyUserInfoApplyReq:
  2305. properties:
  2306. accountid:
  2307. description: 交易系统帐号Id (加密存储)
  2308. type: integer
  2309. areacode:
  2310. description: 机构代码
  2311. type: string
  2312. areaid:
  2313. description: 机构Id
  2314. type: integer
  2315. attachment1:
  2316. description: 附件1
  2317. type: string
  2318. attachment2:
  2319. description: 附件2
  2320. type: string
  2321. attachment3:
  2322. description: 附件3
  2323. type: string
  2324. attachment4:
  2325. description: 附件4
  2326. type: string
  2327. attachment5:
  2328. description: 附件5
  2329. type: string
  2330. auditedby:
  2331. description: 审核人
  2332. type: string
  2333. auditime:
  2334. description: 审核时间
  2335. type: string
  2336. auditsrc:
  2337. description: 审核来源 - 1:管理端 2:终端
  2338. type: integer
  2339. bankaccount:
  2340. description: 银行帐号 (加密存储)
  2341. type: string
  2342. bankaccountname:
  2343. description: 收款人名称
  2344. type: string
  2345. bankcardbackphotourl:
  2346. description: 银行卡背面照地址
  2347. type: string
  2348. bankcardfrontphotourl:
  2349. description: 银行卡正面照地址
  2350. type: string
  2351. bankid:
  2352. description: 银行编码
  2353. type: string
  2354. bankname:
  2355. description: 银行名称
  2356. type: string
  2357. bankpictureurl:
  2358. description: 银行卡正面地址
  2359. type: string
  2360. biznature:
  2361. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2362. type: integer
  2363. bizscope:
  2364. description: 企业经营范围(企业)
  2365. type: string
  2366. biztype:
  2367. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2368. type: integer
  2369. brokerid:
  2370. description: 经纪人ID(加密存储)
  2371. type: string
  2372. cardaddress:
  2373. description: 证件地址 (加密存储)
  2374. type: string
  2375. cardbackphotourl:
  2376. description: 背面证件照地址
  2377. type: string
  2378. cardfrontphotourl:
  2379. description: 正面证件照地址
  2380. type: string
  2381. cardnum:
  2382. description: 证件号码 (加密存储)
  2383. type: string
  2384. cardtype:
  2385. description: 证件类型
  2386. type: integer
  2387. cityid:
  2388. description: 市
  2389. type: integer
  2390. company:
  2391. description: 公司(个人)
  2392. type: string
  2393. contactcardbackphotourl:
  2394. description: 联系人证件背面图片地址
  2395. type: string
  2396. contactcardfrontphotourl:
  2397. description: 联系人证件正面图片地址
  2398. type: string
  2399. contactname:
  2400. description: 联系人
  2401. type: string
  2402. countryid:
  2403. description: 国家
  2404. type: integer
  2405. createtime:
  2406. description: 开户申请时间
  2407. type: string
  2408. cusbankid:
  2409. description: 签约类型
  2410. type: string
  2411. cusbankname:
  2412. description: 签约类型名称
  2413. type: string
  2414. customername:
  2415. description: 客户名称(企业名称)
  2416. type: string
  2417. districtid:
  2418. description: 地区
  2419. type: integer
  2420. email:
  2421. description: Email地址(加密存储)
  2422. type: string
  2423. halfbodyphotourl:
  2424. description: 半身照地址
  2425. type: string
  2426. headurl:
  2427. description: 头像地址
  2428. type: string
  2429. ipaddress:
  2430. description: IP地址
  2431. type: string
  2432. isvalidate:
  2433. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2434. type: string
  2435. legalcardbackphotourl:
  2436. description: 法人身份证背面照地址
  2437. type: string
  2438. legalcardfrontphotourl:
  2439. description: 法人身份证正面照地址
  2440. type: string
  2441. legalpersonname:
  2442. description: 法人姓名(企业)
  2443. type: string
  2444. logincode:
  2445. description: 登录帐号 (加密存储)
  2446. type: string
  2447. memberareaid:
  2448. description: 所属会员ID
  2449. type: integer
  2450. mobile2:
  2451. description: 手机号码[明文-尚志]
  2452. type: string
  2453. mobilephone:
  2454. description: 手机号码 (加密存储)
  2455. type: string
  2456. modifiedby:
  2457. description: 修改人帐号
  2458. type: integer
  2459. modifiedtime:
  2460. description: 修改时间
  2461. type: string
  2462. nickname:
  2463. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2464. type: string
  2465. openmode:
  2466. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2467. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2468. type: integer
  2469. otherurl:
  2470. description: 其它图片地址[使用分号分隔]
  2471. type: string
  2472. postalcode:
  2473. description: 邮政编码
  2474. type: string
  2475. provinceid:
  2476. description: 省
  2477. type: integer
  2478. proxystatementurl:
  2479. description: 授权委托书
  2480. type: string
  2481. qq:
  2482. description: QQ(加密存储
  2483. type: string
  2484. referral:
  2485. description: 推荐人编码
  2486. type: string
  2487. remark:
  2488. description: 备注
  2489. type: string
  2490. removebeforestatus:
  2491. description: REMOVEBEFORESTATUS
  2492. type: integer
  2493. sex:
  2494. description: 性别 - 0:女 1:男
  2495. type: integer
  2496. signedstatus:
  2497. description: 账户一号签签约状态
  2498. type: integer
  2499. signpdfurl:
  2500. description: 签约pdf文件
  2501. type: string
  2502. subbranch:
  2503. description: 开户支行
  2504. type: string
  2505. taxpayernum:
  2506. description: 纳税人识别号
  2507. type: string
  2508. telphone:
  2509. description: 联系电话(加密存储)
  2510. type: string
  2511. userid:
  2512. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2513. type: integer
  2514. userinfotype:
  2515. description: 用户信息类型 - 1:个人 2:企业
  2516. type: integer
  2517. username:
  2518. description: 用户姓名
  2519. type: string
  2520. userstate:
  2521. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2522. type: integer
  2523. usertype:
  2524. description: 用户类型 - 1:投资者 2:机构
  2525. type: integer
  2526. videourl:
  2527. description: 视频地址
  2528. type: string
  2529. wechat:
  2530. description: 微信号 (加密存储)
  2531. type: string
  2532. required:
  2533. - userid
  2534. type: object
  2535. erms3.QryAuditContractRsp:
  2536. properties:
  2537. accountid:
  2538. description: 交易员ID
  2539. type: string
  2540. applystatus:
  2541. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2542. type: integer
  2543. curdeliveryqty:
  2544. description: 未交收量
  2545. type: integer
  2546. customername:
  2547. description: 采购方ID
  2548. type: string
  2549. deliverygoodsid:
  2550. description: 品种ID
  2551. type: string
  2552. deliveryqty:
  2553. description: 交收量
  2554. type: integer
  2555. enumdicname:
  2556. description: 单位名称
  2557. type: string
  2558. matchaccountid:
  2559. description: 业务员ID
  2560. type: string
  2561. matchcustomername:
  2562. description: 销售方ID
  2563. type: string
  2564. pricedqty:
  2565. description: 定价量
  2566. type: number
  2567. signdate:
  2568. description: 签订日期
  2569. type: string
  2570. spotcontractid:
  2571. description: 合同ID
  2572. type: string
  2573. totaldqty:
  2574. description: 合同量
  2575. type: number
  2576. unpricedqty:
  2577. description: 未定价量
  2578. type: number
  2579. wrstandardname:
  2580. description: 商品名称
  2581. type: string
  2582. required:
  2583. - matchcustomername
  2584. - spotcontractid
  2585. type: object
  2586. erms3.QryPendingBizRsp:
  2587. $ref: '#/definitions/models.PendingAuditBizModel'
  2588. erms3.QueryBusinessInfoRsp:
  2589. properties:
  2590. businessid:
  2591. description: 业务ID.
  2592. type: integer
  2593. buyamount:
  2594. description: 采购额.
  2595. type: number
  2596. buyqty:
  2597. description: 采购量.
  2598. type: string
  2599. futurepl:
  2600. description: 期货盈亏.
  2601. type: number
  2602. futureqty:
  2603. description: 期货敞口.
  2604. type: string
  2605. goodsid:
  2606. description: 商品名称/商品代码.
  2607. type: string
  2608. hedgingqty:
  2609. description: 套保量.
  2610. type: string
  2611. sellamount:
  2612. description: 销售额.
  2613. type: number
  2614. sellqty:
  2615. description: 销售量.
  2616. type: string
  2617. spotmarketvalue:
  2618. description: 现货市值.
  2619. type: number
  2620. spotpl:
  2621. description: 浮动权益.
  2622. type: number
  2623. spotqty:
  2624. description: 现货量.
  2625. type: string
  2626. statu:
  2627. description: 状态,0-未结束 1-已结束.
  2628. type: integer
  2629. totalpl:
  2630. description: 总盈亏.
  2631. type: number
  2632. totalqty:
  2633. description: 总敞口.
  2634. type: string
  2635. type:
  2636. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2637. type: integer
  2638. type: object
  2639. erms3.QuerySpotContractAppleFormRsp:
  2640. properties:
  2641. goodses:
  2642. description: 合约列表
  2643. items:
  2644. $ref: '#/definitions/models.GoodsIDAndName'
  2645. type: array
  2646. oppositeusers:
  2647. description: 对方账号列表
  2648. items:
  2649. $ref: '#/definitions/erms3.CustomerInfo'
  2650. type: array
  2651. ouruser:
  2652. $ref: '#/definitions/erms3.CustomerInfo'
  2653. description: 我方账号
  2654. type: object
  2655. warehouseinfos:
  2656. description: 仓库信息列表
  2657. items:
  2658. $ref: '#/definitions/models.Warehouseinfo'
  2659. type: array
  2660. wrstandards:
  2661. description: 仓单标准列表
  2662. items:
  2663. $ref: '#/definitions/models.WRStandardInfo'
  2664. type: array
  2665. type: object
  2666. erms3.QuerySpotContractInfoRsp:
  2667. properties:
  2668. accountid:
  2669. description: 表示交易员ID.
  2670. type: integer
  2671. curdeliveryqty:
  2672. description: 表示未交收量.
  2673. type: number
  2674. customername:
  2675. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2676. type: string
  2677. deliverygoodsid:
  2678. description: 表示品种ID.
  2679. type: string
  2680. deliveryqty:
  2681. description: 表示交收量.
  2682. type: number
  2683. matchaccountid:
  2684. description: 表示业务员ID.
  2685. type: integer
  2686. matchcustomername:
  2687. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2688. type: string
  2689. priceqty:
  2690. description: 表示定价量.
  2691. type: number
  2692. relatedbizid:
  2693. description: 表示业务ID.
  2694. type: string
  2695. signdate:
  2696. description: 表示签订日期.
  2697. type: string
  2698. spotcontractid:
  2699. description: 合同ID
  2700. type: string
  2701. status:
  2702. description: 表示状态,0-履约中 1-已完成.
  2703. type: integer
  2704. totalqty:
  2705. description: 表示合同量.
  2706. type: number
  2707. unpricedqty:
  2708. description: 表示未定价量.
  2709. type: number
  2710. wrstandardname:
  2711. description: 表示商品ID.
  2712. type: string
  2713. type: object
  2714. erms3.QueryUserInfoAppliesRsp:
  2715. properties:
  2716. biznature:
  2717. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2718. type: integer
  2719. contactname:
  2720. description: 联系人
  2721. type: string
  2722. createtime:
  2723. description: 开户申请时间
  2724. type: string
  2725. userid:
  2726. description: 用户ID(自增ID)
  2727. type: integer
  2728. userinfotype:
  2729. description: 用户信息类型 - 1:个人 2:企业
  2730. type: integer
  2731. username:
  2732. description: 用户姓名
  2733. type: string
  2734. userstate:
  2735. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2736. type: integer
  2737. required:
  2738. - userid
  2739. type: object
  2740. erms3.QueryUserInfosRsp:
  2741. properties:
  2742. biznature:
  2743. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2744. type: integer
  2745. contactname:
  2746. description: 联系人
  2747. type: string
  2748. customername:
  2749. description: 客户名称(企业名称)
  2750. type: string
  2751. userid:
  2752. description: 用户ID
  2753. type: integer
  2754. userinfotype:
  2755. description: 用户信息类型 - 1:个人 2:企业
  2756. type: integer
  2757. userstatus:
  2758. description: 用户状态 - 1:正常 2:注销
  2759. type: integer
  2760. required:
  2761. - userid
  2762. type: object
  2763. erms3.SoptContractDetail:
  2764. properties:
  2765. deliverygoodsdesc:
  2766. description: 现货品种说明
  2767. type: string
  2768. deliverygoodsid:
  2769. description: 现货品种ID
  2770. type: integer
  2771. deliverygoodsname:
  2772. description: 现货品种名称
  2773. type: string
  2774. pointdesc:
  2775. description: 点价描述
  2776. type: string
  2777. producttype:
  2778. description: 产品类型 1:标准仓单 2:等标 3:非标
  2779. type: integer
  2780. producttypename:
  2781. description: 产品类型名称
  2782. type: string
  2783. spotPointOrderVoList:
  2784. description: 点价列表
  2785. items:
  2786. $ref: '#/definitions/erms3.SpotPointOrder'
  2787. type: array
  2788. spotPriceOrderList:
  2789. description: 定价列表
  2790. items:
  2791. $ref: '#/definitions/erms3.SpotPriceOrder'
  2792. type: array
  2793. unitname:
  2794. description: 单位名称
  2795. type: string
  2796. warehouseid:
  2797. description: 仓库ID
  2798. type: integer
  2799. warehousename:
  2800. description: 仓库名称
  2801. type: string
  2802. wrstandardid:
  2803. description: 交易标的ID
  2804. type: integer
  2805. wrstandardname:
  2806. description: 交易标的名称
  2807. type: string
  2808. required:
  2809. - deliverygoodsid
  2810. - producttype
  2811. - unitname
  2812. - warehouseid
  2813. - wrstandardid
  2814. - wrstandardname
  2815. type: object
  2816. erms3.SpotPointOrder:
  2817. properties:
  2818. basic:
  2819. description: 基差
  2820. type: number
  2821. deliveryenddate:
  2822. description: 交收结束日期
  2823. type: string
  2824. deliverystartdate:
  2825. description: 交收开始日期
  2826. type: string
  2827. enddate:
  2828. description: 点价结束日期
  2829. type: string
  2830. goodsid:
  2831. description: 商品ID
  2832. type: integer
  2833. goodsname:
  2834. description: 商品名称
  2835. type: string
  2836. qty:
  2837. description: 数量
  2838. type: number
  2839. startdate:
  2840. description: 点价开始日期
  2841. type: string
  2842. required:
  2843. - basic
  2844. - goodsid
  2845. - qty
  2846. type: object
  2847. erms3.SpotPriceOrder:
  2848. properties:
  2849. amount:
  2850. description: 金额
  2851. type: number
  2852. deliveryenddate:
  2853. description: 交收结束日期
  2854. type: string
  2855. deliverystartdate:
  2856. description: 交收开始日期
  2857. type: string
  2858. price:
  2859. description: 价格
  2860. type: number
  2861. qty:
  2862. description: 数量
  2863. type: number
  2864. required:
  2865. - amount
  2866. - price
  2867. - qty
  2868. type: object
  2869. hsby.GetHsbyMyCountRsp:
  2870. properties:
  2871. myCouponCount:
  2872. description: 我的优惠卷数量
  2873. type: integer
  2874. myOrderDetailListingCount:
  2875. description: 我的订单求购中数量
  2876. type: integer
  2877. myOrderDetailPreCount:
  2878. description: 我的订单抢购中数量
  2879. type: integer
  2880. myPackageUnReceiveCount:
  2881. description: 我的包裹待收货数量
  2882. type: integer
  2883. myPackageUnSendCount:
  2884. description: 我的包裹待发货数量
  2885. type: integer
  2886. myPayOrderCount:
  2887. description: 我的订单待付款数量
  2888. type: integer
  2889. type: object
  2890. hsby.QueryProvincesAndCitiesRsp:
  2891. properties:
  2892. cities:
  2893. description: 市
  2894. items:
  2895. $ref: '#/definitions/models.Division'
  2896. type: array
  2897. province:
  2898. $ref: '#/definitions/models.Division'
  2899. description: 省
  2900. type: object
  2901. type: object
  2902. models.AreaSpotModel:
  2903. properties:
  2904. areauserid:
  2905. description: 所属机构
  2906. type: integer
  2907. decreaseqty:
  2908. description: 减少数量=-(销售已定价数量+采购计划数量)
  2909. type: number
  2910. increaseqty:
  2911. description: 增加数量=销售计划数量+采购已定价数量
  2912. type: number
  2913. oritoalspotqty:
  2914. description: 昨日数量
  2915. type: number
  2916. totalspotqty:
  2917. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2918. type: number
  2919. updatetime:
  2920. description: 更新时间
  2921. type: string
  2922. wrstandardcode:
  2923. description: 现货品种代码
  2924. type: string
  2925. wrstandardid:
  2926. description: 现货商品ID
  2927. type: integer
  2928. wrstandardname:
  2929. description: 现货品种
  2930. type: string
  2931. type: object
  2932. models.Arearole:
  2933. properties:
  2934. createtime:
  2935. description: 创建时间
  2936. type: string
  2937. creatorid:
  2938. description: 创建人ID
  2939. type: integer
  2940. isreturnscore:
  2941. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  2942. type: integer
  2943. modifierid:
  2944. description: 修改人ID
  2945. type: integer
  2946. modifytime:
  2947. description: 修改时间
  2948. type: string
  2949. orgtype:
  2950. description: 组织机构类型 1:机构 2:交易员
  2951. type: integer
  2952. outuserid:
  2953. description: 外部账户[场外期权做市商]
  2954. type: string
  2955. parentuserid:
  2956. description: 上级组织机构(组织机构)
  2957. type: integer
  2958. roletype:
  2959. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  2960. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  2961. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员
  2962. type: integer
  2963. rootuserid:
  2964. description: 顶级组织机构用户ID(组织机构)
  2965. type: integer
  2966. shoppassword:
  2967. description: 商城店铺登陆密码(商城店铺角色使用)
  2968. type: string
  2969. sublevelpath:
  2970. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  2971. type: string
  2972. tradeaccountid:
  2973. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  2974. type: integer
  2975. transurl:
  2976. description: 物流地址(物流机构)
  2977. type: string
  2978. userid:
  2979. description: 机构用户ID其他做市关系,都设置为 1
  2980. type: integer
  2981. required:
  2982. - roletype
  2983. - userid
  2984. type: object
  2985. models.Clientfixedadconfig:
  2986. properties:
  2987. adsort:
  2988. description: 排序
  2989. type: integer
  2990. adtype:
  2991. description: 广告位类型 - 1:新品抢购(HSBY)
  2992. type: integer
  2993. areauserid:
  2994. description: 所属机构ID
  2995. type: integer
  2996. createdate:
  2997. description: 创建时间
  2998. type: string
  2999. creatorid:
  3000. description: 创建人
  3001. type: integer
  3002. imagepath:
  3003. description: 图片
  3004. type: string
  3005. isshow:
  3006. description: 是否展示 - 0:不展示 1:展示
  3007. type: integer
  3008. modifierid:
  3009. description: 操作人
  3010. type: integer
  3011. recsize:
  3012. description: 推荐尺寸
  3013. type: string
  3014. title:
  3015. description: 标题
  3016. type: string
  3017. updatedate:
  3018. description: 更新时间
  3019. type: string
  3020. urlcontent:
  3021. description: 链接(地址或商品ID)
  3022. type: string
  3023. urltype:
  3024. description: 链接类型 - 1:直接地址 2:商品ID
  3025. type: integer
  3026. required:
  3027. - adsort
  3028. - adtype
  3029. type: object
  3030. models.Division:
  3031. properties:
  3032. autoid:
  3033. description: 自增ID
  3034. type: integer
  3035. divisioncode:
  3036. description: 行政代码
  3037. type: string
  3038. divisionlevel:
  3039. description: 行政级别
  3040. type: string
  3041. divisionname:
  3042. description: 行政名称
  3043. type: string
  3044. modifierid:
  3045. description: 修改人
  3046. type: integer
  3047. modifytime:
  3048. description: 修改时间
  3049. type: string
  3050. parentcode:
  3051. description: 上级行政代码
  3052. type: string
  3053. pathname:
  3054. description: 路径名称
  3055. type: string
  3056. postcode:
  3057. description: 邮政编码
  3058. type: string
  3059. separablename:
  3060. description: 可拆分的全称
  3061. type: string
  3062. shortcode:
  3063. description: 地区简码
  3064. type: string
  3065. required:
  3066. - autoid
  3067. - divisioncode
  3068. type: object
  3069. models.Enumdicitem:
  3070. properties:
  3071. autoid:
  3072. description: 自增ID
  3073. type: integer
  3074. bankmappedvalue:
  3075. description: 银行服务对应值
  3076. type: string
  3077. enumdiccode:
  3078. description: 所属枚举代码
  3079. type: string
  3080. enumdicid:
  3081. description: 所属枚举ID
  3082. type: integer
  3083. enumdicname:
  3084. description: 枚举项名称
  3085. type: string
  3086. enumitemname:
  3087. description: 枚举项值
  3088. type: integer
  3089. enumitemstatus:
  3090. description: 枚举项状态 - 1.启用 2.不启用
  3091. type: integer
  3092. enumitemvalue:
  3093. description: 通用值 - [币种通用简写]
  3094. type: string
  3095. param1:
  3096. description: 参数1[币种:币种小数位]
  3097. type: string
  3098. param2:
  3099. description: 参数1[币种:币种显示单位]
  3100. type: string
  3101. remark:
  3102. description: 备注
  3103. type: string
  3104. required:
  3105. - autoid
  3106. - enumdiccode
  3107. - enumdicid
  3108. - enumitemname
  3109. type: object
  3110. models.Ermcp3AreaSpot:
  3111. properties:
  3112. areauserid:
  3113. description: 所属机构
  3114. type: integer
  3115. decreaseqty:
  3116. description: 减少数量=-(销售已定价数量+采购计划数量)
  3117. type: number
  3118. deliverygoodscode:
  3119. description: 现货品种代码
  3120. type: string
  3121. deliverygoodsid:
  3122. description: 现货品种id
  3123. type: integer
  3124. deliverygoodsname:
  3125. description: 现货品种名称
  3126. type: string
  3127. enumdicname:
  3128. description: 单位名称
  3129. type: string
  3130. goodsunitid:
  3131. description: 现货品种单位id
  3132. type: integer
  3133. increaseqty:
  3134. description: 增加数量=销售计划数量+采购已定价数量
  3135. type: number
  3136. oritoalspotqty:
  3137. description: 昨日数量
  3138. type: number
  3139. totalspotqty:
  3140. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3141. type: number
  3142. updatetime:
  3143. description: 更新时间
  3144. type: string
  3145. type: object
  3146. models.Ermcp3AreaSpotDetail:
  3147. properties:
  3148. contracttype:
  3149. description: 合同类型 1-采购 -1-销售
  3150. type: integer
  3151. createtime:
  3152. description: 创建时间
  3153. type: string
  3154. deliverygoodscode:
  3155. description: 现货品种代码
  3156. type: string
  3157. deliverygoodsid:
  3158. description: 现货品种id
  3159. type: integer
  3160. deliverygoodsname:
  3161. description: 现货品种名称
  3162. type: string
  3163. enumdicname:
  3164. description: 现货商品单位名称
  3165. type: string
  3166. logtype:
  3167. description: 记录类型 1-套保 2-现货合同
  3168. type: integer
  3169. qty:
  3170. description: 数量
  3171. type: number
  3172. recordname:
  3173. description: 类型名称
  3174. type: string
  3175. relatedid:
  3176. description: 套保计划ID/现货合同ID
  3177. type: string
  3178. relatedno:
  3179. description: 编号
  3180. type: string
  3181. strtime:
  3182. description: 时间
  3183. type: string
  3184. type: object
  3185. models.Ermcp3AreaSpotPLReport:
  3186. properties:
  3187. accountid:
  3188. description: 期货账户ID (作废, 默认为0)
  3189. type: integer
  3190. accountname:
  3191. description: 机构名称
  3192. type: string
  3193. actualpl:
  3194. description: 现货损益
  3195. type: number
  3196. areauserid:
  3197. description: 所属机构\交易用户ID
  3198. type: integer
  3199. begindate:
  3200. description: 开始交易日
  3201. type: string
  3202. biztype:
  3203. description: 业务类型 - 1:套保 2:套利
  3204. type: integer
  3205. brandname:
  3206. description: 品牌名称
  3207. type: string
  3208. curamount:
  3209. description: 期末额
  3210. type: number
  3211. curaverageprice:
  3212. description: 期末均价
  3213. type: number
  3214. curbuyamount:
  3215. description: 期末采购总额
  3216. type: number
  3217. curbuyqty:
  3218. description: 期末采购总量
  3219. type: number
  3220. curmarketvalue:
  3221. description: 参考市值(期末市值)
  3222. type: number
  3223. curqty:
  3224. description: 期末量
  3225. type: number
  3226. currencyid:
  3227. description: 结算币种ID【原值】
  3228. type: integer
  3229. currencyname:
  3230. description: 币种名称
  3231. type: string
  3232. cursellamount:
  3233. description: 期末销售总额
  3234. type: number
  3235. cursellqty:
  3236. description: 期末销售总量
  3237. type: number
  3238. curspotprice:
  3239. description: 参考市价(最新价)
  3240. type: number
  3241. cycletime:
  3242. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3243. type: string
  3244. cycletype:
  3245. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3246. type: integer
  3247. deliverygoodscode:
  3248. description: 现货商品代码
  3249. type: string
  3250. deliverygoodsid:
  3251. description: 现货品种ID
  3252. type: integer
  3253. deliverygoodsname:
  3254. description: 现货商品名称
  3255. type: string
  3256. enddate:
  3257. description: 结束交易日
  3258. type: string
  3259. enumdicname:
  3260. description: 现货商品单位名称
  3261. type: string
  3262. floatpl:
  3263. description: 浮动损益
  3264. type: number
  3265. goodsunitid:
  3266. description: 现货商品单位id
  3267. type: integer
  3268. oriamount:
  3269. description: 期初额
  3270. type: number
  3271. oriaverageprice:
  3272. description: 期初均价
  3273. type: number
  3274. oribuyamount:
  3275. description: 期初采购总额
  3276. type: number
  3277. oribuyqty:
  3278. description: 期初采购总量
  3279. type: number
  3280. oriqty:
  3281. description: 期初量
  3282. type: number
  3283. orisellamount:
  3284. description: 期初销售总额
  3285. type: number
  3286. orisellqty:
  3287. description: 期初销售总量
  3288. type: number
  3289. reckondate:
  3290. description: 日照时期(yyyyMMdd)
  3291. type: string
  3292. spotgoodsbrandid:
  3293. description: 现货品牌ID
  3294. type: integer
  3295. todaybuyamount:
  3296. description: 今日采购额(今采购额)
  3297. type: number
  3298. todaybuyaverageprice:
  3299. description: 今日采购均价
  3300. type: number
  3301. todaybuyqty:
  3302. description: 今日采购量(今采购量)
  3303. type: number
  3304. todayinqty:
  3305. description: 今日入库量(今入库量)
  3306. type: number
  3307. todayoutqty:
  3308. description: 今日出库量(今出库量)
  3309. type: number
  3310. todaysellamount:
  3311. description: 今日销售额(今销售额)
  3312. type: number
  3313. todaysellaverageprice:
  3314. description: 今日销售均价
  3315. type: number
  3316. todaysellqty:
  3317. description: 今日销售量(今销售量)
  3318. type: number
  3319. unitid:
  3320. description: 品类单位id
  3321. type: integer
  3322. unitidname:
  3323. description: 品类单位名称
  3324. type: string
  3325. updatetime:
  3326. description: 更新时间
  3327. type: string
  3328. wrfactortypeid:
  3329. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  3330. type: integer
  3331. wrstandardcode:
  3332. description: 品类代码
  3333. type: string
  3334. wrstandardid:
  3335. description: 现货品类ID
  3336. type: integer
  3337. wrstandardname:
  3338. description: 品类名称
  3339. type: string
  3340. type: object
  3341. models.Ermcp3AreaStock:
  3342. properties:
  3343. brandname:
  3344. description: 品牌名称
  3345. type: string
  3346. curstock:
  3347. description: 期末库存量(今日量)
  3348. type: number
  3349. deliverygoodscode:
  3350. description: 现货品种代码
  3351. type: string
  3352. deliverygoodsid:
  3353. description: 现货品种id
  3354. type: integer
  3355. deliverygoodsname:
  3356. description: 现货品种名称
  3357. type: string
  3358. enumdicname:
  3359. description: 单位名称
  3360. type: string
  3361. goodsunitid:
  3362. description: 现货商品单位id
  3363. type: integer
  3364. oristock:
  3365. description: 期初库存量(昨日量)
  3366. type: number
  3367. spotgoodsbrandid:
  3368. description: 现货品牌ID
  3369. type: integer
  3370. todaybuyinqty:
  3371. description: 今日采购入库量
  3372. type: number
  3373. todayproduceinqty:
  3374. description: 今日生产入库量
  3375. type: number
  3376. todayproduceoutqty:
  3377. description: 今日生产出库量
  3378. type: number
  3379. todayselloutqty:
  3380. description: 今日销售出库量
  3381. type: number
  3382. unitid:
  3383. description: 单位id
  3384. type: integer
  3385. updatetime:
  3386. description: 更新时间
  3387. type: string
  3388. userid:
  3389. description: 机构ID
  3390. type: integer
  3391. username:
  3392. description: 机构名称
  3393. type: string
  3394. warehousecode:
  3395. description: 仓库代码
  3396. type: string
  3397. warehouseinfoid:
  3398. description: 仓库ID
  3399. type: string
  3400. warehousename:
  3401. description: 仓库名称
  3402. type: string
  3403. warehousetype:
  3404. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3405. type: integer
  3406. wrstandardcode:
  3407. description: 品类代码
  3408. type: string
  3409. wrstandardid:
  3410. description: 品类ID
  3411. type: string
  3412. wrstandardname:
  3413. description: 品类名称
  3414. type: string
  3415. required:
  3416. - userid
  3417. type: object
  3418. models.Ermcp3AreaStockApply:
  3419. properties:
  3420. applyid:
  3421. description: 申请人
  3422. type: integer
  3423. applyname:
  3424. description: 申请人名称
  3425. type: string
  3426. applyremark:
  3427. description: 申请备注
  3428. type: string
  3429. applysrc:
  3430. description: 申请来源 - 1:管理端 2:终端
  3431. type: integer
  3432. applystatus:
  3433. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3434. type: integer
  3435. applytime:
  3436. description: 申请时间
  3437. type: string
  3438. auditid:
  3439. description: 审核人
  3440. type: integer
  3441. auditname:
  3442. description: 审核人名称
  3443. type: string
  3444. auditremark:
  3445. description: 审核备注
  3446. type: string
  3447. auditsrc:
  3448. description: 审核来源 - 1:管理端 2:终端
  3449. type: integer
  3450. audittime:
  3451. description: 审核时间
  3452. type: string
  3453. audittradedate:
  3454. description: 审核交易日(yyyyMMdd)
  3455. type: string
  3456. brandname:
  3457. description: 品牌名称
  3458. type: string
  3459. buynickname:
  3460. description: 采购方昵称
  3461. type: string
  3462. buyuserid:
  3463. description: 采购方userid
  3464. type: integer
  3465. buyusername:
  3466. description: 采购方名称
  3467. type: string
  3468. contractno:
  3469. description: 合同编号
  3470. type: string
  3471. contractqty:
  3472. description: 合同量
  3473. type: number
  3474. contracttype:
  3475. description: 现货合同类型 - 1:采购 -1:销售
  3476. type: integer
  3477. deliverygoodscode:
  3478. description: 现货品种代码
  3479. type: string
  3480. deliverygoodsid:
  3481. description: 现货品种id
  3482. type: integer
  3483. deliverygoodsname:
  3484. description: 现货品种名称
  3485. type: string
  3486. detailjson:
  3487. description: 明细数据
  3488. type: string
  3489. enumdicname:
  3490. description: 现货商品单位名称
  3491. type: string
  3492. inoutapplyid:
  3493. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3494. type: string
  3495. inouttype:
  3496. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3497. type: integer
  3498. pricetype:
  3499. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3500. type: integer
  3501. qty:
  3502. description: 数量
  3503. type: number
  3504. sellnickname:
  3505. description: 销售方昵称
  3506. type: string
  3507. selluserid:
  3508. description: 销售方userid
  3509. type: integer
  3510. sellusername:
  3511. description: 销售方名称
  3512. type: string
  3513. spotcontractid:
  3514. description: 关联现货合同ID
  3515. type: string
  3516. spotgoodsbrandid:
  3517. description: 现货品牌ID
  3518. type: integer
  3519. unitid:
  3520. description: 单位id
  3521. type: integer
  3522. userid:
  3523. description: 机构ID
  3524. type: integer
  3525. warehousecode:
  3526. description: 仓库代码
  3527. type: string
  3528. warehouseinfoid:
  3529. description: 现货仓库ID
  3530. type: string
  3531. warehousename:
  3532. description: 仓库名称
  3533. type: string
  3534. warehousetype:
  3535. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3536. type: integer
  3537. wrstandardcode:
  3538. description: 品类代码
  3539. type: string
  3540. wrstandardid:
  3541. description: 品类ID
  3542. type: integer
  3543. wrstandardname:
  3544. description: 品类名称
  3545. type: string
  3546. type: object
  3547. models.Ermcp3AreaStockApplySum:
  3548. properties:
  3549. brandname:
  3550. description: 品牌名称
  3551. type: string
  3552. inouttype:
  3553. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3554. type: integer
  3555. spotcontractid:
  3556. description: 关联现货合同ID
  3557. type: string
  3558. spotgoodsbrandid:
  3559. description: 品牌id
  3560. type: integer
  3561. totalqty:
  3562. description: 总数量
  3563. type: number
  3564. wrstandardid:
  3565. description: 品类id
  3566. type: integer
  3567. wrstandardname:
  3568. description: 品类名称
  3569. type: string
  3570. type: object
  3571. models.Ermcp3AreaStockReportEx:
  3572. properties:
  3573. begindate:
  3574. description: 开始交易日
  3575. type: string
  3576. brandname:
  3577. description: 品牌名称
  3578. type: string
  3579. curstock:
  3580. description: 期末库存量
  3581. type: number
  3582. cycletime:
  3583. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3584. type: string
  3585. cycletype:
  3586. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3587. type: integer
  3588. deliverygoodscode:
  3589. description: 现货品种代码
  3590. type: string
  3591. deliverygoodsid:
  3592. description: 现货品种id
  3593. type: integer
  3594. deliverygoodsname:
  3595. description: 现货品种名称
  3596. type: string
  3597. diffqty:
  3598. description: 库存变化量 = 期末 - 期初
  3599. type: number
  3600. enddate:
  3601. description: 结束交易日
  3602. type: string
  3603. enumdicname:
  3604. description: 单位名称
  3605. type: string
  3606. goodsunitid:
  3607. description: 现货单位id
  3608. type: integer
  3609. oristock:
  3610. description: 期初库存量
  3611. type: number
  3612. reckondate:
  3613. description: 日照时期(yyyyMMdd)
  3614. type: string
  3615. spotgoodsbrandid:
  3616. description: 现货品牌ID
  3617. type: integer
  3618. todaybuyinqty:
  3619. description: 今采购入库量
  3620. type: number
  3621. todayproduceinqty:
  3622. description: 今内部入库量
  3623. type: number
  3624. todayproduceoutqty:
  3625. description: 今内部出库量
  3626. type: number
  3627. todayselloutqty:
  3628. description: 今销售出库量
  3629. type: number
  3630. unbuyinqty:
  3631. description: 采购未入库量(数据库未找到相关字段?)
  3632. type: number
  3633. unitid:
  3634. description: 品类单位id
  3635. type: integer
  3636. unselloutqty:
  3637. description: 销售未出库量(数据库未找到相关字段?)
  3638. type: number
  3639. updatetime:
  3640. description: 更新时间
  3641. type: string
  3642. userid:
  3643. description: 机构ID
  3644. type: integer
  3645. username:
  3646. description: 机构名称
  3647. type: string
  3648. warehousecode:
  3649. description: 仓库代码
  3650. type: string
  3651. warehouseinfoid:
  3652. description: 仓库ID
  3653. type: string
  3654. warehousename:
  3655. description: 仓库名称
  3656. type: string
  3657. warehousetype:
  3658. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3659. type: integer
  3660. wrstandardcode:
  3661. description: 品类代码
  3662. type: string
  3663. wrstandardid:
  3664. description: 品类ID
  3665. type: integer
  3666. wrstandardname:
  3667. description: 品类名称
  3668. type: string
  3669. type: object
  3670. models.Ermcp3ArealSumPL:
  3671. properties:
  3672. accountname:
  3673. description: 机构名称
  3674. type: string
  3675. areauserid:
  3676. description: 所属机构\交易用户ID
  3677. type: integer
  3678. begindate:
  3679. description: 开始交易日
  3680. type: string
  3681. currencyid:
  3682. description: 结算币种ID
  3683. type: integer
  3684. currencyname:
  3685. description: 币种名称
  3686. type: string
  3687. cycletime:
  3688. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3689. type: string
  3690. cycletype:
  3691. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3692. type: integer
  3693. enddate:
  3694. description: 结束交易日
  3695. type: string
  3696. enumdicname:
  3697. description: 单位名称(套保品种)
  3698. type: string
  3699. futureactualpl:
  3700. description: 期货损益
  3701. type: number
  3702. futurefloatpl:
  3703. description: 期货浮动损益
  3704. type: number
  3705. goodsunitid:
  3706. description: 套保品种单位id
  3707. type: integer
  3708. middlegoodscode:
  3709. description: 套保品种代码
  3710. type: string
  3711. middlegoodsid:
  3712. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  3713. type: integer
  3714. middlegoodsname:
  3715. description: 套保品种名称
  3716. type: string
  3717. reckondate:
  3718. description: 日照时期(yyyyMMdd)
  3719. type: string
  3720. spotactualpl:
  3721. description: 现货损益
  3722. type: number
  3723. spotfloatpl:
  3724. description: 现货浮动损益
  3725. type: number
  3726. sumactualpl:
  3727. description: 实际损益 = (ActualPL + FutureActualPL)
  3728. type: number
  3729. sumpl:
  3730. description: 汇总损益
  3731. type: number
  3732. updatetime:
  3733. description: 更新时间
  3734. type: string
  3735. type: object
  3736. models.Ermcp3Brand:
  3737. properties:
  3738. areauserid:
  3739. description: 用户id
  3740. type: integer
  3741. brandid:
  3742. description: 品牌id
  3743. type: integer
  3744. brandname:
  3745. description: 品牌名称
  3746. type: string
  3747. deliverygoodsid:
  3748. description: 品种ID
  3749. type: integer
  3750. type: object
  3751. models.Ermcp3Contract:
  3752. properties:
  3753. accountid:
  3754. description: 期货账户id
  3755. type: string
  3756. amount:
  3757. description: 金额 [1:一口价、3:暂定价]
  3758. type: number
  3759. attachment:
  3760. description: 附件
  3761. type: string
  3762. auditremark:
  3763. description: 审核意见
  3764. type: string
  3765. audittime:
  3766. description: 审核时间
  3767. type: string
  3768. biztype:
  3769. description: 业务类型 1-套保 2-套利
  3770. type: integer
  3771. brandname:
  3772. description: 品牌名称
  3773. type: string
  3774. buynickname:
  3775. description: 销售方昵称
  3776. type: string
  3777. buyuserid:
  3778. description: 采购方ID
  3779. type: integer
  3780. buyusername:
  3781. description: 采购方名称
  3782. type: string
  3783. contracctstatus:
  3784. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3785. type: integer
  3786. contractmargin:
  3787. description: 合同保证金
  3788. type: number
  3789. contractno:
  3790. description: 现货合同编号
  3791. type: string
  3792. contracttype:
  3793. description: 现货合同类型 - 1:采购 -1:销售
  3794. type: integer
  3795. convertfactor:
  3796. description: 标仓系数(品类)
  3797. type: number
  3798. createtime:
  3799. description: 创建时间
  3800. type: string
  3801. currencyid:
  3802. description: 币种id
  3803. type: integer
  3804. currencyname:
  3805. description: 币种名称
  3806. type: string
  3807. deliveryenddate:
  3808. description: 交收期(结束)
  3809. type: string
  3810. deliverygoodscode:
  3811. description: 现货品种代码
  3812. type: string
  3813. deliverygoodsid:
  3814. description: 现货品种ID
  3815. type: integer
  3816. deliverygoodsname:
  3817. description: 现货品种名称
  3818. type: string
  3819. deliverystartdate:
  3820. description: 交收期(开始)
  3821. type: string
  3822. enddate:
  3823. description: 点价结束日期 [2:点价 3:暂定价]
  3824. type: string
  3825. enumdicname:
  3826. description: 单位名称
  3827. type: string
  3828. goodscode:
  3829. description: 点价合约代码
  3830. type: string
  3831. goodsid:
  3832. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3833. type: integer
  3834. goodsname:
  3835. description: 点价商品名称
  3836. type: string
  3837. margin:
  3838. description: 当前保证金
  3839. type: number
  3840. meruserid:
  3841. description: 跟单员id
  3842. type: integer
  3843. meruserlogincode:
  3844. description: 跟单员登录代码
  3845. type: string
  3846. price:
  3847. description: 价格\暂定价 [1:一口价、3:暂定价]
  3848. type: number
  3849. pricemove:
  3850. description: 升贴水 [2:点价 3:暂定价]
  3851. type: number
  3852. pricetype:
  3853. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3854. type: integer
  3855. producttype:
  3856. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3857. type: integer
  3858. qty:
  3859. description: 数量
  3860. type: number
  3861. remark:
  3862. description: 备注
  3863. type: string
  3864. saleuserid:
  3865. description: 业务员id
  3866. type: integer
  3867. saleuserlogincode:
  3868. description: 业务员登录代码
  3869. type: string
  3870. sellnickname:
  3871. description: 采购方昵称
  3872. type: string
  3873. selluserid:
  3874. description: 销售方ID
  3875. type: integer
  3876. sellusername:
  3877. description: 销售方名称
  3878. type: string
  3879. spotcontractid:
  3880. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3881. type: string
  3882. spotgoodsbrandid:
  3883. description: 现货品牌ID(DGFactoryItem表的ID)
  3884. type: integer
  3885. spotgoodsdesc:
  3886. description: 商品型号
  3887. type: string
  3888. startdate:
  3889. description: 点价开始日期 [2:点价 3:暂定价]
  3890. type: string
  3891. tradeuserid:
  3892. description: 交易员id
  3893. type: integer
  3894. tradeuserlogincode:
  3895. description: 交易员登录代码
  3896. type: string
  3897. tradeusername:
  3898. description: 交易员名称
  3899. type: string
  3900. unitid:
  3901. description: 单位id(取品类上的单位id)
  3902. type: integer
  3903. updatetime:
  3904. description: 更新时间
  3905. type: string
  3906. userid:
  3907. description: 所属机构ID
  3908. type: integer
  3909. wrstandardcode:
  3910. description: 品类代码
  3911. type: string
  3912. wrstandardid:
  3913. description: 品类ID
  3914. type: integer
  3915. wrstandardname:
  3916. description: 品类名称
  3917. type: string
  3918. type: object
  3919. models.Ermcp3ExposureContractDetail:
  3920. properties:
  3921. biztype:
  3922. description: 业务类型 1-套保 2-套利
  3923. type: integer
  3924. brandname:
  3925. description: 品牌名称
  3926. type: string
  3927. buyuserid:
  3928. description: 采购方id
  3929. type: integer
  3930. buyusername:
  3931. description: 采购方名称
  3932. type: string
  3933. contractno:
  3934. description: 合同编号
  3935. type: string
  3936. contracttype:
  3937. description: 现货合同类型 - 1:采购 -1:销售
  3938. type: integer
  3939. convertratio:
  3940. description: 折算系数(套保品种)
  3941. type: number
  3942. curqty:
  3943. description: 今定价量
  3944. type: number
  3945. deliverygoodscode:
  3946. description: 现货商品代码
  3947. type: string
  3948. deliverygoodsid:
  3949. description: 现货商品id
  3950. type: integer
  3951. deliverygoodsname:
  3952. description: 现货商品名称
  3953. type: string
  3954. diffqty:
  3955. description: 套保品种今变动量
  3956. type: number
  3957. enumdicname:
  3958. description: 单位名称
  3959. type: string
  3960. middlegoodscode:
  3961. description: 套保品种代码
  3962. type: string
  3963. middlegoodsid:
  3964. description: 套保品种id
  3965. type: integer
  3966. middlegoodsname:
  3967. description: 套保品种名称
  3968. type: string
  3969. needarbitrageratio:
  3970. description: 应套利比例
  3971. type: number
  3972. needhedgeratio:
  3973. description: 应套保比例
  3974. type: number
  3975. pricedqty:
  3976. description: 已定价量
  3977. type: number
  3978. qty:
  3979. description: 合同量
  3980. type: number
  3981. selluserid:
  3982. description: 销售方id
  3983. type: integer
  3984. sellusername:
  3985. description: 销售方名称
  3986. type: string
  3987. spotcontractid:
  3988. description: 合同id
  3989. type: string
  3990. tradedate:
  3991. description: 交易日
  3992. type: string
  3993. unitid:
  3994. description: 品类单位id
  3995. type: integer
  3996. userid:
  3997. description: 机构id
  3998. type: integer
  3999. wrstandardcode:
  4000. description: 品类代码
  4001. type: string
  4002. wrstandardid:
  4003. description: 品类id
  4004. type: integer
  4005. wrstandardname:
  4006. description: 品类名称
  4007. type: string
  4008. type: object
  4009. models.Ermcp3ExposureDetail:
  4010. properties:
  4011. areauserid:
  4012. description: 机构ID
  4013. type: integer
  4014. changeQty:
  4015. description: 套保变动量
  4016. type: number
  4017. contracttype:
  4018. description: 现货合同类型 - 1:采购 -1:销售
  4019. type: integer
  4020. convertfactor:
  4021. description: 标仓系数
  4022. type: number
  4023. convertratio:
  4024. description: 套保系数
  4025. type: number
  4026. createtime:
  4027. description: 时间
  4028. type: string
  4029. deliverygoodscode:
  4030. description: 现货品种代码
  4031. type: string
  4032. deliverygoodsid:
  4033. description: 现货品种id
  4034. type: integer
  4035. deliverygoodsname:
  4036. description: 现货品种名称
  4037. type: string
  4038. enumdicname:
  4039. description: 现货商品单位名称
  4040. type: string
  4041. logtype:
  4042. description: 类型 - 1:套保计划 2:现货合同
  4043. type: integer
  4044. mgunitid:
  4045. description: 套保品种单位id
  4046. type: integer
  4047. mgunitidname:
  4048. description: 套保品种单位名称
  4049. type: string
  4050. middlegoodsId:
  4051. description: 套保商品id
  4052. type: integer
  4053. middlegoodscode:
  4054. description: 套保商品代码
  4055. type: string
  4056. middlegoodsname:
  4057. description: 套保商品名称
  4058. type: string
  4059. qty:
  4060. description: 数量
  4061. type: number
  4062. relateNo:
  4063. description: 现货合同/套保计划编号
  4064. type: string
  4065. type: object
  4066. models.Ermcp3ExposureHedgeplanDetail:
  4067. properties:
  4068. biztype:
  4069. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  4070. type: integer
  4071. changqty:
  4072. description: 应套保总量变化量
  4073. type: number
  4074. contracttype:
  4075. description: 计划类型 - 1:采购 -1:销售
  4076. type: integer
  4077. convertratio:
  4078. description: 折算系数(套保品种)
  4079. type: number
  4080. deliverygoodscode:
  4081. description: 现货商品代码
  4082. type: string
  4083. deliverygoodsid:
  4084. description: 现货商品id
  4085. type: integer
  4086. deliverygoodsname:
  4087. description: 现货商吕名称
  4088. type: string
  4089. dgunitid:
  4090. description: 现货商品单位id
  4091. type: integer
  4092. dgunitidname:
  4093. description: 单位名称(现货商品)
  4094. type: string
  4095. diffqty:
  4096. description: 套保品种今变动量
  4097. type: number
  4098. enumdicname:
  4099. description: 单位名称(品类)
  4100. type: string
  4101. hedgeplanid:
  4102. description: 套保计划id
  4103. type: string
  4104. hedgeplanno:
  4105. description: 套保计划编号
  4106. type: string
  4107. hedgeplanstatus:
  4108. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4109. type: integer
  4110. mgunitidname:
  4111. description: 单位名称(套保商品)
  4112. type: string
  4113. middlegoodscode:
  4114. description: 套保品种代码
  4115. type: string
  4116. middlegoodsid:
  4117. description: 套保品种id
  4118. type: integer
  4119. middlegoodsname:
  4120. description: 套保品种名称
  4121. type: string
  4122. needarbitrageratio:
  4123. description: 应套利比例
  4124. type: number
  4125. needhedgeratio:
  4126. description: 应套保比例
  4127. type: number
  4128. pricedqty:
  4129. description: 已定价量
  4130. type: number
  4131. qty:
  4132. description: 合同量
  4133. type: number
  4134. tradedate:
  4135. description: 交易日(登记日)
  4136. type: string
  4137. unitid:
  4138. description: 品类单位id
  4139. type: integer
  4140. userid:
  4141. description: 机构id
  4142. type: integer
  4143. wrstandardcode:
  4144. description: 品类代码
  4145. type: string
  4146. wrstandardid:
  4147. description: 品类id
  4148. type: integer
  4149. wrstandardname:
  4150. description: 品类名称
  4151. type: string
  4152. type: object
  4153. models.Ermcp3ExpourseReport:
  4154. properties:
  4155. accountid:
  4156. description: 期货账户ID (作废, 默认为0)
  4157. type: integer
  4158. accountname:
  4159. description: 机构名称
  4160. type: string
  4161. arbitrageqty:
  4162. description: 套利量
  4163. type: number
  4164. areauserid:
  4165. description: 所属机构\交易用户ID
  4166. type: integer
  4167. begindate:
  4168. description: 开始交易日
  4169. type: string
  4170. buyfutureqty:
  4171. description: 买入期货数量
  4172. type: number
  4173. buyplanqty:
  4174. description: 采购计划数量
  4175. type: number
  4176. buypricedqty:
  4177. description: 采购合同已定价数量
  4178. type: number
  4179. cycletime:
  4180. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4181. type: string
  4182. cycletype:
  4183. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4184. type: integer
  4185. diffexposure:
  4186. description: 变动量(套保敞口)
  4187. type: number
  4188. difffutuqty:
  4189. description: 变动量(期货)
  4190. type: number
  4191. diffhedgeqty:
  4192. description: 变动量(现货应套保总量)
  4193. type: number
  4194. diffmgqtya:
  4195. description: 套保变动量
  4196. type: number
  4197. diffmgqtyb:
  4198. description: 套利变动量
  4199. type: number
  4200. diffqty:
  4201. description: 变动量(总敞口)
  4202. type: number
  4203. diffspotqty:
  4204. description: 变动量(现货)
  4205. type: number
  4206. enddate:
  4207. description: 结束交易日
  4208. type: string
  4209. enumdicname:
  4210. description: 单位名称
  4211. type: string
  4212. hedgeqty:
  4213. description: 套保量
  4214. type: number
  4215. mgneedhedgeratio:
  4216. description: 套保比例(套保品的)
  4217. type: number
  4218. middlegoodsid:
  4219. description: 套保品种ID
  4220. type: integer
  4221. middlegoodsname:
  4222. description: 套保商品名称
  4223. type: string
  4224. middlgoodscode:
  4225. description: 套保商品代码
  4226. type: string
  4227. needarbitrageqty:
  4228. description: 应套利量
  4229. type: number
  4230. needarbitrageratio:
  4231. description: 套利比例(套保品的)
  4232. type: number
  4233. needhedgeexposoure:
  4234. description: 应套保敞口(套保敞口)
  4235. type: number
  4236. needhedgeqty:
  4237. description: 应套保量
  4238. type: number
  4239. needhedgeratio:
  4240. description: 应套保敞口比例
  4241. type: number
  4242. oriarbitrageqty:
  4243. description: 期初套利量
  4244. type: number
  4245. oribuyfutureqty:
  4246. description: 期初买入期货数量
  4247. type: number
  4248. oribuyplanqty:
  4249. description: 期初采购计划数量
  4250. type: number
  4251. oribuypricedqty:
  4252. description: 期初采购合同已定价数量
  4253. type: number
  4254. orihedgeqty:
  4255. description: 期初套保量
  4256. type: number
  4257. orineedarbitrageqty:
  4258. description: 期初应套利量
  4259. type: number
  4260. orineedhedgeexposoure:
  4261. description: 期初应套保敞口
  4262. type: number
  4263. orineedhedgeqty:
  4264. description: 期初应套保量
  4265. type: number
  4266. orisellfutureqty:
  4267. description: 期初卖出期货数量
  4268. type: number
  4269. orisellplanqty:
  4270. description: 期初销售计划数量
  4271. type: number
  4272. orisellpricedqty:
  4273. description: 期初销售合同已定价数量
  4274. type: number
  4275. oritotalexposure:
  4276. description: 期初实时总敞口
  4277. type: number
  4278. oritotalfutureqty:
  4279. description: 期初期货头寸总量
  4280. type: number
  4281. oritotalneedhedgeqty:
  4282. description: 期初应套保总量
  4283. type: number
  4284. oritotalspotqty:
  4285. description: 期初现货头寸总量
  4286. type: number
  4287. reckondate:
  4288. description: 日照时期(yyyyMMdd)
  4289. type: string
  4290. sellfutureqty:
  4291. description: 卖出期货数量
  4292. type: number
  4293. sellplanqty:
  4294. description: 销售计划数量
  4295. type: number
  4296. sellpricedqty:
  4297. description: 销售合同已定价数量
  4298. type: number
  4299. totalexposure:
  4300. description: 实时总敞口(总敞口)
  4301. type: number
  4302. totalfutureqty:
  4303. description: 期货头寸总量(期货总量)
  4304. type: number
  4305. totalhedgeratio:
  4306. description: 敞口比例
  4307. type: number
  4308. totalneedhedgeqty:
  4309. description: 应套保总量(现货应套保总量)
  4310. type: number
  4311. totalspotqty:
  4312. description: 现货头寸总量
  4313. type: number
  4314. unitid:
  4315. description: 单位id
  4316. type: integer
  4317. updatetime:
  4318. description: 更新时间
  4319. type: string
  4320. type: object
  4321. models.Ermcp3FinanceReport:
  4322. properties:
  4323. accountname:
  4324. description: 机构名称
  4325. type: string
  4326. areauserid:
  4327. description: 所属机构\交易用户ID
  4328. type: integer
  4329. begindate:
  4330. description: 开始交易日
  4331. type: string
  4332. biztype:
  4333. description: 业务类型 - 1:套保 2:套利
  4334. type: integer
  4335. brandname:
  4336. description: 品牌名称
  4337. type: string
  4338. buypreinvoicedamount:
  4339. description: 采购预收票额(预收票额)
  4340. type: number
  4341. buyprepaidamount:
  4342. description: 采购预付款额(预付货款额)
  4343. type: number
  4344. buytodayinvoiceamount:
  4345. description: 采购今收票额(今收票额)
  4346. type: number
  4347. buytodayrefundamount:
  4348. description: 采购今收退款额(今收退款额)
  4349. type: number
  4350. buytodaysettleamount:
  4351. description: 采购今付款额(今付货款额)
  4352. type: number
  4353. buyuninvoicedamount:
  4354. description: 采购应收票额(应收票额)
  4355. type: number
  4356. buyunpaidamount:
  4357. description: 采购应付款额(应付货款额)
  4358. type: number
  4359. currencyid:
  4360. description: 结算币种ID
  4361. type: integer
  4362. currencyname:
  4363. description: 币种名称
  4364. type: string
  4365. cycletime:
  4366. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4367. type: string
  4368. cycletype:
  4369. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4370. type: integer
  4371. deliverygoodscode:
  4372. description: 现货品种代码
  4373. type: string
  4374. deliverygoodsid:
  4375. description: 现货品种ID
  4376. type: integer
  4377. deliverygoodsname:
  4378. description: 现货品种名称
  4379. type: string
  4380. enddate:
  4381. description: 结束交易日
  4382. type: string
  4383. reckondate:
  4384. description: 日照时期(yyyyMMdd)
  4385. type: string
  4386. sellpreinvoicedamount:
  4387. description: 销售预开票额(预开票额)
  4388. type: number
  4389. sellprepaidamount:
  4390. description: 销售预收款额(预收货款额)
  4391. type: number
  4392. selltodayinvoiceamount:
  4393. description: 销售今开票额(今开票额)
  4394. type: number
  4395. selltodayrefundamount:
  4396. description: 销售今付退款额(今付退款额)
  4397. type: number
  4398. selltodaysettleamount:
  4399. description: 销售今收款额(今收货款额)
  4400. type: number
  4401. selluninvoicedamount:
  4402. description: 销售应开票额(应开票额)
  4403. type: number
  4404. sellunpaidamount:
  4405. description: 销售应收款额(应收货款额)
  4406. type: number
  4407. spotgoodsbrandid:
  4408. description: 现货品牌ID
  4409. type: integer
  4410. todaypaysum:
  4411. description: 今付款合计
  4412. type: number
  4413. todayreceivesum:
  4414. description: 今收款合计
  4415. type: number
  4416. updatetime:
  4417. description: 更新时间
  4418. type: string
  4419. wrfactortypeid:
  4420. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4421. type: integer
  4422. wrstandardcode:
  4423. description: 品类代码
  4424. type: string
  4425. wrstandardid:
  4426. description: 现货商品ID
  4427. type: integer
  4428. wrstandardname:
  4429. description: 品类名称
  4430. type: string
  4431. type: object
  4432. models.Ermcp3Goods:
  4433. properties:
  4434. agreeunit:
  4435. description: 合约单位(合约乘数)
  4436. type: number
  4437. enumdicname:
  4438. description: 单位名称
  4439. type: string
  4440. exexchangecode:
  4441. description: 交易所代码
  4442. type: string
  4443. goodscode:
  4444. description: 期货商品代码
  4445. type: string
  4446. goodsid:
  4447. description: 期货商品id
  4448. type: integer
  4449. goodsname:
  4450. description: 期货商品名称
  4451. type: string
  4452. type: object
  4453. models.Ermcp3GoodsGroup:
  4454. properties:
  4455. agreeunit:
  4456. description: 合约单位
  4457. type: number
  4458. areauserid:
  4459. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  4460. type: integer
  4461. canshort:
  4462. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  4463. type: integer
  4464. closepricemode:
  4465. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4466. type: integer
  4467. createtime:
  4468. description: 创建时间
  4469. type: string
  4470. creatorid:
  4471. description: 创建人
  4472. type: integer
  4473. currencyid:
  4474. description: 报价货币ID
  4475. type: integer
  4476. decimalplace:
  4477. description: 报价小数位
  4478. type: integer
  4479. enumdicname:
  4480. description: 单位名称
  4481. type: string
  4482. excludecfg:
  4483. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  4484. type: integer
  4485. exexchangeid:
  4486. description: 外部交易所ID[通道交易]
  4487. type: integer
  4488. goodsgroupid:
  4489. description: 商品组ID(自增ID)
  4490. type: integer
  4491. goodsgroupname:
  4492. description: 商品组名称
  4493. type: string
  4494. goodsgroupstatus:
  4495. description: 商品组状态 - 1:正常 2:注销
  4496. type: integer
  4497. goodunitid:
  4498. description: 报价单位ID
  4499. type: integer
  4500. groupcategroyid:
  4501. description: 品种分类ID
  4502. type: integer
  4503. innerdealmode:
  4504. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4505. type: integer
  4506. marketid:
  4507. description: 所属市场ID
  4508. type: integer
  4509. modifierid:
  4510. description: 修改人
  4511. type: integer
  4512. modifytime:
  4513. description: 修改时间
  4514. type: string
  4515. outerdealmode:
  4516. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4517. type: integer
  4518. outergroupcode:
  4519. description: 外部商品组代码[通道交易]
  4520. type: string
  4521. quoteminunit:
  4522. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4523. type: integer
  4524. quotesourcegroupid:
  4525. description: 所属行情源分组ID[参考行情市场用\通道交易]
  4526. type: integer
  4527. syncgoodsqty:
  4528. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  4529. type: integer
  4530. required:
  4531. - areauserid
  4532. type: object
  4533. models.Ermcp3GoodsGroupEx:
  4534. properties:
  4535. convertratio:
  4536. description: 折算系数(品种系数)
  4537. type: number
  4538. enumdicname:
  4539. description: 单位名称
  4540. type: string
  4541. exexchangecode:
  4542. description: 交易所代码
  4543. type: string
  4544. glist:
  4545. description: 合约列表
  4546. items:
  4547. $ref: '#/definitions/models.Ermcp3Goods'
  4548. type: array
  4549. goodsgroupid:
  4550. description: 商品组id
  4551. type: integer
  4552. goodsgroupname:
  4553. description: 商品组名称
  4554. type: string
  4555. goodsunitid:
  4556. description: 单位id
  4557. type: integer
  4558. middlegoodsid:
  4559. description: 套保商品id
  4560. type: integer
  4561. type: object
  4562. models.Ermcp3HedgePlan:
  4563. properties:
  4564. accountid:
  4565. description: 资金账号
  4566. type: integer
  4567. areauserid:
  4568. description: 用户ID
  4569. type: integer
  4570. audittime:
  4571. description: 审核时间
  4572. type: string
  4573. contracttype:
  4574. description: 计划类型 - 1:采购 -1:销售
  4575. type: integer
  4576. convertfactor:
  4577. description: 标仓系数
  4578. type: number
  4579. createtime:
  4580. description: 创建时间
  4581. type: string
  4582. currencyid:
  4583. description: 币种id
  4584. type: integer
  4585. currencyname:
  4586. description: 币种名称
  4587. type: string
  4588. deliverygoodscode:
  4589. description: 现货品种代码
  4590. type: string
  4591. deliverygoodsid:
  4592. description: 现货品种ID
  4593. type: integer
  4594. deliverygoodsname:
  4595. description: 现货品种名称
  4596. type: string
  4597. enumdicname:
  4598. description: 单位名称(现货商品)
  4599. type: string
  4600. hedgeplanid:
  4601. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  4602. type: string
  4603. hedgeplanno:
  4604. description: 套保计划编号(名称)
  4605. type: string
  4606. hedgeplanstatus:
  4607. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4608. type: integer
  4609. planqty:
  4610. description: 计划数量
  4611. type: number
  4612. plantime:
  4613. description: 计划时间
  4614. type: string
  4615. producttype:
  4616. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4617. type: integer
  4618. remark:
  4619. description: 备注
  4620. type: string
  4621. spotgoodsdesc:
  4622. description: 商品型号
  4623. type: string
  4624. taaccountname:
  4625. description: 资金账号名称
  4626. type: string
  4627. tradeuserid:
  4628. description: 交易用户id
  4629. type: integer
  4630. tradeusername:
  4631. description: 交易用户名称
  4632. type: string
  4633. unitid:
  4634. description: 单位id(现货商品)
  4635. type: integer
  4636. updatetime:
  4637. description: 更新时间
  4638. type: string
  4639. wrstandardcode:
  4640. description: 品类代码
  4641. type: string
  4642. wrstandardid:
  4643. description: 品类id
  4644. type: integer
  4645. wrstandardname:
  4646. description: 品类名称
  4647. type: string
  4648. wrunitid:
  4649. description: 品类单位id
  4650. type: integer
  4651. wrunitidame:
  4652. description: 品类单位名称
  4653. type: string
  4654. type: object
  4655. models.Ermcp3MiddleGoodsDetail2:
  4656. properties:
  4657. convertratio:
  4658. description: 套保系数(折算系数)
  4659. type: number
  4660. gplist:
  4661. description: 关联商品组列表
  4662. items:
  4663. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4664. type: array
  4665. mg:
  4666. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4667. description: 套保商品信息
  4668. type: object
  4669. type: object
  4670. models.Ermcp3MiddleGoodsDetailEx:
  4671. properties:
  4672. dglist:
  4673. description: 关联的现货品种列表
  4674. items:
  4675. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  4676. type: array
  4677. gplist:
  4678. description: 关联商品组列表
  4679. items:
  4680. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4681. type: array
  4682. mg:
  4683. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4684. description: 套保商品信息
  4685. type: object
  4686. type: object
  4687. models.Ermcp3SellBuyContract:
  4688. properties:
  4689. accountid:
  4690. description: 期货账户id
  4691. type: string
  4692. accountname:
  4693. description: 账户名称
  4694. type: string
  4695. attachment:
  4696. description: 附件
  4697. type: string
  4698. audittime:
  4699. description: 审核时间
  4700. type: string
  4701. biztype:
  4702. description: 业务类型 1-套保 2-套利
  4703. type: integer
  4704. brandname:
  4705. description: 品牌名称
  4706. type: string
  4707. contracctstatus:
  4708. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4709. type: integer
  4710. contractmargin:
  4711. description: 合同保证金
  4712. type: number
  4713. contractno:
  4714. description: 合同编号
  4715. type: string
  4716. contracttype:
  4717. description: 合同类型 1-采购, -1-销售
  4718. type: integer
  4719. convertfactor:
  4720. description: 标仓系数(品类)
  4721. type: number
  4722. createtime:
  4723. description: 创建时间
  4724. type: string
  4725. currencyid:
  4726. description: 币种id
  4727. type: integer
  4728. currencyname:
  4729. description: 币种名称
  4730. type: string
  4731. daikaiamount:
  4732. description: 应收(开)票额
  4733. type: number
  4734. deliveryenddate:
  4735. description: 交割结束日
  4736. type: string
  4737. deliverygoodscode:
  4738. description: 现货品种代码
  4739. type: string
  4740. deliverygoodsid:
  4741. description: 现货商品ID
  4742. type: integer
  4743. deliverygoodsname:
  4744. description: 现货品种名称
  4745. type: string
  4746. deliverystartdate:
  4747. description: 交割开始日
  4748. type: string
  4749. enddate:
  4750. description: 点价结束日
  4751. type: string
  4752. enumdicname:
  4753. description: 单位名称
  4754. type: string
  4755. goodscode:
  4756. description: 点价商品代码
  4757. type: string
  4758. goodsid:
  4759. description: 点价商品ID
  4760. type: integer
  4761. goodsname:
  4762. description: 点价商品名称
  4763. type: string
  4764. invoiceamount:
  4765. description: 已开票额
  4766. type: number
  4767. loanamount:
  4768. description: 贷款总额=已定价额+调整金额
  4769. type: number
  4770. margin:
  4771. description: 保证金
  4772. type: number
  4773. meruserid:
  4774. description: 跟单员id
  4775. type: integer
  4776. meruserlogincode:
  4777. description: 跟单员登录代码
  4778. type: string
  4779. nickname:
  4780. description: 账户昵称
  4781. type: string
  4782. payamount:
  4783. description: 已收付额(收款或付款)
  4784. type: number
  4785. preinvoiceamount:
  4786. description: 预收(开)票额
  4787. type: number
  4788. prepayamount:
  4789. description: 预收付额
  4790. type: number
  4791. price:
  4792. description: 价格
  4793. type: number
  4794. pricedamount:
  4795. description: 已定价额
  4796. type: number
  4797. pricedavg:
  4798. description: 已点均价
  4799. type: number
  4800. pricedqty:
  4801. description: 已定价量
  4802. type: number
  4803. pricemove:
  4804. description: 升贴水
  4805. type: number
  4806. pricetype:
  4807. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4808. type: integer
  4809. producttype:
  4810. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4811. type: integer
  4812. qty:
  4813. description: 合同量
  4814. type: number
  4815. reckonadjustamount:
  4816. description: 调整金额
  4817. type: number
  4818. reckonedamount:
  4819. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  4820. type: number
  4821. reckonotheramount:
  4822. description: 其它费用
  4823. type: number
  4824. reckonrealqty:
  4825. description: 已确定量
  4826. type: number
  4827. remark:
  4828. description: 备注
  4829. type: string
  4830. saleuserid:
  4831. description: 业务员id
  4832. type: integer
  4833. saleuserlogincode:
  4834. description: 业务员登录代码
  4835. type: string
  4836. spotcontractid:
  4837. description: 合同ID
  4838. type: string
  4839. spotgoodsbrandid:
  4840. description: 现货品牌ID(DGFactoryItem表的ID)
  4841. type: integer
  4842. spotgoodsdesc:
  4843. description: 商品型号(商品规格)
  4844. type: string
  4845. startdate:
  4846. description: 点价开始日
  4847. type: string
  4848. totalamount:
  4849. description: 合计总额
  4850. type: number
  4851. tradeuserid:
  4852. description: 交易员id
  4853. type: integer
  4854. tradeuserlogincode:
  4855. description: 交易员登录代码
  4856. type: string
  4857. tradeusername:
  4858. description: 交易员名称
  4859. type: string
  4860. unpayamount:
  4861. description: 应收付款额(应支付或应收款)
  4862. type: number
  4863. unpricedqty:
  4864. description: 未定价量
  4865. type: number
  4866. unsureqty:
  4867. description: 未确定量
  4868. type: number
  4869. userid:
  4870. description: 机构ID
  4871. type: integer
  4872. wrstandardcode:
  4873. description: 品类代码
  4874. type: string
  4875. wrstandardid:
  4876. description: 品类ID
  4877. type: integer
  4878. wrstandardname:
  4879. description: 品类名称
  4880. type: string
  4881. type: object
  4882. models.Ermcp3SpotGoodsPrice:
  4883. properties:
  4884. areauserid:
  4885. description: 所属机构id
  4886. type: integer
  4887. brandname:
  4888. description: 品牌名称
  4889. type: string
  4890. currencyid:
  4891. description: 报价货币ID
  4892. type: integer
  4893. currencyname:
  4894. description: 币种名称
  4895. type: string
  4896. deliverygoodscode:
  4897. description: 现货商品代码
  4898. type: string
  4899. deliverygoodsid:
  4900. description: 现货商品id
  4901. type: integer
  4902. deliverygoodsname:
  4903. description: 现货商品名称
  4904. type: string
  4905. enumdicname:
  4906. description: 现货商品单位名称
  4907. type: string
  4908. gbenumdicname:
  4909. description: 品类单位名称
  4910. type: string
  4911. gmunitid:
  4912. description: 品类单位id
  4913. type: integer
  4914. isvalid:
  4915. description: 是否有效 - 0:无效 1:有效
  4916. type: integer
  4917. operateid:
  4918. description: 最后操作人
  4919. type: integer
  4920. operatesrc:
  4921. description: 最后操作来源 - 1:管理端 2:终端
  4922. type: integer
  4923. operatetime:
  4924. description: 最后操作时间
  4925. type: string
  4926. operatorname:
  4927. description: 操作人名称
  4928. type: string
  4929. spotgoodsbrandid:
  4930. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  4931. type: integer
  4932. spotgoodsprice:
  4933. description: 现货价格
  4934. type: number
  4935. tradedate:
  4936. description: 交易日(yyyyMMdd)
  4937. type: string
  4938. unitid:
  4939. description: 现货商品单位id
  4940. type: integer
  4941. wrstandardcode:
  4942. description: 品类代码
  4943. type: string
  4944. wrstandardid:
  4945. description: 现货品类ID(通用则为0)
  4946. type: integer
  4947. wrstandardname:
  4948. description: 品类名称
  4949. type: string
  4950. type: object
  4951. models.Ermcp3SpotGoodsPriceLog:
  4952. properties:
  4953. areauserid:
  4954. description: 所属机构id
  4955. type: integer
  4956. brandname:
  4957. description: 品牌名称
  4958. type: string
  4959. currencyid:
  4960. description: 报价货币ID
  4961. type: integer
  4962. deliverygoodscode:
  4963. description: 现货商品代码
  4964. type: string
  4965. deliverygoodsid:
  4966. description: 现货商品id
  4967. type: integer
  4968. deliverygoodsname:
  4969. description: 现货商品名称
  4970. type: string
  4971. enumdicname:
  4972. description: 现货商品单位名称
  4973. type: string
  4974. gbenumdicname:
  4975. description: 品类单位名称
  4976. type: string
  4977. gmunitid:
  4978. description: 品类单位id
  4979. type: integer
  4980. logid:
  4981. description: 日志id
  4982. type: integer
  4983. operateid:
  4984. description: 最后操作人
  4985. type: integer
  4986. operatesrc:
  4987. description: 最后操作来源 - 1:管理端 2:终端
  4988. type: integer
  4989. operatetime:
  4990. description: 最后操作时间
  4991. type: string
  4992. operatorname:
  4993. description: 操作人名称
  4994. type: string
  4995. spotgoodsbrandid:
  4996. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  4997. type: integer
  4998. spotgoodsprice:
  4999. description: 现货价格
  5000. type: number
  5001. tradedate:
  5002. description: 交易日(yyyyMMdd)
  5003. type: string
  5004. unitid:
  5005. description: 现货商品单位id
  5006. type: integer
  5007. wrstandardcode:
  5008. description: 品类代码
  5009. type: string
  5010. wrstandardid:
  5011. description: 现货品类ID(通用则为0)
  5012. type: integer
  5013. wrstandardname:
  5014. description: 品类名称
  5015. type: string
  5016. type: object
  5017. models.Ermcp3Wrstandard:
  5018. properties:
  5019. areauserid:
  5020. description: 所属机构
  5021. type: integer
  5022. convertfactor:
  5023. description: 标仓系数
  5024. type: number
  5025. createtime:
  5026. description: 创建时间
  5027. type: string
  5028. creatorid:
  5029. description: 创建人
  5030. type: integer
  5031. deliverygoodsid:
  5032. description: 现货品种ID
  5033. type: integer
  5034. enumdicname:
  5035. description: 品类单位名称
  5036. type: string
  5037. isvalid:
  5038. description: 是否有效 0-无效(停用) 1-有效(正常)
  5039. type: integer
  5040. minivalue:
  5041. description: 最小变动值
  5042. type: integer
  5043. minivaluedp:
  5044. description: 最小变动值小数位
  5045. type: integer
  5046. realminivalue:
  5047. description: 实际最小变动值
  5048. type: integer
  5049. realminivaluedp:
  5050. description: 实际最小变动值小数位
  5051. type: integer
  5052. remark:
  5053. description: 备注
  5054. type: string
  5055. unitid:
  5056. description: 品类单位ID
  5057. type: integer
  5058. updatetime:
  5059. description: 更新时间
  5060. type: string
  5061. wrstandardcode:
  5062. description: 品类代码
  5063. type: string
  5064. wrstandardid:
  5065. description: 品类ID(SEQ_WRSTANDARD)
  5066. type: integer
  5067. wrstandardname:
  5068. description: 品类名称
  5069. type: string
  5070. type: object
  5071. models.ErmcpAreaSpotDetailModel:
  5072. properties:
  5073. contracttype:
  5074. description: 合同类型 1-采购 -1-销售
  5075. type: integer
  5076. createtime:
  5077. description: 创建时间
  5078. type: string
  5079. enumdicname:
  5080. description: 现货商品单位名称
  5081. type: string
  5082. logtype:
  5083. description: 记录类型 1-套保 2-现货合同
  5084. type: integer
  5085. qty:
  5086. description: 数量
  5087. type: number
  5088. recordname:
  5089. description: 类型名称
  5090. type: string
  5091. relatedid:
  5092. description: 套保计划ID/现货合同ID
  5093. type: string
  5094. relatedno:
  5095. description: 编号
  5096. type: string
  5097. strtime:
  5098. description: 时间
  5099. type: string
  5100. wrstandardcode:
  5101. description: 现货商品代码
  5102. type: string
  5103. wrstandardname:
  5104. description: 现货商品名称
  5105. type: string
  5106. type: object
  5107. models.ErmcpAvalidGoodsGroupModel:
  5108. properties:
  5109. goodsgroupid:
  5110. description: 期货品种id
  5111. type: integer
  5112. goodsgroupname:
  5113. description: 期货品种名称
  5114. type: string
  5115. goodunitid:
  5116. description: 品种单位id
  5117. type: integer
  5118. goodunitname:
  5119. description: 品种单位名称
  5120. type: string
  5121. outergroupcode:
  5122. description: 期货品种代码
  5123. type: string
  5124. type: object
  5125. models.ErmcpBizGroupEx:
  5126. properties:
  5127. acclist:
  5128. description: 账号列表
  5129. items:
  5130. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5131. type: array
  5132. bizgroupid:
  5133. description: 业务分组id
  5134. type: integer
  5135. biztype:
  5136. description: 业务类型 1-套保 2-套利
  5137. type: integer
  5138. wrlist:
  5139. description: 现货商品表
  5140. items:
  5141. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5142. type: array
  5143. type: object
  5144. models.ErmcpBizGroupSpotGoods:
  5145. properties:
  5146. areauserid:
  5147. description: 所属机构id
  5148. type: integer
  5149. bizgroupid:
  5150. description: 分组id
  5151. type: integer
  5152. biztype:
  5153. description: 业务类型 1-套保 2-套利
  5154. type: integer
  5155. deliverygoodscode:
  5156. description: 现货商品代码
  5157. type: string
  5158. deliverygoodsid:
  5159. description: 现货商品id
  5160. type: integer
  5161. deliverygoodsname:
  5162. description: 现货商品名称
  5163. type: string
  5164. unitid:
  5165. description: 现货商品单位id
  5166. type: integer
  5167. type: object
  5168. models.ErmcpBizGroupTaAccount:
  5169. properties:
  5170. accountid:
  5171. description: 账号id
  5172. type: integer
  5173. accountname:
  5174. description: 账号名称
  5175. type: string
  5176. areauserid:
  5177. description: 所属机构id
  5178. type: integer
  5179. bizgroupid:
  5180. description: 业务分组id
  5181. type: integer
  5182. ismain:
  5183. description: 是否主账号 1-是 0-否
  5184. type: integer
  5185. type: object
  5186. models.ErmcpDGFactoryItem:
  5187. properties:
  5188. areauserid:
  5189. description: 用户id
  5190. type: integer
  5191. deliverygoodsid:
  5192. description: 现货品种ID
  5193. type: integer
  5194. dgfactoryitemid:
  5195. description: 选择项ID(SEQ_DGFACTORYITEM)
  5196. type: integer
  5197. dgfactoryitemtypeid:
  5198. description: 要素项类型
  5199. type: integer
  5200. dgfactoryitemvalue:
  5201. description: 要素项值(类型为仓库时填写仓库名称)
  5202. type: string
  5203. isvalid:
  5204. description: 是否有效 - 0:无效 1:有效
  5205. type: integer
  5206. orderindex:
  5207. description: 顺序
  5208. type: integer
  5209. warehouseid:
  5210. description: 仓库ID(类型为仓库时填写)
  5211. type: integer
  5212. type: object
  5213. models.ErmcpDeliveryGoods:
  5214. properties:
  5215. agreeunit:
  5216. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5217. type: integer
  5218. areauserid:
  5219. description: 所属机构
  5220. type: integer
  5221. auditflag:
  5222. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5223. type: integer
  5224. categoryid:
  5225. description: 类别ID(SEQ_WRCATEGORY)
  5226. type: integer
  5227. deliverygoodscode:
  5228. description: 现货品种代码
  5229. type: string
  5230. deliverygoodsid:
  5231. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5232. type: integer
  5233. deliverygoodsname:
  5234. description: 现货品种名称
  5235. type: string
  5236. deliverygoodstype:
  5237. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5238. type: integer
  5239. dgstatus:
  5240. description: 品种状态 - 作废 - 0:未激活 1:正常
  5241. type: integer
  5242. enumdicname:
  5243. description: 现货品种单位名称
  5244. type: string
  5245. goodsunitid:
  5246. description: 现货品种单位ID
  5247. type: integer
  5248. isvalid:
  5249. description: 是否有效 - 0:无效 1:有效
  5250. type: integer
  5251. qtydecimalplace:
  5252. description: 成交量小数位
  5253. type: integer
  5254. remark:
  5255. description: 备注
  5256. type: string
  5257. standardqty:
  5258. description: 标准数量(库位数量) [标准品特有]
  5259. type: integer
  5260. standardqtyrange:
  5261. description: 标准数量偏差范围 [标准品特有]
  5262. type: integer
  5263. type: object
  5264. models.ErmcpDeliveryGoodsDetail2:
  5265. properties:
  5266. convertratio:
  5267. description: 套保系数(折算系数)
  5268. type: number
  5269. data:
  5270. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5271. description: 现货商品基本信息(交割品种)
  5272. type: object
  5273. gblist:
  5274. description: 品牌列表
  5275. items:
  5276. $ref: '#/definitions/models.Ermcp3Brand'
  5277. type: array
  5278. gmlist:
  5279. description: 品类列表(仓单标准)
  5280. items:
  5281. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5282. type: array
  5283. type: object
  5284. models.ErmcpDeliveryGoodsDetailEx:
  5285. properties:
  5286. data:
  5287. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5288. description: 现货商品基本信息(交割品种)
  5289. type: object
  5290. gblist:
  5291. description: 品牌列表
  5292. items:
  5293. $ref: '#/definitions/models.Ermcp3Brand'
  5294. type: array
  5295. gmlist:
  5296. description: 品类列表(仓单标准)
  5297. items:
  5298. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5299. type: array
  5300. mgList:
  5301. description: 套保列表
  5302. items:
  5303. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5304. type: array
  5305. type: object
  5306. models.ErmcpExposureDetailModel:
  5307. properties:
  5308. areauserid:
  5309. description: 机构ID
  5310. type: integer
  5311. changeQty:
  5312. description: 套保变动量
  5313. type: number
  5314. contracttype:
  5315. description: 现货合同类型 - 1:采购 -1:销售
  5316. type: integer
  5317. convertfactor:
  5318. description: 标仓系数
  5319. type: number
  5320. convertratio:
  5321. description: 套保系数
  5322. type: number
  5323. createtime:
  5324. description: 时间
  5325. type: string
  5326. enumdicname:
  5327. description: 现货商品单位名称
  5328. type: string
  5329. logtype:
  5330. description: 类型 - 1:套保计划 2:现货合同
  5331. type: integer
  5332. middlegoodsId:
  5333. description: 套保商品id
  5334. type: integer
  5335. middlegoodscode:
  5336. description: 套保商品代码
  5337. type: string
  5338. middlegoodsname:
  5339. description: 套保商品名称
  5340. type: string
  5341. qty:
  5342. description: 数量
  5343. type: number
  5344. relateNo:
  5345. description: 现货合同/套保计划编号
  5346. type: string
  5347. wrstandardcode:
  5348. description: 现货商品代码
  5349. type: string
  5350. wrstandardid:
  5351. description: 现货商品ID
  5352. type: integer
  5353. wrstandardname:
  5354. description: 现货商品名称
  5355. type: string
  5356. type: object
  5357. models.ErmcpExposurePostion:
  5358. properties:
  5359. agreeunit:
  5360. description: 合约单位
  5361. type: string
  5362. areauserid:
  5363. description: 所属机构id
  5364. type: integer
  5365. convertratio:
  5366. description: 期货品种系数(折算系数)
  5367. type: number
  5368. curqty:
  5369. description: 当前持仓
  5370. type: integer
  5371. diffhedgeqty:
  5372. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5373. type: number
  5374. diffqty:
  5375. description: 持仓变动量=当前持仓-昨日持仓
  5376. type: integer
  5377. goodscode:
  5378. description: 商品代码
  5379. type: string
  5380. goodsid:
  5381. description: 商品id
  5382. type: integer
  5383. goodsname:
  5384. description: 商品名称
  5385. type: string
  5386. middlegoodsid:
  5387. description: 套保商品id
  5388. type: integer
  5389. ydqty:
  5390. description: 昨日持仓
  5391. type: integer
  5392. type: object
  5393. models.ErmcpFuturesCompany:
  5394. properties:
  5395. brokerid:
  5396. description: 经纪公司代码
  5397. type: string
  5398. channeladdress:
  5399. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5400. type: string
  5401. channelid:
  5402. description: 对冲渠道ID
  5403. type: string
  5404. createtime:
  5405. description: 创建时间
  5406. type: string
  5407. creatorid:
  5408. description: 创建人
  5409. type: string
  5410. fcid:
  5411. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5412. type: integer
  5413. fcname:
  5414. description: 期货公司名称
  5415. type: string
  5416. isvalid:
  5417. description: 是否有效 - 0:无效 1:有效
  5418. type: integer
  5419. mhpaddress:
  5420. description: MHP服务地址(IP:Port)
  5421. type: string
  5422. riskrulegroupid:
  5423. description: 风控规则组ID
  5424. type: string
  5425. tradefeetmpid:
  5426. description: 手续费模板ID[TradeConfigTmpType为2]
  5427. type: string
  5428. trademargintmpid:
  5429. description: 保证金模板ID [TradeConfigTmpType为1]
  5430. type: string
  5431. traderatetmpid:
  5432. description: 汇率模板ID[TradeConfigTmpType为3]
  5433. type: string
  5434. updatetime:
  5435. description: 更新时间
  5436. type: string
  5437. updatorid:
  5438. description: 更新人
  5439. type: string
  5440. type: object
  5441. models.ErmcpGGConvertCfg:
  5442. properties:
  5443. convertratio:
  5444. description: 折算系数
  5445. type: number
  5446. destgoodsgroupid:
  5447. description: 目标品种ID
  5448. type: integer
  5449. dstcode:
  5450. description: 目录品种代码
  5451. type: string
  5452. dstexchangecode:
  5453. description: 目标期货交易所
  5454. type: string
  5455. dstname:
  5456. description: 目标品种名称
  5457. type: string
  5458. dstunitid:
  5459. description: 目标品种单位ID
  5460. type: integer
  5461. dstunitidname:
  5462. description: 目标品种单位名称
  5463. type: string
  5464. modifytime:
  5465. description: 修改时间
  5466. type: string
  5467. srccode:
  5468. description: 源品种代码
  5469. type: string
  5470. srcexchangecode:
  5471. description: 源期货交易所
  5472. type: string
  5473. srcgoodsgroupid:
  5474. description: 源品种ID
  5475. type: integer
  5476. srcname:
  5477. description: 源品种名称
  5478. type: string
  5479. srcunitid:
  5480. description: 源品种单位ID
  5481. type: integer
  5482. srcunitidname:
  5483. description: 源品种单位名称
  5484. type: string
  5485. type: object
  5486. models.ErmcpGoodsBrand:
  5487. properties:
  5488. areauserid:
  5489. description: 所属机构
  5490. type: integer
  5491. brandid:
  5492. description: BrandID(SEQ_SPOTGOODSBRAND)
  5493. type: integer
  5494. brandname:
  5495. description: 品牌名称
  5496. type: string
  5497. createtime:
  5498. description: 创建时间
  5499. type: string
  5500. creatorid:
  5501. description: 创建人
  5502. type: integer
  5503. creatorsrc:
  5504. description: 创建人来源 - 1:管理端 2:终端
  5505. type: integer
  5506. deliverygoodsid:
  5507. description: 现货品种ID
  5508. type: integer
  5509. isvalid:
  5510. description: 是否有效 - 0:无效 1:有效
  5511. type: integer
  5512. updatetime:
  5513. description: 更新时间
  5514. type: string
  5515. updatorid:
  5516. description: 更新人
  5517. type: integer
  5518. updatorsrc:
  5519. description: 更新人来源 - 1:管理端 2:终端
  5520. type: integer
  5521. wrstandardid:
  5522. description: 现货商品ID
  5523. type: integer
  5524. type: object
  5525. models.ErmcpGoodsModel:
  5526. properties:
  5527. areauserid:
  5528. description: 所属机构
  5529. type: integer
  5530. convertfactor:
  5531. description: 标仓系数
  5532. type: number
  5533. createtime:
  5534. description: 创建时间
  5535. type: string
  5536. creatorid:
  5537. description: 创建人
  5538. type: integer
  5539. creatorsrc:
  5540. description: 创建人来源 - 1:管理端 2:终端
  5541. type: integer
  5542. deliverygoodsid:
  5543. description: 现货品种ID
  5544. type: integer
  5545. isvalid:
  5546. description: 是否有效 - 0:无效 1:有效
  5547. type: integer
  5548. modelid:
  5549. description: ModelID(SEQ_SPOTGOODSMODEL)
  5550. type: integer
  5551. modelname:
  5552. description: 型号名称
  5553. type: string
  5554. updatetime:
  5555. description: 更新时间
  5556. type: string
  5557. updatorid:
  5558. description: 更新人
  5559. type: integer
  5560. updatorsrc:
  5561. description: 更新人来源 - 1:管理端 2:终端
  5562. type: integer
  5563. wrstandardid:
  5564. description: 现货商品ID
  5565. type: integer
  5566. type: object
  5567. models.ErmcpHedgePosition:
  5568. properties:
  5569. accountid:
  5570. description: 资金账号[外部母账户]
  5571. type: integer
  5572. curbuyposition:
  5573. description: 期末买头寸
  5574. type: integer
  5575. cursellposition:
  5576. description: 期末卖头寸
  5577. type: integer
  5578. curtdbuyposition:
  5579. description: 期末今日买头寸
  5580. type: integer
  5581. curtdsellposition:
  5582. description: 期末今日卖头寸
  5583. type: integer
  5584. curydbuyposition:
  5585. description: 期末上日买头寸
  5586. type: integer
  5587. curydsellposition:
  5588. description: 期末上日卖头寸
  5589. type: integer
  5590. decreaseqty:
  5591. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  5592. type: integer
  5593. fretdbuyposition:
  5594. description: 冻结今日买头寸
  5595. type: integer
  5596. fretdsellposition:
  5597. description: 冻结今日卖头寸
  5598. type: integer
  5599. freydbuyposition:
  5600. description: 冻结上日买头寸
  5601. type: integer
  5602. freydsellposition:
  5603. description: 冻结上日卖头寸
  5604. type: integer
  5605. goodscode:
  5606. description: 商品代码
  5607. type: string
  5608. goodsid:
  5609. description: 商品id
  5610. type: integer
  5611. goodsname:
  5612. description: 商品名称
  5613. type: string
  5614. hedgeaccountcode:
  5615. description: 对冲账号
  5616. type: string
  5617. hedgegoodsid:
  5618. description: 对冲合约ID
  5619. type: integer
  5620. increaseqty:
  5621. description: 增加数量 = 期末买头寸 - 期初买头寸
  5622. type: integer
  5623. marketid:
  5624. description: 市场ID
  5625. type: integer
  5626. relateduserid:
  5627. description: 关联用户id
  5628. type: integer
  5629. totalcurqty:
  5630. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  5631. type: integer
  5632. totalydqty:
  5633. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  5634. type: integer
  5635. tradedate:
  5636. description: 交易日(yyyyMMdd)
  5637. type: string
  5638. ydbuyposition:
  5639. description: 期初买头寸
  5640. type: integer
  5641. ydsellposition:
  5642. description: 期初卖头寸
  5643. type: integer
  5644. type: object
  5645. models.ErmcpHedgePositionDetail:
  5646. properties:
  5647. buyorsell:
  5648. description: 买卖方向 0-买 1-卖
  5649. type: integer
  5650. channelbuildtype:
  5651. description: 开平方向 1-建仓 2-平仓
  5652. type: integer
  5653. goodscode:
  5654. description: 商品代码
  5655. type: string
  5656. goodsname:
  5657. description: 商品名称
  5658. type: string
  5659. hedgegoodsid:
  5660. description: 商品id
  5661. type: integer
  5662. tradeqty:
  5663. description: 数量(成交数量)
  5664. type: integer
  5665. tradetime:
  5666. description: 时间(成交时间)
  5667. type: string
  5668. type: object
  5669. models.ErmcpHisExposure:
  5670. properties:
  5671. needhedgeexposoure:
  5672. description: 应套保敞口
  5673. type: number
  5674. reckondate:
  5675. description: 日照时期(yyyyMMdd)
  5676. type: string
  5677. totalexposure:
  5678. description: 总敞口
  5679. type: number
  5680. type: object
  5681. models.ErmcpHisExposureS:
  5682. properties:
  5683. data:
  5684. description: 历史敞口
  5685. items:
  5686. $ref: '#/definitions/models.ErmcpHisExposure'
  5687. type: array
  5688. enumdicname:
  5689. description: 单位名称
  5690. type: string
  5691. middlegoodscode:
  5692. description: 套保品种代码
  5693. type: string
  5694. middlegoodsid:
  5695. description: 套保品种ID
  5696. type: integer
  5697. middlegoodsname:
  5698. description: 套保品种名称
  5699. type: string
  5700. type: object
  5701. models.ErmcpLoginTaAccount:
  5702. properties:
  5703. accountid:
  5704. description: 账号id
  5705. type: integer
  5706. accountname:
  5707. description: 账号名称
  5708. type: string
  5709. type: object
  5710. models.ErmcpLoginUser:
  5711. properties:
  5712. acclist:
  5713. description: 关联资金账号
  5714. items:
  5715. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  5716. type: array
  5717. accountname:
  5718. description: 用户名称
  5719. type: string
  5720. clientroleid:
  5721. description: 角色id(usertype=2)
  5722. type: integer
  5723. createtime:
  5724. description: 创建时间
  5725. type: string
  5726. logincode:
  5727. description: 登录代码
  5728. type: string
  5729. loginid:
  5730. description: 登录id(LOGINID)
  5731. type: integer
  5732. loginname:
  5733. description: 登录名称(loginaccount表中的accountname字段)
  5734. type: string
  5735. loginstatus:
  5736. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  5737. type: integer
  5738. memberuserid:
  5739. description: 所属会员id
  5740. type: integer
  5741. mobile:
  5742. description: 手机号
  5743. type: string
  5744. modifytime:
  5745. description: 修改时间
  5746. type: string
  5747. password:
  5748. description: 密码(不可解密)
  5749. type: string
  5750. rolename:
  5751. description: 角色名称
  5752. type: string
  5753. rolestatus:
  5754. description: 角色状态 1-启用 2-停用
  5755. type: integer
  5756. roletype:
  5757. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  5758. type: string
  5759. userid:
  5760. description: 用户id
  5761. type: integer
  5762. usertype:
  5763. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  5764. type: integer
  5765. type: object
  5766. models.ErmcpLoginUserEx:
  5767. properties:
  5768. accountstatus:
  5769. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  5770. type: integer
  5771. mobile:
  5772. description: 手机号
  5773. type: string
  5774. querytype:
  5775. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  5776. type: integer
  5777. roleid:
  5778. description: 角色id(交易账户->用户id)
  5779. type: integer
  5780. rolename:
  5781. description: 角色名称(交易账户->用户名称)
  5782. type: string
  5783. userlist:
  5784. description: 用户列表
  5785. items:
  5786. $ref: '#/definitions/models.ErmcpLoginUser'
  5787. type: array
  5788. usertype:
  5789. description: 用户类型 2-机构 7-企业成员(云平台)
  5790. type: integer
  5791. type: object
  5792. models.ErmcpMiddleGoodsChangeLog:
  5793. properties:
  5794. aftervalue:
  5795. description: 变更后
  5796. type: number
  5797. applyid:
  5798. description: 操作人
  5799. type: integer
  5800. applyname:
  5801. description: 操作人名称
  5802. type: string
  5803. applysrc:
  5804. description: 操作来源 - 1:管理端 2:终端
  5805. type: integer
  5806. beforevalue:
  5807. description: 变更前
  5808. type: number
  5809. changelogtype:
  5810. description: 变更流水类型 - 1:套保比率变更
  5811. type: integer
  5812. handlestatus:
  5813. description: 处理状态
  5814. type: integer
  5815. logdatetime:
  5816. description: 流水日期
  5817. type: string
  5818. logid:
  5819. description: 流水ID
  5820. type: integer
  5821. logremark:
  5822. description: 流水备注
  5823. type: string
  5824. middlegoodsid:
  5825. description: 套保品种ID
  5826. type: integer
  5827. tradedate:
  5828. description: 交易日(yyyyMMdd)
  5829. type: string
  5830. updatetime:
  5831. description: 更新时间
  5832. type: string
  5833. type: object
  5834. models.ErmcpMiddleGoodsDetail:
  5835. properties:
  5836. cvList:
  5837. description: 期货品种折算列表
  5838. items:
  5839. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  5840. type: array
  5841. mg:
  5842. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  5843. description: 套保品种基本信息
  5844. type: object
  5845. wrcList:
  5846. description: 现货品种列表(现货商品折算配置)
  5847. items:
  5848. $ref: '#/definitions/models.WRSConverTDetail'
  5849. type: array
  5850. type: object
  5851. models.ErmcpMiddleGoodsModel:
  5852. properties:
  5853. areauserid:
  5854. description: 机构用户ID
  5855. type: integer
  5856. createtime:
  5857. description: 修改时间
  5858. type: string
  5859. enumdicname:
  5860. description: 单位名称
  5861. type: string
  5862. evaluateratio:
  5863. description: 估价系数
  5864. type: number
  5865. goodsgroupid:
  5866. description: 关联期货品种ID
  5867. type: integer
  5868. goodsunitid:
  5869. description: 单位ID
  5870. type: integer
  5871. isvalid:
  5872. description: 状态 0-无效(停用) 1-有效(正常)
  5873. type: integer
  5874. middlegoodscode:
  5875. description: 套保品种代码
  5876. type: string
  5877. middlegoodsid:
  5878. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5879. type: integer
  5880. middlegoodsname:
  5881. description: 套保品种名称
  5882. type: string
  5883. modifytime:
  5884. description: 修改时间
  5885. type: string
  5886. needarbitrageratio:
  5887. description: 套利比例
  5888. type: number
  5889. needhedgeratio:
  5890. description: 套保比率
  5891. type: number
  5892. qtydecimalplace:
  5893. description: 数量小数位
  5894. type: integer
  5895. relatedgoodsid:
  5896. description: 关联交易商品ID
  5897. type: integer
  5898. relatedgoodstype:
  5899. description: 关联商品类型 - 1:期货合约 2:现货品种
  5900. type: integer
  5901. remark:
  5902. description: 备注
  5903. type: string
  5904. type: object
  5905. models.ErmcpOPLogModel:
  5906. properties:
  5907. aftervalue:
  5908. description: 变更后
  5909. type: number
  5910. applyid:
  5911. description: 操作人ID
  5912. type: string
  5913. applyname:
  5914. description: 操作人名称
  5915. type: string
  5916. beforevalue:
  5917. description: 变更前
  5918. type: number
  5919. biztype:
  5920. description: 业务类型 - 1:套保计划 2:现货合同
  5921. type: integer
  5922. contracttype:
  5923. description: 现货合同类型 - 1:采购 -1:销售
  5924. type: integer
  5925. logvalue:
  5926. description: 数值
  5927. type: number
  5928. operatelogtype:
  5929. description: 操作流水类型
  5930. type: integer
  5931. operatelogtypedesc:
  5932. description: 操作流水类型名称
  5933. type: string
  5934. relatedid:
  5935. description: 现货合同ID\套保计划
  5936. type: string
  5937. updatetime:
  5938. description: 更新时间
  5939. type: string
  5940. type: object
  5941. models.ErmcpPendingAudit:
  5942. properties:
  5943. areastockqty:
  5944. description: '待审核数量: 库存申请'
  5945. type: integer
  5946. businessdjqty:
  5947. description: '待审核数量: 点价'
  5948. type: integer
  5949. businessfpqty:
  5950. description: '待审核数量: 发票'
  5951. type: integer
  5952. businessjsqty:
  5953. description: '待审核数量: 结算'
  5954. type: integer
  5955. businesskxqty:
  5956. description: '待审核数量: 款项'
  5957. type: integer
  5958. hedgeplanqty:
  5959. description: '待审核数量: 套保计划'
  5960. type: integer
  5961. spotcontractqty:
  5962. description: '待审核数量: 现货合同'
  5963. type: integer
  5964. userqty:
  5965. description: '待审核数量: 用户'
  5966. type: integer
  5967. type: object
  5968. models.ErmcpRealExposureModel:
  5969. properties:
  5970. AreaUserID:
  5971. description: 所属机构
  5972. type: integer
  5973. BuyFutureQty:
  5974. description: 买入期货数量
  5975. type: number
  5976. BuyPlanQty:
  5977. description: 采购计划数量
  5978. type: number
  5979. BuyPricedQty:
  5980. description: 采购合同已定价数量
  5981. type: number
  5982. MiddleGoodsCode:
  5983. description: 套保品种代码
  5984. type: string
  5985. MiddleGoodsHedgeRatio:
  5986. description: 套保比例
  5987. type: number
  5988. MiddleGoodsID:
  5989. description: 套保品种
  5990. type: integer
  5991. MiddleGoodsName:
  5992. description: 套保品种名称
  5993. type: string
  5994. NeedHedgeExposoure:
  5995. description: 应套保敞口(套保敞口)
  5996. type: number
  5997. NeedHedgeRatio:
  5998. description: 应套保敞口比例
  5999. type: number
  6000. OriBuyFutureQty:
  6001. description: 期初买入期货数量
  6002. type: number
  6003. OriBuyPlanQty:
  6004. description: 期初采购计划数量
  6005. type: number
  6006. OriBuyPricedQty:
  6007. description: 期初采购合同已定价数量
  6008. type: number
  6009. OriSellFutureQty:
  6010. description: 期初卖出期货数量
  6011. type: number
  6012. OriSellPlanQty:
  6013. description: 期初销售计划数量
  6014. type: number
  6015. OriSellPricedQty:
  6016. description: 期初销售合同已定价数量
  6017. type: number
  6018. SellFutureQty:
  6019. description: 卖出期货数量
  6020. type: number
  6021. SellPlanQty:
  6022. description: 销售计划数量
  6023. type: number
  6024. SellPricedQty:
  6025. description: 销售合同已定价数量
  6026. type: number
  6027. TotalExposure:
  6028. description: 总敞口
  6029. type: number
  6030. TotalFutureQty:
  6031. description: 期货总量
  6032. type: number
  6033. TotalHedgeRatio:
  6034. description: 敞口比例
  6035. type: number
  6036. TotalNeedHedgeQty:
  6037. description: 应套保总量(现货应套保总量)
  6038. type: number
  6039. TotalSpotQty:
  6040. description: 现货总量
  6041. type: number
  6042. arbitrageqty:
  6043. description: 套利量
  6044. type: number
  6045. diffArbitrageQty:
  6046. description: 套利变动量
  6047. type: number
  6048. diffExposoureQty:
  6049. description: 变动量(套保敞口)
  6050. type: number
  6051. diffFutuQty:
  6052. description: 变动量(期货总量)
  6053. type: number
  6054. diffHedgeQty:
  6055. description: 套保变动量
  6056. type: number
  6057. diffQty:
  6058. description: 变动量(总敞口)
  6059. type: number
  6060. diffSpotHedgeQty:
  6061. description: 变动量(现货应套保总量)
  6062. type: number
  6063. diffSpotQty:
  6064. description: 变动量(现货总量) = 现货数量 - 期初现货数量
  6065. type: number
  6066. enumdicname:
  6067. description: 单位名称
  6068. type: string
  6069. hedgeqty:
  6070. description: 套保量
  6071. type: number
  6072. needarbitrageqty:
  6073. description: 应套利量
  6074. type: number
  6075. needarbitrageratio:
  6076. description: 套利比例
  6077. type: number
  6078. needhedgeqty:
  6079. description: 应套保量
  6080. type: number
  6081. oriTotalFutuQty:
  6082. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6083. type: number
  6084. oriTotalSpotQty:
  6085. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6086. type: number
  6087. oriarbitrageqty:
  6088. description: 期初套利量
  6089. type: number
  6090. orihedgeqty:
  6091. description: 期初套保量
  6092. type: number
  6093. orineedhedgeexposoure:
  6094. description: 期初套保敞口
  6095. type: number
  6096. oritotalexposure:
  6097. description: 期初总敞口
  6098. type: number
  6099. oritotalfutureqty:
  6100. description: 期初期货总量
  6101. type: number
  6102. oritotalneedhedgeqty:
  6103. description: 期初现货应套保量
  6104. type: number
  6105. type: object
  6106. models.ErmcpRole:
  6107. properties:
  6108. areauserid:
  6109. description: 所属机构
  6110. type: integer
  6111. autoid:
  6112. description: 角色ID(自增ID)
  6113. type: integer
  6114. modifierid:
  6115. description: 修改人(创建人)
  6116. type: integer
  6117. modifiername:
  6118. description: 修改人名称
  6119. type: string
  6120. modifytime:
  6121. description: 修改时间(创建时间)
  6122. type: string
  6123. rolename:
  6124. description: 角色名称
  6125. type: string
  6126. rolestatus:
  6127. description: 角色状态 - 1:启用 2:停用
  6128. type: integer
  6129. roletype:
  6130. description: 角色类型 - 1- 管理端 2- 交易端
  6131. type: integer
  6132. type: object
  6133. models.ErmcpRoleMenu:
  6134. properties:
  6135. iconame:
  6136. description: 菜单图标
  6137. type: string
  6138. ishadrole:
  6139. description: 是否有权限
  6140. type: boolean
  6141. menutype:
  6142. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6143. type: integer
  6144. parentcode:
  6145. description: 上级资源代码
  6146. type: string
  6147. remark:
  6148. description: 菜单备注
  6149. type: string
  6150. resourcecode:
  6151. description: 菜单代码
  6152. type: string
  6153. resourcelevel:
  6154. description: 级别
  6155. type: integer
  6156. resourcename:
  6157. description: 菜单名称
  6158. type: string
  6159. roleid:
  6160. description: 角色id
  6161. type: integer
  6162. sort:
  6163. description: 排序
  6164. type: integer
  6165. url:
  6166. description: URL
  6167. type: string
  6168. userid:
  6169. description: 用户id
  6170. type: integer
  6171. type: object
  6172. models.ErmcpRoleMenuEx:
  6173. properties:
  6174. menu:
  6175. $ref: '#/definitions/models.ErmcpRoleMenu'
  6176. description: 父级菜单
  6177. type: object
  6178. subMenu:
  6179. description: 子级菜单
  6180. items:
  6181. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  6182. type: array
  6183. type: object
  6184. models.ErmcpTaAccount:
  6185. properties:
  6186. accountid:
  6187. description: 账户id
  6188. type: integer
  6189. accountname:
  6190. description: 账户名称
  6191. type: string
  6192. currencyid:
  6193. description: 币种id
  6194. type: integer
  6195. hedgeaccountcode:
  6196. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6197. type: string
  6198. ismain:
  6199. description: 是否主账户 0-否 1-是
  6200. type: integer
  6201. parentaccountid:
  6202. description: 父账户id
  6203. type: integer
  6204. relateduserid:
  6205. description: 关联userid
  6206. type: integer
  6207. tradestatus:
  6208. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6209. type: integer
  6210. userid:
  6211. description: 用户id
  6212. type: integer
  6213. type: object
  6214. models.ErmcpTaAccountEx:
  6215. properties:
  6216. mainAcc:
  6217. $ref: '#/definitions/models.ErmcpTaAccountM'
  6218. description: 主账号
  6219. type: object
  6220. subacclist:
  6221. description: 子账号列表
  6222. items:
  6223. $ref: '#/definitions/models.ErmcpTaAccount'
  6224. type: array
  6225. type: object
  6226. models.ErmcpTaAccountInfo:
  6227. properties:
  6228. accountid:
  6229. description: 资金账户ID
  6230. type: integer
  6231. accountname:
  6232. description: 账户名称
  6233. type: string
  6234. balance:
  6235. description: 期初余额
  6236. type: number
  6237. capitalbalance:
  6238. description: 本金余额[外部子账户实际出入金余额]
  6239. type: number
  6240. closepl:
  6241. description: 今日平仓盈亏
  6242. type: number
  6243. creditdecrease:
  6244. description: 今日授信减少
  6245. type: number
  6246. creditincrease:
  6247. description: 今日授信增加
  6248. type: number
  6249. curdebt:
  6250. description: 期末欠款
  6251. type: number
  6252. currencyid:
  6253. description: 货币ID
  6254. type: integer
  6255. currentbalance:
  6256. description: 期末余额
  6257. type: number
  6258. freezecharge:
  6259. description: 手续费冻结
  6260. type: number
  6261. freezemargin:
  6262. description: 冻结保证金
  6263. type: number
  6264. fromaccountid:
  6265. description: 所属上级账户
  6266. type: integer
  6267. inamount:
  6268. description: 今日入金金额(包括三方入金)
  6269. type: number
  6270. ismain:
  6271. description: 是否母账号 0:不是母账户 1:是母账户
  6272. type: integer
  6273. mortgagecredit:
  6274. description: 授信金额
  6275. type: number
  6276. oridebt:
  6277. description: 期初欠款
  6278. type: number
  6279. orifreezecharge:
  6280. description: 期初手续费冻结
  6281. type: number
  6282. orifreezemargin:
  6283. description: 期初冻结保证金
  6284. type: number
  6285. orimortgagecredit:
  6286. description: 期初授信金额
  6287. type: number
  6288. oriothercredit:
  6289. description: 期初其它授信金额
  6290. type: number
  6291. oriotherfreezemargin:
  6292. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6293. type: number
  6294. orioutamountfreeze:
  6295. description: 期初出金冻结
  6296. type: number
  6297. oriusedmargin:
  6298. description: 期初占用保证金
  6299. type: number
  6300. othercredit:
  6301. description: 其它授信金额
  6302. type: number
  6303. othercreditdecrease:
  6304. description: 今日其它授信减少
  6305. type: number
  6306. othercreditincrease:
  6307. description: 今日其它授信增加
  6308. type: number
  6309. otherfreezemargin:
  6310. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6311. type: number
  6312. outamount:
  6313. description: 今日出金金额(包括三方出金)
  6314. type: number
  6315. outamountfreeze:
  6316. description: 出金冻结
  6317. type: number
  6318. outthreshold:
  6319. description: 出金阈值
  6320. type: number
  6321. parentaccountid:
  6322. description: 所属根账号
  6323. type: integer
  6324. paycharge:
  6325. description: 今日手续费支出
  6326. type: number
  6327. relateduserid:
  6328. description: 关联用户
  6329. type: integer
  6330. signstatus:
  6331. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6332. type: integer
  6333. sublevelpath:
  6334. description: 账号层级路径(逗号分隔,首尾加逗号)
  6335. type: string
  6336. taaccounttype:
  6337. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6338. type: integer
  6339. thirdinamount:
  6340. description: 今日三方入金
  6341. type: number
  6342. thirdoutamount:
  6343. description: 今日三方出金
  6344. type: number
  6345. tradestatus:
  6346. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6347. type: integer
  6348. transferamount:
  6349. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  6350. type: number
  6351. usedmargin:
  6352. description: 占用保证金
  6353. type: number
  6354. userid:
  6355. description: 用户ID
  6356. type: integer
  6357. type: object
  6358. models.ErmcpTaAccountM:
  6359. properties:
  6360. accountid:
  6361. description: 账户id
  6362. type: integer
  6363. accountname:
  6364. description: 账户名称
  6365. type: string
  6366. currencyid:
  6367. description: 币种id
  6368. type: integer
  6369. fcid:
  6370. description: 期货公司id
  6371. type: integer
  6372. fcname:
  6373. description: 期货公司代码
  6374. type: string
  6375. hedgeaccountcode:
  6376. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6377. type: string
  6378. ismain:
  6379. description: 是否主账户 0-否 1-是
  6380. type: integer
  6381. parentaccountid:
  6382. description: 父账户id
  6383. type: integer
  6384. relateduserid:
  6385. description: 关联userid
  6386. type: integer
  6387. tradestatus:
  6388. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6389. type: integer
  6390. userid:
  6391. description: 用户id
  6392. type: integer
  6393. type: object
  6394. models.ErmcpTradeConfigTMP:
  6395. properties:
  6396. areauserid:
  6397. description: 所属机构
  6398. type: integer
  6399. basiccurrencyid:
  6400. description: 基本币种ID[汇率] - 目标币种
  6401. type: integer
  6402. mainaccountid:
  6403. description: 主账户ID
  6404. type: integer
  6405. modifierid:
  6406. description: 修改人
  6407. type: integer
  6408. remark:
  6409. description: 备注
  6410. type: string
  6411. tradeconfigtmpid:
  6412. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  6413. type: integer
  6414. tradeconfigtmpname:
  6415. description: 交易配置模板名称
  6416. type: string
  6417. tradeconfigtmptype:
  6418. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  6419. type: integer
  6420. updatetime:
  6421. description: 更新时间
  6422. type: string
  6423. type: object
  6424. models.ErmcpUserModel:
  6425. properties:
  6426. address:
  6427. description: 通讯地址
  6428. type: string
  6429. attachment1:
  6430. description: 附件1
  6431. type: string
  6432. audittime:
  6433. description: 审核时间
  6434. type: string
  6435. cardbackphotourl:
  6436. description: 证件反面图片地址
  6437. type: string
  6438. cardfrontphotourl:
  6439. description: 证件正面图片地址
  6440. type: string
  6441. cardnum:
  6442. description: 证件号码
  6443. type: string
  6444. cardtype:
  6445. description: 证件类型
  6446. type: integer
  6447. cardtypename:
  6448. description: 证件类型名称
  6449. type: string
  6450. cityid:
  6451. description: 市
  6452. type: integer
  6453. contactname:
  6454. description: 联系人
  6455. type: string
  6456. countryid:
  6457. description: 国家
  6458. type: integer
  6459. createtime:
  6460. description: 创建时间
  6461. type: string
  6462. customername:
  6463. description: 企业名称
  6464. type: string
  6465. districtid:
  6466. description: 区域
  6467. type: integer
  6468. email:
  6469. description: 邮件
  6470. type: string
  6471. legalpersonname:
  6472. description: 法人姓名(企业)
  6473. type: string
  6474. memberuserid:
  6475. description: 所属机构ID
  6476. type: integer
  6477. mobile:
  6478. description: 手机号码
  6479. type: string
  6480. modifytime:
  6481. description: 修改时间
  6482. type: string
  6483. nickname:
  6484. description: 昵称
  6485. type: string
  6486. provinceid:
  6487. description: 省
  6488. type: integer
  6489. remark:
  6490. description: 备注
  6491. type: string
  6492. status:
  6493. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  6494. type: integer
  6495. statusdesc:
  6496. description: 账户状态中文描述
  6497. type: string
  6498. taxpayernum:
  6499. description: 纳税人识别号
  6500. type: string
  6501. telphone:
  6502. description: 联系电话
  6503. type: string
  6504. userid:
  6505. description: 用户ID
  6506. type: integer
  6507. userinfotype:
  6508. description: 客户类型
  6509. type: string
  6510. type: object
  6511. models.ErmcpWareHouseInfo:
  6512. properties:
  6513. address:
  6514. description: 详细地址
  6515. type: string
  6516. areauserid:
  6517. description: 所属机构
  6518. type: integer
  6519. autoid:
  6520. description: 自增ID(仓库ID)
  6521. type: integer
  6522. cityid:
  6523. description: 市
  6524. type: integer
  6525. contactname:
  6526. description: 联系人
  6527. type: string
  6528. contactnum:
  6529. description: 联系电话
  6530. type: string
  6531. countryid:
  6532. description: 国家
  6533. type: integer
  6534. createtime:
  6535. description: 创建时间
  6536. type: string
  6537. districtid:
  6538. description: 区
  6539. type: integer
  6540. hasvideo:
  6541. description: 是否有视频 - 0:无 1:有
  6542. type: integer
  6543. provinceid:
  6544. description: 省
  6545. type: integer
  6546. remark:
  6547. description: 审核备注
  6548. type: string
  6549. videourl:
  6550. description: 视频地址
  6551. type: string
  6552. warehousecode:
  6553. description: 仓库代码
  6554. type: string
  6555. warehousename:
  6556. description: 仓库名称
  6557. type: string
  6558. warehousestatus:
  6559. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  6560. type: integer
  6561. warehousetype:
  6562. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  6563. type: integer
  6564. type: object
  6565. models.Externalexchange:
  6566. properties:
  6567. autoid:
  6568. description: AutoID - SEQ_EXTERNALEXCHANGE
  6569. type: integer
  6570. exchangefullname:
  6571. description: 外部交易所全称
  6572. type: string
  6573. exexchangecode:
  6574. description: 外部交易所代码
  6575. type: string
  6576. exexchangename:
  6577. description: 外部交易所名称(简称)
  6578. type: string
  6579. ismarketprice:
  6580. description: 是否支持市价 - 0:不支持 1:支持
  6581. type: integer
  6582. quotegear:
  6583. description: 行情档位(1-10)
  6584. type: integer
  6585. showbrokerflag:
  6586. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  6587. type: integer
  6588. updatetime:
  6589. description: 更新时间
  6590. type: string
  6591. required:
  6592. - autoid
  6593. type: object
  6594. models.Funcmenulist:
  6595. properties:
  6596. iconame:
  6597. description: 菜单图标
  6598. type: string
  6599. menutype:
  6600. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  6601. type: integer
  6602. parentcode:
  6603. description: 上级资源代码
  6604. type: string
  6605. remark:
  6606. description: 备注
  6607. type: string
  6608. resourcecode:
  6609. description: 资源代码
  6610. type: string
  6611. resourcelevel:
  6612. description: 级别 1-一级 2-二级 3-三级 4-四级
  6613. type: integer
  6614. resourcename:
  6615. description: 资源名
  6616. type: string
  6617. sort:
  6618. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  6619. type: integer
  6620. url:
  6621. description: URL
  6622. type: string
  6623. required:
  6624. - resourcecode
  6625. type: object
  6626. models.Goods:
  6627. properties:
  6628. agreeunit:
  6629. description: 合约单位
  6630. type: number
  6631. auditaccountid:
  6632. description: 审核操作员账号
  6633. type: integer
  6634. audittime:
  6635. description: 审核时间
  6636. type: string
  6637. cancelaccountid:
  6638. description: 注销操作员账号
  6639. type: integer
  6640. canceltime:
  6641. description: 注销时间
  6642. type: string
  6643. closepricemode:
  6644. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6645. type: integer
  6646. closepriceparam:
  6647. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  6648. type: number
  6649. createtime:
  6650. description: 创建时间
  6651. type: string
  6652. creatorid:
  6653. description: 创建人
  6654. type: integer
  6655. currencyid:
  6656. description: 报价货币ID
  6657. type: integer
  6658. cutmode:
  6659. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  6660. type: integer
  6661. decimalplace:
  6662. description: 报价小数位
  6663. type: integer
  6664. delistingdate:
  6665. description: 商品退市时间(状态:退市) -- 已作废
  6666. type: string
  6667. delistingmode:
  6668. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  6669. type: integer
  6670. deliveryflag:
  6671. description: 交割标志 - 0:不可交割 1:可交割
  6672. type: integer
  6673. forceclosemode:
  6674. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  6675. type: integer
  6676. forceclosevalue:
  6677. description: 定期强平参数 [收益权]
  6678. type: integer
  6679. goodscode:
  6680. description: 商品代码(内部)
  6681. type: string
  6682. goodscurrencyid:
  6683. description: 合约货币ID
  6684. type: integer
  6685. goodsgroupid:
  6686. description: 所属商品组ID
  6687. type: integer
  6688. goodsid:
  6689. description: 商品ID(自增ID SEQ_GOODS)
  6690. type: integer
  6691. goodsname:
  6692. description: 商品名称
  6693. type: string
  6694. goodsquotetype:
  6695. description: '合约报价类型: 1-直接报价 2-间接报价'
  6696. type: integer
  6697. goodsstatus:
  6698. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  6699. type: integer
  6700. goodstradetype:
  6701. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  6702. type: integer
  6703. goodunitid:
  6704. description: 报价单位ID
  6705. type: integer
  6706. hasquoter:
  6707. description: 是否有报价商 - 0:无报价商 1:有报价商
  6708. type: integer
  6709. hqprotecttime:
  6710. description: 行情保护时间(秒)
  6711. type: integer
  6712. innerdealmode:
  6713. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6714. type: integer
  6715. isbuylimited:
  6716. description: 是否限制建仓量 - 0:不限制 1:限制
  6717. type: integer
  6718. lasttradedate:
  6719. description: 最后交易日期(状态:待退市)
  6720. type: string
  6721. listingdate:
  6722. description: 交易开始日期
  6723. type: string
  6724. marketid:
  6725. description: 所属市场ID
  6726. type: integer
  6727. modifierid:
  6728. description: 修改人
  6729. type: integer
  6730. modifystatus:
  6731. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6732. type: integer
  6733. modifytime:
  6734. description: 修改时间
  6735. type: string
  6736. outerdealmode:
  6737. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6738. type: integer
  6739. outgoodscode:
  6740. description: 商品代码(外部)
  6741. type: string
  6742. qtydecimalplace:
  6743. description: 成交量小数位
  6744. type: integer
  6745. quotegear:
  6746. description: 行情档位(1-10)
  6747. type: integer
  6748. quoteminunit:
  6749. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6750. type: integer
  6751. quoteshowtype:
  6752. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6753. type: integer
  6754. quoteshowtypeinterval:
  6755. description: 行情报价间隔时间(秒)(成交价时为0)
  6756. type: integer
  6757. remark:
  6758. description: 备注
  6759. type: string
  6760. required:
  6761. - goodscode
  6762. - goodsid
  6763. - goodsname
  6764. - marketid
  6765. type: object
  6766. models.GoodsIDAndName:
  6767. properties:
  6768. goodscode:
  6769. description: 商品代码(内部)
  6770. type: string
  6771. goodsid:
  6772. description: 商品ID(自增ID SEQ_GOODS)
  6773. type: integer
  6774. goodsname:
  6775. description: 商品名称
  6776. type: string
  6777. marketid:
  6778. description: 所属市场ID
  6779. type: integer
  6780. required:
  6781. - goodscode
  6782. - goodsid
  6783. - goodsname
  6784. - marketid
  6785. type: object
  6786. models.Goodsgroup:
  6787. properties:
  6788. agreeunit:
  6789. description: 合约单位
  6790. type: number
  6791. canshort:
  6792. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6793. type: integer
  6794. closepricemode:
  6795. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6796. type: integer
  6797. closepriceparam:
  6798. description: 强平最新价浮动比例 - 方式为2时使用
  6799. type: number
  6800. createtime:
  6801. description: 创建时间
  6802. type: string
  6803. creatorid:
  6804. description: 创建人
  6805. type: integer
  6806. currencyid:
  6807. description: 报价货币ID
  6808. type: integer
  6809. decimalplace:
  6810. description: 报价小数位
  6811. type: integer
  6812. exercisetype:
  6813. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  6814. type: integer
  6815. exexchangeid:
  6816. description: 外部交易所ID[通道交易]
  6817. type: integer
  6818. goodsgroupid:
  6819. description: 商品组ID(自增ID)
  6820. type: integer
  6821. goodsgroupname:
  6822. description: 商品组名称
  6823. type: string
  6824. goodsgroupstatus:
  6825. description: 商品组状态 - 1:正常 2:注销
  6826. type: integer
  6827. goodunitid:
  6828. description: 报价单位ID
  6829. type: integer
  6830. innerdealmode:
  6831. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6832. type: integer
  6833. isbuylimited:
  6834. description: 是否限制建仓量 - 0:不限制 1:限制
  6835. type: integer
  6836. marketid:
  6837. description: 所属市场ID
  6838. type: integer
  6839. modifierid:
  6840. description: 修改人
  6841. type: integer
  6842. modifytime:
  6843. description: 修改时间
  6844. type: string
  6845. outerdealmode:
  6846. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6847. type: integer
  6848. outergroupcode:
  6849. description: 外部商品组代码[通道交易]
  6850. type: string
  6851. premiumdecimalplace:
  6852. description: 权利金小数位[场外期权]
  6853. type: integer
  6854. premiumspreadalgorithm:
  6855. description: 权利金点差方式[场外期权] 1:比率 2:固定
  6856. type: integer
  6857. premiumspreadvalue:
  6858. description: 权利金点差值[场外期权]
  6859. type: number
  6860. qtydecimalplace:
  6861. description: 成交量小数位
  6862. type: integer
  6863. quotegear:
  6864. description: 行情档位(1-10)
  6865. type: integer
  6866. quoteminunit:
  6867. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6868. type: integer
  6869. quoterid:
  6870. description: 报价商ID[场外期权]
  6871. type: integer
  6872. quotesourcegroupid:
  6873. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6874. type: integer
  6875. syncgoodsqty:
  6876. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6877. type: integer
  6878. required:
  6879. - goodsgroupid
  6880. - goodsgroupname
  6881. - goodsgroupstatus
  6882. - marketid
  6883. type: object
  6884. models.Goodssortbypreposition:
  6885. properties:
  6886. goodscode:
  6887. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  6888. type: string
  6889. goodsgroupcode:
  6890. description: 品种代码
  6891. type: string
  6892. prepositionqty:
  6893. description: 昨持仓量
  6894. type: integer
  6895. sortindex:
  6896. description: 排序
  6897. type: integer
  6898. tradedate:
  6899. description: 交易日
  6900. type: string
  6901. updatetime:
  6902. description: 更新时间
  6903. type: string
  6904. required:
  6905. - goodscode
  6906. - tradedate
  6907. type: object
  6908. models.Hedgeinnerholderdetail:
  6909. properties:
  6910. accountid:
  6911. description: 账号ID
  6912. type: integer
  6913. buyorsell:
  6914. description: 方向 - 0:买 1:卖
  6915. type: integer
  6916. freezeqty:
  6917. description: 冻结数量 - 按单平使用
  6918. type: integer
  6919. goodsid:
  6920. description: 商品ID
  6921. type: integer
  6922. holderamount:
  6923. description: 持仓金额 [商品币种]
  6924. type: number
  6925. holderdays:
  6926. description: 剩余冻结天数
  6927. type: integer
  6928. holderprice:
  6929. description: 持仓价格
  6930. type: number
  6931. holderqty:
  6932. description: 持仓数量
  6933. type: integer
  6934. marketid:
  6935. description: 市场ID
  6936. type: integer
  6937. openprice:
  6938. description: 建仓价格
  6939. type: number
  6940. openqty:
  6941. description: 建仓数量
  6942. type: integer
  6943. parentaccountid:
  6944. description: 所属母账户
  6945. type: integer
  6946. releaseamount:
  6947. description: 释放持仓金额[商品币种]
  6948. type: number
  6949. tradeamount:
  6950. description: 成交金额[账户]
  6951. type: number
  6952. tradedate:
  6953. description: 交易日(yyyyMMdd)
  6954. type: string
  6955. tradeid:
  6956. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6957. type: string
  6958. tradetime:
  6959. description: 交易时间
  6960. type: string
  6961. required:
  6962. - buyorsell
  6963. - tradeid
  6964. type: object
  6965. models.Hedgemarketopenlog:
  6966. properties:
  6967. accountid:
  6968. description: 资金账号[外部母账户]
  6969. type: integer
  6970. fcname:
  6971. description: 期货公司名称
  6972. type: string
  6973. handlestatus:
  6974. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  6975. type: integer
  6976. marketid:
  6977. description: 市场ID
  6978. type: integer
  6979. status:
  6980. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  6981. type: integer
  6982. tradedate:
  6983. description: 交易日(yyyyMMdd)
  6984. type: string
  6985. updatetime:
  6986. description: 更新时间
  6987. type: string
  6988. required:
  6989. - accountid
  6990. type: object
  6991. models.HsbyBuyMyPayOrder:
  6992. properties:
  6993. agreeunit:
  6994. description: 合约单位
  6995. type: number
  6996. buyaccountid:
  6997. description: 买方账号ID[报价币种]
  6998. type: integer
  6999. buyorderid:
  7000. description: 买方委托单号
  7001. type: string
  7002. createtime:
  7003. description: 创建时间
  7004. type: string
  7005. currencysign:
  7006. description: 货币符号
  7007. type: string
  7008. decimalplace:
  7009. description: 报价小数位
  7010. type: integer
  7011. goodscode:
  7012. description: 商品代码(内部)
  7013. type: string
  7014. goodsid:
  7015. description: 商品ID
  7016. type: integer
  7017. goodsname:
  7018. description: 商品名称
  7019. type: string
  7020. marketid:
  7021. description: 市场ID
  7022. type: integer
  7023. offamount:
  7024. description: 优惠金额
  7025. type: number
  7026. originalamount:
  7027. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7028. type: number
  7029. payamount:
  7030. description: 支付金额 = TradeAmount + TradeCharge
  7031. type: number
  7032. payflag:
  7033. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7034. type: integer
  7035. paylimitedtime:
  7036. description: 支付期限
  7037. type: string
  7038. paytime:
  7039. description: 付款时间
  7040. type: string
  7041. picurls1:
  7042. description: 预售商品介绍图片[多张用逗号分隔]
  7043. type: string
  7044. picurls2:
  7045. description: 挂牌商品介绍图片[多张用逗号分隔]
  7046. type: string
  7047. sellaccountid:
  7048. description: 卖方账号ID[报价币种]
  7049. type: integer
  7050. sellorderid:
  7051. description: 卖方委托单号
  7052. type: string
  7053. tradeamount:
  7054. description: 成交金额
  7055. type: number
  7056. tradecharge:
  7057. description: 成交手续费(买方)
  7058. type: number
  7059. tradedate:
  7060. description: 交易日(yyyyMMdd)
  7061. type: string
  7062. tradeid:
  7063. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7064. type: string
  7065. trademode:
  7066. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7067. 21:竞拍-大宗式 22:受托竞价
  7068. type: integer
  7069. tradeprice:
  7070. description: 成交价格
  7071. type: number
  7072. tradeqty:
  7073. description: 成交数量
  7074. type: integer
  7075. vendorname1:
  7076. description: 预售商品供应商名称
  7077. type: string
  7078. vendorname2:
  7079. description: 挂牌商品供应商名称
  7080. type: string
  7081. required:
  7082. - goodscode
  7083. - goodsname
  7084. - tradeid
  7085. - trademode
  7086. type: object
  7087. models.HsbyBuyMyTradeDetail:
  7088. properties:
  7089. accountid:
  7090. description: 账户ID[报价币种]
  7091. type: integer
  7092. agreeunit:
  7093. description: 合约单位
  7094. type: number
  7095. amount:
  7096. description: 金额 = 价格 * 数量 * 合约单位
  7097. type: number
  7098. buyorsell:
  7099. description: 买卖 - 0:买 1:卖
  7100. type: integer
  7101. currencysign:
  7102. description: 货币符号
  7103. type: string
  7104. decimalplace:
  7105. description: 报价小数位
  7106. type: integer
  7107. goodscode:
  7108. description: 商品代码(内部)
  7109. type: string
  7110. goodsid:
  7111. description: 商品ID
  7112. type: integer
  7113. goodsname:
  7114. description: 商品名称
  7115. type: string
  7116. marketid:
  7117. description: 市场ID
  7118. type: integer
  7119. orderamount:
  7120. description: 委托金额
  7121. type: number
  7122. orderid:
  7123. description: 单号(成交单号)
  7124. type: string
  7125. picurls1:
  7126. description: 预售商品介绍图片[多张用逗号分隔]
  7127. type: string
  7128. picurls2:
  7129. description: 挂牌商品介绍图片[多张用逗号分隔]
  7130. type: string
  7131. price:
  7132. description: 价格
  7133. type: number
  7134. qty:
  7135. description: 数量
  7136. type: integer
  7137. time:
  7138. description: 时间
  7139. type: string
  7140. trademode:
  7141. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7142. 21:竞拍-大宗式 22:受托竞价
  7143. type: integer
  7144. vendorname1:
  7145. description: 预售商品供应商名称
  7146. type: string
  7147. vendorname2:
  7148. description: 挂牌商品供应商名称
  7149. type: string
  7150. required:
  7151. - accountid
  7152. - buyorsell
  7153. - goodscode
  7154. - goodsid
  7155. - goodsname
  7156. - marketid
  7157. - orderid
  7158. - qty
  7159. - time
  7160. - trademode
  7161. type: object
  7162. models.HsbyGoodsOrderDetail:
  7163. properties:
  7164. buyorsell:
  7165. description: 买卖 - 0:买 1:卖
  7166. type: integer
  7167. currencysign:
  7168. description: 货币符号
  7169. type: string
  7170. customername:
  7171. description: 客户名称(企业名称),已脱敏
  7172. type: string
  7173. enableqty:
  7174. description: 可用数量
  7175. type: integer
  7176. goodunit:
  7177. description: 报价单位
  7178. type: string
  7179. orderid:
  7180. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7181. type: string
  7182. orderprice:
  7183. description: 委托价格
  7184. type: number
  7185. ordertime:
  7186. description: 委托时间
  7187. type: string
  7188. required:
  7189. - buyorsell
  7190. - orderid
  7191. - ordertime
  7192. type: object
  7193. models.HsbyListingGoodsDetail:
  7194. properties:
  7195. agreeunit:
  7196. description: 合约单位
  7197. type: number
  7198. buymaxqty:
  7199. description: 购买上限 [71] - 0为不限
  7200. type: integer
  7201. currency:
  7202. description: 货币
  7203. type: string
  7204. currencysign:
  7205. description: 货币符号
  7206. type: string
  7207. decimalplace:
  7208. description: 报价小数位
  7209. type: integer
  7210. desccityid:
  7211. description: 目的地(市)ID
  7212. type: integer
  7213. descprovinceid:
  7214. description: 目的地(省)ID
  7215. type: integer
  7216. goodscode:
  7217. description: 商品代码(内部)
  7218. type: string
  7219. goodsdesc:
  7220. description: 商品详情
  7221. type: string
  7222. goodsid:
  7223. description: 商品ID(自增ID SEQ_GOODS)
  7224. type: integer
  7225. goodsname:
  7226. description: 商品名称
  7227. type: string
  7228. goodsprice:
  7229. description: 商品价格
  7230. type: number
  7231. hotindex:
  7232. description: 景点热度
  7233. type: integer
  7234. last:
  7235. description: 现价
  7236. type: number
  7237. limitdown:
  7238. description: 跌停价
  7239. type: number
  7240. limitup:
  7241. description: 涨停价
  7242. type: number
  7243. lotsize:
  7244. description: 手数最小变动单位
  7245. type: integer
  7246. marketid:
  7247. description: 所属市场ID
  7248. type: integer
  7249. picurls:
  7250. description: 介绍图片[多张用逗号分隔]
  7251. type: string
  7252. quoteminunit:
  7253. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7254. type: integer
  7255. stepvalue:
  7256. description: 价格最小变动单位
  7257. type: number
  7258. trademode:
  7259. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7260. 21:竞拍-大宗式 22:受托竞价
  7261. type: integer
  7262. vendorattr:
  7263. description: 供应商附件(多张,逗号分隔)
  7264. type: string
  7265. vendorname:
  7266. description: 供应商名称
  7267. type: string
  7268. vendorphone:
  7269. description: 供应商客服电话
  7270. type: string
  7271. videourls:
  7272. description: 介绍视频[多张用逗号分隔]
  7273. type: string
  7274. required:
  7275. - goodscode
  7276. - goodsid
  7277. - goodsname
  7278. - marketid
  7279. - trademode
  7280. type: object
  7281. models.HsbyMarketGoods:
  7282. properties:
  7283. accountid:
  7284. description: 账户ID[报价币种]
  7285. type: integer
  7286. agreeunit:
  7287. description: 合约单位
  7288. type: number
  7289. buyorsell:
  7290. description: 买卖 - 0:买 1:卖
  7291. type: integer
  7292. categoryid:
  7293. description: 类别ID(WRCATEGORY)
  7294. type: integer
  7295. currency:
  7296. description: 货币
  7297. type: string
  7298. currencysign:
  7299. description: 货币符号
  7300. type: string
  7301. customername:
  7302. description: 卖家名称
  7303. type: string
  7304. decimalplace:
  7305. description: 报价小数位
  7306. type: integer
  7307. goodscode:
  7308. description: 商品代码(内部)
  7309. type: string
  7310. goodsid:
  7311. description: 商品ID
  7312. type: integer
  7313. goodsname:
  7314. description: 商品名称
  7315. type: string
  7316. goodsprice:
  7317. description: 商品价格
  7318. type: number
  7319. hascoupon:
  7320. description: 是否可用优惠卷
  7321. type: boolean
  7322. hotindex:
  7323. description: 景点热度
  7324. type: integer
  7325. marketid:
  7326. description: 市场ID
  7327. type: integer
  7328. orderid:
  7329. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7330. type: string
  7331. orderprice:
  7332. description: 委托价格
  7333. type: number
  7334. orderstatus:
  7335. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7336. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7337. 16:成交失败违约(荷兰式竞拍专用)
  7338. type: integer
  7339. picurls:
  7340. description: 介绍图片[多张用逗号分隔]
  7341. type: string
  7342. quoteminunit:
  7343. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7344. type: integer
  7345. sellUserID:
  7346. description: 卖方UserID
  7347. type: integer
  7348. trademode:
  7349. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7350. 21:竞拍-大宗式 22:受托竞价
  7351. type: integer
  7352. videourls:
  7353. description: 介绍视频[多张用逗号分隔]
  7354. type: string
  7355. required:
  7356. - accountid
  7357. - buyorsell
  7358. - goodscode
  7359. - goodsid
  7360. - goodsname
  7361. - marketid
  7362. - orderid
  7363. - trademode
  7364. type: object
  7365. models.HsbyMarketGoodsDetail:
  7366. properties:
  7367. accountid:
  7368. description: 账户ID[报价币种]
  7369. type: integer
  7370. agreeunit:
  7371. description: 合约单位
  7372. type: number
  7373. buymaxqty:
  7374. description: 购买上限 [71] - 0为不限
  7375. type: integer
  7376. buyorsell:
  7377. description: 买卖 - 0:买 1:卖
  7378. type: integer
  7379. cancelqty:
  7380. description: 撤单数量
  7381. type: integer
  7382. categoryid:
  7383. description: 类别ID(WRCATEGORY)
  7384. type: integer
  7385. currency:
  7386. description: 货币
  7387. type: string
  7388. currencysign:
  7389. description: 货币符号
  7390. type: string
  7391. customername:
  7392. description: 卖家名称
  7393. type: string
  7394. decimalplace:
  7395. description: 报价小数位
  7396. type: integer
  7397. goodscode:
  7398. description: 商品代码(内部)
  7399. type: string
  7400. goodsdesc:
  7401. description: 商品详情
  7402. type: string
  7403. goodsid:
  7404. description: 商品ID
  7405. type: integer
  7406. goodsname:
  7407. description: 商品名称
  7408. type: string
  7409. goodsprice:
  7410. description: 商品价格
  7411. type: number
  7412. hotindex:
  7413. description: 景点热度
  7414. type: integer
  7415. lotsize:
  7416. description: 手数最小变动单位
  7417. type: integer
  7418. marketid:
  7419. description: 市场ID
  7420. type: integer
  7421. orderid:
  7422. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7423. type: string
  7424. orderprice:
  7425. description: 委托价格
  7426. type: number
  7427. orderqty:
  7428. description: 委托数量
  7429. type: integer
  7430. orderstatus:
  7431. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7432. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7433. 16:成交失败违约(荷兰式竞拍专用)
  7434. type: integer
  7435. picurls:
  7436. description: 介绍图片[多张用逗号分隔]
  7437. type: string
  7438. quoteminunit:
  7439. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7440. type: integer
  7441. sellUserID:
  7442. description: 卖方UserID
  7443. type: integer
  7444. trademode:
  7445. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7446. 21:竞拍-大宗式 22:受托竞价
  7447. type: integer
  7448. tradeqty:
  7449. description: 成交数量
  7450. type: integer
  7451. vendorattr:
  7452. description: 供应商附件(多张,逗号分隔)
  7453. type: string
  7454. vendorname:
  7455. description: 供应商名称
  7456. type: string
  7457. vendorphone:
  7458. description: 供应商客服电话
  7459. type: string
  7460. videourls:
  7461. description: 介绍视频[多张用逗号分隔]
  7462. type: string
  7463. required:
  7464. - accountid
  7465. - buyorsell
  7466. - goodscode
  7467. - goodsid
  7468. - goodsname
  7469. - marketid
  7470. - orderid
  7471. - orderqty
  7472. - trademode
  7473. type: object
  7474. models.HsbyMarketInfo:
  7475. properties:
  7476. marketid:
  7477. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  7478. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  7479. type: integer
  7480. marketname:
  7481. description: 市场名称
  7482. type: string
  7483. marketstatus:
  7484. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  7485. type: integer
  7486. trademode:
  7487. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7488. 21:竞拍-大宗式 22:受托竞价
  7489. type: integer
  7490. required:
  7491. - marketid
  7492. - marketstatus
  7493. - trademode
  7494. type: object
  7495. models.HsbyMyGoods:
  7496. properties:
  7497. accountid:
  7498. description: 账号Id
  7499. type: integer
  7500. agreeunit:
  7501. description: 合约单位
  7502. type: number
  7503. buyaverageprice:
  7504. description: 持仓均价
  7505. type: number
  7506. buycurholderamount:
  7507. description: 买当前持仓总金额[商品币种]
  7508. type: number
  7509. buycurpositionqty:
  7510. description: 买当前持仓总数量
  7511. type: integer
  7512. buymaxqty:
  7513. description: 购买上限 [71] - 0为不限
  7514. type: integer
  7515. currencysign:
  7516. description: 货币符号
  7517. type: string
  7518. decimalplace:
  7519. description: 报价小数位
  7520. type: integer
  7521. enableqty:
  7522. description: 可用数量
  7523. type: integer
  7524. goodscode:
  7525. description: 商品代码(内部)
  7526. type: string
  7527. goodsid:
  7528. description: 商品Id
  7529. type: integer
  7530. goodsname:
  7531. description: 商品名称
  7532. type: string
  7533. goodsprice:
  7534. description: 商品价格
  7535. type: number
  7536. goodsstatus:
  7537. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7538. type: integer
  7539. last:
  7540. description: 现价(仅使用于挂牌点选)
  7541. type: number
  7542. limitdown:
  7543. description: 跌停价(仅使用于挂牌点选)
  7544. type: number
  7545. limitup:
  7546. description: 涨停价(仅使用于挂牌点选)
  7547. type: number
  7548. lotsize:
  7549. description: 手数最小变动单位
  7550. type: integer
  7551. marketid:
  7552. description: 所属市场ID
  7553. type: integer
  7554. picurls:
  7555. description: 介绍图片[多张用逗号分隔]
  7556. type: string
  7557. quoteminunit:
  7558. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7559. type: integer
  7560. stepvalue:
  7561. description: 价格最小变动单位
  7562. type: number
  7563. trademode:
  7564. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7565. 21:竞拍-大宗式 22:受托竞价
  7566. type: integer
  7567. required:
  7568. - accountid
  7569. - goodscode
  7570. - goodsid
  7571. - goodsname
  7572. - marketid
  7573. - trademode
  7574. type: object
  7575. models.HsbyMyPackage:
  7576. properties:
  7577. accountid:
  7578. description: 账户ID
  7579. type: integer
  7580. address:
  7581. description: 提货人详细地址
  7582. type: string
  7583. agreeunit:
  7584. description: 合约单位
  7585. type: number
  7586. amount:
  7587. description: 提货金额
  7588. type: number
  7589. auditer:
  7590. description: 审核人
  7591. type: integer
  7592. audittime:
  7593. description: 审核时间
  7594. type: string
  7595. averageprice:
  7596. description: 均价
  7597. type: number
  7598. cardnum:
  7599. description: 提货人证件号码
  7600. type: string
  7601. cardtypeid:
  7602. description: 提货人证件类型
  7603. type: integer
  7604. checkremark:
  7605. description: 审核备注
  7606. type: string
  7607. currencysign:
  7608. description: 货币符号
  7609. type: string
  7610. decimalplace:
  7611. description: 报价小数位
  7612. type: integer
  7613. goodscode:
  7614. description: 商品代码(内部)
  7615. type: string
  7616. goodsid:
  7617. description: 商品ID
  7618. type: integer
  7619. goodsname:
  7620. description: 商品名称
  7621. type: string
  7622. handlestatus:
  7623. description: 处理状态
  7624. type: integer
  7625. marketid:
  7626. description: 市场ID
  7627. type: integer
  7628. phonenum:
  7629. description: 提货人联系方式
  7630. type: string
  7631. picurls:
  7632. description: 介绍图片[多张用逗号分隔]
  7633. type: string
  7634. qty:
  7635. description: 提货数量
  7636. type: number
  7637. recivername:
  7638. description: 提货人姓名
  7639. type: string
  7640. reqtime:
  7641. description: 更新时间
  7642. type: string
  7643. takemode:
  7644. description: 提货方式 - 2:自提 3:配送
  7645. type: integer
  7646. takeorderid:
  7647. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  7648. type: string
  7649. takeorderstatus:
  7650. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  7651. type: integer
  7652. takeremark:
  7653. description: 提货备注
  7654. type: string
  7655. tradedate:
  7656. description: 交易日(yyyyMMdd)
  7657. type: string
  7658. trademode:
  7659. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7660. 21:竞拍-大宗式 22:受托竞价
  7661. type: integer
  7662. userid:
  7663. description: 用户ID
  7664. type: integer
  7665. vendorname:
  7666. description: 供应商名称
  7667. type: string
  7668. required:
  7669. - goodscode
  7670. - goodsname
  7671. - takeorderid
  7672. - trademode
  7673. type: object
  7674. models.HsbyPreGoods:
  7675. properties:
  7676. agreeunit:
  7677. description: 合约单位
  7678. type: number
  7679. currency:
  7680. description: 货币
  7681. type: string
  7682. currencysign:
  7683. description: 货币符号
  7684. type: string
  7685. decimalplace:
  7686. description: 报价小数位
  7687. type: integer
  7688. desccityid:
  7689. description: 目的地(市)
  7690. type: integer
  7691. descprovinceid:
  7692. description: 目的地(省)
  7693. type: integer
  7694. enableqty:
  7695. description: 剩余数量
  7696. type: integer
  7697. goodscode:
  7698. description: 商品代码(内部)
  7699. type: string
  7700. goodsid:
  7701. description: 商品ID(自增ID SEQ_GOODS)
  7702. type: integer
  7703. goodsname:
  7704. description: 商品名称
  7705. type: string
  7706. goodsstatus:
  7707. description: 商品状态- 2:未上市 3:上市
  7708. type: integer
  7709. lasttradedate:
  7710. description: 最后交易日期(状态:待退市)
  7711. type: string
  7712. listingdate:
  7713. description: 交易开始日期
  7714. type: string
  7715. marketid:
  7716. description: 所属市场ID
  7717. type: integer
  7718. picurls:
  7719. description: 介绍图片[多张用逗号分隔]
  7720. type: string
  7721. presaledqty:
  7722. description: 已预售量(预售结束时更新)
  7723. type: integer
  7724. presaleqty:
  7725. description: 预售数量
  7726. type: integer
  7727. quoteminunit:
  7728. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7729. type: integer
  7730. refprice:
  7731. description: 参考价格[一口价]
  7732. type: number
  7733. relatedgoodsid:
  7734. description: 关联交易合约ID
  7735. type: integer
  7736. trademode:
  7737. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7738. 21:竞拍-大宗式 22:受托竞价
  7739. type: integer
  7740. videourls:
  7741. description: 介绍视频[多张用逗号分隔]
  7742. type: string
  7743. required:
  7744. - goodscode
  7745. - goodsid
  7746. - goodsname
  7747. - marketid
  7748. - trademode
  7749. type: object
  7750. models.HsbyPreGoodsDetail:
  7751. properties:
  7752. agreeunit:
  7753. description: 合约单位
  7754. type: number
  7755. buymaxqty:
  7756. description: 购买上限 [71] - 0为不限
  7757. type: integer
  7758. currency:
  7759. description: 货币
  7760. type: string
  7761. currencysign:
  7762. description: 货币符号
  7763. type: string
  7764. customername:
  7765. description: 发行单位
  7766. type: string
  7767. decimalplace:
  7768. description: 报价小数位
  7769. type: integer
  7770. desccityid:
  7771. description: 目的地(市)ID
  7772. type: integer
  7773. descprovinceid:
  7774. description: 目的地(省)ID
  7775. type: integer
  7776. enableqty:
  7777. description: 剩余数量
  7778. type: integer
  7779. goodscode:
  7780. description: 商品代码(内部)
  7781. type: string
  7782. goodsdesc:
  7783. description: 商品详情
  7784. type: string
  7785. goodsid:
  7786. description: 商品ID(自增ID SEQ_GOODS)
  7787. type: integer
  7788. goodsname:
  7789. description: 商品名称
  7790. type: string
  7791. goodsstatus:
  7792. description: 商品状态- 2:未上市 3:上市
  7793. type: integer
  7794. goodunit:
  7795. description: 报价单位
  7796. type: string
  7797. lasttradedate:
  7798. description: 最后交易日期(状态:待退市)
  7799. type: string
  7800. listingdate:
  7801. description: 交易开始日期
  7802. type: string
  7803. lotsize:
  7804. description: 手数最小变动单位
  7805. type: integer
  7806. marketid:
  7807. description: 所属市场ID
  7808. type: integer
  7809. picurls:
  7810. description: 介绍图片[多张用逗号分隔]
  7811. type: string
  7812. presaledqty:
  7813. description: 已预售量(预售结束时更新)
  7814. type: integer
  7815. presaleqty:
  7816. description: 预售数量
  7817. type: integer
  7818. quoteminunit:
  7819. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7820. type: integer
  7821. refprice:
  7822. description: 参考价格[一口价]
  7823. type: number
  7824. relatedgoodsid:
  7825. description: 关联交易合约ID
  7826. type: integer
  7827. stepvalue:
  7828. description: 价格最小变动单位
  7829. type: number
  7830. trademode:
  7831. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7832. 21:竞拍-大宗式 22:受托竞价
  7833. type: integer
  7834. vendorattr:
  7835. description: 供应商附件(多张,逗号分隔)
  7836. type: string
  7837. vendorname:
  7838. description: 供应商名称
  7839. type: string
  7840. vendorphone:
  7841. description: 供应商客服电话
  7842. type: string
  7843. videourls:
  7844. description: 介绍视频[多张用逗号分隔]
  7845. type: string
  7846. required:
  7847. - goodscode
  7848. - goodsid
  7849. - goodsname
  7850. - marketid
  7851. - trademode
  7852. type: object
  7853. models.HsbySellCollectionOrder:
  7854. properties:
  7855. agreeunit:
  7856. description: 合约单位
  7857. type: number
  7858. buyaccountid:
  7859. description: 买方账号ID[报价币种]
  7860. type: integer
  7861. buyorderid:
  7862. description: 买方委托单号
  7863. type: string
  7864. createtime:
  7865. description: 创建时间
  7866. type: string
  7867. currencysign:
  7868. description: 货币符号
  7869. type: string
  7870. decimalplace:
  7871. description: 报价小数位
  7872. type: integer
  7873. goodscode:
  7874. description: 商品代码(内部)
  7875. type: string
  7876. goodsid:
  7877. description: 商品ID
  7878. type: integer
  7879. goodsname:
  7880. description: 商品名称
  7881. type: string
  7882. marketid:
  7883. description: 市场ID
  7884. type: integer
  7885. offamount:
  7886. description: 优惠金额
  7887. type: number
  7888. payamount:
  7889. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  7890. type: number
  7891. payflag:
  7892. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7893. type: integer
  7894. paylimitedtime:
  7895. description: 支付期限
  7896. type: string
  7897. paytime:
  7898. description: 付款时间
  7899. type: string
  7900. picurls:
  7901. description: 商品介绍图片[多张用逗号分隔]
  7902. type: string
  7903. sellaccountid:
  7904. description: 卖方账号ID[报价币种]
  7905. type: integer
  7906. sellorderid:
  7907. description: 卖方委托单号
  7908. type: string
  7909. tradeamount:
  7910. description: 成交金额
  7911. type: number
  7912. tradecharge:
  7913. description: 成交手续费(买方)
  7914. type: number
  7915. tradedate:
  7916. description: 交易日(yyyyMMdd)
  7917. type: string
  7918. tradeid:
  7919. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7920. type: string
  7921. trademode:
  7922. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7923. 21:竞拍-大宗式 22:受托竞价
  7924. type: integer
  7925. tradeprice:
  7926. description: 成交价格
  7927. type: number
  7928. tradeqty:
  7929. description: 成交数量
  7930. type: integer
  7931. required:
  7932. - goodscode
  7933. - goodsname
  7934. - tradeid
  7935. - trademode
  7936. type: object
  7937. models.HsbySellMyDetail:
  7938. properties:
  7939. accountid:
  7940. description: 账户ID[报价币种]
  7941. type: integer
  7942. agreeunit:
  7943. description: 合约单位
  7944. type: number
  7945. buyorsell:
  7946. description: 买卖 - 0:买 1:卖
  7947. type: integer
  7948. currencysign:
  7949. description: 货币符号
  7950. type: string
  7951. decimalplace:
  7952. description: 报价小数位
  7953. type: integer
  7954. goodscode:
  7955. description: 商品代码(内部)
  7956. type: string
  7957. goodsid:
  7958. description: 商品ID
  7959. type: integer
  7960. goodsname:
  7961. description: 商品名称
  7962. type: string
  7963. marketid:
  7964. description: 市场ID
  7965. type: integer
  7966. orderid:
  7967. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  7968. type: string
  7969. ordertype:
  7970. description: 单据类型:0 - 发布中, 1 - 已完成
  7971. type: integer
  7972. picurls:
  7973. description: 介绍图片[多张用逗号分隔]
  7974. type: string
  7975. price:
  7976. description: 价格
  7977. type: number
  7978. qty:
  7979. description: 数量
  7980. type: integer
  7981. time:
  7982. description: 时间
  7983. type: string
  7984. trademode:
  7985. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7986. 21:竞拍-大宗式 22:受托竞价
  7987. type: integer
  7988. vendorname:
  7989. description: 供应商名称
  7990. type: string
  7991. required:
  7992. - accountid
  7993. - buyorsell
  7994. - goodscode
  7995. - goodsid
  7996. - goodsname
  7997. - marketid
  7998. - orderid
  7999. - time
  8000. - trademode
  8001. type: object
  8002. models.HsbyTopGoods:
  8003. properties:
  8004. agreeunit:
  8005. description: 合约单位
  8006. type: number
  8007. currency:
  8008. description: 货币
  8009. type: string
  8010. currencysign:
  8011. description: 货币符号
  8012. type: string
  8013. decimalplace:
  8014. description: 报价小数位
  8015. type: integer
  8016. desccityid:
  8017. description: 目的地(市)
  8018. type: integer
  8019. descprovinceid:
  8020. description: 目的地(省)
  8021. type: integer
  8022. goodscode:
  8023. description: 商品代码(内部)
  8024. type: string
  8025. goodsid:
  8026. description: 商品ID(自增ID SEQ_GOODS)
  8027. type: integer
  8028. goodsname:
  8029. description: 商品名称
  8030. type: string
  8031. hotindex:
  8032. description: 景点热度
  8033. type: integer
  8034. last:
  8035. description: 现价
  8036. type: number
  8037. marketid:
  8038. description: 所属市场ID
  8039. type: integer
  8040. picurls:
  8041. description: 介绍图片[多张用逗号分隔]
  8042. type: string
  8043. quoteminunit:
  8044. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8045. type: integer
  8046. trademode:
  8047. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8048. 21:竞拍-大宗式 22:受托竞价
  8049. type: integer
  8050. videourls:
  8051. description: 介绍视频[多张用逗号分隔]
  8052. type: string
  8053. required:
  8054. - goodscode
  8055. - goodsid
  8056. - goodsname
  8057. - marketid
  8058. - trademode
  8059. type: object
  8060. models.HybsMyBuyOrderDetail:
  8061. properties:
  8062. accountid:
  8063. description: 账户ID[报价币种]
  8064. type: integer
  8065. agreeunit:
  8066. description: 合约单位
  8067. type: number
  8068. buyorsell:
  8069. description: 买卖 - 0:买 1:卖
  8070. type: integer
  8071. cancelqty:
  8072. description: 撤单数量
  8073. type: integer
  8074. currencysign:
  8075. description: 货币符号
  8076. type: string
  8077. decimalplace:
  8078. description: 报价小数位
  8079. type: integer
  8080. goodscode:
  8081. description: 商品代码(内部)
  8082. type: string
  8083. goodsid:
  8084. description: 商品ID
  8085. type: integer
  8086. goodsname:
  8087. description: 商品名称
  8088. type: string
  8089. listingselecttype:
  8090. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8091. type: integer
  8092. marketid:
  8093. description: 市场ID
  8094. type: integer
  8095. mybuystatus:
  8096. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8097. type: integer
  8098. orderamount:
  8099. description: 委托金额
  8100. type: number
  8101. orderid:
  8102. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8103. type: string
  8104. orderprice:
  8105. description: 委托价格
  8106. type: number
  8107. orderqty:
  8108. description: 委托数量
  8109. type: integer
  8110. orderstatus:
  8111. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8112. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8113. 16:成交失败违约(荷兰式竞拍专用)
  8114. type: integer
  8115. ordertime:
  8116. description: 委托时间
  8117. type: string
  8118. picurls1:
  8119. description: 预售商品介绍图片[多张用逗号分隔]
  8120. type: string
  8121. picurls2:
  8122. description: 挂牌商品介绍图片[多张用逗号分隔]
  8123. type: string
  8124. trademode:
  8125. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8126. 21:竞拍-大宗式 22:受托竞价
  8127. type: integer
  8128. tradeqty:
  8129. description: 成交数量
  8130. type: integer
  8131. vendorname1:
  8132. description: 预售商品供应商名称
  8133. type: string
  8134. vendorname2:
  8135. description: 挂牌商品供应商名称
  8136. type: string
  8137. required:
  8138. - accountid
  8139. - buyorsell
  8140. - goodscode
  8141. - goodsid
  8142. - goodsname
  8143. - marketid
  8144. - orderid
  8145. - orderqty
  8146. - ordertime
  8147. - trademode
  8148. type: object
  8149. models.Loginaccount:
  8150. properties:
  8151. canoutin:
  8152. description: 是否可出入金 - 0:不可 1:可
  8153. type: integer
  8154. clientroleid:
  8155. description: 终端角色ID
  8156. type: integer
  8157. haslogined:
  8158. description: 是否已登录 - 0:未登录 1:已登录
  8159. type: integer
  8160. hasupdatedpwd:
  8161. description: 是否已更改密码 - 0:未修改 1:已修改
  8162. type: integer
  8163. lastloginip:
  8164. description: 最新登录地址
  8165. type: string
  8166. lastloginmode:
  8167. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8168. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8169. type: integer
  8170. lastloginremark:
  8171. description: 最新登录描述
  8172. type: string
  8173. lastlogintime:
  8174. description: 最新登录时间
  8175. type: string
  8176. logincode:
  8177. description: 登录代码
  8178. type: string
  8179. loginfailnum:
  8180. description: 连续登录失败次数(登录成功时清零)
  8181. type: integer
  8182. loginid:
  8183. description: 登陆账号
  8184. type: integer
  8185. loginport:
  8186. description: 最新登录端口
  8187. type: integer
  8188. loginstatus:
  8189. description: 登录账号状态 1:正常 2:冻结 3:无效
  8190. type: integer
  8191. loginusertype:
  8192. description: 登录账号类型 - 1:投资者 2:机构交易员
  8193. type: integer
  8194. modifierid:
  8195. description: 修改人
  8196. type: integer
  8197. modifytime:
  8198. description: 修改时间
  8199. type: string
  8200. pwdwrongcount:
  8201. description: 密码错误次数
  8202. type: integer
  8203. taaccountrighttype:
  8204. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8205. type: integer
  8206. unfreezetime:
  8207. description: 账户解冻时间
  8208. type: string
  8209. userid:
  8210. description: 用户ID
  8211. type: integer
  8212. required:
  8213. - loginid
  8214. type: object
  8215. models.MainAccountInfo:
  8216. properties:
  8217. accountid:
  8218. description: 账号id
  8219. type: integer
  8220. accountname:
  8221. description: 账号名称(taaccount表中的名称)
  8222. type: string
  8223. appid:
  8224. description: AppID
  8225. type: string
  8226. authcode:
  8227. description: 授权码
  8228. type: string
  8229. brokerid:
  8230. description: 经纪商id
  8231. type: string
  8232. fcid:
  8233. description: 期货公司id
  8234. type: integer
  8235. fcname:
  8236. description: 期货公司代码
  8237. type: string
  8238. hedgeaccountcode:
  8239. description: 外部账号代码(主账号登录代码)
  8240. type: string
  8241. hedgeaccountpwd:
  8242. description: 密码
  8243. type: string
  8244. ismain:
  8245. description: 是否主账号
  8246. type: integer
  8247. relateduserid:
  8248. description: 关联用户id
  8249. type: integer
  8250. userid:
  8251. description: 关联用户id
  8252. type: integer
  8253. type: object
  8254. models.Market:
  8255. properties:
  8256. auctionwrtype:
  8257. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8258. type: integer
  8259. canacceptquote:
  8260. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8261. type: integer
  8262. cangoodsexercise:
  8263. description: '[期权]是否可现货行权- 0:否 1:是'
  8264. type: integer
  8265. cangoodsexercisetype:
  8266. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8267. type: integer
  8268. canmanualquotestrike:
  8269. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8270. type: integer
  8271. canmutistage:
  8272. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8273. type: integer
  8274. canpreexercise:
  8275. description: '[期权]是否可预申报- 0:否 1:是'
  8276. type: integer
  8277. clearinterval:
  8278. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8279. type: integer
  8280. contracttmp:
  8281. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8282. type: string
  8283. exchareaid:
  8284. description: 所属交易所,可以没有
  8285. type: integer
  8286. goodstype:
  8287. description: 商品类型 - 1:交易商品 2:仓单商品
  8288. type: integer
  8289. hasrebate:
  8290. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8291. type: integer
  8292. hastradecredit:
  8293. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8294. type: integer
  8295. haswr:
  8296. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8297. type: integer
  8298. isdeductmargin:
  8299. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8300. type: integer
  8301. isrecordsource:
  8302. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8303. type: integer
  8304. isreleasemargin:
  8305. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  8306. type: integer
  8307. marginformula:
  8308. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8309. type: integer
  8310. marginformula2:
  8311. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8312. type: integer
  8313. marketid:
  8314. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8315. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8316. type: integer
  8317. marketname:
  8318. description: 市场名称
  8319. type: string
  8320. marketserviceid:
  8321. description: 市场服务ID
  8322. type: integer
  8323. marketstatus:
  8324. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8325. type: integer
  8326. markettype:
  8327. description: 市场类型- 1:非交易服务 2:交易服务
  8328. type: integer
  8329. matchermode:
  8330. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  8331. type: integer
  8332. openmethod:
  8333. description: 开盘模式 - 0 自动 1手动
  8334. type: integer
  8335. otcuserid:
  8336. description: 场外期权做市商[场外期权]
  8337. type: integer
  8338. outersynctime:
  8339. description: 外部同步时间点(h24:mi:ss)[场外期权]
  8340. type: string
  8341. pendingflag:
  8342. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  8343. type: integer
  8344. pendingtime:
  8345. description: 待开市时间[通道交易-对冲](HH:mm)
  8346. type: string
  8347. performancetempid:
  8348. description: 履约计划模板ID - 作废
  8349. type: integer
  8350. premiumquotemode:
  8351. description: 权利金报价方式 - 1:自动 2:手动
  8352. type: integer
  8353. rebateratio:
  8354. description: 返利比率[竞价式]
  8355. type: number
  8356. reckonorder:
  8357. description: 结算顺序
  8358. type: integer
  8359. reckonpricealgorithm:
  8360. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  8361. 6.卖一价 7.买一卖一均价 8.外部结算价'
  8362. type: integer
  8363. reckonpriceparam:
  8364. description: 结算价参数
  8365. type: integer
  8366. reckontime:
  8367. description: 结算时间[通道交易-对冲](HH:mm)
  8368. type: string
  8369. roleprioritytype:
  8370. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  8371. type: integer
  8372. selllistingauditflag:
  8373. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  8374. type: integer
  8375. trademarkettype:
  8376. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  8377. type: integer
  8378. trademode:
  8379. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8380. 21:竞拍-大宗式 22:受托竞价
  8381. type: integer
  8382. tradeproperty:
  8383. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  8384. 8:场外期权
  8385. type: integer
  8386. tradetype:
  8387. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  8388. type: integer
  8389. required:
  8390. - marketid
  8391. - marketstatus
  8392. - openmethod
  8393. - reckonpricealgorithm
  8394. - trademode
  8395. - tradeproperty
  8396. type: object
  8397. models.Marketrun:
  8398. properties:
  8399. afternexttradedate:
  8400. description: 下下交易日
  8401. type: string
  8402. clearquoteflag:
  8403. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  8404. type: integer
  8405. lastreckondate:
  8406. description: 最新交易日(结算成功)
  8407. type: string
  8408. machinedate:
  8409. description: 机器时间
  8410. type: string
  8411. manualflag:
  8412. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  8413. type: integer
  8414. marketid:
  8415. description: 市场ID
  8416. type: integer
  8417. nexttradedate:
  8418. description: 下一交易日
  8419. type: string
  8420. pretradedate:
  8421. description: 上一交易日
  8422. type: string
  8423. reckonflag:
  8424. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  8425. type: integer
  8426. runstatus:
  8427. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  8428. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  8429. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  8430. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  8431. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  8432. 62.今日免清算
  8433. type: integer
  8434. sectionid:
  8435. description: 时间段号[多时段时用]
  8436. type: integer
  8437. tradedate:
  8438. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  8439. type: string
  8440. tradedate2:
  8441. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  8442. type: string
  8443. updatetime:
  8444. description: 更新时间
  8445. type: string
  8446. required:
  8447. - marketid
  8448. - nexttradedate
  8449. - reckonflag
  8450. - runstatus
  8451. - tradedate
  8452. - tradedate2
  8453. type: object
  8454. models.Messageboard:
  8455. properties:
  8456. contactnum:
  8457. description: 联系电话
  8458. type: string
  8459. createtime:
  8460. description: 创建时间
  8461. type: string
  8462. message:
  8463. description: 留言信息
  8464. type: string
  8465. messageboardid:
  8466. description: 留言簿ID(SEQ_MessageBoard)
  8467. type: integer
  8468. userid:
  8469. description: 用户ID
  8470. type: integer
  8471. required:
  8472. - messageboardid
  8473. type: object
  8474. models.MyCoupon:
  8475. properties:
  8476. accountid:
  8477. description: 资金账户ID
  8478. type: integer
  8479. areauserid:
  8480. description: 所属机构
  8481. type: integer
  8482. conditionvalue:
  8483. description: 条件阈值(可为0)
  8484. type: number
  8485. couponcategroy:
  8486. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  8487. type: integer
  8488. couponname:
  8489. description: 优惠券名称
  8490. type: string
  8491. coupontypeid:
  8492. description: 优惠券类型ID
  8493. type: string
  8494. couponvalue:
  8495. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  8496. type: number
  8497. curfreezeqty:
  8498. description: 期末冻结数量
  8499. type: integer
  8500. curqty:
  8501. description: 期末数量
  8502. type: integer
  8503. isgeneral:
  8504. description: 是否通用券 - 0:否 1:是
  8505. type: integer
  8506. isunusable:
  8507. description: 是否不可用
  8508. type: boolean
  8509. limitedflag:
  8510. description: 是否指定商品 - 0:不限 1:限制
  8511. type: integer
  8512. limitedgoodsids:
  8513. description: 指定商品IDs[逗号分隔,前后加逗号]
  8514. type: string
  8515. orifreezeqty:
  8516. description: 期初冻结数量
  8517. type: integer
  8518. oriqty:
  8519. description: 期初数量
  8520. type: integer
  8521. reasontype:
  8522. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  8523. type: integer
  8524. todaydecrease:
  8525. description: 今日减少
  8526. type: integer
  8527. todayincrease:
  8528. description: 今日增加
  8529. type: integer
  8530. userid:
  8531. description: 用户ID
  8532. type: integer
  8533. userscope:
  8534. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  8535. type: string
  8536. required:
  8537. - accountid
  8538. - coupontypeid
  8539. type: object
  8540. models.MyCouponHold:
  8541. properties:
  8542. accountid:
  8543. description: 资金账户ID
  8544. type: integer
  8545. conditionvalue:
  8546. description: 条件阈值(可为0)
  8547. type: number
  8548. couponcategroy:
  8549. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  8550. type: integer
  8551. couponholdid:
  8552. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  8553. type: string
  8554. couponname:
  8555. description: 优惠券名称
  8556. type: string
  8557. coupontypeid:
  8558. description: 优惠券类型ID - SEQ_COUPONTYPE
  8559. type: string
  8560. couponvalue:
  8561. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  8562. type: number
  8563. createtime:
  8564. description: 创建时间
  8565. type: string
  8566. enddate:
  8567. description: 结束日期
  8568. type: string
  8569. giveapplyid:
  8570. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  8571. type: integer
  8572. holdstatus:
  8573. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  8574. type: integer
  8575. isgeneral:
  8576. description: 是否通用券 - 0:否 1:是
  8577. type: integer
  8578. limitedflag:
  8579. description: 是否指定商品 - 0:不限 1:限制
  8580. type: integer
  8581. limitedgoodsids:
  8582. description: 指定商品IDs[逗号分隔]
  8583. type: string
  8584. qty:
  8585. description: 数量(按1平铺)
  8586. type: integer
  8587. startdate:
  8588. description: 开始日期
  8589. type: string
  8590. userid:
  8591. description: 用户ID
  8592. type: integer
  8593. userscope:
  8594. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  8595. type: string
  8596. required:
  8597. - couponholdid
  8598. type: object
  8599. models.MyUsedCoupon:
  8600. properties:
  8601. accountid:
  8602. description: 资金账户ID(买方)
  8603. type: integer
  8604. conditionvalue:
  8605. description: 条件阈值(可为0)
  8606. type: number
  8607. couponcategroy:
  8608. description: 种类 - 1:现金券 2:折扣券
  8609. type: integer
  8610. couponname:
  8611. description: 优惠券名称
  8612. type: string
  8613. coupontypeid:
  8614. description: 优惠券类型ID(买方)
  8615. type: string
  8616. couponvalue:
  8617. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  8618. type: number
  8619. createtime:
  8620. description: 创建时间
  8621. type: string
  8622. goodsid:
  8623. description: 商品ID
  8624. type: integer
  8625. handlestatus:
  8626. description: 处理状态
  8627. type: integer
  8628. marketid:
  8629. description: 市场ID
  8630. type: integer
  8631. offamount:
  8632. description: 优惠金额
  8633. type: number
  8634. orderid:
  8635. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8636. type: string
  8637. sellaccountid:
  8638. description: 资金账户ID(卖方)
  8639. type: integer
  8640. tradeamount:
  8641. description: 成交金额
  8642. type: number
  8643. tradeid:
  8644. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8645. type: string
  8646. usedqty:
  8647. description: 使用数量
  8648. type: integer
  8649. required:
  8650. - coupontypeid
  8651. - orderid
  8652. type: object
  8653. models.OperationPrimaryMenu:
  8654. properties:
  8655. Children:
  8656. description: 二级功能菜单
  8657. items:
  8658. $ref: '#/definitions/models.OperationSecondaryMenu'
  8659. type: array
  8660. Key:
  8661. description: 菜单KEY
  8662. type: string
  8663. Label:
  8664. description: 菜单标题
  8665. type: string
  8666. type: object
  8667. models.OperationSecondaryMenu:
  8668. properties:
  8669. Key:
  8670. description: 菜单KEY
  8671. type: string
  8672. Label:
  8673. description: 菜单标题
  8674. type: string
  8675. TabList:
  8676. description: 三级功能菜单
  8677. items:
  8678. $ref: '#/definitions/models.OperationTabMenu'
  8679. type: array
  8680. type: object
  8681. models.OperationTabMenu:
  8682. properties:
  8683. Key:
  8684. description: 菜单KEY
  8685. type: string
  8686. Label:
  8687. description: 菜单标题
  8688. type: string
  8689. type: object
  8690. models.PendingAuditBizModel:
  8691. properties:
  8692. accountid:
  8693. description: 现货账户
  8694. type: string
  8695. areaname:
  8696. description: 所属部门
  8697. type: string
  8698. bizid:
  8699. description: 业务ID
  8700. type: string
  8701. bizname:
  8702. description: 业务名称
  8703. type: string
  8704. status:
  8705. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  8706. type: integer
  8707. type:
  8708. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  8709. type: integer
  8710. type: object
  8711. models.QhjContract:
  8712. properties:
  8713. contractconfirmtime:
  8714. description: 合同确认时间(时间)
  8715. type: string
  8716. enumdicname:
  8717. description: 单位名称
  8718. type: string
  8719. goodscode:
  8720. description: 商品代码
  8721. type: string
  8722. goodsid:
  8723. description: 商品ID [5:融资单]
  8724. type: integer
  8725. goodsname:
  8726. description: 商品名称
  8727. type: string
  8728. goodunitid:
  8729. description: 商品单位id
  8730. type: integer
  8731. initmargin:
  8732. description: 初始保证金(首付款)
  8733. type: number
  8734. lenderamount:
  8735. description: 贷款金额(总额|订单总额)
  8736. type: number
  8737. marginratio:
  8738. description: 保证金比率(首付比例)
  8739. type: number
  8740. payamount:
  8741. description: 已付(已付货款)
  8742. type: number
  8743. recoveredmargin:
  8744. description: 已追缴保证金
  8745. type: number
  8746. remainamount:
  8747. description: 合同剩余金额(融资额)
  8748. type: number
  8749. scfcontractid:
  8750. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  8751. type: integer
  8752. scfcontracttype:
  8753. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  8754. type: integer
  8755. totalinterest:
  8756. description: 已计总利息(利息)
  8757. type: number
  8758. tradeprice:
  8759. description: 成交价格(成本价格)
  8760. type: number
  8761. userid:
  8762. description: 用户ID
  8763. type: integer
  8764. username:
  8765. description: 用户名称
  8766. type: string
  8767. wrqty:
  8768. description: 仓单数量(数量)
  8769. type: integer
  8770. type: object
  8771. models.QhjContractLog:
  8772. properties:
  8773. amount:
  8774. description: 支付金额
  8775. type: number
  8776. amounttype:
  8777. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  8778. type: integer
  8779. logid:
  8780. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8781. type: string
  8782. remainamount:
  8783. description: 剩余货款
  8784. type: number
  8785. scfcontractid:
  8786. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  8787. type: integer
  8788. updatetime:
  8789. description: 更新时间
  8790. type: string
  8791. type: object
  8792. models.QhjPickGoods:
  8793. properties:
  8794. imageaddress:
  8795. description: 图片
  8796. type: string
  8797. modifierid:
  8798. description: 修改人
  8799. type: integer
  8800. modifiername:
  8801. description: 修改人名称
  8802. type: string
  8803. modifysrc:
  8804. description: 修改来源 - 1:管理端 2:终端
  8805. type: integer
  8806. pickupgoodsagreeunit:
  8807. description: 合约乘数
  8808. type: number
  8809. pickupgoodsdesc:
  8810. description: 描述
  8811. type: string
  8812. pickupgoodsid:
  8813. description: 提货商品ID
  8814. type: string
  8815. pickupgoodsname:
  8816. description: 提货商品名称
  8817. type: string
  8818. pickupgoodsstatus:
  8819. description: 状态 - 1:正常 2:停用 3:注销
  8820. type: integer
  8821. pickupgoodsunitid:
  8822. description: 单位ID
  8823. type: integer
  8824. preparedays:
  8825. description: 备货期(天)
  8826. type: integer
  8827. remark:
  8828. description: 备注
  8829. type: string
  8830. updatetime:
  8831. description: 更新时间
  8832. type: string
  8833. type: object
  8834. models.QhjRSTriggerLog:
  8835. properties:
  8836. accountid:
  8837. description: 用户资金账户
  8838. type: integer
  8839. accountname:
  8840. description: 账号名称(ACCOUNTID对应的名称)
  8841. type: string
  8842. currencyid:
  8843. description: 币种id
  8844. type: integer
  8845. currencyname:
  8846. description: 币种名称
  8847. type: string
  8848. enumdicname:
  8849. description: 单位名称
  8850. type: string
  8851. goodscode:
  8852. description: 定投商品代码
  8853. type: string
  8854. goodsid:
  8855. description: 定投商品ID
  8856. type: string
  8857. goodsname:
  8858. description: 定投商品名称
  8859. type: string
  8860. goodunitid:
  8861. description: 定投商品单位id
  8862. type: integer
  8863. logid:
  8864. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  8865. type: string
  8866. regularlycycle:
  8867. description: 定投频率 - 1:每周 2:每月
  8868. type: integer
  8869. regularlycyclevalue:
  8870. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  8871. type: string
  8872. regularlymode:
  8873. description: 定投方式 - 1:按数量 2:按金额
  8874. type: integer
  8875. regularlymodevalue:
  8876. description: 定投方式值 - 数量或金额
  8877. type: number
  8878. regularlystrategyid:
  8879. description: 定投策略ID
  8880. type: integer
  8881. retcode:
  8882. description: 错误码
  8883. type: string
  8884. tradeid:
  8885. description: 成交单ID
  8886. type: string
  8887. triggeramount:
  8888. description: 触发金额
  8889. type: number
  8890. triggerqty:
  8891. description: 触发数量
  8892. type: number
  8893. triggerstatus:
  8894. description: 触发状态 - 1:成功 2:失败
  8895. type: integer
  8896. triggertime:
  8897. description: 触发时间
  8898. type: string
  8899. triggertradedate:
  8900. description: 触发交易日
  8901. type: string
  8902. userid:
  8903. description: 所属用户ID
  8904. type: integer
  8905. username:
  8906. description: 用户名称(userid对应的名称)
  8907. type: string
  8908. type: object
  8909. models.QhjRStrategy:
  8910. properties:
  8911. accountid:
  8912. description: 用户资金账户
  8913. type: integer
  8914. accountname:
  8915. description: 账号名称(ACCOUNTID对应的名称)
  8916. type: string
  8917. currencyid:
  8918. description: 币种id
  8919. type: integer
  8920. currencyname:
  8921. description: 币种名称
  8922. type: string
  8923. enumdicname:
  8924. description: 单位名称
  8925. type: string
  8926. goodscode:
  8927. description: 定投商品代码
  8928. type: string
  8929. goodsid:
  8930. description: 定投商品ID
  8931. type: string
  8932. goodsname:
  8933. description: 定投商品名称
  8934. type: string
  8935. goodunitid:
  8936. description: 定投商品单位id
  8937. type: integer
  8938. lasteffecttradedate:
  8939. description: 最新生效交易日
  8940. type: string
  8941. laststoptradedate:
  8942. description: 最新暂停交易日
  8943. type: string
  8944. lasttriggertradedate:
  8945. description: 最新触发交易日
  8946. type: string
  8947. nexttriggeramount:
  8948. description: 下次触发金额
  8949. type: number
  8950. nexttriggerdate:
  8951. description: 下次触发日期
  8952. type: string
  8953. nexttriggerqty:
  8954. description: 下次触发数量 [按小数位放大值]
  8955. type: number
  8956. regularlycycle:
  8957. description: 定投频率 - 1:每周 2:每月
  8958. type: integer
  8959. regularlycyclevalue:
  8960. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  8961. type: string
  8962. regularlymode:
  8963. description: 定投方式 - 1:按数量 2:按金额
  8964. type: integer
  8965. regularlymodevalue:
  8966. description: 定投方式值 - 数量或金额
  8967. type: number
  8968. regularlystrategyid:
  8969. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  8970. type: integer
  8971. regularlystrategystatus:
  8972. description: 策略状态 - 1:正常 2:暂停 3:终止
  8973. type: integer
  8974. remark:
  8975. description: 备注
  8976. type: string
  8977. triggersuccesstimes:
  8978. description: 累计定投成功次数
  8979. type: string
  8980. triggertotalamount:
  8981. description: 累计定投金额(成功)
  8982. type: number
  8983. triggertotalqty:
  8984. description: 累计定投数量(成功) [按小数位放大值]
  8985. type: number
  8986. triggertotaltimes:
  8987. description: 累计定投总次数
  8988. type: string
  8989. updatesrc:
  8990. description: 更新来源 - 1:管理端 2:终端
  8991. type: integer
  8992. updatetime:
  8993. description: 更新时间
  8994. type: string
  8995. updatorid:
  8996. description: 更新人
  8997. type: string
  8998. userid:
  8999. description: 所属用户ID
  9000. type: integer
  9001. username:
  9002. description: 用户名称(userid对应的名称)
  9003. type: string
  9004. type: object
  9005. models.QhjTradeGoodsPickup:
  9006. properties:
  9007. accountid:
  9008. description: 账户ID
  9009. type: integer
  9010. address:
  9011. description: 提货人详细地址
  9012. type: string
  9013. amount:
  9014. description: 提货金额
  9015. type: number
  9016. artradedate:
  9017. description: 自动收货交易日(yyyyMMdd)
  9018. type: string
  9019. auditer:
  9020. description: 审核人
  9021. type: integer
  9022. auditsrc:
  9023. description: 更新来源 - 1:管理端 2:终端
  9024. type: integer
  9025. audittime:
  9026. description: 审核时间(发货时间)
  9027. type: string
  9028. audittradedate:
  9029. description: 审核交易日(yyyyMMdd)
  9030. type: string
  9031. cardnum:
  9032. description: 提货人证件号码
  9033. type: string
  9034. cardtypeid:
  9035. description: 提货人证件类型
  9036. type: integer
  9037. checkremark:
  9038. description: 审核备注
  9039. type: string
  9040. cityid:
  9041. description: 市
  9042. type: integer
  9043. countryid:
  9044. description: 国家
  9045. type: integer
  9046. districtid:
  9047. description: 地区
  9048. type: integer
  9049. enumdicname:
  9050. description: 单位名称(提货商品)
  9051. type: string
  9052. expresscompany:
  9053. description: 物流公司
  9054. type: string
  9055. expressnum:
  9056. description: 物流单号
  9057. type: string
  9058. goodsagreeunit:
  9059. description: 交易商品乘数
  9060. type: number
  9061. goodsid:
  9062. description: 商品ID
  9063. type: integer
  9064. goodsqty:
  9065. description: 交易商品手数(69模式按成交量小数位放大取整)
  9066. type: number
  9067. handlestatus:
  9068. description: 处理状态
  9069. type: integer
  9070. marketid:
  9071. description: 市场ID
  9072. type: integer
  9073. phonenum:
  9074. description: 提货人联系方式
  9075. type: string
  9076. pickupgoodsagreeunit:
  9077. description: 提货商品合约乘数
  9078. type: number
  9079. pickupgoodsid:
  9080. description: 提货商品ID
  9081. type: string
  9082. pickupgoodsname:
  9083. description: 提货商品名称
  9084. type: string
  9085. pickupgoodsqty:
  9086. description: 提货商品手数(数量)
  9087. type: number
  9088. pickupgoodsunitid:
  9089. description: 单位ID(提货商品)
  9090. type: integer
  9091. pickupratio:
  9092. description: 提货系数
  9093. type: number
  9094. preparedays:
  9095. description: 备货期(天)-提货单明细表
  9096. type: integer
  9097. provinceid:
  9098. description: 省
  9099. type: integer
  9100. qty:
  9101. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  9102. type: number
  9103. recivername:
  9104. description: 提货人姓名
  9105. type: string
  9106. reqtime:
  9107. description: 提货申请时间
  9108. type: string
  9109. storeuserid:
  9110. description: 门店用户ID (千海金)
  9111. type: integer
  9112. storeusername:
  9113. description: 门店用户名称
  9114. type: string
  9115. takemode:
  9116. description: 提货方式 - 2:自提 3:配送(邮寄)
  9117. type: integer
  9118. takeorderid:
  9119. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9120. type: integer
  9121. takeorderstatus:
  9122. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  9123. 7:已拒绝 8:已撤销
  9124. type: integer
  9125. takeremark:
  9126. description: 提货备注
  9127. type: string
  9128. tradedate:
  9129. description: 交易日(yyyyMMdd)
  9130. type: string
  9131. updatetime:
  9132. description: 更新时间
  9133. type: string
  9134. userid:
  9135. description: 用户ID
  9136. type: integer
  9137. username:
  9138. description: 用户名称
  9139. type: string
  9140. type: object
  9141. models.QueryErrorInfosRsp:
  9142. properties:
  9143. description:
  9144. description: 异常描述
  9145. type: string
  9146. errorcode:
  9147. description: 异常代码
  9148. type: string
  9149. errorid:
  9150. description: 异常ID
  9151. type: integer
  9152. modulecode:
  9153. description: 所属模块
  9154. type: string
  9155. operatecode:
  9156. description: 所属操作
  9157. type: string
  9158. rownumber:
  9159. description: 行号
  9160. type: string
  9161. required:
  9162. - errorid
  9163. type: object
  9164. models.QueryHedgeOrderDetailRsp:
  9165. properties:
  9166. accountid:
  9167. description: 账户ID
  9168. type: integer
  9169. buyorsell:
  9170. description: 买卖 - 0:买 1:卖
  9171. type: integer
  9172. cancellogincode:
  9173. description: 撤单人
  9174. type: string
  9175. channelbuildtype:
  9176. description: 开平标志 - 0:无 1:建仓 2:平仓
  9177. type: integer
  9178. channelinnerorderstatus:
  9179. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  9180. 9:全部成交
  9181. type: integer
  9182. channeloperatetype:
  9183. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  9184. type: integer
  9185. closetype:
  9186. description: 平仓方式 - 0:无 1:平今 2:平昨
  9187. type: integer
  9188. curexchangerate:
  9189. description: 当前汇率
  9190. type: number
  9191. exchangefullname:
  9192. description: 外部交易所全称
  9193. type: string
  9194. goodscode:
  9195. description: 商品代码(内部)
  9196. type: string
  9197. goodsid:
  9198. description: 商品ID
  9199. type: integer
  9200. goodsname:
  9201. description: 商品名称
  9202. type: string
  9203. marketid:
  9204. description: 市场ID
  9205. type: integer
  9206. openfreezemargin:
  9207. description: 冻结保证金(冻结交易金额)
  9208. type: number
  9209. orderid:
  9210. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9211. type: string
  9212. orderlogincode:
  9213. description: 委托人
  9214. type: string
  9215. orderprice:
  9216. description: 委托价格(账户)
  9217. type: number
  9218. orderqty:
  9219. description: 委托数量
  9220. type: integer
  9221. ordertime:
  9222. description: 委托时间
  9223. type: string
  9224. pricemode:
  9225. description: '取价方式 - 1:市价 2: 限价'
  9226. type: integer
  9227. tradedate:
  9228. description: 交易日(yyyyMMdd)
  9229. type: string
  9230. tradeqty:
  9231. description: 成交数量
  9232. type: integer
  9233. type: object
  9234. models.QueryHedgeTradeDetailRsp:
  9235. properties:
  9236. accountid:
  9237. description: 账号ID
  9238. type: integer
  9239. buyorsell:
  9240. description: 方向 - 0:买 1:卖
  9241. type: integer
  9242. channelbuildtype:
  9243. description: 委托单据类型 0:无 1:建仓 2:平仓
  9244. type: integer
  9245. closecharge:
  9246. description: 平仓手续费(账户)
  9247. type: number
  9248. closecharge2:
  9249. description: 平仓手续费(商品)
  9250. type: number
  9251. closepl:
  9252. description: 平仓盈亏(账户)
  9253. type: number
  9254. closepl2:
  9255. description: 平仓盈亏(商品)
  9256. type: number
  9257. closepl3:
  9258. description: 平仓盈亏(账户)(逐笔)
  9259. type: number
  9260. closepl4:
  9261. description: 平仓盈亏(商品)(逐笔)
  9262. type: number
  9263. closetype:
  9264. description: 平仓方式 - 0:无 1:平今 2:平昨
  9265. type: integer
  9266. curexchangerate:
  9267. description: 当前汇率
  9268. type: number
  9269. exchangefullname:
  9270. description: 外部交易所全称
  9271. type: string
  9272. goodscode:
  9273. description: 商品代码(内部)
  9274. type: string
  9275. goodsid:
  9276. description: 商品ID
  9277. type: integer
  9278. goodsname:
  9279. description: 商品名称
  9280. type: string
  9281. marketid:
  9282. description: 市场ID
  9283. type: integer
  9284. opencharge:
  9285. description: 建仓手续费(账户)
  9286. type: number
  9287. opencharge2:
  9288. description: 建仓手续费(商品)
  9289. type: number
  9290. orderid:
  9291. description: 委托单号
  9292. type: string
  9293. orderlogincode:
  9294. description: 委托人
  9295. type: string
  9296. tradeamount:
  9297. description: 成交金额(账户)
  9298. type: number
  9299. tradedate:
  9300. description: 交易日(yyyyMMdd)
  9301. type: string
  9302. tradeid:
  9303. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9304. type: string
  9305. tradeprice:
  9306. description: 成交价格
  9307. type: number
  9308. tradeqty:
  9309. description: 成交数量
  9310. type: integer
  9311. tradetime:
  9312. description: 成交时间
  9313. type: string
  9314. tradetype:
  9315. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  9316. type: integer
  9317. type: object
  9318. models.QuotePrimaryMenu:
  9319. properties:
  9320. Index:
  9321. description: 序号
  9322. type: integer
  9323. Key:
  9324. description: 键名
  9325. type: string
  9326. Name:
  9327. description: 菜单名称
  9328. type: string
  9329. SubMenus:
  9330. description: 子菜单
  9331. items:
  9332. $ref: '#/definitions/models.QuoteSecondaryMenu'
  9333. type: array
  9334. SubTitleType:
  9335. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  9336. type: integer
  9337. TradeModes:
  9338. description: 包含市场交易类型
  9339. type: string
  9340. type: object
  9341. models.QuoteSecondaryMenu:
  9342. properties:
  9343. ExExchangeCode:
  9344. description: 外部交易所代码
  9345. type: string
  9346. ExExchangeID:
  9347. description: 外部交易所ID
  9348. type: integer
  9349. GoodsGroupIDs:
  9350. description: 商品组ID列表
  9351. items:
  9352. type: integer
  9353. type: array
  9354. Index:
  9355. description: 序号
  9356. type: integer
  9357. MarketID:
  9358. description: 市场ID
  9359. type: integer
  9360. MenuTitle:
  9361. description: 菜单标题(市场名称或外部交易所名称)
  9362. type: string
  9363. TradeMode:
  9364. description: 交易模式
  9365. type: integer
  9366. type: object
  9367. models.SearchGoods:
  9368. properties:
  9369. goodscode:
  9370. description: 商品代码(内部)
  9371. type: string
  9372. goodsid:
  9373. description: 商品ID(自增ID SEQ_GOODS)
  9374. type: integer
  9375. goodsname:
  9376. description: 商品名称
  9377. type: string
  9378. marketid:
  9379. description: 所属市场ID
  9380. type: integer
  9381. marketname:
  9382. description: 市场名称
  9383. type: string
  9384. trademode:
  9385. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9386. 21:竞拍-大宗式 22:受托竞价
  9387. type: integer
  9388. required:
  9389. - goodscode
  9390. - goodsid
  9391. - goodsname
  9392. - marketid
  9393. - trademode
  9394. type: object
  9395. models.Systemparam:
  9396. properties:
  9397. loginid:
  9398. description: 更新用户账号,登录账号
  9399. type: string
  9400. modifyflag:
  9401. description: 修改标志0 不允许修改 1 允许修改
  9402. type: integer
  9403. paramcode:
  9404. description: 参数代码
  9405. type: string
  9406. paramname:
  9407. description: 参数名
  9408. type: string
  9409. paramtype:
  9410. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  9411. type: integer
  9412. paramvalue:
  9413. description: 参数值
  9414. type: string
  9415. paramvalue2:
  9416. description: 参数值(CLOB)
  9417. type: string
  9418. regexpress:
  9419. description: 正则表达式
  9420. type: string
  9421. remark:
  9422. description: 备注
  9423. type: string
  9424. serverip:
  9425. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  9426. type: string
  9427. showflag:
  9428. description: 是否显示0 不显示 1 显示
  9429. type: integer
  9430. updatetime:
  9431. description: 更新时间
  9432. type: string
  9433. userid:
  9434. description: 更新用户ID
  9435. type: integer
  9436. required:
  9437. - paramcode
  9438. type: object
  9439. models.Szdz3convertconfig:
  9440. properties:
  9441. canin:
  9442. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  9443. type: integer
  9444. canout:
  9445. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  9446. type: integer
  9447. converttype:
  9448. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  9449. 6:交易转花生米(不设置)
  9450. type: integer
  9451. createtime:
  9452. description: 创建时间
  9453. type: string
  9454. creatorid:
  9455. description: 创建人
  9456. type: integer
  9457. daymaxvalue:
  9458. description: 当日最大转入限制
  9459. type: number
  9460. freezedays:
  9461. description: 冻结天数 [5:花生米转交易]
  9462. type: integer
  9463. innergoodsid:
  9464. description: 内部商品ID[交易]
  9465. type: integer
  9466. inratio:
  9467. description: 目标值
  9468. type: integer
  9469. modifierid:
  9470. description: 修改人
  9471. type: integer
  9472. modifytime:
  9473. description: 修改时间
  9474. type: string
  9475. outergoodscode:
  9476. description: 外部商品代码[JD\PD]
  9477. type: string
  9478. outratio:
  9479. description: 源值
  9480. type: integer
  9481. pddecimalplace:
  9482. description: PD小数位
  9483. type: integer
  9484. timemaxvalue:
  9485. description: 单次最大转入限制
  9486. type: number
  9487. timeminvalue:
  9488. description: 单次最小转入限制
  9489. type: number
  9490. required:
  9491. - converttype
  9492. - innergoodsid
  9493. - outergoodscode
  9494. type: object
  9495. models.Szdz3searchwhitelist:
  9496. properties:
  9497. createtime:
  9498. description: 创建时间
  9499. type: string
  9500. creatorid:
  9501. description: 创建人
  9502. type: integer
  9503. modifierid:
  9504. description: 修改人
  9505. type: integer
  9506. modifytime:
  9507. description: 修改时间
  9508. type: string
  9509. userid:
  9510. description: 用户ID
  9511. type: integer
  9512. required:
  9513. - userid
  9514. type: object
  9515. models.Taaccount:
  9516. properties:
  9517. accountflag:
  9518. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  9519. type: integer
  9520. accountid:
  9521. description: 资金账户ID
  9522. type: integer
  9523. accountname:
  9524. description: 账户名称
  9525. type: string
  9526. balance:
  9527. description: 期初余额
  9528. type: number
  9529. capitalbalance:
  9530. description: 本金余额[外部子账户实际出入金余额]
  9531. type: number
  9532. changeflag:
  9533. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  9534. type: integer
  9535. changetime:
  9536. description: 账户状态变更时间
  9537. type: string
  9538. closepl:
  9539. description: 今日平仓盈亏
  9540. type: number
  9541. creditdecrease:
  9542. description: 今日授信减少
  9543. type: number
  9544. creditincrease:
  9545. description: 今日授信增加
  9546. type: number
  9547. currencyid:
  9548. description: 货币ID
  9549. type: integer
  9550. currentbalance:
  9551. description: 期末余额
  9552. type: number
  9553. freezecharge:
  9554. description: 手续费冻结
  9555. type: number
  9556. freezemargin:
  9557. description: 冻结保证金
  9558. type: number
  9559. fromaccountid:
  9560. description: 所属上级账户
  9561. type: integer
  9562. inamount:
  9563. description: 今日入金金额(包括三方入金)
  9564. type: number
  9565. ismain:
  9566. description: 是否母账号 0:不是母账户 1:是母账户
  9567. type: integer
  9568. ismarketaccount:
  9569. description: 是否机构接单账号 0:不是 1:是
  9570. type: integer
  9571. isreckonaccount:
  9572. description: 是否机构分润账号 0:不是 1:是
  9573. type: integer
  9574. mortgagecredit:
  9575. description: 授信金额
  9576. type: number
  9577. orifreezecharge:
  9578. description: 期初手续费冻结
  9579. type: number
  9580. orifreezemargin:
  9581. description: 期初冻结保证金
  9582. type: number
  9583. orimortgagecredit:
  9584. description: 期初授信金额
  9585. type: number
  9586. oriothercredit:
  9587. description: 期初其它授信金额
  9588. type: number
  9589. oriotherfreezemargin:
  9590. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9591. type: number
  9592. orioutamountfreeze:
  9593. description: 期初出金冻结
  9594. type: number
  9595. oriusedmargin:
  9596. description: 期初占用保证金
  9597. type: number
  9598. othercredit:
  9599. description: 其它授信金额
  9600. type: number
  9601. othercreditdecrease:
  9602. description: 今日其它授信减少
  9603. type: number
  9604. othercreditincrease:
  9605. description: 今日其它授信增加
  9606. type: number
  9607. otherfreezemargin:
  9608. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9609. type: number
  9610. otherincome:
  9611. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  9612. type: number
  9613. otherpay:
  9614. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  9615. type: number
  9616. outamount:
  9617. description: 今日出金金额(包括三方出金)
  9618. type: number
  9619. outamountfreeze:
  9620. description: 出金冻结
  9621. type: number
  9622. outthreshold:
  9623. description: 出金阈值
  9624. type: number
  9625. parentaccountid:
  9626. description: 所属根账号
  9627. type: integer
  9628. paycharge:
  9629. description: 今日手续费支出
  9630. type: number
  9631. relatedaccountstatus:
  9632. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  9633. type: integer
  9634. relateduserid:
  9635. description: 关联用户
  9636. type: integer
  9637. serivcegroup:
  9638. description: 服务分组
  9639. type: integer
  9640. signstatus:
  9641. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9642. type: integer
  9643. sublevelpath:
  9644. description: 账号层级路径(逗号分隔,首尾加逗号)
  9645. type: string
  9646. taaccounttype:
  9647. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9648. type: integer
  9649. thirdinamount:
  9650. description: 今日三方入金
  9651. type: number
  9652. thirdoutamount:
  9653. description: 今日三方出金
  9654. type: number
  9655. tradestatus:
  9656. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9657. type: integer
  9658. tradestatuschangetime:
  9659. description: 激活时间
  9660. type: string
  9661. transferamount:
  9662. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9663. type: number
  9664. usedmargin:
  9665. description: 占用保证金
  9666. type: number
  9667. userid:
  9668. description: 用户ID
  9669. type: integer
  9670. required:
  9671. - accountid
  9672. - userid
  9673. type: object
  9674. models.Tablecolumnconfig:
  9675. properties:
  9676. aligntype:
  9677. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  9678. type: integer
  9679. autoid:
  9680. description: AutoID
  9681. type: integer
  9682. columnfield:
  9683. description: 列字段
  9684. type: string
  9685. columntitle:
  9686. description: 列Title
  9687. type: string
  9688. columnwidth:
  9689. description: 列宽
  9690. type: string
  9691. formatterstring:
  9692. description: 格式化字符
  9693. type: string
  9694. formattertype:
  9695. description: 格式化类型
  9696. type: string
  9697. groupname:
  9698. description: 表头分组名称
  9699. type: string
  9700. isshow:
  9701. description: 是否显示 - 0:不显示 1:显示
  9702. type: integer
  9703. needsummary:
  9704. description: 是否需要汇总 - 0:不需要 1:需要
  9705. type: integer
  9706. orderindex:
  9707. description: 顺序
  9708. type: integer
  9709. remark:
  9710. description: 备注
  9711. type: string
  9712. summarytype:
  9713. description: 汇总类型 - 1:加总 2:最后一个
  9714. type: integer
  9715. tablekey:
  9716. description: 列表Key
  9717. type: string
  9718. required:
  9719. - autoid
  9720. type: object
  9721. models.UserCollectConfig:
  9722. properties:
  9723. accountstatus:
  9724. description: 账户状态 - 1:正常 2:停用 3:注销
  9725. type: integer
  9726. collectaccountname:
  9727. description: 收款人账户名称
  9728. type: string
  9729. collectaccountno:
  9730. description: 收款人账户
  9731. type: string
  9732. collectbankname:
  9733. description: 收款人开户行
  9734. type: string
  9735. collectbranchbankname:
  9736. description: 收款人开户支行
  9737. type: string
  9738. collectconfigid:
  9739. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  9740. type: string
  9741. remark:
  9742. description: 备注
  9743. type: string
  9744. userid:
  9745. description: 收款人用户ID
  9746. type: integer
  9747. type: object
  9748. models.UserReceiveInfo:
  9749. properties:
  9750. address:
  9751. description: 提货人详细地址
  9752. type: string
  9753. autoid:
  9754. description: AutoID
  9755. type: integer
  9756. cardnum:
  9757. description: 证件号码(加密存储)
  9758. type: string
  9759. cardtypeid:
  9760. description: 证件类型
  9761. type: integer
  9762. cityid:
  9763. description: 市
  9764. type: integer
  9765. countryid:
  9766. description: 国家
  9767. type: integer
  9768. districtid:
  9769. description: 地区
  9770. type: integer
  9771. hasencrypt:
  9772. description: 数据是否已加密 - 0:未加密 1:已加密
  9773. type: integer
  9774. isdefault:
  9775. description: 是否默认地址 - 0:否 1:是
  9776. type: integer
  9777. phonenum:
  9778. description: 提货人联系方式(加密存储)
  9779. type: string
  9780. provinceid:
  9781. description: 省
  9782. type: integer
  9783. receivername:
  9784. description: 提货人姓名
  9785. type: string
  9786. takeremark:
  9787. description: 提货备注
  9788. type: string
  9789. userid:
  9790. description: 用户ID
  9791. type: integer
  9792. type: object
  9793. models.Useraccount:
  9794. properties:
  9795. accountname:
  9796. description: 账户名称(机构名称)
  9797. type: string
  9798. accountstatus:
  9799. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  9800. type: integer
  9801. auditremark:
  9802. description: 审核备注
  9803. type: string
  9804. audittime:
  9805. description: 审核时间
  9806. type: string
  9807. audituserid:
  9808. description: 审核人
  9809. type: integer
  9810. broker:
  9811. description: 所属经纪人ID
  9812. type: integer
  9813. canceltime:
  9814. description: 销户时间
  9815. type: string
  9816. canceluserid:
  9817. description: 销户人
  9818. type: integer
  9819. createtime:
  9820. description: 创建时间
  9821. type: string
  9822. creatorid:
  9823. description: 创建人
  9824. type: integer
  9825. hasauth:
  9826. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  9827. type: integer
  9828. isanonymous:
  9829. description: 是否匿名下单 - 0:否 1:是
  9830. type: integer
  9831. maxinvestornum:
  9832. description: 最大用户数(经纪会员下投资者个数)
  9833. type: integer
  9834. memberuserid:
  9835. description: 所属会员ID
  9836. type: integer
  9837. modifierid:
  9838. description: 修改人
  9839. type: integer
  9840. modifyremark:
  9841. description: 变更备注
  9842. type: string
  9843. modifystatus:
  9844. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  9845. type: integer
  9846. modifytime:
  9847. description: 修改时间
  9848. type: string
  9849. parentuserid:
  9850. description: 所属机构ID
  9851. type: integer
  9852. reckonaccountid:
  9853. description: 默认结算资金账号ID(机构分润使用) 作废
  9854. type: integer
  9855. refercount:
  9856. description: 推荐总人数
  9857. type: integer
  9858. refereeuserid:
  9859. description: 推荐人ID
  9860. type: integer
  9861. refernum:
  9862. description: 推荐码
  9863. type: string
  9864. subarealevelpath:
  9865. description: 子机构层级路径(逗号分隔,首尾加逗号)
  9866. type: string
  9867. userid:
  9868. description: 用户ID
  9869. type: integer
  9870. usertype:
  9871. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  9872. type: integer
  9873. required:
  9874. - userid
  9875. type: object
  9876. models.Userfavoritegoods:
  9877. properties:
  9878. goodsid:
  9879. description: 商品ID
  9880. type: integer
  9881. required:
  9882. - goodsid
  9883. type: object
  9884. models.Userinfo:
  9885. properties:
  9886. address:
  9887. description: 地址
  9888. type: string
  9889. attachment1:
  9890. description: 附件1
  9891. type: string
  9892. attachment2:
  9893. description: 附件2
  9894. type: string
  9895. bankaccount:
  9896. description: 银行帐号 (加密存储)
  9897. type: string
  9898. bankaccountname:
  9899. description: 收款人名称
  9900. type: string
  9901. bankcardfrontphotourl:
  9902. description: 银行卡正面照地址
  9903. type: string
  9904. bankid:
  9905. description: 银行编码
  9906. type: string
  9907. bankname:
  9908. description: 银行名称
  9909. type: string
  9910. biznature:
  9911. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  9912. type: integer
  9913. bizscope:
  9914. description: 企业经营范围(企业)
  9915. type: string
  9916. cardbackphotourl:
  9917. description: 证件背面图片地址
  9918. type: string
  9919. cardfrontphotourl:
  9920. description: 证件正面图片地址
  9921. type: string
  9922. cardnum:
  9923. description: 证件号码(加密存储)
  9924. type: string
  9925. cardtypeid:
  9926. description: 证件类型ID
  9927. type: integer
  9928. cityid:
  9929. description: 市
  9930. type: integer
  9931. company:
  9932. description: 公司(个人)
  9933. type: string
  9934. contactname:
  9935. description: 联系人
  9936. type: string
  9937. countryid:
  9938. description: 国家
  9939. type: integer
  9940. createtime:
  9941. description: 创建时间
  9942. type: string
  9943. creatorid:
  9944. description: 创建人
  9945. type: integer
  9946. customername:
  9947. description: 客户名称(企业名称)
  9948. type: string
  9949. districtid:
  9950. description: 地区
  9951. type: integer
  9952. email:
  9953. description: 邮件(加密存储)
  9954. type: string
  9955. fax:
  9956. description: 传真(加密存储)
  9957. type: string
  9958. halfbodyphotourl:
  9959. description: 半身照地址
  9960. type: string
  9961. hasencrypt:
  9962. description: 数据是否已加密 - 0:未加密 1:已加密
  9963. type: integer
  9964. headurl:
  9965. description: 头像地址
  9966. type: string
  9967. legalcardbackphotourl:
  9968. description: 法人身份证背面照地址
  9969. type: string
  9970. legalcardfrontphotourl:
  9971. description: 法人身份证正面照地址
  9972. type: string
  9973. legalpersonname:
  9974. description: 法人姓名(企业)
  9975. type: string
  9976. mobile:
  9977. description: 手机号码(加密存储)
  9978. type: string
  9979. mobile2:
  9980. description: 手机号码[明文-尚志]
  9981. type: string
  9982. modifierid:
  9983. description: 修改人
  9984. type: integer
  9985. modifiertime:
  9986. description: 修改时间
  9987. type: string
  9988. needinvoice:
  9989. description: 是否需要发票 - 0:不需要 1:需要
  9990. type: integer
  9991. nickname:
  9992. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  9993. type: string
  9994. openmode:
  9995. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  9996. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  9997. type: integer
  9998. otherurl:
  9999. description: 其它图片地址[使用分号分隔]
  10000. type: string
  10001. postalcode:
  10002. description: 邮政编码
  10003. type: string
  10004. provinceid:
  10005. description: 省
  10006. type: integer
  10007. qq:
  10008. description: QQ(加密存储
  10009. type: string
  10010. remark:
  10011. description: 备注
  10012. type: string
  10013. sex:
  10014. description: '用户性别 0: 女 1: 男'
  10015. type: integer
  10016. signpdfurl:
  10017. description: 签约pdf文件
  10018. type: string
  10019. telphone:
  10020. description: 联系电话(加密存储)
  10021. type: string
  10022. userid:
  10023. description: 用户ID
  10024. type: integer
  10025. userinfotype:
  10026. description: 用户信息类型 - 1:个人 2:企业
  10027. type: integer
  10028. userstatus:
  10029. description: 用户状态 - 1:正常 2:注销
  10030. type: integer
  10031. usertype:
  10032. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  10033. type: integer
  10034. wechat:
  10035. description: 微信(加密存储)
  10036. type: string
  10037. wskhinfo:
  10038. description: 开户申请信息(JSON)
  10039. type: string
  10040. required:
  10041. - userid
  10042. type: object
  10043. models.WRSConverTDetail:
  10044. properties:
  10045. convertratio:
  10046. description: 套保系数
  10047. type: number
  10048. deliverygoodscode:
  10049. description: 现货商品代码
  10050. type: string
  10051. deliverygoodsid:
  10052. description: 现货品种ID
  10053. type: integer
  10054. deliverygoodsname:
  10055. description: 现货商品名称
  10056. type: string
  10057. enumdicname:
  10058. description: 单位名称
  10059. type: string
  10060. goodsunitid:
  10061. description: 套保品种单位id
  10062. type: integer
  10063. middlegoodscode:
  10064. description: 套保品种代码
  10065. type: string
  10066. middlegoodsid:
  10067. description: 套保品种ID
  10068. type: integer
  10069. middlegoodsname:
  10070. description: 套保品种名称
  10071. type: string
  10072. modifytime:
  10073. description: 修改时间
  10074. type: string
  10075. wrstandardid:
  10076. description: 品类ID
  10077. type: integer
  10078. type: object
  10079. models.WRStandardInfo:
  10080. properties:
  10081. areauserid:
  10082. description: 所属机构
  10083. type: integer
  10084. convertfactor:
  10085. description: 标仓系数
  10086. type: number
  10087. createtime:
  10088. description: 创建时间
  10089. type: string
  10090. creatorid:
  10091. description: 创建人
  10092. type: integer
  10093. deliverygoodsid:
  10094. description: 品种ID
  10095. type: integer
  10096. deliverygoodsname:
  10097. description: 交割商品名称
  10098. type: string
  10099. factoryitemjson:
  10100. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  10101. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  10102. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  10103. 逗号分隔'
  10104. type: string
  10105. isvalid:
  10106. description: 是否有效 - 0:无效 1:有效
  10107. type: integer
  10108. minivalue:
  10109. description: 最小变动值
  10110. type: integer
  10111. minivaluedp:
  10112. description: 最小变动值小数位
  10113. type: integer
  10114. realminivalue:
  10115. description: 实际最小变动值
  10116. type: integer
  10117. realminivaluedp:
  10118. description: 实际最小变动值小数位
  10119. type: integer
  10120. remark:
  10121. description: 备注
  10122. type: string
  10123. unitid:
  10124. description: 单位ID
  10125. type: integer
  10126. unitname:
  10127. description: 单位
  10128. type: string
  10129. updatetime:
  10130. description: 更新时间
  10131. type: string
  10132. updatorid:
  10133. description: 更新人
  10134. type: integer
  10135. wrsstatus:
  10136. description: 状态 - 作废 - 0:未激活 1:正常
  10137. type: integer
  10138. wrstandardcode:
  10139. description: 现货品类代码
  10140. type: string
  10141. wrstandardid:
  10142. description: 现货品类ID(SEQ_WRSTANDARD)
  10143. type: integer
  10144. wrstandardname:
  10145. description: 现货品类名称
  10146. type: string
  10147. required:
  10148. - wrstandardid
  10149. type: object
  10150. models.Warehouseinfo:
  10151. properties:
  10152. address:
  10153. description: 详细地址
  10154. type: string
  10155. areauserid:
  10156. description: 所属机构
  10157. type: integer
  10158. autoid:
  10159. description: 自增ID
  10160. type: integer
  10161. cityid:
  10162. description: 市
  10163. type: integer
  10164. contactname:
  10165. description: 联系人
  10166. type: string
  10167. contactnum:
  10168. description: 联系电话
  10169. type: string
  10170. countryid:
  10171. description: 国家
  10172. type: integer
  10173. createtime:
  10174. description: 创建时间
  10175. type: string
  10176. districtid:
  10177. description: 区
  10178. type: integer
  10179. hasvideo:
  10180. description: 是否有视频 - 0:无 1:有
  10181. type: integer
  10182. provinceid:
  10183. description: 省
  10184. type: integer
  10185. remark:
  10186. description: 审核备注
  10187. type: string
  10188. videourl:
  10189. description: 视频地址
  10190. type: string
  10191. warehousecode:
  10192. description: 仓库代码
  10193. type: string
  10194. warehousename:
  10195. description: 仓库名称
  10196. type: string
  10197. warehousestatus:
  10198. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  10199. type: integer
  10200. warehousetype:
  10201. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  10202. type: integer
  10203. required:
  10204. - autoid
  10205. - warehousecode
  10206. type: object
  10207. order.QueryHisTradeDetailRsp:
  10208. properties:
  10209. accountid:
  10210. description: 账户ID[报价币种]
  10211. type: integer
  10212. buildtype:
  10213. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  10214. type: integer
  10215. buyorsell:
  10216. description: 方向 - 0:买 1:卖
  10217. type: integer
  10218. charge:
  10219. description: 手续费
  10220. type: number
  10221. closecharge:
  10222. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10223. type: number
  10224. closeexchagechargevalue:
  10225. description: 平仓交易所手续费设置值
  10226. type: number
  10227. closefeealgorithm:
  10228. description: 平仓手续费收取方式 1:比率 2:固定
  10229. type: integer
  10230. closememberchargevalue:
  10231. description: 平仓会员手续费设置值
  10232. type: number
  10233. closepl:
  10234. description: 平仓盈亏
  10235. type: number
  10236. closepl2:
  10237. description: 平仓盈亏[逐笔]
  10238. type: number
  10239. closeqty:
  10240. description: 平仓数量(先建后平操作 需要记录)
  10241. type: integer
  10242. creditamount:
  10243. description: 授信金额
  10244. type: number
  10245. gcaccountid:
  10246. description: 账户ID[合约币种]
  10247. type: integer
  10248. goodscode:
  10249. description: 商品代码
  10250. type: string
  10251. goodsid:
  10252. description: 商品ID
  10253. type: integer
  10254. goodsname:
  10255. description: 商品名称
  10256. type: string
  10257. histradedate:
  10258. description: 历史交易日
  10259. type: string
  10260. intclosepl:
  10261. description: 整型盈亏(用于交易结算试算平衡-收益权)
  10262. type: integer
  10263. isconfirmexercise:
  10264. description: 是否确认行权- 0:否 1:是
  10265. type: integer
  10266. ismain:
  10267. description: 是否主单 - 0:不是 1:是
  10268. type: integer
  10269. ispreexercise:
  10270. description: 是否预申报- 0:否 1:是
  10271. type: integer
  10272. isreckoned:
  10273. description: 是否结算 - 0:未结算 1:已结算
  10274. type: integer
  10275. isvaliddata:
  10276. description: 是否有效 - 0:无效 1:有效
  10277. type: integer
  10278. listingselecttype:
  10279. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10280. type: integer
  10281. marketid:
  10282. description: 市场ID
  10283. type: integer
  10284. marketname:
  10285. description: 市场名称
  10286. type: string
  10287. matchaccountid:
  10288. description: 对手账号id
  10289. type: integer
  10290. memberuserid:
  10291. description: 会员id 个人投资者 需要填写
  10292. type: integer
  10293. opencharge:
  10294. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10295. type: number
  10296. openexchagechargevalue:
  10297. description: 建仓交易所手续费设置值
  10298. type: number
  10299. openfeealgorithm:
  10300. description: 建仓手续费收取方式 1:比率 2:固定
  10301. type: integer
  10302. openmemberchargevalue:
  10303. description: 建仓会员手续费设置值
  10304. type: number
  10305. openqty:
  10306. description: 开仓数量(先建后平操作 需要记录)
  10307. type: integer
  10308. optiontype:
  10309. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10310. type: integer
  10311. orderid:
  10312. description: 委托单号
  10313. type: string
  10314. performanceplanid:
  10315. description: 履约计划ID[期权]
  10316. type: integer
  10317. performancestatus:
  10318. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  10319. type: integer
  10320. preexerciseprice:
  10321. description: 预申报价格
  10322. type: number
  10323. premium:
  10324. description: 权利金 - [持仓单的权利金]
  10325. type: number
  10326. relatedouttradeid:
  10327. description: 关联外部成交单ID
  10328. type: integer
  10329. status:
  10330. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  10331. type: integer
  10332. tradeamount:
  10333. description: 成交金额[账户币种,用于所有权]
  10334. type: number
  10335. tradedate:
  10336. description: 交易日(yyyyMMdd)
  10337. type: string
  10338. tradeid:
  10339. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10340. type: string
  10341. trademode:
  10342. description: 交易模式
  10343. type: integer
  10344. tradeprice:
  10345. description: 成交价格
  10346. type: number
  10347. tradeproperty:
  10348. description: 交易属性
  10349. type: integer
  10350. tradeqty:
  10351. description: 成交数量
  10352. type: integer
  10353. tradetime:
  10354. description: 成交时间
  10355. type: string
  10356. tradetype:
  10357. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  10358. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  10359. type: integer
  10360. required:
  10361. - accountid
  10362. - buyorsell
  10363. - goodsid
  10364. - histradedate
  10365. - marketid
  10366. - memberuserid
  10367. - orderid
  10368. - tradeamount
  10369. - tradedate
  10370. - tradeid
  10371. - tradeprice
  10372. - tradeqty
  10373. - tradetime
  10374. type: object
  10375. order.QueryHisTradeOrderDetailRsp:
  10376. properties:
  10377. accountid:
  10378. description: 账户ID[报价币种]
  10379. type: integer
  10380. buildtype:
  10381. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  10382. type: integer
  10383. buyorsell:
  10384. description: 买卖 - 0:买 1:卖
  10385. type: integer
  10386. cancelorderid:
  10387. description: 撤单单号(撤单时填写)
  10388. type: string
  10389. cancelqty:
  10390. description: 撤单数量
  10391. type: integer
  10392. clientordertime:
  10393. description: 客户端委托时间
  10394. type: string
  10395. clientticket:
  10396. description: 客户端流水号
  10397. type: string
  10398. clienttype:
  10399. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  10400. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10401. type: integer
  10402. closeexchagechargevalue:
  10403. description: 平仓交易所手续费设置值
  10404. type: number
  10405. closefeealgorithm:
  10406. description: 平仓手续费收取方式 1:比率 2:固定
  10407. type: integer
  10408. closefreezecharge:
  10409. description: 平仓冻结手续费(先建后平操作,需要记录)
  10410. type: number
  10411. closememberchargevalue:
  10412. description: 平仓会员手续费设置值
  10413. type: number
  10414. closeqty:
  10415. description: 平仓数量(先建后平操作 需要记录)
  10416. type: integer
  10417. closetradeqty:
  10418. description: 平仓成交数量(先建后平操作,需要记录)
  10419. type: integer
  10420. closeunfreezecharge:
  10421. description: 平仓解冻手续费(先建后平操作,需要记录)
  10422. type: number
  10423. delistingtype:
  10424. description: 摘牌类型 - 1:价格最优 2:点选成交
  10425. type: integer
  10426. freezecharge:
  10427. description: 冻结手续费
  10428. type: number
  10429. freezemargin:
  10430. description: 冻结保证金(冻结交易金额)
  10431. type: number
  10432. gcaccountid:
  10433. description: 账户ID[合约币种]
  10434. type: integer
  10435. goodscode:
  10436. description: 商品代码
  10437. type: string
  10438. goodsid:
  10439. description: 商品ID
  10440. type: integer
  10441. goodsname:
  10442. description: 商品名称
  10443. type: string
  10444. histradedate:
  10445. description: 历史交易日
  10446. type: string
  10447. isconfirmexercise:
  10448. description: 是否确认行权- 0:否 1:是
  10449. type: integer
  10450. ispreexercise:
  10451. description: 是否预申报- 0:否 1:是
  10452. type: integer
  10453. isvaliddata:
  10454. description: 是否有效 - 0:无效 1:有效
  10455. type: integer
  10456. listingselecttype:
  10457. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10458. type: integer
  10459. marginalgorithm:
  10460. description: 保证金收取方式 1:比率 2:固定
  10461. type: integer
  10462. marginvalue:
  10463. description: 即市保证金设置值
  10464. type: number
  10465. marketid:
  10466. description: 市场ID
  10467. type: integer
  10468. marketmaxsub:
  10469. description: 市价最大偏移范围
  10470. type: number
  10471. marketname:
  10472. description: 市场名称
  10473. type: string
  10474. memberuserid:
  10475. description: 所属会员UserID
  10476. type: integer
  10477. openexchagechargevalue:
  10478. description: 建仓交易所手续费设置值
  10479. type: number
  10480. openfeealgorithm:
  10481. description: 建仓手续费收取方式 1:比率 2:固定
  10482. type: integer
  10483. openfreezecharge:
  10484. description: 开仓冻结手续费(先建后平操作,需要记录)
  10485. type: number
  10486. openmemberchargevalue:
  10487. description: 建仓会员手续费设置值
  10488. type: number
  10489. openqty:
  10490. description: 开仓数量(先建后平操作,需要记录)
  10491. type: integer
  10492. opentradeqty:
  10493. description: 开仓成交数量(先建后平操作,需要记录)
  10494. type: integer
  10495. openunfreezecharge:
  10496. description: 开仓解冻手续费(先建后平操作,需要记录)
  10497. type: number
  10498. operatetype:
  10499. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  10500. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  10501. 15:管理端协议转让
  10502. type: integer
  10503. operatorid:
  10504. description: 登录账号(LoginID)
  10505. type: integer
  10506. optiontype:
  10507. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10508. type: integer
  10509. orderid:
  10510. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10511. type: string
  10512. orderprice:
  10513. description: 委托价格
  10514. type: number
  10515. orderqty:
  10516. description: 委托数量
  10517. type: integer
  10518. ordersrc:
  10519. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  10520. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  10521. type: integer
  10522. orderstatus:
  10523. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10524. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10525. 16:成交失败违约(荷兰式竞拍专用)
  10526. type: integer
  10527. ordertime:
  10528. description: 委托时间
  10529. type: string
  10530. preexerciseprice:
  10531. description: 预申报价格
  10532. type: number
  10533. premium:
  10534. description: 权利金
  10535. type: number
  10536. preorderid:
  10537. description: 关联预埋单号(止盈止损单时填写)
  10538. type: string
  10539. pricemode:
  10540. description: '取价方式 - 1:市价 2: 限价'
  10541. type: integer
  10542. quoteid:
  10543. description: 报价单ID
  10544. type: integer
  10545. relatedid:
  10546. description: 关联单号(交割单)
  10547. type: string
  10548. retcode:
  10549. description: 错误代码
  10550. type: integer
  10551. sessionid:
  10552. description: 会话ID
  10553. type: integer
  10554. tradedate:
  10555. description: 交易日(yyyyMMdd)
  10556. type: string
  10557. trademode:
  10558. description: 交易模式
  10559. type: integer
  10560. tradeproperty:
  10561. description: 交易属性
  10562. type: integer
  10563. tradeqty:
  10564. description: 成交数量
  10565. type: integer
  10566. unfreezecharge:
  10567. description: 解冻手续费
  10568. type: number
  10569. unfreezemargin:
  10570. description: 解冻保证金
  10571. type: number
  10572. updatetime:
  10573. description: 更新时间
  10574. type: string
  10575. uuid:
  10576. description: 发起端唯一id
  10577. type: string
  10578. validtime:
  10579. description: 有效期限
  10580. type: string
  10581. validtype:
  10582. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  10583. type: integer
  10584. volumetype:
  10585. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  10586. type: integer
  10587. required:
  10588. - accountid
  10589. - buildtype
  10590. - buyorsell
  10591. - goodsid
  10592. - histradedate
  10593. - marketid
  10594. - memberuserid
  10595. - operatetype
  10596. - orderid
  10597. - orderqty
  10598. - ordertime
  10599. - pricemode
  10600. - tradedate
  10601. - validtype
  10602. type: object
  10603. order.QueryTradeDetailRsp:
  10604. properties:
  10605. accountid:
  10606. description: 账户ID[报价币种]
  10607. type: integer
  10608. buildtype:
  10609. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  10610. type: integer
  10611. buyorsell:
  10612. description: 方向 - 0:买 1:卖
  10613. type: integer
  10614. charge:
  10615. description: 手续费
  10616. type: number
  10617. closecharge:
  10618. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10619. type: number
  10620. closeexchagechargevalue:
  10621. description: 平仓交易所手续费设置值
  10622. type: number
  10623. closefeealgorithm:
  10624. description: 平仓手续费收取方式 1:比率 2:固定
  10625. type: integer
  10626. closememberchargevalue:
  10627. description: 平仓会员手续费设置值
  10628. type: number
  10629. closepl:
  10630. description: 平仓盈亏
  10631. type: number
  10632. closepl2:
  10633. description: 平仓盈亏[逐笔]
  10634. type: number
  10635. closeqty:
  10636. description: 平仓数量(先建后平操作 需要记录)
  10637. type: integer
  10638. creditamount:
  10639. description: 授信金额
  10640. type: number
  10641. gcaccountid:
  10642. description: 账户ID[合约币种]
  10643. type: integer
  10644. goodscode:
  10645. description: 商品代码
  10646. type: string
  10647. goodsid:
  10648. description: 商品ID
  10649. type: integer
  10650. goodsname:
  10651. description: 商品名称
  10652. type: string
  10653. intclosepl:
  10654. description: 整型盈亏(用于交易结算试算平衡-收益权)
  10655. type: integer
  10656. isconfirmexercise:
  10657. description: 是否确认行权- 0:否 1:是
  10658. type: integer
  10659. ismain:
  10660. description: 是否主单 - 0:不是 1:是
  10661. type: integer
  10662. ispreexercise:
  10663. description: 是否预申报- 0:否 1:是
  10664. type: integer
  10665. isreckoned:
  10666. description: 是否结算 - 0:未结算 1:已结算
  10667. type: integer
  10668. listingselecttype:
  10669. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10670. type: integer
  10671. marketid:
  10672. description: 市场ID
  10673. type: integer
  10674. marketname:
  10675. description: 市场名称
  10676. type: string
  10677. matchaccountid:
  10678. description: 对手账号id
  10679. type: integer
  10680. memberuserid:
  10681. description: 会员id 个人投资者 需要填写
  10682. type: integer
  10683. opencharge:
  10684. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10685. type: number
  10686. openexchagechargevalue:
  10687. description: 建仓交易所手续费设置值
  10688. type: number
  10689. openfeealgorithm:
  10690. description: 建仓手续费收取方式 1:比率 2:固定
  10691. type: integer
  10692. openmemberchargevalue:
  10693. description: 建仓会员手续费设置值
  10694. type: number
  10695. openqty:
  10696. description: 开仓数量(先建后平操作 需要记录)
  10697. type: integer
  10698. optiontype:
  10699. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10700. type: integer
  10701. orderid:
  10702. description: 委托单号
  10703. type: string
  10704. performanceplanid:
  10705. description: 履约计划ID[期权]
  10706. type: integer
  10707. performancestatus:
  10708. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  10709. type: integer
  10710. preexerciseprice:
  10711. description: 预申报价格
  10712. type: number
  10713. premium:
  10714. description: 权利金 - [持仓单的权利金]
  10715. type: number
  10716. relatedouttradeid:
  10717. description: 关联外部成交单ID
  10718. type: integer
  10719. status:
  10720. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  10721. type: integer
  10722. tradeamount:
  10723. description: 成交金额[账户币种,用于所有权]
  10724. type: number
  10725. tradedate:
  10726. description: 交易日(yyyyMMdd)
  10727. type: string
  10728. tradeid:
  10729. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10730. type: string
  10731. trademode:
  10732. description: 交易模式
  10733. type: integer
  10734. tradeprice:
  10735. description: 成交价格
  10736. type: number
  10737. tradeproperty:
  10738. description: 交易属性
  10739. type: integer
  10740. tradeqty:
  10741. description: 成交数量
  10742. type: integer
  10743. tradetime:
  10744. description: 成交时间
  10745. type: string
  10746. tradetype:
  10747. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  10748. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  10749. type: integer
  10750. required:
  10751. - accountid
  10752. - buyorsell
  10753. - goodsid
  10754. - marketid
  10755. - memberuserid
  10756. - orderid
  10757. - tradeamount
  10758. - tradedate
  10759. - tradeid
  10760. - tradeprice
  10761. - tradeqty
  10762. - tradetime
  10763. type: object
  10764. order.QueryTradeOrderDetailRsp:
  10765. properties:
  10766. accountid:
  10767. description: 账户ID[报价币种]
  10768. type: integer
  10769. buildtype:
  10770. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  10771. type: integer
  10772. buyorsell:
  10773. description: 买卖 - 0:买 1:卖
  10774. type: integer
  10775. cancelorderid:
  10776. description: 撤单单号(撤单时填写)
  10777. type: string
  10778. cancelqty:
  10779. description: 撤单数量
  10780. type: integer
  10781. clienttype:
  10782. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  10783. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10784. type: integer
  10785. closefreezecharge:
  10786. description: 平仓冻结手续费(先建后平操作,需要记录)
  10787. type: number
  10788. closeqty:
  10789. description: 平仓数量(先建后平操作 需要记录)
  10790. type: integer
  10791. closetradeqty:
  10792. description: 平仓成交数量(先建后平操作,需要记录)
  10793. type: integer
  10794. closeunfreezecharge:
  10795. description: 平仓解冻手续费(先建后平操作,需要记录)
  10796. type: number
  10797. delistingtype:
  10798. description: 摘牌类型 - 1:价格最优 2:点选成交
  10799. type: integer
  10800. enableqty:
  10801. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  10802. type: integer
  10803. freezecharge:
  10804. description: 冻结手续费
  10805. type: number
  10806. freezemargin:
  10807. description: 冻结保证金(冻结交易金额)
  10808. type: number
  10809. goodscode:
  10810. description: 商品代码
  10811. type: string
  10812. goodsid:
  10813. description: 商品ID
  10814. type: integer
  10815. goodsname:
  10816. description: 商品名称
  10817. type: string
  10818. listingselecttype:
  10819. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10820. type: integer
  10821. marketid:
  10822. description: 市场ID
  10823. type: integer
  10824. marketname:
  10825. description: 市场名称
  10826. type: string
  10827. openfreezecharge:
  10828. description: 开仓冻结手续费(先建后平操作,需要记录)
  10829. type: number
  10830. openqty:
  10831. description: 开仓数量(先建后平操作,需要记录)
  10832. type: integer
  10833. opentradeqty:
  10834. description: 开仓成交数量(先建后平操作,需要记录)
  10835. type: integer
  10836. openunfreezecharge:
  10837. description: 开仓解冻手续费(先建后平操作,需要记录)
  10838. type: number
  10839. operatetype:
  10840. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  10841. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  10842. 15:管理端协议转让
  10843. type: integer
  10844. operatorid:
  10845. description: 登录账号(LoginID)
  10846. type: integer
  10847. orderid:
  10848. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10849. type: string
  10850. orderprice:
  10851. description: 委托价格
  10852. type: number
  10853. orderqty:
  10854. description: 委托数量
  10855. type: integer
  10856. ordersrc:
  10857. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  10858. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  10859. type: integer
  10860. orderstatus:
  10861. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10862. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10863. 16:成交失败违约(荷兰式竞拍专用)
  10864. type: integer
  10865. ordertime:
  10866. description: 委托时间
  10867. type: string
  10868. preorderid:
  10869. description: 关联预埋单号(止盈止损单时填写)
  10870. type: string
  10871. pricemode:
  10872. description: '取价方式 - 1:市价 2: 限价'
  10873. type: integer
  10874. relatedid:
  10875. description: 关联单号(交割单)
  10876. type: string
  10877. tradedate:
  10878. description: 交易日(yyyyMMdd)
  10879. type: string
  10880. trademode:
  10881. description: 交易模式
  10882. type: integer
  10883. tradeqty:
  10884. description: 成交数量
  10885. type: integer
  10886. unfreezecharge:
  10887. description: 解冻手续费
  10888. type: number
  10889. unfreezemargin:
  10890. description: 解冻保证金
  10891. type: number
  10892. validtime:
  10893. description: 有效期限
  10894. type: string
  10895. validtype:
  10896. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  10897. type: integer
  10898. volumetype:
  10899. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  10900. type: integer
  10901. required:
  10902. - accountid
  10903. - buildtype
  10904. - buyorsell
  10905. - goodsid
  10906. - marketid
  10907. - operatetype
  10908. - orderqty
  10909. - ordertime
  10910. - pricemode
  10911. - tradedate
  10912. - validtype
  10913. type: object
  10914. order.QueryTradePositionRsp:
  10915. properties:
  10916. accountid:
  10917. description: 资金账户
  10918. type: integer
  10919. agreeunit:
  10920. description: 合约单位
  10921. type: number
  10922. averageprice:
  10923. description: 持仓均价
  10924. type: number
  10925. buyorsell:
  10926. description: 方向 - 0:买 1:卖
  10927. type: integer
  10928. closetotalqty:
  10929. description: 平仓总数量
  10930. type: integer
  10931. curholderamount:
  10932. description: 当前持仓总金额[商品币种]
  10933. type: number
  10934. curpositionqty:
  10935. description: 当前持仓总数量
  10936. type: integer
  10937. currencyid:
  10938. description: 报价货币ID
  10939. type: integer
  10940. curtdposition:
  10941. description: 期末今日头寸
  10942. type: integer
  10943. decimalplace:
  10944. description: 报价小数位
  10945. type: integer
  10946. enableqty:
  10947. description: 可用量
  10948. type: integer
  10949. fretdposition:
  10950. description: 冻结今日头寸
  10951. type: integer
  10952. frozenqty:
  10953. description: 持仓冻结数量
  10954. type: integer
  10955. goodscode:
  10956. description: 商品代码
  10957. type: string
  10958. goodsid:
  10959. description: 商品Id
  10960. type: integer
  10961. goodsname:
  10962. description: 商品名称
  10963. type: string
  10964. goodunit:
  10965. description: 报价单位
  10966. type: string
  10967. goodunitid:
  10968. description: 报价单位ID
  10969. type: integer
  10970. holderamount:
  10971. description: 期初持仓总金额[商品币种]
  10972. type: number
  10973. marketid:
  10974. description: 所属市场ID
  10975. type: integer
  10976. openreqqty:
  10977. description: 开仓申请数量(用于比较最大持仓数量)
  10978. type: integer
  10979. opentotalqty:
  10980. description: 开仓总数量
  10981. type: integer
  10982. otherfrozenqty:
  10983. description: 持仓其他冻结数量(交割冻结)
  10984. type: integer
  10985. positionqty:
  10986. description: 期初持仓数量
  10987. type: integer
  10988. tnqty:
  10989. description: T+N冻结总量
  10990. type: integer
  10991. tnusedqty:
  10992. description: T+N使用量(可以使用T+N的冻结数量)
  10993. type: integer
  10994. trademode:
  10995. description: 交易模式
  10996. type: integer
  10997. usedmargin:
  10998. description: 占用保证金[商品币种]
  10999. type: number
  11000. required:
  11001. - goodsid
  11002. type: object
  11003. quote.HistoryData:
  11004. properties:
  11005. c:
  11006. description: 收盘价
  11007. type: number
  11008. f:
  11009. description: 是否补充数据
  11010. type: boolean
  11011. h:
  11012. description: 最高价
  11013. type: number
  11014. hv:
  11015. description: 持仓量
  11016. type: integer
  11017. l:
  11018. description: 最低价
  11019. type: number
  11020. o:
  11021. description: 开盘价
  11022. type: number
  11023. s:
  11024. description: 结算价,日线周期(包括)以上才有
  11025. type: number
  11026. ts:
  11027. description: 时间
  11028. type: string
  11029. tt:
  11030. description: 总金额
  11031. type: number
  11032. tv:
  11033. description: 总量
  11034. type: integer
  11035. type: object
  11036. quote.HistoryTikData:
  11037. properties:
  11038. AV:
  11039. description: 卖量
  11040. type: integer
  11041. Ask:
  11042. description: 卖价
  11043. type: number
  11044. BV:
  11045. description: 买量
  11046. type: integer
  11047. Bid:
  11048. description: 买价
  11049. type: number
  11050. HI:
  11051. description: 单笔持仓
  11052. type: integer
  11053. HV:
  11054. description: 持仓量
  11055. type: integer
  11056. PE:
  11057. description: 现价
  11058. type: number
  11059. TDR:
  11060. description: 交易方向,0:买 1:卖
  11061. type: integer
  11062. TK:
  11063. description: 交易类型
  11064. type: integer
  11065. TS:
  11066. description: 行情时间文本
  11067. type: string
  11068. TT:
  11069. description: 现金额
  11070. type: number
  11071. Vol:
  11072. description: 现量
  11073. type: integer
  11074. type: object
  11075. quote.QueryQuoteDayRsp:
  11076. properties:
  11077. ask:
  11078. description: 卖1
  11079. type: number
  11080. ask2:
  11081. description: 卖2
  11082. type: number
  11083. ask3:
  11084. description: 卖3
  11085. type: number
  11086. ask4:
  11087. description: 卖4
  11088. type: number
  11089. ask5:
  11090. description: 卖5
  11091. type: number
  11092. ask6:
  11093. description: 卖6
  11094. type: number
  11095. ask7:
  11096. description: 卖7
  11097. type: number
  11098. ask8:
  11099. description: 卖8
  11100. type: number
  11101. ask9:
  11102. description: 卖9
  11103. type: number
  11104. ask10:
  11105. description: 卖10
  11106. type: number
  11107. askorderid:
  11108. description: 卖单号1
  11109. type: integer
  11110. askorderid2:
  11111. description: 卖单号2
  11112. type: integer
  11113. askorderid3:
  11114. description: 卖单号3
  11115. type: integer
  11116. askorderid4:
  11117. description: 卖单号4
  11118. type: integer
  11119. askorderid5:
  11120. description: 卖单号5
  11121. type: integer
  11122. askordervolume:
  11123. description: 卖单量1
  11124. type: integer
  11125. askordervolume2:
  11126. description: 卖单量2
  11127. type: integer
  11128. askordervolume3:
  11129. description: 卖单量3
  11130. type: integer
  11131. askordervolume4:
  11132. description: 卖单量4
  11133. type: integer
  11134. askordervolume5:
  11135. description: 卖单量5
  11136. type: integer
  11137. askordervolume6:
  11138. description: 卖单量6
  11139. type: integer
  11140. askordervolume7:
  11141. description: 卖单量7
  11142. type: integer
  11143. askordervolume8:
  11144. description: 卖单量8
  11145. type: integer
  11146. askordervolume9:
  11147. description: 卖单量9
  11148. type: integer
  11149. askordervolume10:
  11150. description: 卖单量10
  11151. type: integer
  11152. askqueueinfo:
  11153. description: 大利市卖港股用
  11154. type: string
  11155. askvolume:
  11156. description: 卖量1
  11157. type: integer
  11158. askvolume2:
  11159. description: 卖量2
  11160. type: integer
  11161. askvolume3:
  11162. description: 卖量3
  11163. type: integer
  11164. askvolume4:
  11165. description: 卖量4
  11166. type: integer
  11167. askvolume5:
  11168. description: 卖量5
  11169. type: integer
  11170. askvolume6:
  11171. description: 卖量6
  11172. type: integer
  11173. askvolume7:
  11174. description: 卖量7
  11175. type: integer
  11176. askvolume8:
  11177. description: 卖量8
  11178. type: integer
  11179. askvolume9:
  11180. description: 卖量9
  11181. type: integer
  11182. askvolume10:
  11183. description: 卖量10
  11184. type: integer
  11185. averageprice:
  11186. description: 均价
  11187. type: number
  11188. bid:
  11189. description: 买1
  11190. type: number
  11191. bid2:
  11192. description: 买2
  11193. type: number
  11194. bid3:
  11195. description: 买3
  11196. type: number
  11197. bid4:
  11198. description: 买4
  11199. type: number
  11200. bid5:
  11201. description: 买5
  11202. type: number
  11203. bid6:
  11204. description: 买6
  11205. type: number
  11206. bid7:
  11207. description: 买7
  11208. type: number
  11209. bid8:
  11210. description: 买8
  11211. type: number
  11212. bid9:
  11213. description: 买9
  11214. type: number
  11215. bid10:
  11216. description: 买10
  11217. type: number
  11218. bidorderid:
  11219. description: 买单号1
  11220. type: integer
  11221. bidorderid2:
  11222. description: 买单号2
  11223. type: integer
  11224. bidorderid3:
  11225. description: 买单号3
  11226. type: integer
  11227. bidorderid4:
  11228. description: 买单号4
  11229. type: integer
  11230. bidorderid5:
  11231. description: 买单号5
  11232. type: integer
  11233. bidordervolume:
  11234. description: 买单量1
  11235. type: integer
  11236. bidordervolume2:
  11237. description: 买单量2
  11238. type: integer
  11239. bidordervolume3:
  11240. description: 买单量3
  11241. type: integer
  11242. bidordervolume4:
  11243. description: 买单量4
  11244. type: integer
  11245. bidordervolume5:
  11246. description: 买单量5
  11247. type: integer
  11248. bidordervolume6:
  11249. description: 买单量6
  11250. type: integer
  11251. bidordervolume7:
  11252. description: 买单量7
  11253. type: integer
  11254. bidordervolume8:
  11255. description: 买单量8
  11256. type: integer
  11257. bidordervolume9:
  11258. description: 买单量9
  11259. type: integer
  11260. bidordervolume10:
  11261. description: 买单量10
  11262. type: integer
  11263. bidqueueinfo:
  11264. description: 大利市买港股用
  11265. type: string
  11266. bidvolume:
  11267. description: 买量1
  11268. type: integer
  11269. bidvolume2:
  11270. description: 买量2
  11271. type: integer
  11272. bidvolume3:
  11273. description: 买量3
  11274. type: integer
  11275. bidvolume4:
  11276. description: 买量4
  11277. type: integer
  11278. bidvolume5:
  11279. description: 买量5
  11280. type: integer
  11281. bidvolume6:
  11282. description: 买量6
  11283. type: integer
  11284. bidvolume7:
  11285. description: 买量7
  11286. type: integer
  11287. bidvolume8:
  11288. description: 买量8
  11289. type: integer
  11290. bidvolume9:
  11291. description: 买量9
  11292. type: integer
  11293. bidvolume10:
  11294. description: 买量10
  11295. type: integer
  11296. calloptionpremiums:
  11297. description: 认购期权1
  11298. type: integer
  11299. calloptionpremiums2:
  11300. description: 认购期权2
  11301. type: integer
  11302. calloptionpremiums3:
  11303. description: 认购期权3
  11304. type: integer
  11305. calloptionpremiums4:
  11306. description: 认购期权4
  11307. type: integer
  11308. calloptionpremiums5:
  11309. description: 认购期权5
  11310. type: integer
  11311. cleartime:
  11312. description: 清盘时间
  11313. type: integer
  11314. exchangecode:
  11315. description: 交易所代码
  11316. type: integer
  11317. exchangedate:
  11318. description: 交易日
  11319. type: integer
  11320. goodscode:
  11321. description: 商品代码
  11322. type: string
  11323. grepmarketprice:
  11324. description: 暗盘价 港股专用
  11325. type: number
  11326. highest:
  11327. description: 最高价
  11328. type: number
  11329. holdincrement:
  11330. description: 单笔持仓
  11331. type: integer
  11332. holdvolume:
  11333. description: 持仓
  11334. type: integer
  11335. iep:
  11336. description: 平衡价 港股专用
  11337. type: number
  11338. iev:
  11339. description: 平衡量 港股专用
  11340. type: number
  11341. inventory:
  11342. description: 库存
  11343. type: integer
  11344. iscleared:
  11345. description: 是否清盘标志
  11346. type: integer
  11347. issettled:
  11348. description: 是否结算标志
  11349. type: integer
  11350. last:
  11351. description: 最新价
  11352. type: number
  11353. lastlot:
  11354. description: 最新成交手数
  11355. type: integer
  11356. lasttime:
  11357. description: 行情时间(只有现价变化行情时间才变化)
  11358. type: string
  11359. lastturnover:
  11360. description: 最新成交金额
  11361. type: number
  11362. lastvolume:
  11363. description: 最新成交量
  11364. type: integer
  11365. limitdown:
  11366. description: 跌停价
  11367. type: number
  11368. limitup:
  11369. description: 涨停价
  11370. type: number
  11371. lowest:
  11372. description: 最低价
  11373. type: number
  11374. nontotalholdervolume:
  11375. description: 非交易持仓量
  11376. type: integer
  11377. nontotallot:
  11378. description: 非交易总手数
  11379. type: integer
  11380. nontotalturnover:
  11381. description: 非交易总金额
  11382. type: integer
  11383. nontotalvolume:
  11384. description: 非交易总量
  11385. type: integer
  11386. opened:
  11387. description: 开盘价
  11388. type: number
  11389. opentime:
  11390. description: 开盘时间
  11391. type: string
  11392. orderid:
  11393. description: 序号
  11394. type: integer
  11395. preclose:
  11396. description: 昨收
  11397. type: number
  11398. preholdvolume:
  11399. description: 昨持仓
  11400. type: integer
  11401. presettle:
  11402. description: 昨结价
  11403. type: number
  11404. publictradetype:
  11405. description: 公共交易标志类型 港股专用
  11406. type: string
  11407. putoptionpremiums:
  11408. description: 认沽期权1
  11409. type: integer
  11410. putoptionpremiums2:
  11411. description: 认沽期权2
  11412. type: integer
  11413. putoptionpremiums3:
  11414. description: 认沽期权3
  11415. type: integer
  11416. putoptionpremiums4:
  11417. description: 认沽期权4
  11418. type: integer
  11419. putoptionpremiums5:
  11420. description: 认沽期权5
  11421. type: integer
  11422. settle:
  11423. description: 结算价
  11424. type: number
  11425. strikeprice:
  11426. description: 发行价
  11427. type: number
  11428. totalaskvolume:
  11429. description: 内盘
  11430. type: integer
  11431. totalbidvolume:
  11432. description: 外盘
  11433. type: integer
  11434. totallot:
  11435. description: 总手数
  11436. type: integer
  11437. totalturnover:
  11438. description: 总金额
  11439. type: number
  11440. totalvolume:
  11441. description: 总量
  11442. type: integer
  11443. utclasttime:
  11444. description: utc的行情时间
  11445. type: string
  11446. type: object
  11447. quote.QueryTSDataRsp:
  11448. properties:
  11449. Count:
  11450. description: 交易日应有数据个数
  11451. type: integer
  11452. decimalPlace:
  11453. description: 小数位
  11454. type: integer
  11455. endTime:
  11456. description: 结束时间
  11457. type: string
  11458. goodsCode:
  11459. description: 商品代码
  11460. type: string
  11461. historyDatas:
  11462. description: 历史数据
  11463. items:
  11464. $ref: '#/definitions/quote.HistoryData'
  11465. type: array
  11466. outGoodsCode:
  11467. description: 外部商品代码
  11468. type: string
  11469. preSettle:
  11470. description: 昨结价
  11471. type: number
  11472. runSteps:
  11473. description: 交易日开休市计划
  11474. items:
  11475. $ref: '#/definitions/quote.TSDataRunStep'
  11476. type: array
  11477. startTime:
  11478. description: 开始时间
  11479. type: string
  11480. tradeDate:
  11481. description: 交易日
  11482. type: string
  11483. type: object
  11484. quote.TSDataRunStep:
  11485. properties:
  11486. end:
  11487. description: 真实结束时间
  11488. type: string
  11489. endflag:
  11490. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  11491. type: integer
  11492. endtime:
  11493. description: 结束时间(HH:mm)
  11494. type: string
  11495. endweekday:
  11496. description: 结束周几
  11497. type: integer
  11498. groupid:
  11499. description: 分组ID
  11500. type: integer
  11501. runstep:
  11502. description: 运行阶段 - 2:连续交易
  11503. type: integer
  11504. sectionid:
  11505. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  11506. 结束时间=结算时间 结束周几=结算周几
  11507. type: integer
  11508. start:
  11509. description: 真实开始时间
  11510. type: string
  11511. startflag:
  11512. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  11513. type: integer
  11514. starttime:
  11515. description: 起始时间(HH:mm)
  11516. type: string
  11517. startweekday:
  11518. description: 起始周几
  11519. type: integer
  11520. tradeweekday:
  11521. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  11522. type: integer
  11523. type: object
  11524. szdz.QueryConvertLogRsp:
  11525. properties:
  11526. accountid:
  11527. description: 资金账户ID
  11528. type: integer
  11529. clientticket:
  11530. description: 客户端流水号
  11531. type: string
  11532. converttype:
  11533. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  11534. type: integer
  11535. createtime:
  11536. description: 记账时间
  11537. type: string
  11538. daymaxvalue:
  11539. description: 配置当日最大转入限制
  11540. type: number
  11541. daymaxvalue2:
  11542. description: 配置当日最大转入限制(转入)
  11543. type: number
  11544. goodscode:
  11545. description: 商品代码
  11546. type: string
  11547. goodsname:
  11548. description: 商品名称
  11549. type: string
  11550. handlestatus:
  11551. description: 处理状态
  11552. type: integer
  11553. innergoodsid:
  11554. description: 内部商品ID
  11555. type: integer
  11556. inratio:
  11557. description: 配置转入比值
  11558. type: integer
  11559. invalue:
  11560. description: 目标值
  11561. type: number
  11562. logid:
  11563. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11564. type: integer
  11565. mobile:
  11566. description: 手机号码(加密存储)
  11567. type: string
  11568. outergoodscode:
  11569. description: 外部商品代码[JD\PD]
  11570. type: string
  11571. outratio:
  11572. description: 配置转出比值
  11573. type: integer
  11574. outvalue:
  11575. description: 源值
  11576. type: number
  11577. pddecimalplace:
  11578. description: PD小数位
  11579. type: integer
  11580. qty:
  11581. description: 数量
  11582. type: string
  11583. remark:
  11584. description: 备注
  11585. type: string
  11586. sessionid:
  11587. description: 会话ID
  11588. type: integer
  11589. timemaxvalue:
  11590. description: 配置单次最大转入限制
  11591. type: number
  11592. timemaxvalue2:
  11593. description: 配置单次最大转入限制(转入)
  11594. type: number
  11595. timeminvalue:
  11596. description: 配置单次最小数量限制
  11597. type: number
  11598. timeminvalue2:
  11599. description: 配置单次最小数量限制(转入)
  11600. type: number
  11601. tradedate:
  11602. description: 交易日(yyyyMMdd)
  11603. type: string
  11604. userid:
  11605. description: 用户ID
  11606. type: integer
  11607. required:
  11608. - logid
  11609. type: object
  11610. szdz.QueryGoodsPickupRsp:
  11611. properties:
  11612. accountid:
  11613. description: 账户ID
  11614. type: integer
  11615. address:
  11616. description: 提货人详细地址
  11617. type: string
  11618. auditer:
  11619. description: 审核人
  11620. type: integer
  11621. audittime:
  11622. description: 审核时间
  11623. type: string
  11624. cardnum:
  11625. description: 提货人证件号码
  11626. type: string
  11627. cardtypeid:
  11628. description: 提货人证件类型
  11629. type: integer
  11630. checkremark:
  11631. description: 审核备注
  11632. type: string
  11633. goodscode:
  11634. description: 商品代码
  11635. type: string
  11636. goodsid:
  11637. description: 商品ID
  11638. type: integer
  11639. goodsname:
  11640. description: 商品名称
  11641. type: string
  11642. handlestatus:
  11643. description: 处理状态
  11644. type: integer
  11645. marketid:
  11646. description: 市场ID
  11647. type: integer
  11648. phonenum:
  11649. description: 提货人联系方式
  11650. type: string
  11651. qty:
  11652. description: 提货数量
  11653. type: number
  11654. recivername:
  11655. description: 提货人姓名
  11656. type: string
  11657. reqtime:
  11658. description: 更新时间
  11659. type: string
  11660. takemode:
  11661. description: 提货方式 - 2:自提 3:配送
  11662. type: integer
  11663. takeorderid:
  11664. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  11665. type: string
  11666. takeorderstatus:
  11667. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  11668. type: integer
  11669. takeremark:
  11670. description: 提货备注
  11671. type: string
  11672. tradedate:
  11673. description: 交易日(yyyyMMdd)
  11674. type: string
  11675. userid:
  11676. description: 用户ID
  11677. type: integer
  11678. required:
  11679. - takeorderid
  11680. type: object
  11681. szdz.QueryRecieptOrderRsp:
  11682. properties:
  11683. accountName:
  11684. description: 所属账号名称(已脱敏)
  11685. type: string
  11686. accountid:
  11687. description: 资金账号
  11688. type: integer
  11689. buyorsell:
  11690. description: 方向 - 0:买 1:卖
  11691. type: integer
  11692. enableqty:
  11693. description: 可摘数量
  11694. type: integer
  11695. goodscode:
  11696. description: 商品代码
  11697. type: string
  11698. goodsid:
  11699. description: 商品ID
  11700. type: integer
  11701. goodsname:
  11702. description: 商品名称
  11703. type: string
  11704. orderid:
  11705. description: 委托单号
  11706. type: string
  11707. orderprice:
  11708. description: 委托价格
  11709. type: number
  11710. ordertime:
  11711. description: 委托时间
  11712. type: string
  11713. tradedate:
  11714. description: 交易日(yyyyMMdd)
  11715. type: string
  11716. required:
  11717. - ordertime
  11718. type: object
  11719. szdz.QuerySZDZTradePositionRsp:
  11720. properties:
  11721. accountid:
  11722. description: 账号Id
  11723. type: integer
  11724. agreeunit:
  11725. description: 合约单位
  11726. type: number
  11727. averageprice:
  11728. description: 持仓均价
  11729. type: number
  11730. buyorsell:
  11731. description: 方向 - 0:买 1:卖
  11732. type: integer
  11733. closetotalqty:
  11734. description: 平仓总数量
  11735. type: integer
  11736. curholderamount:
  11737. description: 当前持仓总金额
  11738. type: number
  11739. curpositionqty:
  11740. description: 当前持仓总数量
  11741. type: integer
  11742. currencyid:
  11743. description: 报价货币ID
  11744. type: integer
  11745. curtdposition:
  11746. description: 期末今日头寸
  11747. type: integer
  11748. decimalplace:
  11749. description: 报价小数位
  11750. type: integer
  11751. enableqty:
  11752. description: 可用量
  11753. type: integer
  11754. fretdposition:
  11755. description: 冻结今日头寸
  11756. type: integer
  11757. frozenqty:
  11758. description: 持仓冻结数量
  11759. type: integer
  11760. goodscode:
  11761. description: 商品代码(内部)
  11762. type: string
  11763. goodsid:
  11764. description: 商品Id
  11765. type: integer
  11766. goodsname:
  11767. description: 商品名称
  11768. type: string
  11769. goodunit:
  11770. description: 报价单位
  11771. type: string
  11772. goodunitid:
  11773. description: 报价单位ID
  11774. type: integer
  11775. holderamount:
  11776. description: 期初持仓总金额
  11777. type: number
  11778. marketid:
  11779. description: 市场ID
  11780. type: integer
  11781. openreqqty:
  11782. description: 开仓申请数量
  11783. type: integer
  11784. opentotalqty:
  11785. description: 开仓总数量
  11786. type: integer
  11787. otherfrozenqty:
  11788. description: 持仓其他冻结数量(交割冻结)
  11789. type: integer
  11790. positionqty:
  11791. description: 期初持仓数量
  11792. type: integer
  11793. szdz3freezqty:
  11794. description: 尚志大宗转换冻结总数量
  11795. type: integer
  11796. tnqty:
  11797. description: T+N冻结总量
  11798. type: integer
  11799. tnusedqty:
  11800. description: T+N使用量
  11801. type: integer
  11802. trademode:
  11803. description: 交易模式
  11804. type: integer
  11805. usedmargin:
  11806. description: 占用保证金
  11807. type: number
  11808. type: object
  11809. taaccount.QueryAmountLogRsp:
  11810. properties:
  11811. OPERATETYPENAME:
  11812. description: 资金操作类型名称
  11813. type: string
  11814. accountid:
  11815. description: 资金账户ID
  11816. type: integer
  11817. agoodscode:
  11818. description: 竞拍商品代码
  11819. type: string
  11820. agoodsname:
  11821. description: 竞拍商品名称
  11822. type: string
  11823. amount:
  11824. description: 资金金额
  11825. type: number
  11826. amountadjusttype:
  11827. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  11828. type: integer
  11829. autoid:
  11830. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  11831. type: integer
  11832. balance:
  11833. description: 期初余额
  11834. type: number
  11835. businesscode:
  11836. description: 业务编号
  11837. type: integer
  11838. createtime:
  11839. description: 发生时间
  11840. type: string
  11841. currencyid:
  11842. description: 币种ID
  11843. type: integer
  11844. currentbalance:
  11845. description: 期末余额(变动后金额)
  11846. type: number
  11847. dgoodscode:
  11848. description: 交割商品代码
  11849. type: string
  11850. dgoodsname:
  11851. description: 交割商品名称
  11852. type: string
  11853. goodscode:
  11854. description: 商品代码
  11855. type: string
  11856. goodsid:
  11857. description: 商品ID
  11858. type: integer
  11859. goodsname:
  11860. description: 商品名称
  11861. type: string
  11862. marketid:
  11863. description: 市场ID
  11864. type: integer
  11865. marketname:
  11866. description: 市场名称
  11867. type: string
  11868. moneyticket:
  11869. description: 资金流水号:银行端流水号
  11870. type: integer
  11871. operatetype:
  11872. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  11873. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  11874. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  11875. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  11876. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  11877. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  11878. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  11879. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  11880. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  11881. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  11882. type: integer
  11883. relationorderid:
  11884. description: 关联单号
  11885. type: string
  11886. remark:
  11887. description: 备注
  11888. type: string
  11889. trademode:
  11890. description: 交易模式
  11891. type: integer
  11892. required:
  11893. - accountid
  11894. - amount
  11895. - amountadjusttype
  11896. - autoid
  11897. - balance
  11898. - createtime
  11899. - currentbalance
  11900. - operatetype
  11901. type: object
  11902. taaccount.QueryHisAmountLogRsp:
  11903. properties:
  11904. OPERATETYPENAME:
  11905. description: 资金操作类型名称
  11906. type: string
  11907. accountid:
  11908. description: 资金账户ID
  11909. type: integer
  11910. agoodscode:
  11911. description: 竞拍商品代码
  11912. type: string
  11913. agoodsname:
  11914. description: 竞拍商品名称
  11915. type: string
  11916. amount:
  11917. description: 资金金额
  11918. type: number
  11919. amountadjusttype:
  11920. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  11921. type: integer
  11922. autoid:
  11923. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  11924. type: integer
  11925. balance:
  11926. description: 期初余额
  11927. type: number
  11928. businesscode:
  11929. description: 业务编号
  11930. type: integer
  11931. createtime:
  11932. description: 发生时间
  11933. type: string
  11934. currencyid:
  11935. description: 币种ID
  11936. type: integer
  11937. currentbalance:
  11938. description: 期末余额(变动后金额)
  11939. type: number
  11940. dgoodscode:
  11941. description: 交割商品代码
  11942. type: string
  11943. dgoodsname:
  11944. description: 交割商品名称
  11945. type: string
  11946. goodscode:
  11947. description: 商品代码
  11948. type: string
  11949. goodsid:
  11950. description: 商品ID
  11951. type: integer
  11952. goodsname:
  11953. description: 商品名称
  11954. type: string
  11955. histradedate:
  11956. description: 历史交易日
  11957. type: string
  11958. isvaliddata:
  11959. description: 是否有效 - 0:无效 1:有效
  11960. type: integer
  11961. marketid:
  11962. description: 市场ID
  11963. type: integer
  11964. marketname:
  11965. description: 市场名称
  11966. type: string
  11967. moneyticket:
  11968. description: 资金流水号:银行端流水号
  11969. type: integer
  11970. operatetype:
  11971. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  11972. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  11973. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  11974. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  11975. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  11976. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  11977. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  11978. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  11979. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  11980. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  11981. type: integer
  11982. relationorderid:
  11983. description: 关联单号
  11984. type: string
  11985. remark:
  11986. description: 备注
  11987. type: string
  11988. trademode:
  11989. description: 交易模式
  11990. type: integer
  11991. required:
  11992. - accountid
  11993. - amount
  11994. - amountadjusttype
  11995. - autoid
  11996. - balance
  11997. - createtime
  11998. - currentbalance
  11999. - histradedate
  12000. - operatetype
  12001. type: object
  12002. trade.QueryRecieptOrderRsp:
  12003. properties:
  12004. accountName:
  12005. description: 所属账号名称(已脱敏)
  12006. type: string
  12007. accountid:
  12008. description: 资金账号
  12009. type: integer
  12010. buyorsell:
  12011. description: 方向 - 0:买 1:卖
  12012. type: integer
  12013. enableqty:
  12014. description: 可摘数量
  12015. type: integer
  12016. goodscode:
  12017. description: 商品代码
  12018. type: string
  12019. goodsid:
  12020. description: 商品ID
  12021. type: integer
  12022. goodsname:
  12023. description: 商品名称
  12024. type: string
  12025. orderid:
  12026. description: 委托单号
  12027. type: string
  12028. orderprice:
  12029. description: 委托价格
  12030. type: number
  12031. ordertime:
  12032. description: 委托时间
  12033. type: string
  12034. tradedate:
  12035. description: 交易日(yyyyMMdd)
  12036. type: string
  12037. required:
  12038. - ordertime
  12039. type: object
  12040. user.LoginQueryRsp:
  12041. properties:
  12042. areaRoles:
  12043. description: 所属角色信息
  12044. items:
  12045. $ref: '#/definitions/models.Arearole'
  12046. type: array
  12047. externalExchanges:
  12048. description: 外部交易所
  12049. items:
  12050. $ref: '#/definitions/models.Externalexchange'
  12051. type: array
  12052. goodsgroups:
  12053. description: 商品组
  12054. items:
  12055. $ref: '#/definitions/models.Goodsgroup'
  12056. type: array
  12057. loginAccount:
  12058. $ref: '#/definitions/models.Loginaccount'
  12059. description: 登录账号
  12060. type: object
  12061. markets:
  12062. description: 市场
  12063. items:
  12064. $ref: '#/definitions/models.Market'
  12065. type: array
  12066. systemParams:
  12067. description: 系统参数
  12068. items:
  12069. $ref: '#/definitions/models.Systemparam'
  12070. type: array
  12071. userAccount:
  12072. $ref: '#/definitions/models.Useraccount'
  12073. description: 用户账号
  12074. type: object
  12075. userInfo:
  12076. $ref: '#/definitions/models.Userinfo'
  12077. description: 用户信息
  12078. type: object
  12079. username:
  12080. description: 用户姓名
  12081. type: string
  12082. type: object
  12083. info:
  12084. contact: {}
  12085. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  12086. license: {}
  12087. termsOfService: http://www.muchinfo.cn
  12088. title: MTP2.0 查询服务 API
  12089. version: "1.0"
  12090. paths:
  12091. /CPTrade/QueryCPTradeMyBidInfos:
  12092. get:
  12093. parameters:
  12094. - description: 资金账户
  12095. in: query
  12096. name: accountid
  12097. required: true
  12098. type: integer
  12099. - description: 预售市场ID
  12100. in: query
  12101. name: marketid
  12102. type: integer
  12103. - description: 预售商品ID
  12104. in: query
  12105. name: goodsid
  12106. type: integer
  12107. produces:
  12108. - application/json
  12109. responses:
  12110. "200":
  12111. description: OK
  12112. schema:
  12113. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  12114. "500":
  12115. description: Internal Server Error
  12116. schema:
  12117. $ref: '#/definitions/app.Response'
  12118. security:
  12119. - ApiKeyAuth: []
  12120. summary: 查询产能预售我的出价信息
  12121. tags:
  12122. - 产能预售
  12123. /CPTrade/QueryCPTradeOrderDetail:
  12124. get:
  12125. parameters:
  12126. - description: 预售商品ID
  12127. in: query
  12128. name: goodsid
  12129. type: integer
  12130. - description: 预售市场ID
  12131. in: query
  12132. name: marketid
  12133. type: integer
  12134. - description: 预售商品ID列表 - 格式:1,2,3
  12135. in: query
  12136. name: goodsids
  12137. type: string
  12138. produces:
  12139. - application/json
  12140. responses:
  12141. "200":
  12142. description: OK
  12143. schema:
  12144. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  12145. "500":
  12146. description: Internal Server Error
  12147. schema:
  12148. $ref: '#/definitions/app.Response'
  12149. security:
  12150. - ApiKeyAuth: []
  12151. summary: 查询产能预售委托单信息
  12152. tags:
  12153. - 产能预售
  12154. /CPTrade/QueryMyCPTradeGoods:
  12155. get:
  12156. parameters:
  12157. - description: 资金账户
  12158. in: query
  12159. name: accountid
  12160. required: true
  12161. type: integer
  12162. produces:
  12163. - application/json
  12164. responses:
  12165. "200":
  12166. description: OK
  12167. schema:
  12168. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  12169. "500":
  12170. description: Internal Server Error
  12171. schema:
  12172. $ref: '#/definitions/app.Response'
  12173. security:
  12174. - ApiKeyAuth: []
  12175. summary: 查询我的预售信息
  12176. tags:
  12177. - 产能预售
  12178. /CPTrade/QueryPositionCancel:
  12179. get:
  12180. parameters:
  12181. - description: 账户ID
  12182. in: query
  12183. name: userid
  12184. required: true
  12185. type: integer
  12186. - description: 注销ID
  12187. in: query
  12188. name: cancelid
  12189. type: integer
  12190. - description: 资金账户ID
  12191. in: query
  12192. name: accountid
  12193. type: integer
  12194. produces:
  12195. - application/json
  12196. responses:
  12197. "200":
  12198. description: OK
  12199. schema:
  12200. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  12201. "500":
  12202. description: Internal Server Error
  12203. schema:
  12204. $ref: '#/definitions/app.Response'
  12205. security:
  12206. - ApiKeyAuth: []
  12207. summary: 查询远期订单注销申请信息
  12208. tags:
  12209. - 产能预售
  12210. /CPTrade/QueryPreasleApply:
  12211. get:
  12212. parameters:
  12213. - description: 账户ID
  12214. in: query
  12215. name: userid
  12216. required: true
  12217. type: integer
  12218. - description: 申请ID
  12219. in: query
  12220. name: applyid
  12221. type: integer
  12222. - description: 资金账户ID
  12223. in: query
  12224. name: accountid
  12225. type: integer
  12226. produces:
  12227. - application/json
  12228. responses:
  12229. "200":
  12230. description: OK
  12231. schema:
  12232. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  12233. "500":
  12234. description: Internal Server Error
  12235. schema:
  12236. $ref: '#/definitions/app.Response'
  12237. security:
  12238. - ApiKeyAuth: []
  12239. summary: 查询产能预售申请信息
  12240. tags:
  12241. - 产能预售
  12242. /CPTrade/QueryPresaleGoodsEx:
  12243. get:
  12244. parameters:
  12245. - description: 预售商品ID
  12246. in: query
  12247. name: goodsid
  12248. type: integer
  12249. - description: 预售市场ID
  12250. in: query
  12251. name: marketid
  12252. type: integer
  12253. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  12254. in: query
  12255. name: presalemode
  12256. type: integer
  12257. - description: 预售商品ID列表 - 格式:1,2,3
  12258. in: query
  12259. name: goodsids
  12260. type: string
  12261. - description: 预售商品代码
  12262. in: query
  12263. name: goodscode
  12264. type: string
  12265. produces:
  12266. - application/json
  12267. responses:
  12268. "200":
  12269. description: OK
  12270. schema:
  12271. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  12272. "500":
  12273. description: Internal Server Error
  12274. schema:
  12275. $ref: '#/definitions/app.Response'
  12276. security:
  12277. - ApiKeyAuth: []
  12278. summary: 查询产能预售商品扩展信息
  12279. tags:
  12280. - 产能预售
  12281. /CPTrade/QueryUserGoodsData:
  12282. get:
  12283. parameters:
  12284. - description: 资金账户ID
  12285. in: query
  12286. name: accountid
  12287. required: true
  12288. type: integer
  12289. produces:
  12290. - application/json
  12291. responses:
  12292. "200":
  12293. description: OK
  12294. schema:
  12295. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  12296. "500":
  12297. description: Internal Server Error
  12298. schema:
  12299. $ref: '#/definitions/app.Response'
  12300. security:
  12301. - ApiKeyAuth: []
  12302. summary: 查询远期订单信息
  12303. tags:
  12304. - 产能预售
  12305. /Common/GetAllEnums:
  12306. get:
  12307. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  12308. parameters:
  12309. - description: 起始自增ID
  12310. in: query
  12311. name: autoid
  12312. type: integer
  12313. produces:
  12314. - application/json
  12315. responses:
  12316. "200":
  12317. description: OK
  12318. schema:
  12319. $ref: '#/definitions/models.Enumdicitem'
  12320. "500":
  12321. description: Internal Server Error
  12322. schema:
  12323. $ref: '#/definitions/app.Response'
  12324. summary: 获取所有枚举信息
  12325. tags:
  12326. - 通用服务
  12327. /Common/GetClientMenus:
  12328. get:
  12329. parameters:
  12330. - description: 登录账号
  12331. in: query
  12332. name: loginID
  12333. required: true
  12334. type: integer
  12335. - description: 终端类型,0:PC 1:Mobile
  12336. in: query
  12337. name: clientType
  12338. type: integer
  12339. produces:
  12340. - application/json
  12341. responses:
  12342. "200":
  12343. description: OK
  12344. schema:
  12345. items:
  12346. $ref: '#/definitions/common.ClientMenu'
  12347. type: array
  12348. "500":
  12349. description: Internal Server Error
  12350. schema:
  12351. $ref: '#/definitions/app.Response'
  12352. security:
  12353. - ApiKeyAuth: []
  12354. summary: 获取交易端菜单
  12355. tags:
  12356. - 通用服务
  12357. /Common/GetDivisions:
  12358. get:
  12359. produces:
  12360. - application/json
  12361. responses:
  12362. "200":
  12363. description: OK
  12364. schema:
  12365. $ref: '#/definitions/models.Division'
  12366. "500":
  12367. description: Internal Server Error
  12368. schema:
  12369. $ref: '#/definitions/app.Response'
  12370. summary: 查询区域信息
  12371. tags:
  12372. - 通用服务
  12373. /Common/GetServerTime:
  12374. get:
  12375. produces:
  12376. - application/json
  12377. responses:
  12378. "200":
  12379. description: OK
  12380. schema:
  12381. $ref: '#/definitions/app.Response'
  12382. "500":
  12383. description: Internal Server Error
  12384. schema:
  12385. $ref: '#/definitions/app.Response'
  12386. summary: 获取服务器时间
  12387. tags:
  12388. - 通用服务
  12389. /Common/NoticeReaded:
  12390. post:
  12391. parameters:
  12392. - description: 登录账号
  12393. in: query
  12394. name: loginID
  12395. required: true
  12396. type: integer
  12397. - description: 通知公告ID
  12398. in: query
  12399. name: noticeID
  12400. required: true
  12401. type: integer
  12402. produces:
  12403. - application/json
  12404. responses:
  12405. "200":
  12406. description: OK
  12407. schema:
  12408. $ref: '#/definitions/app.Response'
  12409. "500":
  12410. description: Internal Server Error
  12411. schema:
  12412. $ref: '#/definitions/app.Response'
  12413. security:
  12414. - ApiKeyAuth: []
  12415. summary: 通知公告设置已读请求
  12416. tags:
  12417. - 通用服务
  12418. /Common/QueryErrorInfos:
  12419. get:
  12420. description: 如果传入rowNumber,则返回此rowNumber后的数据
  12421. parameters:
  12422. - description: 起始行号前索引
  12423. in: query
  12424. name: rowNumber
  12425. type: string
  12426. produces:
  12427. - application/json
  12428. responses:
  12429. "200":
  12430. description: OK
  12431. schema:
  12432. $ref: '#/definitions/models.QueryErrorInfosRsp'
  12433. "500":
  12434. description: Internal Server Error
  12435. schema:
  12436. $ref: '#/definitions/app.Response'
  12437. summary: 获取数据库错误信息
  12438. tags:
  12439. - 通用服务
  12440. /Common/QueryImageConfigs:
  12441. get:
  12442. parameters:
  12443. - description: 类型 - 1:App首页轮播 2:我的
  12444. in: query
  12445. name: imageType
  12446. type: integer
  12447. produces:
  12448. - application/json
  12449. responses:
  12450. "200":
  12451. description: OK
  12452. schema:
  12453. $ref: '#/definitions/common.QueryImageConfigsRsp'
  12454. "500":
  12455. description: Internal Server Error
  12456. schema:
  12457. $ref: '#/definitions/app.Response'
  12458. summary: 查询轮播图配置信息
  12459. tags:
  12460. - 通用服务
  12461. /Common/QueryNotice:
  12462. get:
  12463. parameters:
  12464. - description: 页码
  12465. in: query
  12466. name: page
  12467. type: integer
  12468. - description: 每页条数
  12469. in: query
  12470. name: pagesize
  12471. type: integer
  12472. - description: 登录账号
  12473. in: query
  12474. name: loginID
  12475. required: true
  12476. type: integer
  12477. - description: 消息类型 - 1:公告通知 2:系统消息
  12478. in: query
  12479. name: msgType
  12480. type: integer
  12481. - description: 是否只获取未读信息
  12482. in: query
  12483. name: onlyUnRead
  12484. type: boolean
  12485. - description: 自增ID,传入后会返回这个ID后面的记录
  12486. in: query
  12487. name: lastID
  12488. type: integer
  12489. produces:
  12490. - application/json
  12491. responses:
  12492. "200":
  12493. description: OK
  12494. schema:
  12495. $ref: '#/definitions/common.QueryNoticeRsp'
  12496. "500":
  12497. description: Internal Server Error
  12498. schema:
  12499. $ref: '#/definitions/app.Response'
  12500. security:
  12501. - ApiKeyAuth: []
  12502. summary: 通知公告系统消息查询
  12503. tags:
  12504. - 通用服务
  12505. /Common/QueryProvincesAndCities:
  12506. get:
  12507. parameters:
  12508. - description: 省ID
  12509. in: query
  12510. name: provinceID
  12511. type: integer
  12512. produces:
  12513. - application/json
  12514. responses:
  12515. "200":
  12516. description: OK
  12517. schema:
  12518. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  12519. "500":
  12520. description: Internal Server Error
  12521. schema:
  12522. $ref: '#/definitions/app.Response'
  12523. summary: 查询省市信息(不包括区)
  12524. tags:
  12525. - 通用服务
  12526. /Common/QueryTableDefine:
  12527. get:
  12528. parameters:
  12529. - description: 表key
  12530. in: query
  12531. name: tableKey
  12532. type: string
  12533. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  12534. in: query
  12535. name: tableType
  12536. type: integer
  12537. produces:
  12538. - application/json
  12539. responses:
  12540. "200":
  12541. description: OK
  12542. schema:
  12543. $ref: '#/definitions/common.QueryTableDefineRsp'
  12544. "500":
  12545. description: Internal Server Error
  12546. schema:
  12547. $ref: '#/definitions/app.Response'
  12548. summary: 查询交易端列表头信息
  12549. tags:
  12550. - 通用服务
  12551. /Common/QueryTraderMenu:
  12552. get:
  12553. parameters:
  12554. - description: 登录账号
  12555. in: query
  12556. name: loginid
  12557. required: true
  12558. type: integer
  12559. produces:
  12560. - application/json
  12561. responses:
  12562. "200":
  12563. description: OK
  12564. schema:
  12565. $ref: '#/definitions/common.QueryTraderMenuRsp'
  12566. "500":
  12567. description: Internal Server Error
  12568. schema:
  12569. $ref: '#/definitions/app.Response'
  12570. summary: 查询交易端菜单
  12571. tags:
  12572. - 通用服务
  12573. /Delivery/QueryDeliveryRelation:
  12574. get:
  12575. parameters:
  12576. - description: 商品ID
  12577. in: query
  12578. name: goodsid
  12579. type: integer
  12580. - description: 品种ID
  12581. in: query
  12582. name: deliverygoodsid
  12583. type: integer
  12584. - description: 市场ID
  12585. in: query
  12586. name: marketid
  12587. type: integer
  12588. produces:
  12589. - application/json
  12590. responses:
  12591. "200":
  12592. description: OK
  12593. schema:
  12594. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  12595. "500":
  12596. description: Internal Server Error
  12597. schema:
  12598. $ref: '#/definitions/app.Response'
  12599. security:
  12600. - ApiKeyAuth: []
  12601. summary: 查询商品交割关系表
  12602. tags:
  12603. - 交割服务
  12604. /Ermcp/GetErmcpGoods:
  12605. get:
  12606. parameters:
  12607. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  12608. in: query
  12609. name: lastUpdateTime
  12610. type: string
  12611. produces:
  12612. - application/json
  12613. responses:
  12614. "200":
  12615. description: OK
  12616. schema:
  12617. $ref: '#/definitions/models.Goods'
  12618. "500":
  12619. description: Internal Server Error
  12620. schema:
  12621. $ref: '#/definitions/app.Response'
  12622. security:
  12623. - ApiKeyAuth: []
  12624. summary: 查询企业风管期货商品信息
  12625. tags:
  12626. - 企业风险管理(app)
  12627. /Ermcp/GetErmcpGoodsSortByPosition:
  12628. get:
  12629. parameters:
  12630. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  12631. in: query
  12632. name: sortIndex
  12633. type: string
  12634. produces:
  12635. - application/json
  12636. responses:
  12637. "200":
  12638. description: OK
  12639. schema:
  12640. $ref: '#/definitions/models.Goodssortbypreposition'
  12641. "500":
  12642. description: Internal Server Error
  12643. schema:
  12644. $ref: '#/definitions/app.Response'
  12645. security:
  12646. - ApiKeyAuth: []
  12647. summary: 查询企业风管期货主力、次主力商品信息
  12648. tags:
  12649. - 企业风险管理(app)
  12650. /Ermcp/GetErmcpOutAccountStatus:
  12651. get:
  12652. parameters:
  12653. - description: 登录账号
  12654. in: query
  12655. name: loginID
  12656. required: true
  12657. type: integer
  12658. produces:
  12659. - application/json
  12660. responses:
  12661. "200":
  12662. description: OK
  12663. schema:
  12664. $ref: '#/definitions/models.Hedgemarketopenlog'
  12665. "500":
  12666. description: Internal Server Error
  12667. schema:
  12668. $ref: '#/definitions/app.Response'
  12669. security:
  12670. - ApiKeyAuth: []
  12671. summary: 获取目标登录账号当前对冲账号在线状态
  12672. tags:
  12673. - 企业风险管理(app)
  12674. /Ermcp/GetErmcpRoleFuncMenuLists:
  12675. get:
  12676. parameters:
  12677. - description: 登录账号
  12678. in: query
  12679. name: loginID
  12680. required: true
  12681. type: integer
  12682. produces:
  12683. - application/json
  12684. responses:
  12685. "200":
  12686. description: OK
  12687. schema:
  12688. $ref: '#/definitions/models.Funcmenulist'
  12689. "500":
  12690. description: Internal Server Error
  12691. schema:
  12692. $ref: '#/definitions/app.Response'
  12693. security:
  12694. - ApiKeyAuth: []
  12695. summary: 获取企业风管终端权限
  12696. tags:
  12697. - 企业风险管理(app)
  12698. /Ermcp/QueryAccMgrBizGroupSet:
  12699. get:
  12700. parameters:
  12701. - description: 用户ID
  12702. in: query
  12703. name: userid
  12704. required: true
  12705. type: integer
  12706. - description: 现货商品id
  12707. in: query
  12708. name: deliverygoodsid
  12709. type: integer
  12710. produces:
  12711. - application/json
  12712. responses:
  12713. "200":
  12714. description: OK
  12715. schema:
  12716. items:
  12717. $ref: '#/definitions/models.ErmcpBizGroupEx'
  12718. type: array
  12719. "500":
  12720. description: Internal Server Error
  12721. schema:
  12722. $ref: '#/definitions/app.Response'
  12723. security:
  12724. - ApiKeyAuth: []
  12725. summary: 查询业务类型分组(账户管理/账户设置)
  12726. tags:
  12727. - 企业风险管理(app)
  12728. /Ermcp/QueryAccMgrLoginUser:
  12729. get:
  12730. parameters:
  12731. - description: 用户ID
  12732. in: query
  12733. name: userid
  12734. required: true
  12735. type: integer
  12736. - description: 用户类型 2-机构 7-企业成员
  12737. in: query
  12738. name: usertype
  12739. type: integer
  12740. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  12741. in: query
  12742. name: querytype
  12743. required: true
  12744. type: integer
  12745. produces:
  12746. - application/json
  12747. responses:
  12748. "200":
  12749. description: OK
  12750. schema:
  12751. items:
  12752. $ref: '#/definitions/models.ErmcpLoginUserEx'
  12753. type: array
  12754. "500":
  12755. description: Internal Server Error
  12756. schema:
  12757. $ref: '#/definitions/app.Response'
  12758. security:
  12759. - ApiKeyAuth: []
  12760. summary: 查询账户管理登录账号(账户管理/登录账号)
  12761. tags:
  12762. - 企业风险管理(app)
  12763. /Ermcp/QueryAccMgrMainAccountInfo:
  12764. get:
  12765. parameters:
  12766. - description: 用户ID
  12767. in: query
  12768. name: userid
  12769. type: integer
  12770. - description: 主账号id
  12771. in: query
  12772. name: accountid
  12773. type: integer
  12774. produces:
  12775. - application/json
  12776. responses:
  12777. "200":
  12778. description: OK
  12779. schema:
  12780. items:
  12781. $ref: '#/definitions/models.MainAccountInfo'
  12782. type: array
  12783. "500":
  12784. description: Internal Server Error
  12785. schema:
  12786. $ref: '#/definitions/app.Response'
  12787. security:
  12788. - ApiKeyAuth: []
  12789. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  12790. tags:
  12791. - 企业风险管理(app)
  12792. /Ermcp/QueryAccMgrRole:
  12793. get:
  12794. parameters:
  12795. - description: 用户ID
  12796. in: query
  12797. name: userid
  12798. required: true
  12799. type: integer
  12800. produces:
  12801. - application/json
  12802. responses:
  12803. "200":
  12804. description: OK
  12805. schema:
  12806. items:
  12807. $ref: '#/definitions/models.ErmcpRole'
  12808. type: array
  12809. "500":
  12810. description: Internal Server Error
  12811. schema:
  12812. $ref: '#/definitions/app.Response'
  12813. security:
  12814. - ApiKeyAuth: []
  12815. summary: 查询账户管理角色设置(账户管理/角色设置)
  12816. tags:
  12817. - 企业风险管理(app)
  12818. /Ermcp/QueryAccMgrRoleMenu:
  12819. get:
  12820. parameters:
  12821. - description: 用户ID
  12822. in: query
  12823. name: userid
  12824. required: true
  12825. type: integer
  12826. - description: 角色id(可多个,逗号隔开)
  12827. in: query
  12828. name: roleid
  12829. type: string
  12830. produces:
  12831. - application/json
  12832. responses:
  12833. "200":
  12834. description: OK
  12835. schema:
  12836. items:
  12837. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  12838. type: array
  12839. "500":
  12840. description: Internal Server Error
  12841. schema:
  12842. $ref: '#/definitions/app.Response'
  12843. security:
  12844. - ApiKeyAuth: []
  12845. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  12846. tags:
  12847. - 企业风险管理(app)
  12848. /Ermcp/QueryAccMgrTaAccountInfo:
  12849. get:
  12850. parameters:
  12851. - description: 用户ID
  12852. in: query
  12853. name: userid
  12854. required: true
  12855. type: integer
  12856. - description: 账号id
  12857. in: query
  12858. name: accountid
  12859. type: integer
  12860. produces:
  12861. - application/json
  12862. responses:
  12863. "200":
  12864. description: OK
  12865. schema:
  12866. items:
  12867. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  12868. type: array
  12869. "500":
  12870. description: Internal Server Error
  12871. schema:
  12872. $ref: '#/definitions/app.Response'
  12873. security:
  12874. - ApiKeyAuth: []
  12875. summary: 查询账户管理授信(账户管理/账户设置/授信)
  12876. tags:
  12877. - 企业风险管理(app)
  12878. /Ermcp/QueryAccMgrTaaccount:
  12879. get:
  12880. parameters:
  12881. - description: 用户ID
  12882. in: query
  12883. name: userid
  12884. required: true
  12885. type: integer
  12886. produces:
  12887. - application/json
  12888. responses:
  12889. "200":
  12890. description: OK
  12891. schema:
  12892. items:
  12893. $ref: '#/definitions/models.ErmcpTaAccountEx'
  12894. type: array
  12895. "500":
  12896. description: Internal Server Error
  12897. schema:
  12898. $ref: '#/definitions/app.Response'
  12899. security:
  12900. - ApiKeyAuth: []
  12901. summary: 查询账户管理期货账号(账户管理/期货账号)
  12902. tags:
  12903. - 企业风险管理(app)
  12904. /Ermcp/QueryAvaildGoodsGroup:
  12905. get:
  12906. parameters:
  12907. - description: 所属机构ID
  12908. in: query
  12909. name: userid
  12910. required: true
  12911. type: integer
  12912. produces:
  12913. - application/json
  12914. responses:
  12915. "200":
  12916. description: OK
  12917. schema:
  12918. items:
  12919. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  12920. type: array
  12921. "500":
  12922. description: Internal Server Error
  12923. schema:
  12924. $ref: '#/definitions/app.Response'
  12925. security:
  12926. - ApiKeyAuth: []
  12927. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  12928. tags:
  12929. - 企业风险管理(app)
  12930. /Ermcp/QueryBusinessDj:
  12931. get:
  12932. parameters:
  12933. - description: 用户ID
  12934. in: query
  12935. name: UserId
  12936. required: true
  12937. type: integer
  12938. - description: 用户类型 2-机构 7-企业成员
  12939. in: query
  12940. name: usertype
  12941. type: integer
  12942. - description: 现货合同ID, 不填则查所有
  12943. in: query
  12944. name: relatedid
  12945. type: string
  12946. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12947. in: query
  12948. name: applystatus
  12949. type: string
  12950. produces:
  12951. - application/json
  12952. responses:
  12953. "200":
  12954. description: OK
  12955. schema:
  12956. items:
  12957. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  12958. type: array
  12959. "500":
  12960. description: Internal Server Error
  12961. schema:
  12962. $ref: '#/definitions/app.Response'
  12963. security:
  12964. - ApiKeyAuth: []
  12965. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  12966. tags:
  12967. - 企业风险管理(app)
  12968. /Ermcp/QueryBusinessFp:
  12969. get:
  12970. parameters:
  12971. - description: 用户ID
  12972. in: query
  12973. name: UserId
  12974. required: true
  12975. type: integer
  12976. - description: 用户类型 2-机构 7-企业成员
  12977. in: query
  12978. name: usertype
  12979. type: integer
  12980. - description: 现货合同ID, 不填则查所有
  12981. in: query
  12982. name: relatedid
  12983. type: string
  12984. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12985. in: query
  12986. name: applystatus
  12987. type: string
  12988. produces:
  12989. - application/json
  12990. responses:
  12991. "200":
  12992. description: OK
  12993. schema:
  12994. items:
  12995. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  12996. type: array
  12997. "500":
  12998. description: Internal Server Error
  12999. schema:
  13000. $ref: '#/definitions/app.Response'
  13001. security:
  13002. - ApiKeyAuth: []
  13003. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  13004. tags:
  13005. - 企业风险管理(app)
  13006. /Ermcp/QueryBusinessJs:
  13007. get:
  13008. parameters:
  13009. - description: 用户ID
  13010. in: query
  13011. name: UserId
  13012. required: true
  13013. type: integer
  13014. - description: 用户类型 2-机构 7-企业成员
  13015. in: query
  13016. name: usertype
  13017. type: integer
  13018. - description: 现货合同ID, 不填则查所有
  13019. in: query
  13020. name: relatedid
  13021. type: string
  13022. - description: 操作申请id
  13023. in: query
  13024. name: operateapplyid
  13025. type: string
  13026. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13027. in: query
  13028. name: applystatus
  13029. type: string
  13030. produces:
  13031. - application/json
  13032. responses:
  13033. "200":
  13034. description: OK
  13035. schema:
  13036. items:
  13037. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  13038. type: array
  13039. "500":
  13040. description: Internal Server Error
  13041. schema:
  13042. $ref: '#/definitions/app.Response'
  13043. security:
  13044. - ApiKeyAuth: []
  13045. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  13046. tags:
  13047. - 企业风险管理(app)
  13048. /Ermcp/QueryBusinessJsEx:
  13049. get:
  13050. parameters:
  13051. - description: 用户ID
  13052. in: query
  13053. name: UserId
  13054. required: true
  13055. type: integer
  13056. - description: 用户类型 2-机构 7-企业成员
  13057. in: query
  13058. name: usertype
  13059. type: integer
  13060. - description: 现货合同ID, 不填则查所有
  13061. in: query
  13062. name: relatedid
  13063. type: string
  13064. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13065. in: query
  13066. name: applystatus
  13067. type: string
  13068. produces:
  13069. - application/json
  13070. responses:
  13071. "200":
  13072. description: OK
  13073. schema:
  13074. items:
  13075. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  13076. type: array
  13077. "500":
  13078. description: Internal Server Error
  13079. schema:
  13080. $ref: '#/definitions/app.Response'
  13081. security:
  13082. - ApiKeyAuth: []
  13083. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  13084. tags:
  13085. - 企业风险管理(app)
  13086. /Ermcp/QueryBusinessKx:
  13087. get:
  13088. parameters:
  13089. - description: 用户ID
  13090. in: query
  13091. name: UserId
  13092. required: true
  13093. type: integer
  13094. - description: 用户类型 2-机构 7-企业成员
  13095. in: query
  13096. name: usertype
  13097. type: integer
  13098. - description: 现货合同ID, 不填则查所有
  13099. in: query
  13100. name: relatedid
  13101. type: string
  13102. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13103. in: query
  13104. name: applystatus
  13105. type: string
  13106. produces:
  13107. - application/json
  13108. responses:
  13109. "200":
  13110. description: OK
  13111. schema:
  13112. items:
  13113. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  13114. type: array
  13115. "500":
  13116. description: Internal Server Error
  13117. schema:
  13118. $ref: '#/definitions/app.Response'
  13119. security:
  13120. - ApiKeyAuth: []
  13121. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  13122. tags:
  13123. - 企业风险管理(app)
  13124. /Ermcp/QueryChangeLog:
  13125. get:
  13126. parameters:
  13127. - description: 合同ID
  13128. in: query
  13129. name: RelatedId
  13130. required: true
  13131. type: string
  13132. produces:
  13133. - application/json
  13134. responses:
  13135. "200":
  13136. description: OK
  13137. schema:
  13138. items:
  13139. $ref: '#/definitions/ermcp.QryOPLogRsp'
  13140. type: array
  13141. "500":
  13142. description: Internal Server Error
  13143. schema:
  13144. $ref: '#/definitions/app.Response'
  13145. security:
  13146. - ApiKeyAuth: []
  13147. summary: 查询变更记录
  13148. tags:
  13149. - 企业风险管理(app)
  13150. /Ermcp/QueryErmcpHisOrderDetails:
  13151. get:
  13152. parameters:
  13153. - description: 资金账户ID
  13154. in: query
  13155. name: accountID
  13156. required: true
  13157. type: integer
  13158. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  13159. in: query
  13160. name: startDate
  13161. type: string
  13162. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  13163. in: query
  13164. name: endDate
  13165. type: string
  13166. produces:
  13167. - application/json
  13168. responses:
  13169. "200":
  13170. description: OK
  13171. schema:
  13172. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  13173. "500":
  13174. description: Internal Server Error
  13175. schema:
  13176. $ref: '#/definitions/app.Response'
  13177. security:
  13178. - ApiKeyAuth: []
  13179. summary: 获取企业风管期货历史委托单信息
  13180. tags:
  13181. - 企业风险管理(app)
  13182. /Ermcp/QueryErmcpHisTradeDetails:
  13183. get:
  13184. parameters:
  13185. - description: 资金账户ID
  13186. in: query
  13187. name: accountID
  13188. required: true
  13189. type: integer
  13190. - description: 商品ID
  13191. in: query
  13192. name: goodsID
  13193. type: integer
  13194. - description: 买卖方向,0:买 1:卖
  13195. in: query
  13196. name: buyOrSell
  13197. type: integer
  13198. - description: 关联委托单号
  13199. in: query
  13200. name: orderID
  13201. type: integer
  13202. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  13203. in: query
  13204. name: startDate
  13205. type: string
  13206. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  13207. in: query
  13208. name: endDate
  13209. type: string
  13210. produces:
  13211. - application/json
  13212. responses:
  13213. "200":
  13214. description: OK
  13215. schema:
  13216. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  13217. "500":
  13218. description: Internal Server Error
  13219. schema:
  13220. $ref: '#/definitions/app.Response'
  13221. security:
  13222. - ApiKeyAuth: []
  13223. summary: 获取企业风管期货历史成交单信息
  13224. tags:
  13225. - 企业风险管理(app)
  13226. /Ermcp/QueryErmcpInnerHolderDetails:
  13227. get:
  13228. parameters:
  13229. - description: 资金账户ID
  13230. in: query
  13231. name: accountID
  13232. required: true
  13233. type: integer
  13234. - description: 商品ID
  13235. in: query
  13236. name: goodsID
  13237. type: integer
  13238. - description: 买卖方向,0:买 1:卖
  13239. in: query
  13240. name: buyOrSell
  13241. type: integer
  13242. produces:
  13243. - application/json
  13244. responses:
  13245. "200":
  13246. description: OK
  13247. schema:
  13248. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  13249. "500":
  13250. description: Internal Server Error
  13251. schema:
  13252. $ref: '#/definitions/app.Response'
  13253. security:
  13254. - ApiKeyAuth: []
  13255. summary: 获取企业风管期货内部持仓单信息
  13256. tags:
  13257. - 企业风险管理(app)
  13258. /Ermcp/QueryErmcpOrderDetails:
  13259. get:
  13260. parameters:
  13261. - description: 资金账户ID
  13262. in: query
  13263. name: accountID
  13264. required: true
  13265. type: integer
  13266. produces:
  13267. - application/json
  13268. responses:
  13269. "200":
  13270. description: OK
  13271. schema:
  13272. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  13273. "500":
  13274. description: Internal Server Error
  13275. schema:
  13276. $ref: '#/definitions/app.Response'
  13277. security:
  13278. - ApiKeyAuth: []
  13279. summary: 获取企业风管期货委托单信息
  13280. tags:
  13281. - 企业风险管理(app)
  13282. /Ermcp/QueryErmcpTradeDetails:
  13283. get:
  13284. parameters:
  13285. - description: 资金账户ID
  13286. in: query
  13287. name: accountID
  13288. required: true
  13289. type: integer
  13290. - description: 商品ID
  13291. in: query
  13292. name: goodsID
  13293. type: integer
  13294. - description: 买卖方向,0:买 1:卖
  13295. in: query
  13296. name: buyOrSell
  13297. type: integer
  13298. - description: 关联委托单号
  13299. in: query
  13300. name: orderID
  13301. type: integer
  13302. produces:
  13303. - application/json
  13304. responses:
  13305. "200":
  13306. description: OK
  13307. schema:
  13308. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  13309. "500":
  13310. description: Internal Server Error
  13311. schema:
  13312. $ref: '#/definitions/app.Response'
  13313. security:
  13314. - ApiKeyAuth: []
  13315. summary: 获取企业风管期货成交单信息
  13316. tags:
  13317. - 企业风险管理(app)
  13318. /Ermcp/QueryErmcpTradePosition:
  13319. get:
  13320. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  13321. parameters:
  13322. - description: 资金账户ID
  13323. in: query
  13324. name: accountID
  13325. required: true
  13326. type: integer
  13327. - description: 所属市场ID
  13328. in: query
  13329. name: marketID
  13330. type: integer
  13331. produces:
  13332. - application/json
  13333. responses:
  13334. "200":
  13335. description: OK
  13336. schema:
  13337. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  13338. "500":
  13339. description: Internal Server Error
  13340. schema:
  13341. $ref: '#/definitions/app.Response'
  13342. security:
  13343. - ApiKeyAuth: []
  13344. summary: 获取企业风管期货持仓头寸信息
  13345. tags:
  13346. - 企业风险管理(app)
  13347. /Ermcp/QueryExposureDetail:
  13348. get:
  13349. parameters:
  13350. - description: 所属机构ID
  13351. in: query
  13352. name: areaUserId
  13353. required: true
  13354. type: integer
  13355. - description: 套保商品
  13356. in: query
  13357. name: middleGoodsId
  13358. required: true
  13359. type: integer
  13360. produces:
  13361. - application/json
  13362. responses:
  13363. "200":
  13364. description: OK
  13365. schema:
  13366. items:
  13367. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  13368. type: array
  13369. "500":
  13370. description: Internal Server Error
  13371. schema:
  13372. $ref: '#/definitions/app.Response'
  13373. security:
  13374. - ApiKeyAuth: []
  13375. summary: 查询敞口现货明细
  13376. tags:
  13377. - 企业风险管理(app)
  13378. /Ermcp/QueryExposureHedgePosition:
  13379. get:
  13380. parameters:
  13381. - description: 用户id
  13382. in: query
  13383. name: userid
  13384. required: true
  13385. type: integer
  13386. produces:
  13387. - application/json
  13388. responses:
  13389. "200":
  13390. description: OK
  13391. schema:
  13392. items:
  13393. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  13394. type: array
  13395. "500":
  13396. description: Internal Server Error
  13397. schema:
  13398. $ref: '#/definitions/app.Response'
  13399. security:
  13400. - ApiKeyAuth: []
  13401. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  13402. tags:
  13403. - 企业风险管理(app)
  13404. /Ermcp/QueryExposureHedgePositionDetail:
  13405. get:
  13406. parameters:
  13407. - description: 所属机构ID
  13408. in: query
  13409. name: userid
  13410. required: true
  13411. type: integer
  13412. - description: 商品id
  13413. in: query
  13414. name: goodsId
  13415. required: true
  13416. type: integer
  13417. produces:
  13418. - application/json
  13419. responses:
  13420. "200":
  13421. description: OK
  13422. schema:
  13423. items:
  13424. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  13425. type: array
  13426. "500":
  13427. description: Internal Server Error
  13428. schema:
  13429. $ref: '#/definitions/app.Response'
  13430. security:
  13431. - ApiKeyAuth: []
  13432. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  13433. tags:
  13434. - 企业风险管理(app)
  13435. /Ermcp/QueryExposureSpot:
  13436. get:
  13437. parameters:
  13438. - description: 所属机构ID
  13439. in: query
  13440. name: areaUserId
  13441. required: true
  13442. type: integer
  13443. produces:
  13444. - application/json
  13445. responses:
  13446. "200":
  13447. description: OK
  13448. schema:
  13449. items:
  13450. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  13451. type: array
  13452. "500":
  13453. description: Internal Server Error
  13454. schema:
  13455. $ref: '#/definitions/app.Response'
  13456. security:
  13457. - ApiKeyAuth: []
  13458. summary: 查询敞口现货头寸(敞口/现货头寸)
  13459. tags:
  13460. - 企业风险管理(app)
  13461. /Ermcp/QueryExposureSpotDetail:
  13462. get:
  13463. parameters:
  13464. - description: 所属机构ID
  13465. in: query
  13466. name: areaUserId
  13467. required: true
  13468. type: integer
  13469. - description: 现货品种ID
  13470. in: query
  13471. name: wrstandardId
  13472. required: true
  13473. type: integer
  13474. produces:
  13475. - application/json
  13476. responses:
  13477. "200":
  13478. description: OK
  13479. schema:
  13480. items:
  13481. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  13482. type: array
  13483. "500":
  13484. description: Internal Server Error
  13485. schema:
  13486. $ref: '#/definitions/app.Response'
  13487. security:
  13488. - ApiKeyAuth: []
  13489. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  13490. tags:
  13491. - 企业风险管理(app)
  13492. /Ermcp/QueryFuturesCompany:
  13493. get:
  13494. produces:
  13495. - application/json
  13496. responses:
  13497. "200":
  13498. description: OK
  13499. schema:
  13500. items:
  13501. $ref: '#/definitions/models.ErmcpFuturesCompany'
  13502. type: array
  13503. "500":
  13504. description: Internal Server Error
  13505. schema:
  13506. $ref: '#/definitions/app.Response'
  13507. security:
  13508. - ApiKeyAuth: []
  13509. summary: 查询期货公司
  13510. tags:
  13511. - 企业风险管理(app)
  13512. /Ermcp/QueryGGConvertConfig:
  13513. get:
  13514. parameters:
  13515. - description: 品种id(不填则查所有)
  13516. in: query
  13517. name: goodsgroupid
  13518. type: integer
  13519. produces:
  13520. - application/json
  13521. responses:
  13522. "200":
  13523. description: OK
  13524. schema:
  13525. items:
  13526. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  13527. type: array
  13528. "500":
  13529. description: Internal Server Error
  13530. schema:
  13531. $ref: '#/definitions/app.Response'
  13532. security:
  13533. - ApiKeyAuth: []
  13534. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  13535. tags:
  13536. - 企业风险管理(app)
  13537. /Ermcp/QueryGoodsBrand:
  13538. get:
  13539. parameters:
  13540. - description: 用户ID
  13541. in: query
  13542. name: userid
  13543. required: true
  13544. type: integer
  13545. - description: 现货商品ID
  13546. in: query
  13547. name: wrstandardid
  13548. type: integer
  13549. produces:
  13550. - application/json
  13551. responses:
  13552. "200":
  13553. description: OK
  13554. schema:
  13555. items:
  13556. $ref: '#/definitions/models.ErmcpGoodsBrand'
  13557. type: array
  13558. "500":
  13559. description: Internal Server Error
  13560. schema:
  13561. $ref: '#/definitions/app.Response'
  13562. security:
  13563. - ApiKeyAuth: []
  13564. summary: 查询商品品牌
  13565. tags:
  13566. - 企业风险管理(app)
  13567. /Ermcp/QueryGoodsModel:
  13568. get:
  13569. parameters:
  13570. - description: 用户ID
  13571. in: query
  13572. name: userid
  13573. required: true
  13574. type: integer
  13575. produces:
  13576. - application/json
  13577. responses:
  13578. "200":
  13579. description: OK
  13580. schema:
  13581. items:
  13582. $ref: '#/definitions/models.ErmcpGoodsModel'
  13583. type: array
  13584. "500":
  13585. description: Internal Server Error
  13586. schema:
  13587. $ref: '#/definitions/app.Response'
  13588. security:
  13589. - ApiKeyAuth: []
  13590. summary: 查询商品型号
  13591. tags:
  13592. - 企业风险管理(app)
  13593. /Ermcp/QueryHisExposure:
  13594. get:
  13595. parameters:
  13596. - description: 用户id
  13597. in: query
  13598. name: userid
  13599. required: true
  13600. type: integer
  13601. - description: 每个品种记录数
  13602. in: query
  13603. name: lastNum
  13604. required: true
  13605. type: integer
  13606. produces:
  13607. - application/json
  13608. responses:
  13609. "200":
  13610. description: OK
  13611. schema:
  13612. items:
  13613. $ref: '#/definitions/ermcp.HisExposureRsp'
  13614. type: array
  13615. "500":
  13616. description: Internal Server Error
  13617. schema:
  13618. $ref: '#/definitions/app.Response'
  13619. security:
  13620. - ApiKeyAuth: []
  13621. summary: 查询历史敞口(菜单:敞口/历史敞口)
  13622. tags:
  13623. - 企业风险管理(app)
  13624. /Ermcp/QueryMiddleGoods:
  13625. get:
  13626. parameters:
  13627. - description: 所属机构ID
  13628. in: query
  13629. name: userid
  13630. required: true
  13631. type: integer
  13632. - description: 状态 0-停用 1-正常
  13633. in: query
  13634. name: status
  13635. required: true
  13636. type: integer
  13637. produces:
  13638. - application/json
  13639. responses:
  13640. "200":
  13641. description: OK
  13642. schema:
  13643. items:
  13644. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  13645. type: array
  13646. "500":
  13647. description: Internal Server Error
  13648. schema:
  13649. $ref: '#/definitions/app.Response'
  13650. security:
  13651. - ApiKeyAuth: []
  13652. summary: 查询套保品种(菜单:套保品种)
  13653. tags:
  13654. - 企业风险管理(app)
  13655. /Ermcp/QueryMiddleGoodsChangeLog:
  13656. get:
  13657. parameters:
  13658. - description: 所属机构ID
  13659. in: query
  13660. name: userid
  13661. required: true
  13662. type: integer
  13663. - description: 套保品种id
  13664. in: query
  13665. name: middlegoodsid
  13666. required: true
  13667. type: integer
  13668. produces:
  13669. - application/json
  13670. responses:
  13671. "200":
  13672. description: OK
  13673. schema:
  13674. items:
  13675. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  13676. type: array
  13677. "500":
  13678. description: Internal Server Error
  13679. schema:
  13680. $ref: '#/definitions/app.Response'
  13681. security:
  13682. - ApiKeyAuth: []
  13683. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  13684. tags:
  13685. - 企业风险管理(app)
  13686. /Ermcp/QueryMiddleGoodsDetail:
  13687. get:
  13688. parameters:
  13689. - description: 所属机构ID
  13690. in: query
  13691. name: userid
  13692. required: true
  13693. type: integer
  13694. - description: 套保品种id
  13695. in: query
  13696. name: middlegoodsid
  13697. type: integer
  13698. produces:
  13699. - application/json
  13700. responses:
  13701. "200":
  13702. description: OK
  13703. schema:
  13704. items:
  13705. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  13706. type: array
  13707. "500":
  13708. description: Internal Server Error
  13709. schema:
  13710. $ref: '#/definitions/app.Response'
  13711. security:
  13712. - ApiKeyAuth: []
  13713. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  13714. tags:
  13715. - 企业风险管理(app)
  13716. /Ermcp/QueryPendingAuditInfo:
  13717. get:
  13718. parameters:
  13719. - description: 用户ID
  13720. in: query
  13721. name: UserId
  13722. required: true
  13723. type: integer
  13724. produces:
  13725. - application/json
  13726. responses:
  13727. "200":
  13728. description: OK
  13729. schema:
  13730. items:
  13731. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  13732. type: array
  13733. "500":
  13734. description: Internal Server Error
  13735. schema:
  13736. $ref: '#/definitions/app.Response'
  13737. security:
  13738. - ApiKeyAuth: []
  13739. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  13740. tags:
  13741. - 企业风险管理(app)
  13742. /Ermcp/QueryRealtimeExposure:
  13743. get:
  13744. parameters:
  13745. - description: 所属机构ID
  13746. in: query
  13747. name: userid
  13748. required: true
  13749. type: integer
  13750. produces:
  13751. - application/json
  13752. responses:
  13753. "200":
  13754. description: OK
  13755. schema:
  13756. items:
  13757. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  13758. type: array
  13759. "500":
  13760. description: Internal Server Error
  13761. schema:
  13762. $ref: '#/definitions/app.Response'
  13763. security:
  13764. - ApiKeyAuth: []
  13765. summary: 查询实时敞口
  13766. tags:
  13767. - 企业风险管理(app)
  13768. /Ermcp/QueryRealtimeExposurePosition:
  13769. get:
  13770. parameters:
  13771. - description: 用户id
  13772. in: query
  13773. name: userid
  13774. required: true
  13775. type: integer
  13776. - description: 套保商品ID
  13777. in: query
  13778. name: middleGoodsId
  13779. required: true
  13780. type: integer
  13781. produces:
  13782. - application/json
  13783. responses:
  13784. "200":
  13785. description: OK
  13786. schema:
  13787. items:
  13788. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  13789. type: array
  13790. "500":
  13791. description: Internal Server Error
  13792. schema:
  13793. $ref: '#/definitions/app.Response'
  13794. security:
  13795. - ApiKeyAuth: []
  13796. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  13797. tags:
  13798. - 企业风险管理(app)
  13799. /Ermcp/QueryTradeConfigTMP:
  13800. get:
  13801. parameters:
  13802. - description: 所属机构id
  13803. in: query
  13804. name: areauserid
  13805. type: integer
  13806. produces:
  13807. - application/json
  13808. responses:
  13809. "200":
  13810. description: OK
  13811. schema:
  13812. items:
  13813. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  13814. type: array
  13815. "500":
  13816. description: Internal Server Error
  13817. schema:
  13818. $ref: '#/definitions/app.Response'
  13819. security:
  13820. - ApiKeyAuth: []
  13821. summary: 查询交易模板配置
  13822. tags:
  13823. - 企业风险管理(app)
  13824. /Ermcp/QueryUserInfo:
  13825. get:
  13826. parameters:
  13827. - description: 所属机构用户ID
  13828. in: query
  13829. name: MemberUserID
  13830. required: true
  13831. type: integer
  13832. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  13833. in: query
  13834. name: queryType
  13835. required: true
  13836. type: integer
  13837. produces:
  13838. - application/json
  13839. responses:
  13840. "200":
  13841. description: OK
  13842. schema:
  13843. items:
  13844. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  13845. type: array
  13846. "500":
  13847. description: Internal Server Error
  13848. schema:
  13849. $ref: '#/definitions/app.Response'
  13850. security:
  13851. - ApiKeyAuth: []
  13852. summary: 查询客户资料
  13853. tags:
  13854. - 企业风险管理(app)
  13855. /Ermcp/QueryWarehouseInfo:
  13856. get:
  13857. parameters:
  13858. - description: 用户ID
  13859. in: query
  13860. name: userid
  13861. required: true
  13862. type: integer
  13863. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  13864. in: query
  13865. name: status
  13866. type: string
  13867. produces:
  13868. - application/json
  13869. responses:
  13870. "200":
  13871. description: OK
  13872. schema:
  13873. items:
  13874. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  13875. type: array
  13876. "500":
  13877. description: Internal Server Error
  13878. schema:
  13879. $ref: '#/definitions/app.Response'
  13880. security:
  13881. - ApiKeyAuth: []
  13882. summary: 查询仓库信息
  13883. tags:
  13884. - 企业风险管理(app)
  13885. /Ermcp3/QryAreaExpourseContractDetail:
  13886. get:
  13887. parameters:
  13888. - description: 用户ID
  13889. in: query
  13890. name: userid
  13891. required: true
  13892. type: integer
  13893. - description: 套保商品id
  13894. in: query
  13895. name: middlegoodsid
  13896. required: true
  13897. type: integer
  13898. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13899. in: query
  13900. name: cycletype
  13901. required: true
  13902. type: integer
  13903. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  13904. 全(0)【原值】
  13905. in: query
  13906. name: cycletime
  13907. required: true
  13908. type: string
  13909. produces:
  13910. - application/json
  13911. responses:
  13912. "200":
  13913. description: OK
  13914. schema:
  13915. items:
  13916. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  13917. type: array
  13918. "500":
  13919. description: Internal Server Error
  13920. schema:
  13921. $ref: '#/definitions/app.Response'
  13922. security:
  13923. - ApiKeyAuth: []
  13924. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  13925. tags:
  13926. - 企业风险管理v3(app)
  13927. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  13928. get:
  13929. parameters:
  13930. - description: 用户ID
  13931. in: query
  13932. name: userid
  13933. required: true
  13934. type: integer
  13935. - description: 套保商品id
  13936. in: query
  13937. name: middlegoodsid
  13938. required: true
  13939. type: integer
  13940. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13941. in: query
  13942. name: cycletype
  13943. required: true
  13944. type: integer
  13945. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  13946. 全(0)【原值】
  13947. in: query
  13948. name: cycletime
  13949. required: true
  13950. type: string
  13951. produces:
  13952. - application/json
  13953. responses:
  13954. "200":
  13955. description: OK
  13956. schema:
  13957. items:
  13958. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  13959. type: array
  13960. "500":
  13961. description: Internal Server Error
  13962. schema:
  13963. $ref: '#/definitions/app.Response'
  13964. security:
  13965. - ApiKeyAuth: []
  13966. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  13967. tags:
  13968. - 企业风险管理v3(app)
  13969. /Ermcp3/QryAreaExpourseReport:
  13970. get:
  13971. parameters:
  13972. - description: 用户ID
  13973. in: query
  13974. name: userid
  13975. required: true
  13976. type: integer
  13977. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  13978. in: query
  13979. name: querytype
  13980. required: true
  13981. type: integer
  13982. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13983. in: query
  13984. name: cycletype
  13985. required: true
  13986. type: integer
  13987. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  13988. 全(0)【原值】
  13989. in: query
  13990. name: cycletime
  13991. required: true
  13992. type: string
  13993. produces:
  13994. - application/json
  13995. responses:
  13996. "200":
  13997. description: OK
  13998. schema:
  13999. items:
  14000. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  14001. type: array
  14002. "500":
  14003. description: Internal Server Error
  14004. schema:
  14005. $ref: '#/definitions/app.Response'
  14006. security:
  14007. - ApiKeyAuth: []
  14008. summary: 查询敞口报表
  14009. tags:
  14010. - 企业风险管理v3(app)
  14011. /Ermcp3/QryAreaSpotplReport:
  14012. get:
  14013. parameters:
  14014. - description: 用户ID
  14015. in: query
  14016. name: userid
  14017. required: true
  14018. type: integer
  14019. - description: 查询类型 1-报表 2-报表明细
  14020. in: query
  14021. name: querytype
  14022. required: true
  14023. type: integer
  14024. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  14025. in: query
  14026. name: cycletype
  14027. required: true
  14028. type: integer
  14029. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  14030. 全(0)【原值】
  14031. in: query
  14032. name: cycletime
  14033. required: true
  14034. type: string
  14035. - description: 现货品种id(明细必填)
  14036. in: query
  14037. name: deliverygoodsid
  14038. type: integer
  14039. - description: 品类id(明细必填)
  14040. in: query
  14041. name: wrstandardid
  14042. type: integer
  14043. - description: 币种id(明细必填)
  14044. in: query
  14045. name: currencyid
  14046. type: integer
  14047. produces:
  14048. - application/json
  14049. responses:
  14050. "200":
  14051. description: OK
  14052. schema:
  14053. items:
  14054. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  14055. type: array
  14056. "500":
  14057. description: Internal Server Error
  14058. schema:
  14059. $ref: '#/definitions/app.Response'
  14060. security:
  14061. - ApiKeyAuth: []
  14062. summary: 查询现货报表
  14063. tags:
  14064. - 企业风险管理v3(app)
  14065. /Ermcp3/QryAreaStockReport:
  14066. get:
  14067. parameters:
  14068. - description: 用户ID
  14069. in: query
  14070. name: userid
  14071. required: true
  14072. type: integer
  14073. - description: 查询类型 1-报表 2-报表明细
  14074. in: query
  14075. name: querytype
  14076. required: true
  14077. type: integer
  14078. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  14079. in: query
  14080. name: cycletype
  14081. required: true
  14082. type: integer
  14083. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  14084. 全(0)【原值】
  14085. in: query
  14086. name: cycletime
  14087. required: true
  14088. type: string
  14089. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  14090. in: query
  14091. name: sumfields
  14092. type: string
  14093. - description: 品种ID
  14094. in: query
  14095. name: deliverygoodsid
  14096. type: integer
  14097. - description: 品类ID
  14098. in: query
  14099. name: wrstandardid
  14100. type: integer
  14101. - description: 品牌ID
  14102. in: query
  14103. name: spotgoodsbrandid
  14104. type: integer
  14105. - description: 仓库ID
  14106. in: query
  14107. name: warehouseinfoid
  14108. type: integer
  14109. produces:
  14110. - application/json
  14111. responses:
  14112. "200":
  14113. description: OK
  14114. schema:
  14115. items:
  14116. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  14117. type: array
  14118. "500":
  14119. description: Internal Server Error
  14120. schema:
  14121. $ref: '#/definitions/app.Response'
  14122. security:
  14123. - ApiKeyAuth: []
  14124. summary: 查询库存报表
  14125. tags:
  14126. - 企业风险管理v3(app)
  14127. /Ermcp3/QryAreaSumPL:
  14128. get:
  14129. parameters:
  14130. - description: 用户ID
  14131. in: query
  14132. name: userid
  14133. required: true
  14134. type: integer
  14135. - description: 查询类型 1-报表 2-报表明细
  14136. in: query
  14137. name: querytype
  14138. required: true
  14139. type: integer
  14140. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  14141. in: query
  14142. name: cycletype
  14143. required: true
  14144. type: integer
  14145. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  14146. 全(0)【原值】
  14147. in: query
  14148. name: cycletime
  14149. required: true
  14150. type: string
  14151. - description: 币种id(明细必填)
  14152. in: query
  14153. name: currencyid
  14154. type: integer
  14155. produces:
  14156. - application/json
  14157. responses:
  14158. "200":
  14159. description: OK
  14160. schema:
  14161. items:
  14162. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  14163. type: array
  14164. "500":
  14165. description: Internal Server Error
  14166. schema:
  14167. $ref: '#/definitions/app.Response'
  14168. security:
  14169. - ApiKeyAuth: []
  14170. summary: 查询汇总损益表
  14171. tags:
  14172. - 企业风险管理v3(app)
  14173. /Ermcp3/QryFinanceReport:
  14174. get:
  14175. parameters:
  14176. - description: 用户ID
  14177. in: query
  14178. name: userid
  14179. required: true
  14180. type: integer
  14181. - description: 查询类型 1-报表 2-报表明细
  14182. in: query
  14183. name: querytype
  14184. required: true
  14185. type: integer
  14186. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  14187. in: query
  14188. name: cycletype
  14189. required: true
  14190. type: integer
  14191. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  14192. 全(0)【原值】
  14193. in: query
  14194. name: cycletime
  14195. required: true
  14196. type: string
  14197. - description: 币种id(日报表明细)
  14198. in: query
  14199. name: currencyid
  14200. type: integer
  14201. produces:
  14202. - application/json
  14203. responses:
  14204. "200":
  14205. description: OK
  14206. schema:
  14207. items:
  14208. $ref: '#/definitions/models.Ermcp3FinanceReport'
  14209. type: array
  14210. "500":
  14211. description: Internal Server Error
  14212. schema:
  14213. $ref: '#/definitions/app.Response'
  14214. security:
  14215. - ApiKeyAuth: []
  14216. summary: 查询财务报表
  14217. tags:
  14218. - 企业风险管理v3(app)
  14219. /Ermcp3/QueryAreaStock:
  14220. get:
  14221. parameters:
  14222. - description: 用户ID
  14223. in: query
  14224. name: userid
  14225. required: true
  14226. type: integer
  14227. produces:
  14228. - application/json
  14229. responses:
  14230. "200":
  14231. description: OK
  14232. schema:
  14233. items:
  14234. $ref: '#/definitions/models.Ermcp3AreaStock'
  14235. type: array
  14236. "500":
  14237. description: Internal Server Error
  14238. schema:
  14239. $ref: '#/definitions/app.Response'
  14240. security:
  14241. - ApiKeyAuth: []
  14242. summary: 查询机构库存(库存管理/当前库存)
  14243. tags:
  14244. - 企业风险管理v3(app)
  14245. /Ermcp3/QueryAreaStockApply:
  14246. get:
  14247. parameters:
  14248. - description: 用户ID
  14249. in: query
  14250. name: userid
  14251. required: true
  14252. type: integer
  14253. - description: 用户类型 2-机构 7-企业成员
  14254. in: query
  14255. name: usertype
  14256. type: integer
  14257. - description: 现货商品ID
  14258. in: query
  14259. name: deliverygoodsid
  14260. type: integer
  14261. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  14262. in: query
  14263. name: inouttype
  14264. type: string
  14265. - description: 合同ID
  14266. in: query
  14267. name: spotcontractid
  14268. type: integer
  14269. - description: 品类ID
  14270. in: query
  14271. name: wrstandardid
  14272. type: integer
  14273. - description: 品牌ID
  14274. in: query
  14275. name: spotgoodsbrandid
  14276. type: integer
  14277. - description: 仓库ID
  14278. in: query
  14279. name: warehouseinfoid
  14280. type: integer
  14281. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14282. in: query
  14283. name: applystatus
  14284. type: string
  14285. produces:
  14286. - application/json
  14287. responses:
  14288. "200":
  14289. description: OK
  14290. schema:
  14291. items:
  14292. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  14293. type: array
  14294. "500":
  14295. description: Internal Server Error
  14296. schema:
  14297. $ref: '#/definitions/app.Response'
  14298. security:
  14299. - ApiKeyAuth: []
  14300. summary: 查询库存申请(出入库记录|库存审核)
  14301. tags:
  14302. - 企业风险管理v3(app)
  14303. /Ermcp3/QueryAreaStockApplySum:
  14304. get:
  14305. parameters:
  14306. - description: 合同ID
  14307. in: query
  14308. name: spotcontractid
  14309. type: integer
  14310. produces:
  14311. - application/json
  14312. responses:
  14313. "200":
  14314. description: OK
  14315. schema:
  14316. items:
  14317. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  14318. type: array
  14319. "500":
  14320. description: Internal Server Error
  14321. schema:
  14322. $ref: '#/definitions/app.Response'
  14323. security:
  14324. - ApiKeyAuth: []
  14325. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  14326. tags:
  14327. - 企业风险管理v3(app)
  14328. /Ermcp3/QueryDGFactoryItem:
  14329. get:
  14330. parameters:
  14331. - description: 用户id
  14332. in: query
  14333. name: userid
  14334. type: integer
  14335. - description: 用户类型 2-机构 7-企业成员
  14336. in: query
  14337. name: usertype
  14338. type: integer
  14339. - description: 选择项ID(SEQ_DGFACTORYITEM)
  14340. in: query
  14341. name: dgfactoryitemid
  14342. type: integer
  14343. - description: 现货品种ID
  14344. in: query
  14345. name: deliverygoodsid
  14346. type: integer
  14347. - description: 要素项类型
  14348. in: query
  14349. name: dgfactoryitemtypeid
  14350. type: integer
  14351. - description: 顺序
  14352. in: query
  14353. name: orderindex
  14354. type: integer
  14355. produces:
  14356. - application/json
  14357. responses:
  14358. "200":
  14359. description: OK
  14360. schema:
  14361. items:
  14362. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  14363. type: array
  14364. "500":
  14365. description: Internal Server Error
  14366. schema:
  14367. $ref: '#/definitions/app.Response'
  14368. security:
  14369. - ApiKeyAuth: []
  14370. summary: 查询品种要素定义项
  14371. tags:
  14372. - 企业风险管理v3(app)
  14373. /Ermcp3/QueryDeliveryGoods:
  14374. get:
  14375. parameters:
  14376. - description: 用户id
  14377. in: query
  14378. name: userid
  14379. required: true
  14380. type: integer
  14381. - description: 用户类型 2-机构 7-企业成员
  14382. in: query
  14383. name: usertype
  14384. type: integer
  14385. - description: 排除已配置的业务类型商品 1-套保 2-套利
  14386. in: query
  14387. name: excludecfg
  14388. type: integer
  14389. produces:
  14390. - application/json
  14391. responses:
  14392. "200":
  14393. description: OK
  14394. schema:
  14395. items:
  14396. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  14397. type: array
  14398. "500":
  14399. description: Internal Server Error
  14400. schema:
  14401. $ref: '#/definitions/app.Response'
  14402. security:
  14403. - ApiKeyAuth: []
  14404. summary: 查询现货商品
  14405. tags:
  14406. - 企业风险管理v3(app)
  14407. /Ermcp3/QueryDeliveryGoodsDetail:
  14408. get:
  14409. parameters:
  14410. - description: 用户id
  14411. in: query
  14412. name: userid
  14413. required: true
  14414. type: integer
  14415. - description: 用户类型 2-机构 7-企业成员
  14416. in: query
  14417. name: usertype
  14418. type: integer
  14419. - description: 现货商品id
  14420. in: query
  14421. name: deliverygoodsid
  14422. type: integer
  14423. produces:
  14424. - application/json
  14425. responses:
  14426. "200":
  14427. description: OK
  14428. schema:
  14429. items:
  14430. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  14431. type: array
  14432. "500":
  14433. description: Internal Server Error
  14434. schema:
  14435. $ref: '#/definitions/app.Response'
  14436. security:
  14437. - ApiKeyAuth: []
  14438. summary: 查询现货商品详情
  14439. tags:
  14440. - 企业风险管理v3(app)
  14441. /Ermcp3/QueryExposureDetail:
  14442. get:
  14443. parameters:
  14444. - description: 用户id
  14445. in: query
  14446. name: userid
  14447. required: true
  14448. type: integer
  14449. - description: 用户类型 2-机构 7-企业成员
  14450. in: query
  14451. name: usertype
  14452. type: integer
  14453. - description: 套保商品
  14454. in: query
  14455. name: middlegoodsid
  14456. required: true
  14457. type: integer
  14458. produces:
  14459. - application/json
  14460. responses:
  14461. "200":
  14462. description: OK
  14463. schema:
  14464. items:
  14465. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  14466. type: array
  14467. "500":
  14468. description: Internal Server Error
  14469. schema:
  14470. $ref: '#/definitions/app.Response'
  14471. security:
  14472. - ApiKeyAuth: []
  14473. summary: 查询敞口现货明细
  14474. tags:
  14475. - 企业风险管理v3(app)
  14476. /Ermcp3/QueryExposureSpot:
  14477. get:
  14478. parameters:
  14479. - description: 用户id
  14480. in: query
  14481. name: userid
  14482. required: true
  14483. type: integer
  14484. - description: 用户类型 2-机构 7-企业成员
  14485. in: query
  14486. name: usertype
  14487. type: integer
  14488. produces:
  14489. - application/json
  14490. responses:
  14491. "200":
  14492. description: OK
  14493. schema:
  14494. items:
  14495. $ref: '#/definitions/models.Ermcp3AreaSpot'
  14496. type: array
  14497. "500":
  14498. description: Internal Server Error
  14499. schema:
  14500. $ref: '#/definitions/app.Response'
  14501. security:
  14502. - ApiKeyAuth: []
  14503. summary: 查询敞口现货头寸(敞口/现货头寸)
  14504. tags:
  14505. - 企业风险管理v3(app)
  14506. /Ermcp3/QueryExposureSpotDetail:
  14507. get:
  14508. parameters:
  14509. - description: 用户id
  14510. in: query
  14511. name: userid
  14512. required: true
  14513. type: integer
  14514. - description: 用户类型 2-机构 7-企业成员
  14515. in: query
  14516. name: usertype
  14517. type: integer
  14518. - description: 现货品种ID
  14519. in: query
  14520. name: deliverygoodsid
  14521. required: true
  14522. type: integer
  14523. produces:
  14524. - application/json
  14525. responses:
  14526. "200":
  14527. description: OK
  14528. schema:
  14529. items:
  14530. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  14531. type: array
  14532. "500":
  14533. description: Internal Server Error
  14534. schema:
  14535. $ref: '#/definitions/app.Response'
  14536. security:
  14537. - ApiKeyAuth: []
  14538. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  14539. tags:
  14540. - 企业风险管理v3(app)
  14541. /Ermcp3/QueryGoodsGroup:
  14542. get:
  14543. parameters:
  14544. - description: 用户id
  14545. in: query
  14546. name: userid
  14547. required: true
  14548. type: integer
  14549. - description: 用户类型 2-机构 7-企业成员
  14550. in: query
  14551. name: usertype
  14552. type: integer
  14553. - description: 排除套保品中已关联的商品组 1-排除
  14554. in: query
  14555. name: excludecfg
  14556. type: integer
  14557. produces:
  14558. - application/json
  14559. responses:
  14560. "200":
  14561. description: OK
  14562. schema:
  14563. items:
  14564. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  14565. type: array
  14566. "500":
  14567. description: Internal Server Error
  14568. schema:
  14569. $ref: '#/definitions/app.Response'
  14570. security:
  14571. - ApiKeyAuth: []
  14572. summary: 查询期货商品组
  14573. tags:
  14574. - 企业风险管理v3(app)
  14575. /Ermcp3/QueryGoodsWrstandard:
  14576. get:
  14577. parameters:
  14578. - description: 用户id
  14579. in: query
  14580. name: userid
  14581. required: true
  14582. type: integer
  14583. - description: 用户类型 2-机构 7-企业成员
  14584. in: query
  14585. name: usertype
  14586. type: integer
  14587. - description: 现货商品id
  14588. in: query
  14589. name: deliverygoodsid
  14590. type: integer
  14591. produces:
  14592. - application/json
  14593. responses:
  14594. "200":
  14595. description: OK
  14596. schema:
  14597. items:
  14598. $ref: '#/definitions/models.Ermcp3Wrstandard'
  14599. type: array
  14600. "500":
  14601. description: Internal Server Error
  14602. schema:
  14603. $ref: '#/definitions/app.Response'
  14604. security:
  14605. - ApiKeyAuth: []
  14606. summary: 查询商品品类
  14607. tags:
  14608. - 企业风险管理v3(app)
  14609. /Ermcp3/QueryGoodsbrand:
  14610. get:
  14611. parameters:
  14612. - description: 用户id
  14613. in: query
  14614. name: userid
  14615. required: true
  14616. type: integer
  14617. - description: 用户类型 2-机构 7-企业成员
  14618. in: query
  14619. name: usertype
  14620. type: integer
  14621. produces:
  14622. - application/json
  14623. responses:
  14624. "200":
  14625. description: OK
  14626. schema:
  14627. items:
  14628. $ref: '#/definitions/models.Ermcp3Brand'
  14629. type: array
  14630. "500":
  14631. description: Internal Server Error
  14632. schema:
  14633. $ref: '#/definitions/app.Response'
  14634. security:
  14635. - ApiKeyAuth: []
  14636. summary: 查询商品品牌
  14637. tags:
  14638. - 企业风险管理v3(app)
  14639. /Ermcp3/QueryHedgePlan:
  14640. get:
  14641. parameters:
  14642. - description: 用户ID
  14643. in: query
  14644. name: userid
  14645. required: true
  14646. type: integer
  14647. - description: 用户类型 2-机构 7-企业成员
  14648. in: query
  14649. name: usertype
  14650. type: integer
  14651. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  14652. in: query
  14653. name: hedgeplanstatus
  14654. required: true
  14655. type: string
  14656. produces:
  14657. - application/json
  14658. responses:
  14659. "200":
  14660. description: OK
  14661. schema:
  14662. items:
  14663. $ref: '#/definitions/models.Ermcp3HedgePlan'
  14664. type: array
  14665. "500":
  14666. description: Internal Server Error
  14667. schema:
  14668. $ref: '#/definitions/app.Response'
  14669. security:
  14670. - ApiKeyAuth: []
  14671. summary: 查询套保计划
  14672. tags:
  14673. - 企业风险管理v3(app)
  14674. /Ermcp3/QueryMiddleGoodsDetail:
  14675. get:
  14676. parameters:
  14677. - description: 用户id
  14678. in: query
  14679. name: userid
  14680. required: true
  14681. type: integer
  14682. - description: 用户类型 2-机构 7-企业成员
  14683. in: query
  14684. name: usertype
  14685. type: integer
  14686. - description: 套保品种id
  14687. in: query
  14688. name: middlegoodsid
  14689. type: integer
  14690. produces:
  14691. - application/json
  14692. responses:
  14693. "200":
  14694. description: OK
  14695. schema:
  14696. items:
  14697. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  14698. type: array
  14699. "500":
  14700. description: Internal Server Error
  14701. schema:
  14702. $ref: '#/definitions/app.Response'
  14703. security:
  14704. - ApiKeyAuth: []
  14705. summary: 查询套保品种详情(套保品种/商品详情)
  14706. tags:
  14707. - 企业风险管理v3(app)
  14708. /Ermcp3/QuerySpotContract:
  14709. get:
  14710. parameters:
  14711. - description: 用户id
  14712. in: query
  14713. name: userid
  14714. required: true
  14715. type: integer
  14716. - description: 用户类型 2-机构 7-企业成员
  14717. in: query
  14718. name: usertype
  14719. type: integer
  14720. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  14721. in: query
  14722. name: querytype
  14723. required: true
  14724. type: integer
  14725. - description: 合同ID(SpotContractId)
  14726. in: query
  14727. name: contractid
  14728. type: string
  14729. produces:
  14730. - application/json
  14731. responses:
  14732. "200":
  14733. description: OK
  14734. schema:
  14735. items:
  14736. $ref: '#/definitions/models.Ermcp3Contract'
  14737. type: array
  14738. "500":
  14739. description: Internal Server Error
  14740. schema:
  14741. $ref: '#/definitions/app.Response'
  14742. security:
  14743. - ApiKeyAuth: []
  14744. summary: 查询现货合同
  14745. tags:
  14746. - 企业风险管理v3(app)
  14747. /Ermcp3/QuerySpotContractBS:
  14748. get:
  14749. parameters:
  14750. - description: 用户id
  14751. in: query
  14752. name: userid
  14753. required: true
  14754. type: integer
  14755. - description: 用户类型 2-机构 7-企业成员
  14756. in: query
  14757. name: usertype
  14758. type: integer
  14759. - description: 合同类型 1-采购, -1-销售
  14760. in: query
  14761. name: contracttype
  14762. required: true
  14763. type: integer
  14764. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  14765. in: query
  14766. name: querytype
  14767. required: true
  14768. type: integer
  14769. - description: 合同ID(SpotContractId)
  14770. in: query
  14771. name: contractid
  14772. type: string
  14773. produces:
  14774. - application/json
  14775. responses:
  14776. "200":
  14777. description: OK
  14778. schema:
  14779. items:
  14780. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  14781. type: array
  14782. "500":
  14783. description: Internal Server Error
  14784. schema:
  14785. $ref: '#/definitions/app.Response'
  14786. security:
  14787. - ApiKeyAuth: []
  14788. summary: 查询合同(采购/销售)
  14789. tags:
  14790. - 企业风险管理v3(app)
  14791. /Ermcp3/QuerySpotGoodsPrice:
  14792. get:
  14793. parameters:
  14794. - description: 用户ID
  14795. in: query
  14796. name: userid
  14797. required: true
  14798. type: integer
  14799. produces:
  14800. - application/json
  14801. responses:
  14802. "200":
  14803. description: OK
  14804. schema:
  14805. items:
  14806. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  14807. type: array
  14808. "500":
  14809. description: Internal Server Error
  14810. schema:
  14811. $ref: '#/definitions/app.Response'
  14812. security:
  14813. - ApiKeyAuth: []
  14814. summary: 查询现货市价(现货市价)
  14815. tags:
  14816. - 企业风险管理v3(app)
  14817. /Ermcp3/QuerySpotGoodsPriceLog:
  14818. get:
  14819. parameters:
  14820. - description: 用户ID
  14821. in: query
  14822. name: userid
  14823. required: true
  14824. type: integer
  14825. - description: 现货商品ID
  14826. in: query
  14827. name: deliverygoodsid
  14828. required: true
  14829. type: integer
  14830. - description: 品牌ID
  14831. in: query
  14832. name: brandid
  14833. type: integer
  14834. - description: 品类ID
  14835. in: query
  14836. name: wrstandardid
  14837. type: integer
  14838. produces:
  14839. - application/json
  14840. responses:
  14841. "200":
  14842. description: OK
  14843. schema:
  14844. items:
  14845. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  14846. type: array
  14847. "500":
  14848. description: Internal Server Error
  14849. schema:
  14850. $ref: '#/definitions/app.Response'
  14851. security:
  14852. - ApiKeyAuth: []
  14853. summary: 查询现货市价详情(现货市价/详情)
  14854. tags:
  14855. - 企业风险管理v3(app)
  14856. /Erms2/QueryArbitrageStrategy:
  14857. get:
  14858. parameters:
  14859. - description: 账户ID
  14860. in: query
  14861. name: userid
  14862. required: true
  14863. type: integer
  14864. - description: 商品组ID(品种ID)
  14865. in: query
  14866. name: goodsgroupid
  14867. type: string
  14868. produces:
  14869. - application/json
  14870. responses:
  14871. "200":
  14872. description: OK
  14873. schema:
  14874. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  14875. "500":
  14876. description: Internal Server Error
  14877. schema:
  14878. $ref: '#/definitions/app.Response'
  14879. security:
  14880. - ApiKeyAuth: []
  14881. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  14882. tags:
  14883. - 风险管理
  14884. /Erms2/QueryInnerTradeDetail:
  14885. get:
  14886. parameters:
  14887. - description: 资金账户
  14888. in: query
  14889. name: accountid
  14890. required: true
  14891. type: integer
  14892. produces:
  14893. - application/json
  14894. responses:
  14895. "200":
  14896. description: OK
  14897. schema:
  14898. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  14899. "500":
  14900. description: Internal Server Error
  14901. schema:
  14902. $ref: '#/definitions/app.Response'
  14903. security:
  14904. - ApiKeyAuth: []
  14905. summary: 查询内部成交单信息
  14906. tags:
  14907. - 风险管理
  14908. /Erms2/QuerySpotContract:
  14909. get:
  14910. parameters:
  14911. - description: 策略申请ID
  14912. in: query
  14913. name: asapplyid
  14914. required: true
  14915. type: integer
  14916. - description: 现货合同ID
  14917. in: query
  14918. name: spotcontractid
  14919. type: integer
  14920. produces:
  14921. - application/json
  14922. responses:
  14923. "200":
  14924. description: OK
  14925. schema:
  14926. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  14927. "500":
  14928. description: Internal Server Error
  14929. schema:
  14930. $ref: '#/definitions/app.Response'
  14931. security:
  14932. - ApiKeyAuth: []
  14933. summary: 查询现货合同表信息(指定策略ID、未结束的)
  14934. tags:
  14935. - 风险管理
  14936. /Erms3/AddErms2ASApply:
  14937. post:
  14938. parameters:
  14939. - description: 申请参数
  14940. in: body
  14941. name: jsonBody
  14942. required: true
  14943. schema:
  14944. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  14945. produces:
  14946. - application/json
  14947. responses:
  14948. "200":
  14949. description: OK
  14950. schema:
  14951. $ref: '#/definitions/app.Response'
  14952. "500":
  14953. description: Internal Server Error
  14954. schema:
  14955. $ref: '#/definitions/app.Response'
  14956. security:
  14957. - ApiKeyAuth: []
  14958. summary: 新增期现套利业务申请
  14959. tags:
  14960. - 风险管理v3
  14961. /Erms3/AddErms2SpotTradeApply:
  14962. post:
  14963. parameters:
  14964. - description: 申请参数
  14965. in: body
  14966. name: jsonBody
  14967. required: true
  14968. schema:
  14969. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  14970. produces:
  14971. - application/json
  14972. responses:
  14973. "200":
  14974. description: OK
  14975. schema:
  14976. $ref: '#/definitions/app.Response'
  14977. "500":
  14978. description: Internal Server Error
  14979. schema:
  14980. $ref: '#/definitions/app.Response'
  14981. security:
  14982. - ApiKeyAuth: []
  14983. summary: 新增现货贸易业务申请
  14984. tags:
  14985. - 风险管理v3
  14986. /Erms3/AddSpotContractApply:
  14987. post:
  14988. parameters:
  14989. - description: 申请参数
  14990. in: body
  14991. name: jsonBody
  14992. required: true
  14993. schema:
  14994. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  14995. produces:
  14996. - application/json
  14997. responses:
  14998. "200":
  14999. description: OK
  15000. schema:
  15001. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  15002. "500":
  15003. description: Internal Server Error
  15004. schema:
  15005. $ref: '#/definitions/app.Response'
  15006. security:
  15007. - ApiKeyAuth: []
  15008. summary: 新增现货合同申请
  15009. tags:
  15010. - 风险管理v3
  15011. /Erms3/AddUserInfoApply:
  15012. post:
  15013. parameters:
  15014. - description: 用户信息
  15015. in: body
  15016. name: jsonBody
  15017. required: true
  15018. schema:
  15019. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  15020. produces:
  15021. - application/json
  15022. responses:
  15023. "200":
  15024. description: OK
  15025. schema:
  15026. $ref: '#/definitions/app.Response'
  15027. "500":
  15028. description: Internal Server Error
  15029. schema:
  15030. $ref: '#/definitions/app.Response'
  15031. security:
  15032. - ApiKeyAuth: []
  15033. summary: 新增客户申请
  15034. tags:
  15035. - 风险管理v3
  15036. /Erms3/DeleteUserInfoApply:
  15037. get:
  15038. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  15039. parameters:
  15040. - description: 用户ID
  15041. in: query
  15042. name: userID
  15043. required: true
  15044. type: integer
  15045. produces:
  15046. - application/json
  15047. responses:
  15048. "200":
  15049. description: OK
  15050. schema:
  15051. $ref: '#/definitions/app.Response'
  15052. "500":
  15053. description: Internal Server Error
  15054. schema:
  15055. $ref: '#/definitions/app.Response'
  15056. security:
  15057. - ApiKeyAuth: []
  15058. summary: 删除客户申请
  15059. tags:
  15060. - 风险管理v3
  15061. /Erms3/ModifyUserInfoApply:
  15062. post:
  15063. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  15064. int, "userstate": 2 }'
  15065. parameters:
  15066. - description: 用户信息
  15067. in: body
  15068. name: jsonBody
  15069. required: true
  15070. schema:
  15071. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  15072. produces:
  15073. - application/json
  15074. responses:
  15075. "200":
  15076. description: OK
  15077. schema:
  15078. $ref: '#/definitions/app.Response'
  15079. "500":
  15080. description: Internal Server Error
  15081. schema:
  15082. $ref: '#/definitions/app.Response'
  15083. security:
  15084. - ApiKeyAuth: []
  15085. summary: 修改客户申请
  15086. tags:
  15087. - 风险管理v3
  15088. /Erms3/QueryBusinessInfo:
  15089. get:
  15090. parameters:
  15091. - description: 资金账号ID列表,用逗号分隔
  15092. in: query
  15093. name: accountids
  15094. required: true
  15095. type: string
  15096. - description: 状态,0为未结束 1为已结束
  15097. in: query
  15098. name: status
  15099. required: true
  15100. type: integer
  15101. produces:
  15102. - application/json
  15103. responses:
  15104. "200":
  15105. description: OK
  15106. schema:
  15107. items:
  15108. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  15109. type: array
  15110. "500":
  15111. description: Internal Server Error
  15112. schema:
  15113. $ref: '#/definitions/app.Response'
  15114. security:
  15115. - ApiKeyAuth: []
  15116. summary: 查询业务表单数据
  15117. tags:
  15118. - 风险管理v3
  15119. /Erms3/QueryPendingAuditContract:
  15120. get:
  15121. parameters:
  15122. - description: 资金账号ID列表,逗号隔开
  15123. in: query
  15124. name: accountids
  15125. required: true
  15126. type: string
  15127. - description: 合同类型 1-采购 -1-销售
  15128. in: query
  15129. name: contracttype
  15130. required: true
  15131. type: integer
  15132. - description: 合同模式 1-普通 2-回购
  15133. in: query
  15134. name: contractmode
  15135. required: true
  15136. type: integer
  15137. produces:
  15138. - application/json
  15139. responses:
  15140. "200":
  15141. description: OK
  15142. schema:
  15143. items:
  15144. $ref: '#/definitions/erms3.QryAuditContractRsp'
  15145. type: array
  15146. "500":
  15147. description: Internal Server Error
  15148. schema:
  15149. $ref: '#/definitions/app.Response'
  15150. security:
  15151. - ApiKeyAuth: []
  15152. summary: 查询待审核合同
  15153. tags:
  15154. - 风险管理v3
  15155. /Erms3/QueryPendingBusiness:
  15156. get:
  15157. parameters:
  15158. - description: 资金账号ID列表,逗号隔开
  15159. in: query
  15160. name: accountids
  15161. required: true
  15162. type: string
  15163. produces:
  15164. - application/json
  15165. responses:
  15166. "200":
  15167. description: OK
  15168. schema:
  15169. items:
  15170. $ref: '#/definitions/erms3.QryPendingBizRsp'
  15171. type: array
  15172. "500":
  15173. description: Internal Server Error
  15174. schema:
  15175. $ref: '#/definitions/app.Response'
  15176. security:
  15177. - ApiKeyAuth: []
  15178. summary: 查询待审核基差贸易业务
  15179. tags:
  15180. - 风险管理v3
  15181. /Erms3/QuerySpotContractAppleForm:
  15182. get:
  15183. parameters:
  15184. - description: 登录账号
  15185. in: query
  15186. name: loginID
  15187. required: true
  15188. type: integer
  15189. produces:
  15190. - application/json
  15191. responses:
  15192. "200":
  15193. description: OK
  15194. schema:
  15195. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  15196. "500":
  15197. description: Internal Server Error
  15198. schema:
  15199. $ref: '#/definitions/app.Response'
  15200. security:
  15201. - ApiKeyAuth: []
  15202. summary: 查询合同申请表单数据
  15203. tags:
  15204. - 风险管理v3
  15205. /Erms3/QuerySpotContractDetail:
  15206. get:
  15207. parameters:
  15208. - description: 资金账号ID列表,用逗号分隔
  15209. in: query
  15210. name: accountids
  15211. required: true
  15212. type: string
  15213. - description: 合同类型,1为采购合同 -1为销售合同
  15214. in: query
  15215. name: contracttype
  15216. required: true
  15217. type: integer
  15218. - description: 合同模式,1为普通合同 2为回购销售合同
  15219. in: query
  15220. name: contractmode
  15221. required: true
  15222. type: integer
  15223. - description: 状态,0为履约中 1为已完成
  15224. in: query
  15225. name: status
  15226. required: true
  15227. type: integer
  15228. produces:
  15229. - application/json
  15230. responses:
  15231. "200":
  15232. description: OK
  15233. schema:
  15234. items:
  15235. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  15236. type: array
  15237. "500":
  15238. description: Internal Server Error
  15239. schema:
  15240. $ref: '#/definitions/app.Response'
  15241. security:
  15242. - ApiKeyAuth: []
  15243. summary: 查询合同详细信息
  15244. tags:
  15245. - 风险管理v3
  15246. /Erms3/QueryUserInfoApplies:
  15247. get:
  15248. parameters:
  15249. - description: 页码
  15250. in: query
  15251. name: page
  15252. type: integer
  15253. - description: 每页条数
  15254. in: query
  15255. name: pagesize
  15256. type: integer
  15257. - description: 客户名称,支持模糊查询
  15258. in: query
  15259. name: userName
  15260. type: string
  15261. produces:
  15262. - application/json
  15263. responses:
  15264. "200":
  15265. description: OK
  15266. schema:
  15267. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  15268. "500":
  15269. description: Internal Server Error
  15270. schema:
  15271. $ref: '#/definitions/app.Response'
  15272. security:
  15273. - ApiKeyAuth: []
  15274. summary: 客户申请信息查询
  15275. tags:
  15276. - 风险管理v3
  15277. /Erms3/QueryUserInfos:
  15278. get:
  15279. parameters:
  15280. - description: 页码
  15281. in: query
  15282. name: page
  15283. type: integer
  15284. - description: 每页条数
  15285. in: query
  15286. name: pagesize
  15287. type: integer
  15288. - description: 客户名称,支持模糊查询
  15289. in: query
  15290. name: userName
  15291. type: string
  15292. produces:
  15293. - application/json
  15294. responses:
  15295. "200":
  15296. description: OK
  15297. schema:
  15298. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  15299. "500":
  15300. description: Internal Server Error
  15301. schema:
  15302. $ref: '#/definitions/app.Response'
  15303. security:
  15304. - ApiKeyAuth: []
  15305. summary: 客户信息查询
  15306. tags:
  15307. - 风险管理v3
  15308. /HSBY/GetHsbyMyCount:
  15309. get:
  15310. description: 说明: 不包括已完成的数量。
  15311. parameters:
  15312. - description: 资金账户列表,格式:1,2,3
  15313. in: query
  15314. name: accountIDs
  15315. required: true
  15316. type: string
  15317. produces:
  15318. - application/json
  15319. responses:
  15320. "200":
  15321. description: OK
  15322. schema:
  15323. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  15324. "500":
  15325. description: Internal Server Error
  15326. schema:
  15327. $ref: '#/definitions/app.Response'
  15328. security:
  15329. - ApiKeyAuth: []
  15330. summary: 获取我的订单与包裹数量
  15331. tags:
  15332. - 定制【海商报业】
  15333. /HSBY/QueryClientFixedADConfigs:
  15334. get:
  15335. produces:
  15336. - application/json
  15337. responses:
  15338. "200":
  15339. description: OK
  15340. schema:
  15341. $ref: '#/definitions/models.Clientfixedadconfig'
  15342. "500":
  15343. description: Internal Server Error
  15344. schema:
  15345. $ref: '#/definitions/app.Response'
  15346. security:
  15347. - ApiKeyAuth: []
  15348. summary: 获取终端固定广告配置
  15349. tags:
  15350. - 定制【海商报业】
  15351. /HSBY/QueryHsbyBuyMyTradeDetail:
  15352. get:
  15353. parameters:
  15354. - description: 页码
  15355. in: query
  15356. name: page
  15357. type: integer
  15358. - description: 每页条数
  15359. in: query
  15360. name: pagesize
  15361. type: integer
  15362. - description: 资金账户列表,格式:1,2,3
  15363. in: query
  15364. name: accountIDs
  15365. required: true
  15366. type: string
  15367. produces:
  15368. - application/json
  15369. responses:
  15370. "200":
  15371. description: OK
  15372. schema:
  15373. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  15374. "500":
  15375. description: Internal Server Error
  15376. schema:
  15377. $ref: '#/definitions/app.Response'
  15378. security:
  15379. - ApiKeyAuth: []
  15380. summary: 查询"我的订单 - 已完成"单据信息
  15381. tags:
  15382. - 定制【海商报业】
  15383. /HSBY/QueryHsbyGoodsOrderDetails:
  15384. get:
  15385. description: 说明:查询结果已按委托价格和委托时间排序
  15386. parameters:
  15387. - description: 商品ID
  15388. in: query
  15389. name: goodsID
  15390. required: true
  15391. type: integer
  15392. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  15393. in: query
  15394. name: accountIDs
  15395. type: string
  15396. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  15397. in: query
  15398. name: buyOrSell
  15399. type: integer
  15400. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  15401. in: query
  15402. name: price
  15403. type: number
  15404. - description: 档位,不传则默认为3档
  15405. in: query
  15406. name: speed
  15407. type: integer
  15408. produces:
  15409. - application/json
  15410. responses:
  15411. "200":
  15412. description: OK
  15413. schema:
  15414. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  15415. "500":
  15416. description: Internal Server Error
  15417. schema:
  15418. $ref: '#/definitions/app.Response'
  15419. security:
  15420. - ApiKeyAuth: []
  15421. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  15422. tags:
  15423. - 定制【海商报业】
  15424. /HSBY/QueryHsbyListingGoodsDetail:
  15425. get:
  15426. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  15427. parameters:
  15428. - description: 商品ID
  15429. in: query
  15430. name: goodsID
  15431. required: true
  15432. type: integer
  15433. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  15434. in: query
  15435. name: accountID
  15436. type: integer
  15437. produces:
  15438. - application/json
  15439. responses:
  15440. "200":
  15441. description: OK
  15442. schema:
  15443. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  15444. "500":
  15445. description: Internal Server Error
  15446. schema:
  15447. $ref: '#/definitions/app.Response'
  15448. security:
  15449. - ApiKeyAuth: []
  15450. summary: 查询二级市场(挂牌点选)商品信息详情
  15451. tags:
  15452. - 定制【海商报业】
  15453. /HSBY/QueryHsbyMarketGoodsDetail:
  15454. get:
  15455. parameters:
  15456. - description: 委托单号
  15457. in: query
  15458. name: orderID
  15459. required: true
  15460. type: integer
  15461. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  15462. in: query
  15463. name: accountID
  15464. type: integer
  15465. produces:
  15466. - application/json
  15467. responses:
  15468. "200":
  15469. description: OK
  15470. schema:
  15471. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  15472. "500":
  15473. description: Internal Server Error
  15474. schema:
  15475. $ref: '#/definitions/app.Response'
  15476. security:
  15477. - ApiKeyAuth: []
  15478. summary: 查询三级市场(商城)商品信息详情
  15479. tags:
  15480. - 定制【海商报业】
  15481. /HSBY/QueryHsbyMarketGoodses:
  15482. get:
  15483. parameters:
  15484. - description: 页码
  15485. in: query
  15486. name: page
  15487. type: integer
  15488. - description: 每页条数
  15489. in: query
  15490. name: pagesize
  15491. type: integer
  15492. - description: 市场ID列表,格式:1,2,3
  15493. in: query
  15494. name: marketIDs
  15495. required: true
  15496. type: string
  15497. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  15498. in: query
  15499. name: accountID
  15500. required: true
  15501. type: integer
  15502. - description: 类别ID
  15503. in: query
  15504. name: categoryID
  15505. type: integer
  15506. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  15507. in: query
  15508. name: goodsIDs
  15509. type: string
  15510. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  15511. in: query
  15512. name: couponTypeID
  15513. type: integer
  15514. produces:
  15515. - application/json
  15516. responses:
  15517. "200":
  15518. description: OK
  15519. schema:
  15520. $ref: '#/definitions/models.HsbyMarketGoods'
  15521. "500":
  15522. description: Internal Server Error
  15523. schema:
  15524. $ref: '#/definitions/app.Response'
  15525. security:
  15526. - ApiKeyAuth: []
  15527. summary: 查询特卖商品列表(三级商城)
  15528. tags:
  15529. - 定制【海商报业】
  15530. /HSBY/QueryHsbyMarkets:
  15531. get:
  15532. produces:
  15533. - application/json
  15534. responses:
  15535. "200":
  15536. description: OK
  15537. schema:
  15538. $ref: '#/definitions/models.HsbyMarketInfo'
  15539. "500":
  15540. description: Internal Server Error
  15541. schema:
  15542. $ref: '#/definitions/app.Response'
  15543. security:
  15544. - ApiKeyAuth: []
  15545. summary: 查询海商报业相关市场信息
  15546. tags:
  15547. - 定制【海商报业】
  15548. /HSBY/QueryHsbyMyBuyOrderDetails:
  15549. get:
  15550. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  15551. parameters:
  15552. - description: 资金账户列表,格式:1,2,3
  15553. in: query
  15554. name: accountIDs
  15555. required: true
  15556. type: string
  15557. produces:
  15558. - application/json
  15559. responses:
  15560. "200":
  15561. description: OK
  15562. schema:
  15563. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  15564. "500":
  15565. description: Internal Server Error
  15566. schema:
  15567. $ref: '#/definitions/app.Response'
  15568. security:
  15569. - ApiKeyAuth: []
  15570. summary: 查询“我的订单”信息
  15571. tags:
  15572. - 定制【海商报业】
  15573. /HSBY/QueryHsbyMyGoods:
  15574. get:
  15575. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  15576. parameters:
  15577. - description: 资金账户列表,格式:1,2,3
  15578. in: query
  15579. name: accountIDs
  15580. required: true
  15581. type: string
  15582. produces:
  15583. - application/json
  15584. responses:
  15585. "200":
  15586. description: OK
  15587. schema:
  15588. $ref: '#/definitions/models.HsbyMyGoods'
  15589. "500":
  15590. description: Internal Server Error
  15591. schema:
  15592. $ref: '#/definitions/app.Response'
  15593. security:
  15594. - ApiKeyAuth: []
  15595. summary: 查询“我的商品”信息
  15596. tags:
  15597. - 定制【海商报业】
  15598. /HSBY/QueryHsbyMyPackages:
  15599. get:
  15600. parameters:
  15601. - description: 资金账户列表,格式:1,2,3
  15602. in: query
  15603. name: accountIDs
  15604. required: true
  15605. type: string
  15606. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  15607. in: query
  15608. name: takeOrderStatus
  15609. type: integer
  15610. produces:
  15611. - application/json
  15612. responses:
  15613. "200":
  15614. description: OK
  15615. schema:
  15616. $ref: '#/definitions/models.HsbyMyPackage'
  15617. "500":
  15618. description: Internal Server Error
  15619. schema:
  15620. $ref: '#/definitions/app.Response'
  15621. security:
  15622. - ApiKeyAuth: []
  15623. summary: 查询我的包裹信息
  15624. tags:
  15625. - 定制【海商报业】
  15626. /HSBY/QueryHsbyPreGoodsDetail:
  15627. get:
  15628. parameters:
  15629. - description: 商品ID
  15630. in: query
  15631. name: goodsID
  15632. required: true
  15633. type: integer
  15634. - description: 资金账户,主要用于获取预售商品购买上限
  15635. in: query
  15636. name: accountID
  15637. type: integer
  15638. produces:
  15639. - application/json
  15640. responses:
  15641. "200":
  15642. description: OK
  15643. schema:
  15644. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  15645. "500":
  15646. description: Internal Server Error
  15647. schema:
  15648. $ref: '#/definitions/app.Response'
  15649. security:
  15650. - ApiKeyAuth: []
  15651. summary: 查询一级市场(预售)商品信息详情
  15652. tags:
  15653. - 定制【海商报业】
  15654. /HSBY/QueryHsbyPreGoodses:
  15655. get:
  15656. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  15657. parameters:
  15658. - description: 页码
  15659. in: query
  15660. name: page
  15661. type: integer
  15662. - description: 每页条数
  15663. in: query
  15664. name: pagesize
  15665. type: integer
  15666. - description: 市场ID列表,格式:1,2,3
  15667. in: query
  15668. name: marketIDs
  15669. required: true
  15670. type: string
  15671. - description: 目的地(省)ID
  15672. in: query
  15673. name: descProvinceID
  15674. type: integer
  15675. - description: 目的地(市)ID
  15676. in: query
  15677. name: descCityID
  15678. type: integer
  15679. produces:
  15680. - application/json
  15681. responses:
  15682. "200":
  15683. description: OK
  15684. schema:
  15685. $ref: '#/definitions/models.HsbyPreGoods'
  15686. "500":
  15687. description: Internal Server Error
  15688. schema:
  15689. $ref: '#/definitions/app.Response'
  15690. security:
  15691. - ApiKeyAuth: []
  15692. summary: 查询新品上市商品列表(一级市场预售)
  15693. tags:
  15694. - 定制【海商报业】
  15695. /HSBY/QueryHsbySellMyDetails:
  15696. get:
  15697. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  15698. parameters:
  15699. - description: 页码
  15700. in: query
  15701. name: page
  15702. type: integer
  15703. - description: 每页条数
  15704. in: query
  15705. name: pagesize
  15706. type: integer
  15707. - description: 资金账户列表,格式:1,2,3
  15708. in: query
  15709. name: accountIDs
  15710. required: true
  15711. type: string
  15712. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  15713. in: query
  15714. name: orderType
  15715. type: integer
  15716. produces:
  15717. - application/json
  15718. responses:
  15719. "200":
  15720. description: OK
  15721. schema:
  15722. $ref: '#/definitions/models.HsbySellMyDetail'
  15723. "500":
  15724. description: Internal Server Error
  15725. schema:
  15726. $ref: '#/definitions/app.Response'
  15727. security:
  15728. - ApiKeyAuth: []
  15729. summary: 查询"我的闲置"单据信息
  15730. tags:
  15731. - 定制【海商报业】
  15732. /HSBY/QueryHsbyTopGoodses:
  15733. get:
  15734. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  15735. parameters:
  15736. - description: 页码
  15737. in: query
  15738. name: page
  15739. type: integer
  15740. - description: 每页条数
  15741. in: query
  15742. name: pagesize
  15743. type: integer
  15744. - description: 市场ID列表,格式:1,2,3
  15745. in: query
  15746. name: marketIDs
  15747. required: true
  15748. type: string
  15749. - description: 目的地(省)ID
  15750. in: query
  15751. name: descProvinceID
  15752. type: integer
  15753. - description: 目的地(市)ID
  15754. in: query
  15755. name: descCityID
  15756. type: integer
  15757. produces:
  15758. - application/json
  15759. responses:
  15760. "200":
  15761. description: OK
  15762. schema:
  15763. $ref: '#/definitions/models.HsbyTopGoods'
  15764. "500":
  15765. description: Internal Server Error
  15766. schema:
  15767. $ref: '#/definitions/app.Response'
  15768. security:
  15769. - ApiKeyAuth: []
  15770. summary: 查询热卖商品列表(二级市场挂牌点选)
  15771. tags:
  15772. - 定制【海商报业】
  15773. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  15774. get:
  15775. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  15776. parameters:
  15777. - description: 商品ID
  15778. in: query
  15779. name: goodsID
  15780. required: true
  15781. type: integer
  15782. produces:
  15783. - application/json
  15784. responses:
  15785. "200":
  15786. description: OK
  15787. schema:
  15788. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  15789. "500":
  15790. description: Internal Server Error
  15791. schema:
  15792. $ref: '#/definitions/app.Response'
  15793. security:
  15794. - ApiKeyAuth: []
  15795. summary: 查询游客三级市场(商城)商品信息详情
  15796. tags:
  15797. - 定制【海商报业】
  15798. /HSBY/QueryHsbyVisitorMarketGoodses:
  15799. get:
  15800. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  15801. parameters:
  15802. - description: 页码
  15803. in: query
  15804. name: page
  15805. type: integer
  15806. - description: 每页条数
  15807. in: query
  15808. name: pagesize
  15809. type: integer
  15810. - description: 市场ID列表,格式:1,2,3
  15811. in: query
  15812. name: marketIDs
  15813. required: true
  15814. type: string
  15815. - description: 类别ID
  15816. in: query
  15817. name: categoryID
  15818. type: integer
  15819. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  15820. in: query
  15821. name: goodsIDs
  15822. type: string
  15823. produces:
  15824. - application/json
  15825. responses:
  15826. "200":
  15827. description: OK
  15828. schema:
  15829. $ref: '#/definitions/models.HsbyMarketGoods'
  15830. "500":
  15831. description: Internal Server Error
  15832. schema:
  15833. $ref: '#/definitions/app.Response'
  15834. security:
  15835. - ApiKeyAuth: []
  15836. summary: 查询游客特卖商品列表(三级商城)
  15837. tags:
  15838. - 定制【海商报业】
  15839. /HSBY/QueryMyCollectionOrders:
  15840. get:
  15841. parameters:
  15842. - description: 页码
  15843. in: query
  15844. name: page
  15845. type: integer
  15846. - description: 每页条数
  15847. in: query
  15848. name: pagesize
  15849. type: integer
  15850. - description: 资金账户,格式:1,2,3
  15851. in: query
  15852. name: accountIDs
  15853. required: true
  15854. type: string
  15855. produces:
  15856. - application/json
  15857. responses:
  15858. "200":
  15859. description: OK
  15860. schema:
  15861. $ref: '#/definitions/models.HsbySellCollectionOrder'
  15862. "500":
  15863. description: Internal Server Error
  15864. schema:
  15865. $ref: '#/definitions/app.Response'
  15866. security:
  15867. - ApiKeyAuth: []
  15868. summary: 我的闲置中收款信息查询
  15869. tags:
  15870. - 定制【海商报业】
  15871. /HSBY/QueryMyCouponHolds:
  15872. get:
  15873. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  15874. parameters:
  15875. - description: 资金账户列表,格式:1,2,3
  15876. in: query
  15877. name: accountIDs
  15878. required: true
  15879. type: string
  15880. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  15881. in: query
  15882. name: holdStatus
  15883. type: string
  15884. produces:
  15885. - application/json
  15886. responses:
  15887. "200":
  15888. description: OK
  15889. schema:
  15890. $ref: '#/definitions/models.MyCouponHold'
  15891. "500":
  15892. description: Internal Server Error
  15893. schema:
  15894. $ref: '#/definitions/app.Response'
  15895. security:
  15896. - ApiKeyAuth: []
  15897. summary: 我的优惠卷持仓查询
  15898. tags:
  15899. - 定制【海商报业】
  15900. /HSBY/QueryMyCoupons:
  15901. get:
  15902. parameters:
  15903. - description: 资金账户列表,格式:1,2,3
  15904. in: query
  15905. name: accountIDs
  15906. required: true
  15907. type: string
  15908. - description: 商品ID, 一般与sellUserID配套传入
  15909. in: query
  15910. name: goodsID
  15911. type: integer
  15912. - description: 卖方UserID
  15913. in: query
  15914. name: sellUserID
  15915. type: integer
  15916. produces:
  15917. - application/json
  15918. responses:
  15919. "200":
  15920. description: OK
  15921. schema:
  15922. $ref: '#/definitions/models.MyCoupon'
  15923. "500":
  15924. description: Internal Server Error
  15925. schema:
  15926. $ref: '#/definitions/app.Response'
  15927. security:
  15928. - ApiKeyAuth: []
  15929. summary: 我的优惠卷查询
  15930. tags:
  15931. - 定制【海商报业】
  15932. /HSBY/QueryMyPayOrders:
  15933. get:
  15934. parameters:
  15935. - description: 页码
  15936. in: query
  15937. name: page
  15938. type: integer
  15939. - description: 每页条数
  15940. in: query
  15941. name: pagesize
  15942. type: integer
  15943. - description: 资金账户列表,格式:1,2,3
  15944. in: query
  15945. name: accountIDs
  15946. required: true
  15947. type: string
  15948. - description: 买方委托单号
  15949. in: query
  15950. name: buyOrderID
  15951. type: integer
  15952. - description: 卖方委托单号
  15953. in: query
  15954. name: sellOrderID
  15955. type: integer
  15956. produces:
  15957. - application/json
  15958. responses:
  15959. "200":
  15960. description: OK
  15961. schema:
  15962. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  15963. "500":
  15964. description: Internal Server Error
  15965. schema:
  15966. $ref: '#/definitions/app.Response'
  15967. security:
  15968. - ApiKeyAuth: []
  15969. summary: 获取我的订单中待付款信息
  15970. tags:
  15971. - 定制【海商报业】
  15972. /HSBY/QueryMyUsedCoupon:
  15973. get:
  15974. parameters:
  15975. - description: 资金账户列表,格式:1,2,3
  15976. in: query
  15977. name: accountIDs
  15978. required: true
  15979. type: string
  15980. produces:
  15981. - application/json
  15982. responses:
  15983. "200":
  15984. description: OK
  15985. schema:
  15986. $ref: '#/definitions/models.MyUsedCoupon'
  15987. "500":
  15988. description: Internal Server Error
  15989. schema:
  15990. $ref: '#/definitions/app.Response'
  15991. security:
  15992. - ApiKeyAuth: []
  15993. summary: 已使用优惠卷查询
  15994. tags:
  15995. - 定制【海商报业】
  15996. /HSBY/QueryProvincesAndCities:
  15997. get:
  15998. description: 查询结果只包括二级市场商品已关连的省市信息。
  15999. parameters:
  16000. - description: 省ID
  16001. in: query
  16002. name: provinceID
  16003. type: integer
  16004. produces:
  16005. - application/json
  16006. responses:
  16007. "200":
  16008. description: OK
  16009. schema:
  16010. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  16011. "500":
  16012. description: Internal Server Error
  16013. schema:
  16014. $ref: '#/definitions/app.Response'
  16015. security:
  16016. - ApiKeyAuth: []
  16017. summary: 查询省市信息(不包括区)
  16018. tags:
  16019. - 定制【海商报业】
  16020. /HSBY/SetHsbyMyPackagesStatus:
  16021. post:
  16022. parameters:
  16023. - description: 提货单号
  16024. in: query
  16025. name: takeOrderID
  16026. required: true
  16027. type: string
  16028. - description: 资金账号
  16029. in: query
  16030. name: accountID
  16031. required: true
  16032. type: integer
  16033. produces:
  16034. - application/json
  16035. responses:
  16036. "200":
  16037. description: OK
  16038. schema:
  16039. $ref: '#/definitions/app.Response'
  16040. "500":
  16041. description: Internal Server Error
  16042. schema:
  16043. $ref: '#/definitions/app.Response'
  16044. security:
  16045. - ApiKeyAuth: []
  16046. summary: 设置我的包裹已收货状态
  16047. tags:
  16048. - 定制【海商报业】
  16049. /Market/QueryGoodsesByLoginID:
  16050. get:
  16051. parameters:
  16052. - description: 登录账号
  16053. in: query
  16054. name: loginID
  16055. required: true
  16056. type: integer
  16057. - description: 市场ID列表,格式:1,2,3
  16058. in: query
  16059. name: marketIDs
  16060. type: string
  16061. produces:
  16062. - application/json
  16063. responses:
  16064. "200":
  16065. description: OK
  16066. schema:
  16067. $ref: '#/definitions/models.Goods'
  16068. "500":
  16069. description: Internal Server Error
  16070. schema:
  16071. $ref: '#/definitions/app.Response'
  16072. security:
  16073. - ApiKeyAuth: []
  16074. summary: 获取登录账号有权限的商品信息
  16075. tags:
  16076. - 通用市场
  16077. /Market/QueryMarketRun:
  16078. get:
  16079. parameters:
  16080. - description: 市场ID,不传返回所有
  16081. in: query
  16082. name: marketID
  16083. type: integer
  16084. produces:
  16085. - application/json
  16086. responses:
  16087. "200":
  16088. description: OK
  16089. schema:
  16090. $ref: '#/definitions/models.Marketrun'
  16091. "500":
  16092. description: Internal Server Error
  16093. schema:
  16094. $ref: '#/definitions/app.Response'
  16095. security:
  16096. - ApiKeyAuth: []
  16097. summary: 查询市场运行信息
  16098. tags:
  16099. - 通用市场
  16100. /Market/QueryMarketsByLoginID:
  16101. get:
  16102. parameters:
  16103. - description: 登录账号
  16104. in: query
  16105. name: loginID
  16106. required: true
  16107. type: integer
  16108. produces:
  16109. - application/json
  16110. responses:
  16111. "200":
  16112. description: OK
  16113. schema:
  16114. $ref: '#/definitions/models.Market'
  16115. "500":
  16116. description: Internal Server Error
  16117. schema:
  16118. $ref: '#/definitions/app.Response'
  16119. security:
  16120. - ApiKeyAuth: []
  16121. summary: 获取登录账号有权限的市场信息
  16122. tags:
  16123. - 通用市场
  16124. /Order/QueryHisTradeDetail:
  16125. get:
  16126. parameters:
  16127. - description: 资金账户 - 格式:1,2,3
  16128. in: query
  16129. name: accountID
  16130. required: true
  16131. type: string
  16132. - description: 成交单号
  16133. in: query
  16134. name: tradeID
  16135. type: integer
  16136. - description: 委托单号
  16137. in: query
  16138. name: orderID
  16139. type: integer
  16140. - description: 交易模式 - 格式:1,2,3
  16141. in: query
  16142. name: tradeMode
  16143. type: string
  16144. - description: 委托单据类型
  16145. in: query
  16146. name: buildType
  16147. type: integer
  16148. - description: 成交类别 - 格式:1,2,3
  16149. in: query
  16150. name: tradeType
  16151. type: string
  16152. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16153. in: query
  16154. name: startDate
  16155. type: string
  16156. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16157. in: query
  16158. name: endDate
  16159. type: string
  16160. produces:
  16161. - application/json
  16162. responses:
  16163. "200":
  16164. description: OK
  16165. schema:
  16166. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  16167. "500":
  16168. description: Internal Server Error
  16169. schema:
  16170. $ref: '#/definitions/app.Response'
  16171. security:
  16172. - ApiKeyAuth: []
  16173. summary: 历史成交单查询(合约市场)
  16174. tags:
  16175. - 通用单据
  16176. /Order/QueryHisTradeOrderDetail:
  16177. get:
  16178. parameters:
  16179. - description: 资金账户 - 格式:1,2,3
  16180. in: query
  16181. name: accountID
  16182. required: true
  16183. type: string
  16184. - description: 交易模式 - 格式:1,2,3
  16185. in: query
  16186. name: tradeMode
  16187. type: string
  16188. - description: 委托状态 - 格式:1,2,3
  16189. in: query
  16190. name: orderStatus
  16191. type: string
  16192. - description: 委托单号
  16193. in: query
  16194. name: orderID
  16195. type: integer
  16196. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16197. in: query
  16198. name: startDate
  16199. type: string
  16200. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16201. in: query
  16202. name: endDate
  16203. type: string
  16204. produces:
  16205. - application/json
  16206. responses:
  16207. "200":
  16208. description: OK
  16209. schema:
  16210. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  16211. "500":
  16212. description: Internal Server Error
  16213. schema:
  16214. $ref: '#/definitions/app.Response'
  16215. security:
  16216. - ApiKeyAuth: []
  16217. summary: 历史委托单查询请求(合约市场)
  16218. tags:
  16219. - 通用单据
  16220. /Order/QueryTradeDetail:
  16221. get:
  16222. parameters:
  16223. - description: 资金账户 - 格式:1,2,3
  16224. in: query
  16225. name: accountID
  16226. required: true
  16227. type: string
  16228. - description: 成交单号
  16229. in: query
  16230. name: tradeID
  16231. type: integer
  16232. - description: 委托单号
  16233. in: query
  16234. name: orderID
  16235. type: integer
  16236. - description: 交易模式 - 格式:1,2,3
  16237. in: query
  16238. name: tradeMode
  16239. type: string
  16240. - description: 委托单据类型
  16241. in: query
  16242. name: buildType
  16243. type: integer
  16244. - description: 成交类别 - 格式:1,2,3
  16245. in: query
  16246. name: tradeType
  16247. type: string
  16248. produces:
  16249. - application/json
  16250. responses:
  16251. "200":
  16252. description: OK
  16253. schema:
  16254. $ref: '#/definitions/order.QueryTradeDetailRsp'
  16255. "500":
  16256. description: Internal Server Error
  16257. schema:
  16258. $ref: '#/definitions/app.Response'
  16259. security:
  16260. - ApiKeyAuth: []
  16261. summary: 成交单查询(合约市场)
  16262. tags:
  16263. - 通用单据
  16264. /Order/QueryTradeOrderDetail:
  16265. get:
  16266. parameters:
  16267. - description: 资金账户 - 格式:1,2,3
  16268. in: query
  16269. name: accountID
  16270. required: true
  16271. type: string
  16272. - description: 交易模式 - 格式:1,2,3
  16273. in: query
  16274. name: tradeMode
  16275. type: string
  16276. - description: 委托状态 - 格式:1,2,3
  16277. in: query
  16278. name: orderStatus
  16279. type: string
  16280. - description: 委托单号
  16281. in: query
  16282. name: orderID
  16283. type: integer
  16284. produces:
  16285. - application/json
  16286. responses:
  16287. "200":
  16288. description: OK
  16289. schema:
  16290. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  16291. "500":
  16292. description: Internal Server Error
  16293. schema:
  16294. $ref: '#/definitions/app.Response'
  16295. security:
  16296. - ApiKeyAuth: []
  16297. summary: 委托单查询请求(合约市场)
  16298. tags:
  16299. - 通用单据
  16300. /Order/QueryTradePosition:
  16301. get:
  16302. parameters:
  16303. - description: 资金账户 - 格式:1,2,3
  16304. in: query
  16305. name: accountID
  16306. required: true
  16307. type: string
  16308. - description: 交易模式 - 格式:1,2,3
  16309. in: query
  16310. name: tradeMode
  16311. type: string
  16312. produces:
  16313. - application/json
  16314. responses:
  16315. "200":
  16316. description: OK
  16317. schema:
  16318. $ref: '#/definitions/order.QueryTradePositionRsp'
  16319. "500":
  16320. description: Internal Server Error
  16321. schema:
  16322. $ref: '#/definitions/app.Response'
  16323. security:
  16324. - ApiKeyAuth: []
  16325. summary: 持仓汇总查询(合约市场)
  16326. tags:
  16327. - 通用单据
  16328. /Qhj/QueryContract:
  16329. get:
  16330. parameters:
  16331. - description: 用户ID
  16332. in: query
  16333. name: userid
  16334. required: true
  16335. type: integer
  16336. - description: scf合同id
  16337. in: query
  16338. name: scfcontractid
  16339. type: integer
  16340. produces:
  16341. - application/json
  16342. responses:
  16343. "200":
  16344. description: OK
  16345. schema:
  16346. items:
  16347. $ref: '#/definitions/models.QhjContract'
  16348. type: array
  16349. "500":
  16350. description: Internal Server Error
  16351. schema:
  16352. $ref: '#/definitions/app.Response'
  16353. security:
  16354. - ApiKeyAuth: []
  16355. summary: 查询融资明细(合同)
  16356. tags:
  16357. - 大连千海金
  16358. /Qhj/QueryContractLog:
  16359. get:
  16360. parameters:
  16361. - description: scf合同id
  16362. in: query
  16363. name: scfcontractid
  16364. required: true
  16365. type: integer
  16366. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  16367. in: query
  16368. name: amounttype
  16369. type: string
  16370. produces:
  16371. - application/json
  16372. responses:
  16373. "200":
  16374. description: OK
  16375. schema:
  16376. items:
  16377. $ref: '#/definitions/models.QhjContractLog'
  16378. type: array
  16379. "500":
  16380. description: Internal Server Error
  16381. schema:
  16382. $ref: '#/definitions/app.Response'
  16383. security:
  16384. - ApiKeyAuth: []
  16385. summary: 查询融资明细流水(融资明细详情页中的流水)
  16386. tags:
  16387. - 大连千海金
  16388. /Qhj/QueryPickGoods:
  16389. get:
  16390. parameters:
  16391. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  16392. in: query
  16393. name: status
  16394. type: string
  16395. produces:
  16396. - application/json
  16397. responses:
  16398. "200":
  16399. description: OK
  16400. schema:
  16401. items:
  16402. $ref: '#/definitions/models.QhjPickGoods'
  16403. type: array
  16404. "500":
  16405. description: Internal Server Error
  16406. schema:
  16407. $ref: '#/definitions/app.Response'
  16408. security:
  16409. - ApiKeyAuth: []
  16410. summary: 查询提货商品
  16411. tags:
  16412. - 大连千海金
  16413. /Qhj/QueryRSTriggerLog:
  16414. get:
  16415. parameters:
  16416. - description: 用户ID
  16417. in: query
  16418. name: userid
  16419. required: true
  16420. type: integer
  16421. - description: 定投策略id
  16422. in: query
  16423. name: regularlystrategyid
  16424. type: integer
  16425. produces:
  16426. - application/json
  16427. responses:
  16428. "200":
  16429. description: OK
  16430. schema:
  16431. items:
  16432. $ref: '#/definitions/models.QhjRSTriggerLog'
  16433. type: array
  16434. "500":
  16435. description: Internal Server Error
  16436. schema:
  16437. $ref: '#/definitions/app.Response'
  16438. security:
  16439. - ApiKeyAuth: []
  16440. summary: 查询定投记录(定投管理/详情/定投记录)
  16441. tags:
  16442. - 大连千海金
  16443. /Qhj/QueryRStrategy:
  16444. get:
  16445. parameters:
  16446. - description: 用户ID
  16447. in: query
  16448. name: userid
  16449. required: true
  16450. type: integer
  16451. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  16452. in: query
  16453. name: status
  16454. type: string
  16455. produces:
  16456. - application/json
  16457. responses:
  16458. "200":
  16459. description: OK
  16460. schema:
  16461. items:
  16462. $ref: '#/definitions/models.QhjRStrategy'
  16463. type: array
  16464. "500":
  16465. description: Internal Server Error
  16466. schema:
  16467. $ref: '#/definitions/app.Response'
  16468. security:
  16469. - ApiKeyAuth: []
  16470. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  16471. tags:
  16472. - 大连千海金
  16473. /Qhj/QueryTradeGoodsPickup:
  16474. get:
  16475. parameters:
  16476. - description: 用户ID
  16477. in: query
  16478. name: userid
  16479. required: true
  16480. type: integer
  16481. produces:
  16482. - application/json
  16483. responses:
  16484. "200":
  16485. description: OK
  16486. schema:
  16487. items:
  16488. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  16489. type: array
  16490. "500":
  16491. description: Internal Server Error
  16492. schema:
  16493. $ref: '#/definitions/app.Response'
  16494. security:
  16495. - ApiKeyAuth: []
  16496. summary: 查询提货
  16497. tags:
  16498. - 大连千海金
  16499. /Qhj/QueryUserCollectConfig:
  16500. get:
  16501. parameters:
  16502. - description: 用户ID
  16503. in: query
  16504. name: userid
  16505. required: true
  16506. type: integer
  16507. produces:
  16508. - application/json
  16509. responses:
  16510. "200":
  16511. description: OK
  16512. schema:
  16513. items:
  16514. $ref: '#/definitions/models.UserCollectConfig'
  16515. type: array
  16516. "500":
  16517. description: Internal Server Error
  16518. schema:
  16519. $ref: '#/definitions/app.Response'
  16520. security:
  16521. - ApiKeyAuth: []
  16522. summary: 查询提现账户设置
  16523. tags:
  16524. - 大连千海金
  16525. /Qhj/QueryUserReceiveInfo:
  16526. get:
  16527. parameters:
  16528. - description: 用户ID
  16529. in: query
  16530. name: userid
  16531. required: true
  16532. type: integer
  16533. produces:
  16534. - application/json
  16535. responses:
  16536. "200":
  16537. description: OK
  16538. schema:
  16539. items:
  16540. $ref: '#/definitions/models.UserReceiveInfo'
  16541. type: array
  16542. "500":
  16543. description: Internal Server Error
  16544. schema:
  16545. $ref: '#/definitions/app.Response'
  16546. security:
  16547. - ApiKeyAuth: []
  16548. summary: 查询收货地址信息
  16549. tags:
  16550. - 大连千海金
  16551. /Quote/QueryHistoryDatas:
  16552. get:
  16553. parameters:
  16554. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  16555. 日线'
  16556. in: query
  16557. name: cycleType
  16558. required: true
  16559. type: integer
  16560. - description: 商品代码
  16561. in: query
  16562. name: goodsCode
  16563. required: true
  16564. type: string
  16565. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  16566. in: query
  16567. name: startTime
  16568. type: string
  16569. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  16570. in: query
  16571. name: endTime
  16572. type: string
  16573. - description: 条数
  16574. in: query
  16575. name: count
  16576. type: integer
  16577. - description: 是否按时间顺序排序(默认为时间倒序排序)
  16578. in: query
  16579. name: isAsc
  16580. type: boolean
  16581. produces:
  16582. - application/json
  16583. responses:
  16584. "200":
  16585. description: OK
  16586. schema:
  16587. $ref: '#/definitions/quote.HistoryData'
  16588. "500":
  16589. description: Internal Server Error
  16590. schema:
  16591. $ref: '#/definitions/app.Response'
  16592. security:
  16593. - ApiKeyAuth: []
  16594. summary: 查询行情历史数据
  16595. tags:
  16596. - 行情服务
  16597. /Quote/QueryHistoryTikDatas:
  16598. get:
  16599. parameters:
  16600. - description: 商品代码
  16601. in: query
  16602. name: goodsCode
  16603. required: true
  16604. type: string
  16605. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  16606. in: query
  16607. name: startTime
  16608. type: string
  16609. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  16610. in: query
  16611. name: endTime
  16612. type: string
  16613. - description: 条数
  16614. in: query
  16615. name: count
  16616. type: integer
  16617. - description: 是否按时间顺序排序(默认为时间倒序排序)
  16618. in: query
  16619. name: isAsc
  16620. type: boolean
  16621. produces:
  16622. - application/json
  16623. responses:
  16624. "200":
  16625. description: OK
  16626. schema:
  16627. $ref: '#/definitions/quote.HistoryTikData'
  16628. "500":
  16629. description: Internal Server Error
  16630. schema:
  16631. $ref: '#/definitions/app.Response'
  16632. security:
  16633. - ApiKeyAuth: []
  16634. summary: 查询行情Tik数据
  16635. tags:
  16636. - 行情服务
  16637. /Quote/QueryQuoteDay:
  16638. get:
  16639. parameters:
  16640. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  16641. in: query
  16642. name: goodsCodes
  16643. required: true
  16644. type: string
  16645. produces:
  16646. - application/json
  16647. responses:
  16648. "200":
  16649. description: OK
  16650. schema:
  16651. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  16652. "500":
  16653. description: Internal Server Error
  16654. schema:
  16655. $ref: '#/definitions/app.Response'
  16656. security:
  16657. - ApiKeyAuth: []
  16658. summary: 获取商品盘面信息
  16659. tags:
  16660. - 行情服务
  16661. /Quote/QueryTSData:
  16662. get:
  16663. parameters:
  16664. - description: 商品代码
  16665. in: query
  16666. name: goodsCode
  16667. required: true
  16668. type: string
  16669. produces:
  16670. - application/json
  16671. responses:
  16672. "200":
  16673. description: OK
  16674. schema:
  16675. $ref: '#/definitions/quote.QueryTSDataRsp'
  16676. "500":
  16677. description: Internal Server Error
  16678. schema:
  16679. $ref: '#/definitions/app.Response'
  16680. security:
  16681. - ApiKeyAuth: []
  16682. summary: 分时图数据查询
  16683. tags:
  16684. - 行情服务
  16685. /SZDZ/QueryConvertConfig:
  16686. get:
  16687. parameters:
  16688. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  16689. 6:交易转花生米(不设置)
  16690. in: query
  16691. name: convertType
  16692. type: integer
  16693. - description: 外部商品代码[JD\PD]
  16694. in: query
  16695. name: outerGoodsCode
  16696. type: string
  16697. - description: 内部商品ID列表[交易],格式:1,2,3
  16698. in: query
  16699. name: innerGoodsIDs
  16700. type: string
  16701. produces:
  16702. - application/json
  16703. responses:
  16704. "200":
  16705. description: OK
  16706. schema:
  16707. $ref: '#/definitions/models.Szdz3convertconfig'
  16708. "500":
  16709. description: Internal Server Error
  16710. schema:
  16711. $ref: '#/definitions/app.Response'
  16712. security:
  16713. - ApiKeyAuth: []
  16714. summary: 查询交易系统转换设置
  16715. tags:
  16716. - 定制【尚志大宗】
  16717. /SZDZ/QueryConvertLog:
  16718. get:
  16719. parameters:
  16720. - description: 资金账户 - 格式:1,2,3
  16721. in: query
  16722. name: accountID
  16723. required: true
  16724. type: string
  16725. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  16726. in: query
  16727. name: startDate
  16728. type: string
  16729. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  16730. in: query
  16731. name: endDate
  16732. type: string
  16733. produces:
  16734. - application/json
  16735. responses:
  16736. "200":
  16737. description: OK
  16738. schema:
  16739. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  16740. "500":
  16741. description: Internal Server Error
  16742. schema:
  16743. $ref: '#/definitions/app.Response'
  16744. security:
  16745. - ApiKeyAuth: []
  16746. summary: 交易系统转换流水查询
  16747. tags:
  16748. - 定制【尚志大宗】
  16749. /SZDZ/QueryGoodsPickup:
  16750. get:
  16751. parameters:
  16752. - description: 资金账户 - 格式:1,2,3
  16753. in: query
  16754. name: accountID
  16755. required: true
  16756. type: string
  16757. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  16758. in: query
  16759. name: takeOrderStatus
  16760. type: integer
  16761. produces:
  16762. - application/json
  16763. responses:
  16764. "200":
  16765. description: OK
  16766. schema:
  16767. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  16768. "500":
  16769. description: Internal Server Error
  16770. schema:
  16771. $ref: '#/definitions/app.Response'
  16772. security:
  16773. - ApiKeyAuth: []
  16774. summary: 商品提货单查询
  16775. tags:
  16776. - 定制【尚志大宗】
  16777. /SZDZ/QueryRecieptOrder:
  16778. get:
  16779. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  16780. parameters:
  16781. - description: 页码
  16782. in: query
  16783. name: page
  16784. type: integer
  16785. - description: 每页条数
  16786. in: query
  16787. name: pagesize
  16788. type: integer
  16789. - description: 商品ID
  16790. in: query
  16791. name: goodsID
  16792. required: true
  16793. type: integer
  16794. - description: 所属账户名称
  16795. in: query
  16796. name: accountName
  16797. type: string
  16798. - description: 市场ID
  16799. in: query
  16800. name: marketID
  16801. type: integer
  16802. - description: 方向 - 0:买 1:卖
  16803. in: query
  16804. name: buyorsell
  16805. required: true
  16806. type: integer
  16807. produces:
  16808. - application/json
  16809. responses:
  16810. "200":
  16811. description: OK
  16812. schema:
  16813. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  16814. "500":
  16815. description: Internal Server Error
  16816. schema:
  16817. $ref: '#/definitions/app.Response'
  16818. security:
  16819. - ApiKeyAuth: []
  16820. summary: 点选挂牌委托单据查询(摘牌大厅)
  16821. tags:
  16822. - 定制【尚志大宗】
  16823. /SZDZ/QuerySZDZTradePosition:
  16824. get:
  16825. parameters:
  16826. - description: 资金账户
  16827. in: query
  16828. name: accountID
  16829. required: true
  16830. type: integer
  16831. produces:
  16832. - application/json
  16833. responses:
  16834. "200":
  16835. description: OK
  16836. schema:
  16837. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  16838. "500":
  16839. description: Internal Server Error
  16840. schema:
  16841. $ref: '#/definitions/app.Response'
  16842. security:
  16843. - ApiKeyAuth: []
  16844. summary: 持仓汇总查询(尚志大宗)
  16845. tags:
  16846. - 定制【尚志大宗】
  16847. /SZDZ/SearchWhite:
  16848. get:
  16849. parameters:
  16850. - description: 用户ID
  16851. in: query
  16852. name: userID
  16853. required: true
  16854. type: integer
  16855. produces:
  16856. - application/json
  16857. responses:
  16858. "200":
  16859. description: OK
  16860. schema:
  16861. $ref: '#/definitions/models.Szdz3searchwhitelist'
  16862. "500":
  16863. description: Internal Server Error
  16864. schema:
  16865. $ref: '#/definitions/app.Response'
  16866. security:
  16867. - ApiKeyAuth: []
  16868. summary: 搜索白名单
  16869. tags:
  16870. - 定制【尚志大宗】
  16871. /Search/SearchGoodses:
  16872. get:
  16873. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  16874. parameters:
  16875. - description: 检索内容
  16876. in: query
  16877. name: content
  16878. required: true
  16879. type: string
  16880. - description: 交易模式,格式:1,2,3
  16881. in: query
  16882. name: tradeModes
  16883. type: string
  16884. produces:
  16885. - application/json
  16886. responses:
  16887. "200":
  16888. description: OK
  16889. schema:
  16890. $ref: '#/definitions/models.SearchGoods'
  16891. "500":
  16892. description: Internal Server Error
  16893. schema:
  16894. $ref: '#/definitions/app.Response'
  16895. summary: 检索商品信息
  16896. tags:
  16897. - 检索服务
  16898. /TaAccount/GetTaAccounts:
  16899. get:
  16900. parameters:
  16901. - description: 登录账户
  16902. in: query
  16903. name: loginID
  16904. required: true
  16905. type: integer
  16906. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  16907. in: query
  16908. name: taAccountType
  16909. type: integer
  16910. produces:
  16911. - application/json
  16912. responses:
  16913. "200":
  16914. description: OK
  16915. schema:
  16916. $ref: '#/definitions/models.Taaccount'
  16917. "500":
  16918. description: Internal Server Error
  16919. schema:
  16920. $ref: '#/definitions/app.Response'
  16921. security:
  16922. - ApiKeyAuth: []
  16923. summary: 获取资金账户信息
  16924. tags:
  16925. - 资金账户
  16926. /TaAccount/QueryAmountLog:
  16927. get:
  16928. parameters:
  16929. - description: 页码
  16930. in: query
  16931. name: page
  16932. type: integer
  16933. - description: 每页条数
  16934. in: query
  16935. name: pagesize
  16936. type: integer
  16937. - description: 资金账户 - 格式:1,2,3
  16938. in: query
  16939. name: accountID
  16940. required: true
  16941. type: string
  16942. - description: 资金操作类型 - 格式:1,2,3
  16943. in: query
  16944. name: OperateType
  16945. type: string
  16946. produces:
  16947. - application/json
  16948. responses:
  16949. "200":
  16950. description: OK
  16951. schema:
  16952. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  16953. "500":
  16954. description: Internal Server Error
  16955. schema:
  16956. $ref: '#/definitions/app.Response'
  16957. security:
  16958. - ApiKeyAuth: []
  16959. summary: 资金流水查询(当前)
  16960. tags:
  16961. - 资金账户
  16962. /TaAccount/QueryHisAmountLog:
  16963. get:
  16964. parameters:
  16965. - description: 页码
  16966. in: query
  16967. name: page
  16968. type: integer
  16969. - description: 每页条数
  16970. in: query
  16971. name: pagesize
  16972. type: integer
  16973. - description: 资金账户 - 格式:1,2,3
  16974. in: query
  16975. name: accountID
  16976. required: true
  16977. type: string
  16978. - description: 资金操作类型 - 格式:1,2,3
  16979. in: query
  16980. name: OperateType
  16981. type: string
  16982. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16983. in: query
  16984. name: startDate
  16985. type: string
  16986. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16987. in: query
  16988. name: endDate
  16989. type: string
  16990. produces:
  16991. - application/json
  16992. responses:
  16993. "200":
  16994. description: OK
  16995. schema:
  16996. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  16997. "500":
  16998. description: Internal Server Error
  16999. schema:
  17000. $ref: '#/definitions/app.Response'
  17001. security:
  17002. - ApiKeyAuth: []
  17003. summary: 资金流水查询(历史)
  17004. tags:
  17005. - 资金账户
  17006. /Trade/QueryRecieptOrder:
  17007. get:
  17008. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  17009. parameters:
  17010. - description: 页码
  17011. in: query
  17012. name: page
  17013. type: integer
  17014. - description: 每页条数
  17015. in: query
  17016. name: pagesize
  17017. type: integer
  17018. - description: 商品ID
  17019. in: query
  17020. name: goodsID
  17021. required: true
  17022. type: integer
  17023. - description: 所属账户名称
  17024. in: query
  17025. name: accountName
  17026. type: string
  17027. - description: 市场ID
  17028. in: query
  17029. name: marketID
  17030. type: integer
  17031. - description: 方向 - 0:买 1:卖
  17032. in: query
  17033. name: buyorsell
  17034. required: true
  17035. type: integer
  17036. produces:
  17037. - application/json
  17038. responses:
  17039. "200":
  17040. description: OK
  17041. schema:
  17042. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  17043. "500":
  17044. description: Internal Server Error
  17045. schema:
  17046. $ref: '#/definitions/app.Response'
  17047. security:
  17048. - ApiKeyAuth: []
  17049. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  17050. tags:
  17051. - 通用交易
  17052. /User/AddMessageBoard:
  17053. post:
  17054. parameters:
  17055. - description: 用户ID
  17056. in: query
  17057. name: userID
  17058. required: true
  17059. type: integer
  17060. - description: 留言信息
  17061. in: query
  17062. name: message
  17063. required: true
  17064. type: string
  17065. - description: 联系电话
  17066. in: query
  17067. name: contactNum
  17068. required: true
  17069. type: string
  17070. produces:
  17071. - application/json
  17072. responses:
  17073. "200":
  17074. description: OK
  17075. schema:
  17076. $ref: '#/definitions/app.Response'
  17077. "500":
  17078. description: Internal Server Error
  17079. schema:
  17080. $ref: '#/definitions/app.Response'
  17081. security:
  17082. - ApiKeyAuth: []
  17083. summary: 添加用户留言板信息
  17084. tags:
  17085. - 用户信息
  17086. /User/AddUserFavoriteGoods:
  17087. post:
  17088. parameters:
  17089. - description: 用户ID
  17090. in: query
  17091. name: userID
  17092. required: true
  17093. type: integer
  17094. - description: 商品ID
  17095. in: query
  17096. name: goodsID
  17097. required: true
  17098. type: integer
  17099. produces:
  17100. - application/json
  17101. responses:
  17102. "200":
  17103. description: OK
  17104. schema:
  17105. $ref: '#/definitions/app.Response'
  17106. "500":
  17107. description: Internal Server Error
  17108. schema:
  17109. $ref: '#/definitions/app.Response'
  17110. security:
  17111. - ApiKeyAuth: []
  17112. summary: 添加用户商品收藏信息
  17113. tags:
  17114. - 用户信息
  17115. /User/GetLoginID:
  17116. get:
  17117. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  17118. parameters:
  17119. - description: 登录代码
  17120. in: query
  17121. name: username
  17122. required: true
  17123. type: string
  17124. produces:
  17125. - application/json
  17126. responses:
  17127. "200":
  17128. description: OK
  17129. schema:
  17130. $ref: '#/definitions/app.Response'
  17131. "500":
  17132. description: Internal Server Error
  17133. schema:
  17134. $ref: '#/definitions/app.Response'
  17135. summary: 获取登录ID
  17136. tags:
  17137. - 用户信息
  17138. /User/GetUserAccount:
  17139. get:
  17140. parameters:
  17141. - description: 用户ID
  17142. in: query
  17143. name: userID
  17144. required: true
  17145. type: integer
  17146. produces:
  17147. - application/json
  17148. responses:
  17149. "200":
  17150. description: OK
  17151. schema:
  17152. $ref: '#/definitions/models.Useraccount'
  17153. "500":
  17154. description: Internal Server Error
  17155. schema:
  17156. $ref: '#/definitions/app.Response'
  17157. security:
  17158. - ApiKeyAuth: []
  17159. summary: 获取用户账号信息
  17160. tags:
  17161. - 用户信息
  17162. /User/GetUserAuthStatus:
  17163. get:
  17164. parameters:
  17165. - description: 用户ID
  17166. in: query
  17167. name: userID
  17168. required: true
  17169. type: integer
  17170. produces:
  17171. - application/json
  17172. responses:
  17173. "200":
  17174. description: OK
  17175. schema:
  17176. $ref: '#/definitions/app.Response'
  17177. "500":
  17178. description: Internal Server Error
  17179. schema:
  17180. $ref: '#/definitions/app.Response'
  17181. security:
  17182. - ApiKeyAuth: []
  17183. summary: 获取用户实名认证状态
  17184. tags:
  17185. - 用户信息
  17186. /User/LoginQuery:
  17187. get:
  17188. parameters:
  17189. - description: 登录账号
  17190. in: query
  17191. name: loginID
  17192. required: true
  17193. type: integer
  17194. produces:
  17195. - application/json
  17196. responses:
  17197. "200":
  17198. description: OK
  17199. schema:
  17200. $ref: '#/definitions/user.LoginQueryRsp'
  17201. "500":
  17202. description: Internal Server Error
  17203. schema:
  17204. $ref: '#/definitions/app.Response'
  17205. security:
  17206. - ApiKeyAuth: []
  17207. summary: 账户登录后信息查询
  17208. tags:
  17209. - 用户信息
  17210. /User/QueryMessageBoard:
  17211. get:
  17212. parameters:
  17213. - description: 用户ID
  17214. in: query
  17215. name: userID
  17216. required: true
  17217. type: integer
  17218. produces:
  17219. - application/json
  17220. responses:
  17221. "200":
  17222. description: OK
  17223. schema:
  17224. $ref: '#/definitions/models.Messageboard'
  17225. "500":
  17226. description: Internal Server Error
  17227. schema:
  17228. $ref: '#/definitions/app.Response'
  17229. security:
  17230. - ApiKeyAuth: []
  17231. summary: 获取用户留言板信息
  17232. tags:
  17233. - 用户信息
  17234. /User/QueryUserFavoriteGoodses:
  17235. get:
  17236. parameters:
  17237. - description: 用户ID
  17238. in: query
  17239. name: userID
  17240. required: true
  17241. type: integer
  17242. produces:
  17243. - application/json
  17244. responses:
  17245. "200":
  17246. description: OK
  17247. schema:
  17248. $ref: '#/definitions/models.Userfavoritegoods'
  17249. "500":
  17250. description: Internal Server Error
  17251. schema:
  17252. $ref: '#/definitions/app.Response'
  17253. security:
  17254. - ApiKeyAuth: []
  17255. summary: 获取用户商品收藏信息
  17256. tags:
  17257. - 用户信息
  17258. /User/QueryUserInfo:
  17259. get:
  17260. parameters:
  17261. - description: 用户ID
  17262. in: query
  17263. name: userID
  17264. required: true
  17265. type: integer
  17266. - description: 是否解密
  17267. in: query
  17268. name: isDecrypt
  17269. type: boolean
  17270. produces:
  17271. - application/json
  17272. responses:
  17273. "200":
  17274. description: OK
  17275. schema:
  17276. $ref: '#/definitions/models.Userinfo'
  17277. "500":
  17278. description: Internal Server Error
  17279. schema:
  17280. $ref: '#/definitions/app.Response'
  17281. security:
  17282. - ApiKeyAuth: []
  17283. summary: 获取用户信息
  17284. tags:
  17285. - 用户信息
  17286. /User/QueryUserReferNum:
  17287. get:
  17288. parameters:
  17289. - description: 用户ID
  17290. in: query
  17291. name: userID
  17292. required: true
  17293. type: integer
  17294. produces:
  17295. - application/json
  17296. responses:
  17297. "200":
  17298. description: OK
  17299. schema:
  17300. $ref: '#/definitions/app.Response'
  17301. "500":
  17302. description: Internal Server Error
  17303. schema:
  17304. $ref: '#/definitions/app.Response'
  17305. summary: 获取用户邀请码
  17306. tags:
  17307. - 用户信息
  17308. /User/RemoveUserFavoriteGoods:
  17309. post:
  17310. parameters:
  17311. - description: 用户ID
  17312. in: query
  17313. name: userID
  17314. required: true
  17315. type: integer
  17316. - description: 商品ID
  17317. in: query
  17318. name: goodsID
  17319. required: true
  17320. type: integer
  17321. produces:
  17322. - application/json
  17323. responses:
  17324. "200":
  17325. description: OK
  17326. schema:
  17327. $ref: '#/definitions/app.Response'
  17328. "500":
  17329. description: Internal Server Error
  17330. schema:
  17331. $ref: '#/definitions/app.Response'
  17332. security:
  17333. - ApiKeyAuth: []
  17334. summary: 移除用户商品收藏信息
  17335. tags:
  17336. - 用户信息
  17337. /User/UpdateUserAccountStatus:
  17338. post:
  17339. parameters:
  17340. - description: 用户ID
  17341. in: query
  17342. name: userID
  17343. required: true
  17344. type: integer
  17345. - description: 账户状态 - 4:正常 6:注销(停用)
  17346. in: query
  17347. name: accountStatus
  17348. required: true
  17349. type: integer
  17350. produces:
  17351. - application/json
  17352. responses:
  17353. "200":
  17354. description: OK
  17355. schema:
  17356. $ref: '#/definitions/app.Response'
  17357. "500":
  17358. description: Internal Server Error
  17359. schema:
  17360. $ref: '#/definitions/app.Response'
  17361. security:
  17362. - ApiKeyAuth: []
  17363. summary: 更新用户状态
  17364. tags:
  17365. - 用户信息
  17366. /WRTrade/GetAllDeliveryGoods:
  17367. get:
  17368. produces:
  17369. - application/json
  17370. - application/json
  17371. responses:
  17372. "200":
  17373. description: OK
  17374. schema:
  17375. $ref: '#/definitions/app.Response'
  17376. "500":
  17377. description: Internal Server Error
  17378. schema:
  17379. $ref: '#/definitions/app.Response'
  17380. security:
  17381. - ApiKeyAuth: []
  17382. - ApiKeyAuth: []
  17383. summary: 获取带仓单分类的种类信息
  17384. tags:
  17385. - 仓单贸易
  17386. - 仓单贸易
  17387. securityDefinitions:
  17388. ApiKeyAuth:
  17389. in: header
  17390. name: Authorization
  17391. type: apiKey
  17392. swagger: "2.0"