swagger.yaml 469 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039
  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.QhjRSTriggerLog:
  8793. properties:
  8794. accountid:
  8795. description: 用户资金账户
  8796. type: integer
  8797. accountname:
  8798. description: 账号名称(ACCOUNTID对应的名称)
  8799. type: string
  8800. currencyid:
  8801. description: 币种id
  8802. type: integer
  8803. currencyname:
  8804. description: 币种名称
  8805. type: string
  8806. enumdicname:
  8807. description: 单位名称
  8808. type: string
  8809. goodscode:
  8810. description: 定投商品代码
  8811. type: string
  8812. goodsid:
  8813. description: 定投商品ID
  8814. type: string
  8815. goodsname:
  8816. description: 定投商品名称
  8817. type: string
  8818. goodunitid:
  8819. description: 定投商品单位id
  8820. type: integer
  8821. logid:
  8822. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  8823. type: string
  8824. regularlycycle:
  8825. description: 定投频率 - 1:每周 2:每月
  8826. type: integer
  8827. regularlycyclevalue:
  8828. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  8829. type: string
  8830. regularlymode:
  8831. description: 定投方式 - 1:按数量 2:按金额
  8832. type: integer
  8833. regularlymodevalue:
  8834. description: 定投方式值 - 数量或金额
  8835. type: number
  8836. regularlystrategyid:
  8837. description: 定投策略ID
  8838. type: integer
  8839. retcode:
  8840. description: 错误码
  8841. type: string
  8842. tradeid:
  8843. description: 成交单ID
  8844. type: string
  8845. triggeramount:
  8846. description: 触发金额
  8847. type: number
  8848. triggerqty:
  8849. description: 触发数量
  8850. type: number
  8851. triggerstatus:
  8852. description: 触发状态 - 1:成功 2:失败
  8853. type: integer
  8854. triggertime:
  8855. description: 触发时间
  8856. type: string
  8857. triggertradedate:
  8858. description: 触发交易日
  8859. type: string
  8860. userid:
  8861. description: 所属用户ID
  8862. type: integer
  8863. username:
  8864. description: 用户名称(userid对应的名称)
  8865. type: string
  8866. type: object
  8867. models.QhjRStrategy:
  8868. properties:
  8869. accountid:
  8870. description: 用户资金账户
  8871. type: integer
  8872. accountname:
  8873. description: 账号名称(ACCOUNTID对应的名称)
  8874. type: string
  8875. currencyid:
  8876. description: 币种id
  8877. type: integer
  8878. currencyname:
  8879. description: 币种名称
  8880. type: string
  8881. enumdicname:
  8882. description: 单位名称
  8883. type: string
  8884. goodscode:
  8885. description: 定投商品代码
  8886. type: string
  8887. goodsid:
  8888. description: 定投商品ID
  8889. type: string
  8890. goodsname:
  8891. description: 定投商品名称
  8892. type: string
  8893. goodunitid:
  8894. description: 定投商品单位id
  8895. type: integer
  8896. lasteffecttradedate:
  8897. description: 最新生效交易日
  8898. type: string
  8899. laststoptradedate:
  8900. description: 最新暂停交易日
  8901. type: string
  8902. lasttriggertradedate:
  8903. description: 最新触发交易日
  8904. type: string
  8905. nexttriggeramount:
  8906. description: 下次触发金额
  8907. type: number
  8908. nexttriggerdate:
  8909. description: 下次触发日期
  8910. type: string
  8911. nexttriggerqty:
  8912. description: 下次触发数量 [按小数位放大值]
  8913. type: number
  8914. regularlycycle:
  8915. description: 定投频率 - 1:每周 2:每月
  8916. type: integer
  8917. regularlycyclevalue:
  8918. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  8919. type: string
  8920. regularlymode:
  8921. description: 定投方式 - 1:按数量 2:按金额
  8922. type: integer
  8923. regularlymodevalue:
  8924. description: 定投方式值 - 数量或金额
  8925. type: number
  8926. regularlystrategyid:
  8927. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  8928. type: integer
  8929. regularlystrategystatus:
  8930. description: 策略状态 - 1:正常 2:暂停 3:终止
  8931. type: integer
  8932. remark:
  8933. description: 备注
  8934. type: string
  8935. triggersuccesstimes:
  8936. description: 累计定投成功次数
  8937. type: string
  8938. triggertotalamount:
  8939. description: 累计定投金额(成功)
  8940. type: number
  8941. triggertotalqty:
  8942. description: 累计定投数量(成功) [按小数位放大值]
  8943. type: number
  8944. triggertotaltimes:
  8945. description: 累计定投总次数
  8946. type: string
  8947. updatesrc:
  8948. description: 更新来源 - 1:管理端 2:终端
  8949. type: integer
  8950. updatetime:
  8951. description: 更新时间
  8952. type: string
  8953. updatorid:
  8954. description: 更新人
  8955. type: string
  8956. userid:
  8957. description: 所属用户ID
  8958. type: integer
  8959. username:
  8960. description: 用户名称(userid对应的名称)
  8961. type: string
  8962. type: object
  8963. models.QueryErrorInfosRsp:
  8964. properties:
  8965. description:
  8966. description: 异常描述
  8967. type: string
  8968. errorcode:
  8969. description: 异常代码
  8970. type: string
  8971. errorid:
  8972. description: 异常ID
  8973. type: integer
  8974. modulecode:
  8975. description: 所属模块
  8976. type: string
  8977. operatecode:
  8978. description: 所属操作
  8979. type: string
  8980. rownumber:
  8981. description: 行号
  8982. type: string
  8983. required:
  8984. - errorid
  8985. type: object
  8986. models.QueryHedgeOrderDetailRsp:
  8987. properties:
  8988. accountid:
  8989. description: 账户ID
  8990. type: integer
  8991. buyorsell:
  8992. description: 买卖 - 0:买 1:卖
  8993. type: integer
  8994. cancellogincode:
  8995. description: 撤单人
  8996. type: string
  8997. channelbuildtype:
  8998. description: 开平标志 - 0:无 1:建仓 2:平仓
  8999. type: integer
  9000. channelinnerorderstatus:
  9001. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  9002. 9:全部成交
  9003. type: integer
  9004. channeloperatetype:
  9005. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  9006. type: integer
  9007. closetype:
  9008. description: 平仓方式 - 0:无 1:平今 2:平昨
  9009. type: integer
  9010. curexchangerate:
  9011. description: 当前汇率
  9012. type: number
  9013. exchangefullname:
  9014. description: 外部交易所全称
  9015. type: string
  9016. goodscode:
  9017. description: 商品代码(内部)
  9018. type: string
  9019. goodsid:
  9020. description: 商品ID
  9021. type: integer
  9022. goodsname:
  9023. description: 商品名称
  9024. type: string
  9025. marketid:
  9026. description: 市场ID
  9027. type: integer
  9028. openfreezemargin:
  9029. description: 冻结保证金(冻结交易金额)
  9030. type: number
  9031. orderid:
  9032. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9033. type: string
  9034. orderlogincode:
  9035. description: 委托人
  9036. type: string
  9037. orderprice:
  9038. description: 委托价格(账户)
  9039. type: number
  9040. orderqty:
  9041. description: 委托数量
  9042. type: integer
  9043. ordertime:
  9044. description: 委托时间
  9045. type: string
  9046. pricemode:
  9047. description: '取价方式 - 1:市价 2: 限价'
  9048. type: integer
  9049. tradedate:
  9050. description: 交易日(yyyyMMdd)
  9051. type: string
  9052. tradeqty:
  9053. description: 成交数量
  9054. type: integer
  9055. type: object
  9056. models.QueryHedgeTradeDetailRsp:
  9057. properties:
  9058. accountid:
  9059. description: 账号ID
  9060. type: integer
  9061. buyorsell:
  9062. description: 方向 - 0:买 1:卖
  9063. type: integer
  9064. channelbuildtype:
  9065. description: 委托单据类型 0:无 1:建仓 2:平仓
  9066. type: integer
  9067. closecharge:
  9068. description: 平仓手续费(账户)
  9069. type: number
  9070. closecharge2:
  9071. description: 平仓手续费(商品)
  9072. type: number
  9073. closepl:
  9074. description: 平仓盈亏(账户)
  9075. type: number
  9076. closepl2:
  9077. description: 平仓盈亏(商品)
  9078. type: number
  9079. closepl3:
  9080. description: 平仓盈亏(账户)(逐笔)
  9081. type: number
  9082. closepl4:
  9083. description: 平仓盈亏(商品)(逐笔)
  9084. type: number
  9085. closetype:
  9086. description: 平仓方式 - 0:无 1:平今 2:平昨
  9087. type: integer
  9088. curexchangerate:
  9089. description: 当前汇率
  9090. type: number
  9091. exchangefullname:
  9092. description: 外部交易所全称
  9093. type: string
  9094. goodscode:
  9095. description: 商品代码(内部)
  9096. type: string
  9097. goodsid:
  9098. description: 商品ID
  9099. type: integer
  9100. goodsname:
  9101. description: 商品名称
  9102. type: string
  9103. marketid:
  9104. description: 市场ID
  9105. type: integer
  9106. opencharge:
  9107. description: 建仓手续费(账户)
  9108. type: number
  9109. opencharge2:
  9110. description: 建仓手续费(商品)
  9111. type: number
  9112. orderid:
  9113. description: 委托单号
  9114. type: string
  9115. orderlogincode:
  9116. description: 委托人
  9117. type: string
  9118. tradeamount:
  9119. description: 成交金额(账户)
  9120. type: number
  9121. tradedate:
  9122. description: 交易日(yyyyMMdd)
  9123. type: string
  9124. tradeid:
  9125. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9126. type: string
  9127. tradeprice:
  9128. description: 成交价格
  9129. type: number
  9130. tradeqty:
  9131. description: 成交数量
  9132. type: integer
  9133. tradetime:
  9134. description: 成交时间
  9135. type: string
  9136. tradetype:
  9137. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  9138. type: integer
  9139. type: object
  9140. models.QuotePrimaryMenu:
  9141. properties:
  9142. Index:
  9143. description: 序号
  9144. type: integer
  9145. Key:
  9146. description: 键名
  9147. type: string
  9148. Name:
  9149. description: 菜单名称
  9150. type: string
  9151. SubMenus:
  9152. description: 子菜单
  9153. items:
  9154. $ref: '#/definitions/models.QuoteSecondaryMenu'
  9155. type: array
  9156. SubTitleType:
  9157. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  9158. type: integer
  9159. TradeModes:
  9160. description: 包含市场交易类型
  9161. type: string
  9162. type: object
  9163. models.QuoteSecondaryMenu:
  9164. properties:
  9165. ExExchangeCode:
  9166. description: 外部交易所代码
  9167. type: string
  9168. ExExchangeID:
  9169. description: 外部交易所ID
  9170. type: integer
  9171. GoodsGroupIDs:
  9172. description: 商品组ID列表
  9173. items:
  9174. type: integer
  9175. type: array
  9176. Index:
  9177. description: 序号
  9178. type: integer
  9179. MarketID:
  9180. description: 市场ID
  9181. type: integer
  9182. MenuTitle:
  9183. description: 菜单标题(市场名称或外部交易所名称)
  9184. type: string
  9185. TradeMode:
  9186. description: 交易模式
  9187. type: integer
  9188. type: object
  9189. models.SearchGoods:
  9190. properties:
  9191. goodscode:
  9192. description: 商品代码(内部)
  9193. type: string
  9194. goodsid:
  9195. description: 商品ID(自增ID SEQ_GOODS)
  9196. type: integer
  9197. goodsname:
  9198. description: 商品名称
  9199. type: string
  9200. marketid:
  9201. description: 所属市场ID
  9202. type: integer
  9203. marketname:
  9204. description: 市场名称
  9205. type: string
  9206. trademode:
  9207. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9208. 21:竞拍-大宗式 22:受托竞价
  9209. type: integer
  9210. required:
  9211. - goodscode
  9212. - goodsid
  9213. - goodsname
  9214. - marketid
  9215. - trademode
  9216. type: object
  9217. models.Systemparam:
  9218. properties:
  9219. loginid:
  9220. description: 更新用户账号,登录账号
  9221. type: string
  9222. modifyflag:
  9223. description: 修改标志0 不允许修改 1 允许修改
  9224. type: integer
  9225. paramcode:
  9226. description: 参数代码
  9227. type: string
  9228. paramname:
  9229. description: 参数名
  9230. type: string
  9231. paramtype:
  9232. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  9233. type: integer
  9234. paramvalue:
  9235. description: 参数值
  9236. type: string
  9237. paramvalue2:
  9238. description: 参数值(CLOB)
  9239. type: string
  9240. regexpress:
  9241. description: 正则表达式
  9242. type: string
  9243. remark:
  9244. description: 备注
  9245. type: string
  9246. serverip:
  9247. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  9248. type: string
  9249. showflag:
  9250. description: 是否显示0 不显示 1 显示
  9251. type: integer
  9252. updatetime:
  9253. description: 更新时间
  9254. type: string
  9255. userid:
  9256. description: 更新用户ID
  9257. type: integer
  9258. required:
  9259. - paramcode
  9260. type: object
  9261. models.Szdz3convertconfig:
  9262. properties:
  9263. canin:
  9264. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  9265. type: integer
  9266. canout:
  9267. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  9268. type: integer
  9269. converttype:
  9270. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  9271. 6:交易转花生米(不设置)
  9272. type: integer
  9273. createtime:
  9274. description: 创建时间
  9275. type: string
  9276. creatorid:
  9277. description: 创建人
  9278. type: integer
  9279. daymaxvalue:
  9280. description: 当日最大转入限制
  9281. type: number
  9282. freezedays:
  9283. description: 冻结天数 [5:花生米转交易]
  9284. type: integer
  9285. innergoodsid:
  9286. description: 内部商品ID[交易]
  9287. type: integer
  9288. inratio:
  9289. description: 目标值
  9290. type: integer
  9291. modifierid:
  9292. description: 修改人
  9293. type: integer
  9294. modifytime:
  9295. description: 修改时间
  9296. type: string
  9297. outergoodscode:
  9298. description: 外部商品代码[JD\PD]
  9299. type: string
  9300. outratio:
  9301. description: 源值
  9302. type: integer
  9303. pddecimalplace:
  9304. description: PD小数位
  9305. type: integer
  9306. timemaxvalue:
  9307. description: 单次最大转入限制
  9308. type: number
  9309. timeminvalue:
  9310. description: 单次最小转入限制
  9311. type: number
  9312. required:
  9313. - converttype
  9314. - innergoodsid
  9315. - outergoodscode
  9316. type: object
  9317. models.Szdz3searchwhitelist:
  9318. properties:
  9319. createtime:
  9320. description: 创建时间
  9321. type: string
  9322. creatorid:
  9323. description: 创建人
  9324. type: integer
  9325. modifierid:
  9326. description: 修改人
  9327. type: integer
  9328. modifytime:
  9329. description: 修改时间
  9330. type: string
  9331. userid:
  9332. description: 用户ID
  9333. type: integer
  9334. required:
  9335. - userid
  9336. type: object
  9337. models.Taaccount:
  9338. properties:
  9339. accountflag:
  9340. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  9341. type: integer
  9342. accountid:
  9343. description: 资金账户ID
  9344. type: integer
  9345. accountname:
  9346. description: 账户名称
  9347. type: string
  9348. balance:
  9349. description: 期初余额
  9350. type: number
  9351. capitalbalance:
  9352. description: 本金余额[外部子账户实际出入金余额]
  9353. type: number
  9354. changeflag:
  9355. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  9356. type: integer
  9357. changetime:
  9358. description: 账户状态变更时间
  9359. type: string
  9360. closepl:
  9361. description: 今日平仓盈亏
  9362. type: number
  9363. creditdecrease:
  9364. description: 今日授信减少
  9365. type: number
  9366. creditincrease:
  9367. description: 今日授信增加
  9368. type: number
  9369. currencyid:
  9370. description: 货币ID
  9371. type: integer
  9372. currentbalance:
  9373. description: 期末余额
  9374. type: number
  9375. freezecharge:
  9376. description: 手续费冻结
  9377. type: number
  9378. freezemargin:
  9379. description: 冻结保证金
  9380. type: number
  9381. fromaccountid:
  9382. description: 所属上级账户
  9383. type: integer
  9384. inamount:
  9385. description: 今日入金金额(包括三方入金)
  9386. type: number
  9387. ismain:
  9388. description: 是否母账号 0:不是母账户 1:是母账户
  9389. type: integer
  9390. ismarketaccount:
  9391. description: 是否机构接单账号 0:不是 1:是
  9392. type: integer
  9393. isreckonaccount:
  9394. description: 是否机构分润账号 0:不是 1:是
  9395. type: integer
  9396. mortgagecredit:
  9397. description: 授信金额
  9398. type: number
  9399. orifreezecharge:
  9400. description: 期初手续费冻结
  9401. type: number
  9402. orifreezemargin:
  9403. description: 期初冻结保证金
  9404. type: number
  9405. orimortgagecredit:
  9406. description: 期初授信金额
  9407. type: number
  9408. oriothercredit:
  9409. description: 期初其它授信金额
  9410. type: number
  9411. oriotherfreezemargin:
  9412. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9413. type: number
  9414. orioutamountfreeze:
  9415. description: 期初出金冻结
  9416. type: number
  9417. oriusedmargin:
  9418. description: 期初占用保证金
  9419. type: number
  9420. othercredit:
  9421. description: 其它授信金额
  9422. type: number
  9423. othercreditdecrease:
  9424. description: 今日其它授信减少
  9425. type: number
  9426. othercreditincrease:
  9427. description: 今日其它授信增加
  9428. type: number
  9429. otherfreezemargin:
  9430. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9431. type: number
  9432. otherincome:
  9433. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  9434. type: number
  9435. otherpay:
  9436. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  9437. type: number
  9438. outamount:
  9439. description: 今日出金金额(包括三方出金)
  9440. type: number
  9441. outamountfreeze:
  9442. description: 出金冻结
  9443. type: number
  9444. outthreshold:
  9445. description: 出金阈值
  9446. type: number
  9447. parentaccountid:
  9448. description: 所属根账号
  9449. type: integer
  9450. paycharge:
  9451. description: 今日手续费支出
  9452. type: number
  9453. relatedaccountstatus:
  9454. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  9455. type: integer
  9456. relateduserid:
  9457. description: 关联用户
  9458. type: integer
  9459. serivcegroup:
  9460. description: 服务分组
  9461. type: integer
  9462. signstatus:
  9463. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9464. type: integer
  9465. sublevelpath:
  9466. description: 账号层级路径(逗号分隔,首尾加逗号)
  9467. type: string
  9468. taaccounttype:
  9469. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9470. type: integer
  9471. thirdinamount:
  9472. description: 今日三方入金
  9473. type: number
  9474. thirdoutamount:
  9475. description: 今日三方出金
  9476. type: number
  9477. tradestatus:
  9478. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9479. type: integer
  9480. tradestatuschangetime:
  9481. description: 激活时间
  9482. type: string
  9483. transferamount:
  9484. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9485. type: number
  9486. usedmargin:
  9487. description: 占用保证金
  9488. type: number
  9489. userid:
  9490. description: 用户ID
  9491. type: integer
  9492. required:
  9493. - accountid
  9494. - userid
  9495. type: object
  9496. models.Tablecolumnconfig:
  9497. properties:
  9498. aligntype:
  9499. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  9500. type: integer
  9501. autoid:
  9502. description: AutoID
  9503. type: integer
  9504. columnfield:
  9505. description: 列字段
  9506. type: string
  9507. columntitle:
  9508. description: 列Title
  9509. type: string
  9510. columnwidth:
  9511. description: 列宽
  9512. type: string
  9513. formatterstring:
  9514. description: 格式化字符
  9515. type: string
  9516. formattertype:
  9517. description: 格式化类型
  9518. type: string
  9519. groupname:
  9520. description: 表头分组名称
  9521. type: string
  9522. isshow:
  9523. description: 是否显示 - 0:不显示 1:显示
  9524. type: integer
  9525. needsummary:
  9526. description: 是否需要汇总 - 0:不需要 1:需要
  9527. type: integer
  9528. orderindex:
  9529. description: 顺序
  9530. type: integer
  9531. remark:
  9532. description: 备注
  9533. type: string
  9534. summarytype:
  9535. description: 汇总类型 - 1:加总 2:最后一个
  9536. type: integer
  9537. tablekey:
  9538. description: 列表Key
  9539. type: string
  9540. required:
  9541. - autoid
  9542. type: object
  9543. models.Useraccount:
  9544. properties:
  9545. accountname:
  9546. description: 账户名称(机构名称)
  9547. type: string
  9548. accountstatus:
  9549. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  9550. type: integer
  9551. auditremark:
  9552. description: 审核备注
  9553. type: string
  9554. audittime:
  9555. description: 审核时间
  9556. type: string
  9557. audituserid:
  9558. description: 审核人
  9559. type: integer
  9560. broker:
  9561. description: 所属经纪人ID
  9562. type: integer
  9563. canceltime:
  9564. description: 销户时间
  9565. type: string
  9566. canceluserid:
  9567. description: 销户人
  9568. type: integer
  9569. createtime:
  9570. description: 创建时间
  9571. type: string
  9572. creatorid:
  9573. description: 创建人
  9574. type: integer
  9575. hasauth:
  9576. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  9577. type: integer
  9578. isanonymous:
  9579. description: 是否匿名下单 - 0:否 1:是
  9580. type: integer
  9581. maxinvestornum:
  9582. description: 最大用户数(经纪会员下投资者个数)
  9583. type: integer
  9584. memberuserid:
  9585. description: 所属会员ID
  9586. type: integer
  9587. modifierid:
  9588. description: 修改人
  9589. type: integer
  9590. modifyremark:
  9591. description: 变更备注
  9592. type: string
  9593. modifystatus:
  9594. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  9595. type: integer
  9596. modifytime:
  9597. description: 修改时间
  9598. type: string
  9599. parentuserid:
  9600. description: 所属机构ID
  9601. type: integer
  9602. reckonaccountid:
  9603. description: 默认结算资金账号ID(机构分润使用) 作废
  9604. type: integer
  9605. refercount:
  9606. description: 推荐总人数
  9607. type: integer
  9608. refereeuserid:
  9609. description: 推荐人ID
  9610. type: integer
  9611. refernum:
  9612. description: 推荐码
  9613. type: string
  9614. subarealevelpath:
  9615. description: 子机构层级路径(逗号分隔,首尾加逗号)
  9616. type: string
  9617. userid:
  9618. description: 用户ID
  9619. type: integer
  9620. usertype:
  9621. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  9622. type: integer
  9623. required:
  9624. - userid
  9625. type: object
  9626. models.Userfavoritegoods:
  9627. properties:
  9628. goodsid:
  9629. description: 商品ID
  9630. type: integer
  9631. required:
  9632. - goodsid
  9633. type: object
  9634. models.Userinfo:
  9635. properties:
  9636. address:
  9637. description: 地址
  9638. type: string
  9639. attachment1:
  9640. description: 附件1
  9641. type: string
  9642. attachment2:
  9643. description: 附件2
  9644. type: string
  9645. bankaccount:
  9646. description: 银行帐号 (加密存储)
  9647. type: string
  9648. bankaccountname:
  9649. description: 收款人名称
  9650. type: string
  9651. bankcardfrontphotourl:
  9652. description: 银行卡正面照地址
  9653. type: string
  9654. bankid:
  9655. description: 银行编码
  9656. type: string
  9657. bankname:
  9658. description: 银行名称
  9659. type: string
  9660. biznature:
  9661. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  9662. type: integer
  9663. bizscope:
  9664. description: 企业经营范围(企业)
  9665. type: string
  9666. cardbackphotourl:
  9667. description: 证件背面图片地址
  9668. type: string
  9669. cardfrontphotourl:
  9670. description: 证件正面图片地址
  9671. type: string
  9672. cardnum:
  9673. description: 证件号码(加密存储)
  9674. type: string
  9675. cardtypeid:
  9676. description: 证件类型ID
  9677. type: integer
  9678. cityid:
  9679. description: 市
  9680. type: integer
  9681. company:
  9682. description: 公司(个人)
  9683. type: string
  9684. contactname:
  9685. description: 联系人
  9686. type: string
  9687. countryid:
  9688. description: 国家
  9689. type: integer
  9690. createtime:
  9691. description: 创建时间
  9692. type: string
  9693. creatorid:
  9694. description: 创建人
  9695. type: integer
  9696. customername:
  9697. description: 客户名称(企业名称)
  9698. type: string
  9699. districtid:
  9700. description: 地区
  9701. type: integer
  9702. email:
  9703. description: 邮件(加密存储)
  9704. type: string
  9705. fax:
  9706. description: 传真(加密存储)
  9707. type: string
  9708. halfbodyphotourl:
  9709. description: 半身照地址
  9710. type: string
  9711. hasencrypt:
  9712. description: 数据是否已加密 - 0:未加密 1:已加密
  9713. type: integer
  9714. headurl:
  9715. description: 头像地址
  9716. type: string
  9717. legalcardbackphotourl:
  9718. description: 法人身份证背面照地址
  9719. type: string
  9720. legalcardfrontphotourl:
  9721. description: 法人身份证正面照地址
  9722. type: string
  9723. legalpersonname:
  9724. description: 法人姓名(企业)
  9725. type: string
  9726. mobile:
  9727. description: 手机号码(加密存储)
  9728. type: string
  9729. mobile2:
  9730. description: 手机号码[明文-尚志]
  9731. type: string
  9732. modifierid:
  9733. description: 修改人
  9734. type: integer
  9735. modifiertime:
  9736. description: 修改时间
  9737. type: string
  9738. needinvoice:
  9739. description: 是否需要发票 - 0:不需要 1:需要
  9740. type: integer
  9741. nickname:
  9742. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  9743. type: string
  9744. openmode:
  9745. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  9746. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  9747. type: integer
  9748. otherurl:
  9749. description: 其它图片地址[使用分号分隔]
  9750. type: string
  9751. postalcode:
  9752. description: 邮政编码
  9753. type: string
  9754. provinceid:
  9755. description: 省
  9756. type: integer
  9757. qq:
  9758. description: QQ(加密存储
  9759. type: string
  9760. remark:
  9761. description: 备注
  9762. type: string
  9763. sex:
  9764. description: '用户性别 0: 女 1: 男'
  9765. type: integer
  9766. signpdfurl:
  9767. description: 签约pdf文件
  9768. type: string
  9769. telphone:
  9770. description: 联系电话(加密存储)
  9771. type: string
  9772. userid:
  9773. description: 用户ID
  9774. type: integer
  9775. userinfotype:
  9776. description: 用户信息类型 - 1:个人 2:企业
  9777. type: integer
  9778. userstatus:
  9779. description: 用户状态 - 1:正常 2:注销
  9780. type: integer
  9781. usertype:
  9782. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  9783. type: integer
  9784. wechat:
  9785. description: 微信(加密存储)
  9786. type: string
  9787. wskhinfo:
  9788. description: 开户申请信息(JSON)
  9789. type: string
  9790. required:
  9791. - userid
  9792. type: object
  9793. models.WRSConverTDetail:
  9794. properties:
  9795. convertratio:
  9796. description: 套保系数
  9797. type: number
  9798. deliverygoodscode:
  9799. description: 现货商品代码
  9800. type: string
  9801. deliverygoodsid:
  9802. description: 现货品种ID
  9803. type: integer
  9804. deliverygoodsname:
  9805. description: 现货商品名称
  9806. type: string
  9807. enumdicname:
  9808. description: 单位名称
  9809. type: string
  9810. goodsunitid:
  9811. description: 套保品种单位id
  9812. type: integer
  9813. middlegoodscode:
  9814. description: 套保品种代码
  9815. type: string
  9816. middlegoodsid:
  9817. description: 套保品种ID
  9818. type: integer
  9819. middlegoodsname:
  9820. description: 套保品种名称
  9821. type: string
  9822. modifytime:
  9823. description: 修改时间
  9824. type: string
  9825. wrstandardid:
  9826. description: 品类ID
  9827. type: integer
  9828. type: object
  9829. models.WRStandardInfo:
  9830. properties:
  9831. areauserid:
  9832. description: 所属机构
  9833. type: integer
  9834. convertfactor:
  9835. description: 标仓系数
  9836. type: number
  9837. createtime:
  9838. description: 创建时间
  9839. type: string
  9840. creatorid:
  9841. description: 创建人
  9842. type: integer
  9843. deliverygoodsid:
  9844. description: 品种ID
  9845. type: integer
  9846. deliverygoodsname:
  9847. description: 交割商品名称
  9848. type: string
  9849. factoryitemjson:
  9850. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  9851. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  9852. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  9853. 逗号分隔'
  9854. type: string
  9855. isvalid:
  9856. description: 是否有效 - 0:无效 1:有效
  9857. type: integer
  9858. minivalue:
  9859. description: 最小变动值
  9860. type: integer
  9861. minivaluedp:
  9862. description: 最小变动值小数位
  9863. type: integer
  9864. realminivalue:
  9865. description: 实际最小变动值
  9866. type: integer
  9867. realminivaluedp:
  9868. description: 实际最小变动值小数位
  9869. type: integer
  9870. remark:
  9871. description: 备注
  9872. type: string
  9873. unitid:
  9874. description: 单位ID
  9875. type: integer
  9876. unitname:
  9877. description: 单位
  9878. type: string
  9879. updatetime:
  9880. description: 更新时间
  9881. type: string
  9882. updatorid:
  9883. description: 更新人
  9884. type: integer
  9885. wrsstatus:
  9886. description: 状态 - 作废 - 0:未激活 1:正常
  9887. type: integer
  9888. wrstandardcode:
  9889. description: 现货品类代码
  9890. type: string
  9891. wrstandardid:
  9892. description: 现货品类ID(SEQ_WRSTANDARD)
  9893. type: integer
  9894. wrstandardname:
  9895. description: 现货品类名称
  9896. type: string
  9897. required:
  9898. - wrstandardid
  9899. type: object
  9900. models.Warehouseinfo:
  9901. properties:
  9902. address:
  9903. description: 详细地址
  9904. type: string
  9905. areauserid:
  9906. description: 所属机构
  9907. type: integer
  9908. autoid:
  9909. description: 自增ID
  9910. type: integer
  9911. cityid:
  9912. description: 市
  9913. type: integer
  9914. contactname:
  9915. description: 联系人
  9916. type: string
  9917. contactnum:
  9918. description: 联系电话
  9919. type: string
  9920. countryid:
  9921. description: 国家
  9922. type: integer
  9923. createtime:
  9924. description: 创建时间
  9925. type: string
  9926. districtid:
  9927. description: 区
  9928. type: integer
  9929. hasvideo:
  9930. description: 是否有视频 - 0:无 1:有
  9931. type: integer
  9932. provinceid:
  9933. description: 省
  9934. type: integer
  9935. remark:
  9936. description: 审核备注
  9937. type: string
  9938. videourl:
  9939. description: 视频地址
  9940. type: string
  9941. warehousecode:
  9942. description: 仓库代码
  9943. type: string
  9944. warehousename:
  9945. description: 仓库名称
  9946. type: string
  9947. warehousestatus:
  9948. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  9949. type: integer
  9950. warehousetype:
  9951. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  9952. type: integer
  9953. required:
  9954. - autoid
  9955. - warehousecode
  9956. type: object
  9957. order.QueryHisTradeDetailRsp:
  9958. properties:
  9959. accountid:
  9960. description: 账户ID[报价币种]
  9961. type: integer
  9962. buildtype:
  9963. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  9964. type: integer
  9965. buyorsell:
  9966. description: 方向 - 0:买 1:卖
  9967. type: integer
  9968. charge:
  9969. description: 手续费
  9970. type: number
  9971. closecharge:
  9972. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9973. type: number
  9974. closeexchagechargevalue:
  9975. description: 平仓交易所手续费设置值
  9976. type: number
  9977. closefeealgorithm:
  9978. description: 平仓手续费收取方式 1:比率 2:固定
  9979. type: integer
  9980. closememberchargevalue:
  9981. description: 平仓会员手续费设置值
  9982. type: number
  9983. closepl:
  9984. description: 平仓盈亏
  9985. type: number
  9986. closepl2:
  9987. description: 平仓盈亏[逐笔]
  9988. type: number
  9989. closeqty:
  9990. description: 平仓数量(先建后平操作 需要记录)
  9991. type: integer
  9992. creditamount:
  9993. description: 授信金额
  9994. type: number
  9995. gcaccountid:
  9996. description: 账户ID[合约币种]
  9997. type: integer
  9998. goodscode:
  9999. description: 商品代码
  10000. type: string
  10001. goodsid:
  10002. description: 商品ID
  10003. type: integer
  10004. goodsname:
  10005. description: 商品名称
  10006. type: string
  10007. histradedate:
  10008. description: 历史交易日
  10009. type: string
  10010. intclosepl:
  10011. description: 整型盈亏(用于交易结算试算平衡-收益权)
  10012. type: integer
  10013. isconfirmexercise:
  10014. description: 是否确认行权- 0:否 1:是
  10015. type: integer
  10016. ismain:
  10017. description: 是否主单 - 0:不是 1:是
  10018. type: integer
  10019. ispreexercise:
  10020. description: 是否预申报- 0:否 1:是
  10021. type: integer
  10022. isreckoned:
  10023. description: 是否结算 - 0:未结算 1:已结算
  10024. type: integer
  10025. isvaliddata:
  10026. description: 是否有效 - 0:无效 1:有效
  10027. type: integer
  10028. listingselecttype:
  10029. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10030. type: integer
  10031. marketid:
  10032. description: 市场ID
  10033. type: integer
  10034. marketname:
  10035. description: 市场名称
  10036. type: string
  10037. matchaccountid:
  10038. description: 对手账号id
  10039. type: integer
  10040. memberuserid:
  10041. description: 会员id 个人投资者 需要填写
  10042. type: integer
  10043. opencharge:
  10044. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10045. type: number
  10046. openexchagechargevalue:
  10047. description: 建仓交易所手续费设置值
  10048. type: number
  10049. openfeealgorithm:
  10050. description: 建仓手续费收取方式 1:比率 2:固定
  10051. type: integer
  10052. openmemberchargevalue:
  10053. description: 建仓会员手续费设置值
  10054. type: number
  10055. openqty:
  10056. description: 开仓数量(先建后平操作 需要记录)
  10057. type: integer
  10058. optiontype:
  10059. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10060. type: integer
  10061. orderid:
  10062. description: 委托单号
  10063. type: string
  10064. performanceplanid:
  10065. description: 履约计划ID[期权]
  10066. type: integer
  10067. performancestatus:
  10068. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  10069. type: integer
  10070. preexerciseprice:
  10071. description: 预申报价格
  10072. type: number
  10073. premium:
  10074. description: 权利金 - [持仓单的权利金]
  10075. type: number
  10076. relatedouttradeid:
  10077. description: 关联外部成交单ID
  10078. type: integer
  10079. status:
  10080. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  10081. type: integer
  10082. tradeamount:
  10083. description: 成交金额[账户币种,用于所有权]
  10084. type: number
  10085. tradedate:
  10086. description: 交易日(yyyyMMdd)
  10087. type: string
  10088. tradeid:
  10089. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10090. type: string
  10091. trademode:
  10092. description: 交易模式
  10093. type: integer
  10094. tradeprice:
  10095. description: 成交价格
  10096. type: number
  10097. tradeproperty:
  10098. description: 交易属性
  10099. type: integer
  10100. tradeqty:
  10101. description: 成交数量
  10102. type: integer
  10103. tradetime:
  10104. description: 成交时间
  10105. type: string
  10106. tradetype:
  10107. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  10108. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  10109. type: integer
  10110. required:
  10111. - accountid
  10112. - buyorsell
  10113. - goodsid
  10114. - histradedate
  10115. - marketid
  10116. - memberuserid
  10117. - orderid
  10118. - tradeamount
  10119. - tradedate
  10120. - tradeid
  10121. - tradeprice
  10122. - tradeqty
  10123. - tradetime
  10124. type: object
  10125. order.QueryHisTradeOrderDetailRsp:
  10126. properties:
  10127. accountid:
  10128. description: 账户ID[报价币种]
  10129. type: integer
  10130. buildtype:
  10131. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  10132. type: integer
  10133. buyorsell:
  10134. description: 买卖 - 0:买 1:卖
  10135. type: integer
  10136. cancelorderid:
  10137. description: 撤单单号(撤单时填写)
  10138. type: string
  10139. cancelqty:
  10140. description: 撤单数量
  10141. type: integer
  10142. clientordertime:
  10143. description: 客户端委托时间
  10144. type: string
  10145. clientticket:
  10146. description: 客户端流水号
  10147. type: string
  10148. clienttype:
  10149. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  10150. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10151. type: integer
  10152. closeexchagechargevalue:
  10153. description: 平仓交易所手续费设置值
  10154. type: number
  10155. closefeealgorithm:
  10156. description: 平仓手续费收取方式 1:比率 2:固定
  10157. type: integer
  10158. closefreezecharge:
  10159. description: 平仓冻结手续费(先建后平操作,需要记录)
  10160. type: number
  10161. closememberchargevalue:
  10162. description: 平仓会员手续费设置值
  10163. type: number
  10164. closeqty:
  10165. description: 平仓数量(先建后平操作 需要记录)
  10166. type: integer
  10167. closetradeqty:
  10168. description: 平仓成交数量(先建后平操作,需要记录)
  10169. type: integer
  10170. closeunfreezecharge:
  10171. description: 平仓解冻手续费(先建后平操作,需要记录)
  10172. type: number
  10173. delistingtype:
  10174. description: 摘牌类型 - 1:价格最优 2:点选成交
  10175. type: integer
  10176. freezecharge:
  10177. description: 冻结手续费
  10178. type: number
  10179. freezemargin:
  10180. description: 冻结保证金(冻结交易金额)
  10181. type: number
  10182. gcaccountid:
  10183. description: 账户ID[合约币种]
  10184. type: integer
  10185. goodscode:
  10186. description: 商品代码
  10187. type: string
  10188. goodsid:
  10189. description: 商品ID
  10190. type: integer
  10191. goodsname:
  10192. description: 商品名称
  10193. type: string
  10194. histradedate:
  10195. description: 历史交易日
  10196. type: string
  10197. isconfirmexercise:
  10198. description: 是否确认行权- 0:否 1:是
  10199. type: integer
  10200. ispreexercise:
  10201. description: 是否预申报- 0:否 1:是
  10202. type: integer
  10203. isvaliddata:
  10204. description: 是否有效 - 0:无效 1:有效
  10205. type: integer
  10206. listingselecttype:
  10207. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10208. type: integer
  10209. marginalgorithm:
  10210. description: 保证金收取方式 1:比率 2:固定
  10211. type: integer
  10212. marginvalue:
  10213. description: 即市保证金设置值
  10214. type: number
  10215. marketid:
  10216. description: 市场ID
  10217. type: integer
  10218. marketmaxsub:
  10219. description: 市价最大偏移范围
  10220. type: number
  10221. marketname:
  10222. description: 市场名称
  10223. type: string
  10224. memberuserid:
  10225. description: 所属会员UserID
  10226. type: integer
  10227. openexchagechargevalue:
  10228. description: 建仓交易所手续费设置值
  10229. type: number
  10230. openfeealgorithm:
  10231. description: 建仓手续费收取方式 1:比率 2:固定
  10232. type: integer
  10233. openfreezecharge:
  10234. description: 开仓冻结手续费(先建后平操作,需要记录)
  10235. type: number
  10236. openmemberchargevalue:
  10237. description: 建仓会员手续费设置值
  10238. type: number
  10239. openqty:
  10240. description: 开仓数量(先建后平操作,需要记录)
  10241. type: integer
  10242. opentradeqty:
  10243. description: 开仓成交数量(先建后平操作,需要记录)
  10244. type: integer
  10245. openunfreezecharge:
  10246. description: 开仓解冻手续费(先建后平操作,需要记录)
  10247. type: number
  10248. operatetype:
  10249. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  10250. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  10251. 15:管理端协议转让
  10252. type: integer
  10253. operatorid:
  10254. description: 登录账号(LoginID)
  10255. type: integer
  10256. optiontype:
  10257. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10258. type: integer
  10259. orderid:
  10260. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10261. type: string
  10262. orderprice:
  10263. description: 委托价格
  10264. type: number
  10265. orderqty:
  10266. description: 委托数量
  10267. type: integer
  10268. ordersrc:
  10269. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  10270. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  10271. type: integer
  10272. orderstatus:
  10273. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10274. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10275. 16:成交失败违约(荷兰式竞拍专用)
  10276. type: integer
  10277. ordertime:
  10278. description: 委托时间
  10279. type: string
  10280. preexerciseprice:
  10281. description: 预申报价格
  10282. type: number
  10283. premium:
  10284. description: 权利金
  10285. type: number
  10286. preorderid:
  10287. description: 关联预埋单号(止盈止损单时填写)
  10288. type: string
  10289. pricemode:
  10290. description: '取价方式 - 1:市价 2: 限价'
  10291. type: integer
  10292. quoteid:
  10293. description: 报价单ID
  10294. type: integer
  10295. relatedid:
  10296. description: 关联单号(交割单)
  10297. type: string
  10298. retcode:
  10299. description: 错误代码
  10300. type: integer
  10301. sessionid:
  10302. description: 会话ID
  10303. type: integer
  10304. tradedate:
  10305. description: 交易日(yyyyMMdd)
  10306. type: string
  10307. trademode:
  10308. description: 交易模式
  10309. type: integer
  10310. tradeproperty:
  10311. description: 交易属性
  10312. type: integer
  10313. tradeqty:
  10314. description: 成交数量
  10315. type: integer
  10316. unfreezecharge:
  10317. description: 解冻手续费
  10318. type: number
  10319. unfreezemargin:
  10320. description: 解冻保证金
  10321. type: number
  10322. updatetime:
  10323. description: 更新时间
  10324. type: string
  10325. uuid:
  10326. description: 发起端唯一id
  10327. type: string
  10328. validtime:
  10329. description: 有效期限
  10330. type: string
  10331. validtype:
  10332. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  10333. type: integer
  10334. volumetype:
  10335. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  10336. type: integer
  10337. required:
  10338. - accountid
  10339. - buildtype
  10340. - buyorsell
  10341. - goodsid
  10342. - histradedate
  10343. - marketid
  10344. - memberuserid
  10345. - operatetype
  10346. - orderid
  10347. - orderqty
  10348. - ordertime
  10349. - pricemode
  10350. - tradedate
  10351. - validtype
  10352. type: object
  10353. order.QueryTradeDetailRsp:
  10354. properties:
  10355. accountid:
  10356. description: 账户ID[报价币种]
  10357. type: integer
  10358. buildtype:
  10359. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  10360. type: integer
  10361. buyorsell:
  10362. description: 方向 - 0:买 1:卖
  10363. type: integer
  10364. charge:
  10365. description: 手续费
  10366. type: number
  10367. closecharge:
  10368. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10369. type: number
  10370. closeexchagechargevalue:
  10371. description: 平仓交易所手续费设置值
  10372. type: number
  10373. closefeealgorithm:
  10374. description: 平仓手续费收取方式 1:比率 2:固定
  10375. type: integer
  10376. closememberchargevalue:
  10377. description: 平仓会员手续费设置值
  10378. type: number
  10379. closepl:
  10380. description: 平仓盈亏
  10381. type: number
  10382. closepl2:
  10383. description: 平仓盈亏[逐笔]
  10384. type: number
  10385. closeqty:
  10386. description: 平仓数量(先建后平操作 需要记录)
  10387. type: integer
  10388. creditamount:
  10389. description: 授信金额
  10390. type: number
  10391. gcaccountid:
  10392. description: 账户ID[合约币种]
  10393. type: integer
  10394. goodscode:
  10395. description: 商品代码
  10396. type: string
  10397. goodsid:
  10398. description: 商品ID
  10399. type: integer
  10400. goodsname:
  10401. description: 商品名称
  10402. type: string
  10403. intclosepl:
  10404. description: 整型盈亏(用于交易结算试算平衡-收益权)
  10405. type: integer
  10406. isconfirmexercise:
  10407. description: 是否确认行权- 0:否 1:是
  10408. type: integer
  10409. ismain:
  10410. description: 是否主单 - 0:不是 1:是
  10411. type: integer
  10412. ispreexercise:
  10413. description: 是否预申报- 0:否 1:是
  10414. type: integer
  10415. isreckoned:
  10416. description: 是否结算 - 0:未结算 1:已结算
  10417. type: integer
  10418. listingselecttype:
  10419. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10420. type: integer
  10421. marketid:
  10422. description: 市场ID
  10423. type: integer
  10424. marketname:
  10425. description: 市场名称
  10426. type: string
  10427. matchaccountid:
  10428. description: 对手账号id
  10429. type: integer
  10430. memberuserid:
  10431. description: 会员id 个人投资者 需要填写
  10432. type: integer
  10433. opencharge:
  10434. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10435. type: number
  10436. openexchagechargevalue:
  10437. description: 建仓交易所手续费设置值
  10438. type: number
  10439. openfeealgorithm:
  10440. description: 建仓手续费收取方式 1:比率 2:固定
  10441. type: integer
  10442. openmemberchargevalue:
  10443. description: 建仓会员手续费设置值
  10444. type: number
  10445. openqty:
  10446. description: 开仓数量(先建后平操作 需要记录)
  10447. type: integer
  10448. optiontype:
  10449. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10450. type: integer
  10451. orderid:
  10452. description: 委托单号
  10453. type: string
  10454. performanceplanid:
  10455. description: 履约计划ID[期权]
  10456. type: integer
  10457. performancestatus:
  10458. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  10459. type: integer
  10460. preexerciseprice:
  10461. description: 预申报价格
  10462. type: number
  10463. premium:
  10464. description: 权利金 - [持仓单的权利金]
  10465. type: number
  10466. relatedouttradeid:
  10467. description: 关联外部成交单ID
  10468. type: integer
  10469. status:
  10470. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  10471. type: integer
  10472. tradeamount:
  10473. description: 成交金额[账户币种,用于所有权]
  10474. type: number
  10475. tradedate:
  10476. description: 交易日(yyyyMMdd)
  10477. type: string
  10478. tradeid:
  10479. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10480. type: string
  10481. trademode:
  10482. description: 交易模式
  10483. type: integer
  10484. tradeprice:
  10485. description: 成交价格
  10486. type: number
  10487. tradeproperty:
  10488. description: 交易属性
  10489. type: integer
  10490. tradeqty:
  10491. description: 成交数量
  10492. type: integer
  10493. tradetime:
  10494. description: 成交时间
  10495. type: string
  10496. tradetype:
  10497. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  10498. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  10499. type: integer
  10500. required:
  10501. - accountid
  10502. - buyorsell
  10503. - goodsid
  10504. - marketid
  10505. - memberuserid
  10506. - orderid
  10507. - tradeamount
  10508. - tradedate
  10509. - tradeid
  10510. - tradeprice
  10511. - tradeqty
  10512. - tradetime
  10513. type: object
  10514. order.QueryTradeOrderDetailRsp:
  10515. properties:
  10516. accountid:
  10517. description: 账户ID[报价币种]
  10518. type: integer
  10519. buildtype:
  10520. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  10521. type: integer
  10522. buyorsell:
  10523. description: 买卖 - 0:买 1:卖
  10524. type: integer
  10525. cancelorderid:
  10526. description: 撤单单号(撤单时填写)
  10527. type: string
  10528. cancelqty:
  10529. description: 撤单数量
  10530. type: integer
  10531. clienttype:
  10532. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  10533. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10534. type: integer
  10535. closefreezecharge:
  10536. description: 平仓冻结手续费(先建后平操作,需要记录)
  10537. type: number
  10538. closeqty:
  10539. description: 平仓数量(先建后平操作 需要记录)
  10540. type: integer
  10541. closetradeqty:
  10542. description: 平仓成交数量(先建后平操作,需要记录)
  10543. type: integer
  10544. closeunfreezecharge:
  10545. description: 平仓解冻手续费(先建后平操作,需要记录)
  10546. type: number
  10547. delistingtype:
  10548. description: 摘牌类型 - 1:价格最优 2:点选成交
  10549. type: integer
  10550. enableqty:
  10551. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  10552. type: integer
  10553. freezecharge:
  10554. description: 冻结手续费
  10555. type: number
  10556. freezemargin:
  10557. description: 冻结保证金(冻结交易金额)
  10558. type: number
  10559. goodscode:
  10560. description: 商品代码
  10561. type: string
  10562. goodsid:
  10563. description: 商品ID
  10564. type: integer
  10565. goodsname:
  10566. description: 商品名称
  10567. type: string
  10568. listingselecttype:
  10569. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10570. type: integer
  10571. marketid:
  10572. description: 市场ID
  10573. type: integer
  10574. marketname:
  10575. description: 市场名称
  10576. type: string
  10577. openfreezecharge:
  10578. description: 开仓冻结手续费(先建后平操作,需要记录)
  10579. type: number
  10580. openqty:
  10581. description: 开仓数量(先建后平操作,需要记录)
  10582. type: integer
  10583. opentradeqty:
  10584. description: 开仓成交数量(先建后平操作,需要记录)
  10585. type: integer
  10586. openunfreezecharge:
  10587. description: 开仓解冻手续费(先建后平操作,需要记录)
  10588. type: number
  10589. operatetype:
  10590. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  10591. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  10592. 15:管理端协议转让
  10593. type: integer
  10594. operatorid:
  10595. description: 登录账号(LoginID)
  10596. type: integer
  10597. orderid:
  10598. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10599. type: string
  10600. orderprice:
  10601. description: 委托价格
  10602. type: number
  10603. orderqty:
  10604. description: 委托数量
  10605. type: integer
  10606. ordersrc:
  10607. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  10608. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  10609. type: integer
  10610. orderstatus:
  10611. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10612. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10613. 16:成交失败违约(荷兰式竞拍专用)
  10614. type: integer
  10615. ordertime:
  10616. description: 委托时间
  10617. type: string
  10618. preorderid:
  10619. description: 关联预埋单号(止盈止损单时填写)
  10620. type: string
  10621. pricemode:
  10622. description: '取价方式 - 1:市价 2: 限价'
  10623. type: integer
  10624. relatedid:
  10625. description: 关联单号(交割单)
  10626. type: string
  10627. tradedate:
  10628. description: 交易日(yyyyMMdd)
  10629. type: string
  10630. trademode:
  10631. description: 交易模式
  10632. type: integer
  10633. tradeqty:
  10634. description: 成交数量
  10635. type: integer
  10636. unfreezecharge:
  10637. description: 解冻手续费
  10638. type: number
  10639. unfreezemargin:
  10640. description: 解冻保证金
  10641. type: number
  10642. validtime:
  10643. description: 有效期限
  10644. type: string
  10645. validtype:
  10646. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  10647. type: integer
  10648. volumetype:
  10649. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  10650. type: integer
  10651. required:
  10652. - accountid
  10653. - buildtype
  10654. - buyorsell
  10655. - goodsid
  10656. - marketid
  10657. - operatetype
  10658. - orderqty
  10659. - ordertime
  10660. - pricemode
  10661. - tradedate
  10662. - validtype
  10663. type: object
  10664. order.QueryTradePositionRsp:
  10665. properties:
  10666. accountid:
  10667. description: 资金账户
  10668. type: integer
  10669. agreeunit:
  10670. description: 合约单位
  10671. type: number
  10672. averageprice:
  10673. description: 持仓均价
  10674. type: number
  10675. buyorsell:
  10676. description: 方向 - 0:买 1:卖
  10677. type: integer
  10678. closetotalqty:
  10679. description: 平仓总数量
  10680. type: integer
  10681. curholderamount:
  10682. description: 当前持仓总金额[商品币种]
  10683. type: number
  10684. curpositionqty:
  10685. description: 当前持仓总数量
  10686. type: integer
  10687. currencyid:
  10688. description: 报价货币ID
  10689. type: integer
  10690. curtdposition:
  10691. description: 期末今日头寸
  10692. type: integer
  10693. decimalplace:
  10694. description: 报价小数位
  10695. type: integer
  10696. enableqty:
  10697. description: 可用量
  10698. type: integer
  10699. fretdposition:
  10700. description: 冻结今日头寸
  10701. type: integer
  10702. frozenqty:
  10703. description: 持仓冻结数量
  10704. type: integer
  10705. goodscode:
  10706. description: 商品代码
  10707. type: string
  10708. goodsid:
  10709. description: 商品Id
  10710. type: integer
  10711. goodsname:
  10712. description: 商品名称
  10713. type: string
  10714. goodunit:
  10715. description: 报价单位
  10716. type: string
  10717. goodunitid:
  10718. description: 报价单位ID
  10719. type: integer
  10720. holderamount:
  10721. description: 期初持仓总金额[商品币种]
  10722. type: number
  10723. marketid:
  10724. description: 所属市场ID
  10725. type: integer
  10726. openreqqty:
  10727. description: 开仓申请数量(用于比较最大持仓数量)
  10728. type: integer
  10729. opentotalqty:
  10730. description: 开仓总数量
  10731. type: integer
  10732. otherfrozenqty:
  10733. description: 持仓其他冻结数量(交割冻结)
  10734. type: integer
  10735. positionqty:
  10736. description: 期初持仓数量
  10737. type: integer
  10738. tnqty:
  10739. description: T+N冻结总量
  10740. type: integer
  10741. tnusedqty:
  10742. description: T+N使用量(可以使用T+N的冻结数量)
  10743. type: integer
  10744. trademode:
  10745. description: 交易模式
  10746. type: integer
  10747. usedmargin:
  10748. description: 占用保证金[商品币种]
  10749. type: number
  10750. required:
  10751. - goodsid
  10752. type: object
  10753. quote.HistoryData:
  10754. properties:
  10755. c:
  10756. description: 收盘价
  10757. type: number
  10758. f:
  10759. description: 是否补充数据
  10760. type: boolean
  10761. h:
  10762. description: 最高价
  10763. type: number
  10764. hv:
  10765. description: 持仓量
  10766. type: integer
  10767. l:
  10768. description: 最低价
  10769. type: number
  10770. o:
  10771. description: 开盘价
  10772. type: number
  10773. s:
  10774. description: 结算价,日线周期(包括)以上才有
  10775. type: number
  10776. ts:
  10777. description: 时间
  10778. type: string
  10779. tt:
  10780. description: 总金额
  10781. type: number
  10782. tv:
  10783. description: 总量
  10784. type: integer
  10785. type: object
  10786. quote.HistoryTikData:
  10787. properties:
  10788. AV:
  10789. description: 卖量
  10790. type: integer
  10791. Ask:
  10792. description: 卖价
  10793. type: number
  10794. BV:
  10795. description: 买量
  10796. type: integer
  10797. Bid:
  10798. description: 买价
  10799. type: number
  10800. HI:
  10801. description: 单笔持仓
  10802. type: integer
  10803. HV:
  10804. description: 持仓量
  10805. type: integer
  10806. PE:
  10807. description: 现价
  10808. type: number
  10809. TDR:
  10810. description: 交易方向,0:买 1:卖
  10811. type: integer
  10812. TK:
  10813. description: 交易类型
  10814. type: integer
  10815. TS:
  10816. description: 行情时间文本
  10817. type: string
  10818. TT:
  10819. description: 现金额
  10820. type: number
  10821. Vol:
  10822. description: 现量
  10823. type: integer
  10824. type: object
  10825. quote.QueryQuoteDayRsp:
  10826. properties:
  10827. ask:
  10828. description: 卖1
  10829. type: number
  10830. ask2:
  10831. description: 卖2
  10832. type: number
  10833. ask3:
  10834. description: 卖3
  10835. type: number
  10836. ask4:
  10837. description: 卖4
  10838. type: number
  10839. ask5:
  10840. description: 卖5
  10841. type: number
  10842. ask6:
  10843. description: 卖6
  10844. type: number
  10845. ask7:
  10846. description: 卖7
  10847. type: number
  10848. ask8:
  10849. description: 卖8
  10850. type: number
  10851. ask9:
  10852. description: 卖9
  10853. type: number
  10854. ask10:
  10855. description: 卖10
  10856. type: number
  10857. askorderid:
  10858. description: 卖单号1
  10859. type: integer
  10860. askorderid2:
  10861. description: 卖单号2
  10862. type: integer
  10863. askorderid3:
  10864. description: 卖单号3
  10865. type: integer
  10866. askorderid4:
  10867. description: 卖单号4
  10868. type: integer
  10869. askorderid5:
  10870. description: 卖单号5
  10871. type: integer
  10872. askordervolume:
  10873. description: 卖单量1
  10874. type: integer
  10875. askordervolume2:
  10876. description: 卖单量2
  10877. type: integer
  10878. askordervolume3:
  10879. description: 卖单量3
  10880. type: integer
  10881. askordervolume4:
  10882. description: 卖单量4
  10883. type: integer
  10884. askordervolume5:
  10885. description: 卖单量5
  10886. type: integer
  10887. askordervolume6:
  10888. description: 卖单量6
  10889. type: integer
  10890. askordervolume7:
  10891. description: 卖单量7
  10892. type: integer
  10893. askordervolume8:
  10894. description: 卖单量8
  10895. type: integer
  10896. askordervolume9:
  10897. description: 卖单量9
  10898. type: integer
  10899. askordervolume10:
  10900. description: 卖单量10
  10901. type: integer
  10902. askqueueinfo:
  10903. description: 大利市卖港股用
  10904. type: string
  10905. askvolume:
  10906. description: 卖量1
  10907. type: integer
  10908. askvolume2:
  10909. description: 卖量2
  10910. type: integer
  10911. askvolume3:
  10912. description: 卖量3
  10913. type: integer
  10914. askvolume4:
  10915. description: 卖量4
  10916. type: integer
  10917. askvolume5:
  10918. description: 卖量5
  10919. type: integer
  10920. askvolume6:
  10921. description: 卖量6
  10922. type: integer
  10923. askvolume7:
  10924. description: 卖量7
  10925. type: integer
  10926. askvolume8:
  10927. description: 卖量8
  10928. type: integer
  10929. askvolume9:
  10930. description: 卖量9
  10931. type: integer
  10932. askvolume10:
  10933. description: 卖量10
  10934. type: integer
  10935. averageprice:
  10936. description: 均价
  10937. type: number
  10938. bid:
  10939. description: 买1
  10940. type: number
  10941. bid2:
  10942. description: 买2
  10943. type: number
  10944. bid3:
  10945. description: 买3
  10946. type: number
  10947. bid4:
  10948. description: 买4
  10949. type: number
  10950. bid5:
  10951. description: 买5
  10952. type: number
  10953. bid6:
  10954. description: 买6
  10955. type: number
  10956. bid7:
  10957. description: 买7
  10958. type: number
  10959. bid8:
  10960. description: 买8
  10961. type: number
  10962. bid9:
  10963. description: 买9
  10964. type: number
  10965. bid10:
  10966. description: 买10
  10967. type: number
  10968. bidorderid:
  10969. description: 买单号1
  10970. type: integer
  10971. bidorderid2:
  10972. description: 买单号2
  10973. type: integer
  10974. bidorderid3:
  10975. description: 买单号3
  10976. type: integer
  10977. bidorderid4:
  10978. description: 买单号4
  10979. type: integer
  10980. bidorderid5:
  10981. description: 买单号5
  10982. type: integer
  10983. bidordervolume:
  10984. description: 买单量1
  10985. type: integer
  10986. bidordervolume2:
  10987. description: 买单量2
  10988. type: integer
  10989. bidordervolume3:
  10990. description: 买单量3
  10991. type: integer
  10992. bidordervolume4:
  10993. description: 买单量4
  10994. type: integer
  10995. bidordervolume5:
  10996. description: 买单量5
  10997. type: integer
  10998. bidordervolume6:
  10999. description: 买单量6
  11000. type: integer
  11001. bidordervolume7:
  11002. description: 买单量7
  11003. type: integer
  11004. bidordervolume8:
  11005. description: 买单量8
  11006. type: integer
  11007. bidordervolume9:
  11008. description: 买单量9
  11009. type: integer
  11010. bidordervolume10:
  11011. description: 买单量10
  11012. type: integer
  11013. bidqueueinfo:
  11014. description: 大利市买港股用
  11015. type: string
  11016. bidvolume:
  11017. description: 买量1
  11018. type: integer
  11019. bidvolume2:
  11020. description: 买量2
  11021. type: integer
  11022. bidvolume3:
  11023. description: 买量3
  11024. type: integer
  11025. bidvolume4:
  11026. description: 买量4
  11027. type: integer
  11028. bidvolume5:
  11029. description: 买量5
  11030. type: integer
  11031. bidvolume6:
  11032. description: 买量6
  11033. type: integer
  11034. bidvolume7:
  11035. description: 买量7
  11036. type: integer
  11037. bidvolume8:
  11038. description: 买量8
  11039. type: integer
  11040. bidvolume9:
  11041. description: 买量9
  11042. type: integer
  11043. bidvolume10:
  11044. description: 买量10
  11045. type: integer
  11046. calloptionpremiums:
  11047. description: 认购期权1
  11048. type: integer
  11049. calloptionpremiums2:
  11050. description: 认购期权2
  11051. type: integer
  11052. calloptionpremiums3:
  11053. description: 认购期权3
  11054. type: integer
  11055. calloptionpremiums4:
  11056. description: 认购期权4
  11057. type: integer
  11058. calloptionpremiums5:
  11059. description: 认购期权5
  11060. type: integer
  11061. cleartime:
  11062. description: 清盘时间
  11063. type: integer
  11064. exchangecode:
  11065. description: 交易所代码
  11066. type: integer
  11067. exchangedate:
  11068. description: 交易日
  11069. type: integer
  11070. goodscode:
  11071. description: 商品代码
  11072. type: string
  11073. grepmarketprice:
  11074. description: 暗盘价 港股专用
  11075. type: number
  11076. highest:
  11077. description: 最高价
  11078. type: number
  11079. holdincrement:
  11080. description: 单笔持仓
  11081. type: integer
  11082. holdvolume:
  11083. description: 持仓
  11084. type: integer
  11085. iep:
  11086. description: 平衡价 港股专用
  11087. type: number
  11088. iev:
  11089. description: 平衡量 港股专用
  11090. type: number
  11091. inventory:
  11092. description: 库存
  11093. type: integer
  11094. iscleared:
  11095. description: 是否清盘标志
  11096. type: integer
  11097. issettled:
  11098. description: 是否结算标志
  11099. type: integer
  11100. last:
  11101. description: 最新价
  11102. type: number
  11103. lastlot:
  11104. description: 最新成交手数
  11105. type: integer
  11106. lasttime:
  11107. description: 行情时间(只有现价变化行情时间才变化)
  11108. type: string
  11109. lastturnover:
  11110. description: 最新成交金额
  11111. type: number
  11112. lastvolume:
  11113. description: 最新成交量
  11114. type: integer
  11115. limitdown:
  11116. description: 跌停价
  11117. type: number
  11118. limitup:
  11119. description: 涨停价
  11120. type: number
  11121. lowest:
  11122. description: 最低价
  11123. type: number
  11124. nontotalholdervolume:
  11125. description: 非交易持仓量
  11126. type: integer
  11127. nontotallot:
  11128. description: 非交易总手数
  11129. type: integer
  11130. nontotalturnover:
  11131. description: 非交易总金额
  11132. type: integer
  11133. nontotalvolume:
  11134. description: 非交易总量
  11135. type: integer
  11136. opened:
  11137. description: 开盘价
  11138. type: number
  11139. opentime:
  11140. description: 开盘时间
  11141. type: string
  11142. orderid:
  11143. description: 序号
  11144. type: integer
  11145. preclose:
  11146. description: 昨收
  11147. type: number
  11148. preholdvolume:
  11149. description: 昨持仓
  11150. type: integer
  11151. presettle:
  11152. description: 昨结价
  11153. type: number
  11154. publictradetype:
  11155. description: 公共交易标志类型 港股专用
  11156. type: string
  11157. putoptionpremiums:
  11158. description: 认沽期权1
  11159. type: integer
  11160. putoptionpremiums2:
  11161. description: 认沽期权2
  11162. type: integer
  11163. putoptionpremiums3:
  11164. description: 认沽期权3
  11165. type: integer
  11166. putoptionpremiums4:
  11167. description: 认沽期权4
  11168. type: integer
  11169. putoptionpremiums5:
  11170. description: 认沽期权5
  11171. type: integer
  11172. settle:
  11173. description: 结算价
  11174. type: number
  11175. strikeprice:
  11176. description: 发行价
  11177. type: number
  11178. totalaskvolume:
  11179. description: 内盘
  11180. type: integer
  11181. totalbidvolume:
  11182. description: 外盘
  11183. type: integer
  11184. totallot:
  11185. description: 总手数
  11186. type: integer
  11187. totalturnover:
  11188. description: 总金额
  11189. type: number
  11190. totalvolume:
  11191. description: 总量
  11192. type: integer
  11193. utclasttime:
  11194. description: utc的行情时间
  11195. type: string
  11196. type: object
  11197. quote.QueryTSDataRsp:
  11198. properties:
  11199. Count:
  11200. description: 交易日应有数据个数
  11201. type: integer
  11202. decimalPlace:
  11203. description: 小数位
  11204. type: integer
  11205. endTime:
  11206. description: 结束时间
  11207. type: string
  11208. goodsCode:
  11209. description: 商品代码
  11210. type: string
  11211. historyDatas:
  11212. description: 历史数据
  11213. items:
  11214. $ref: '#/definitions/quote.HistoryData'
  11215. type: array
  11216. outGoodsCode:
  11217. description: 外部商品代码
  11218. type: string
  11219. preSettle:
  11220. description: 昨结价
  11221. type: number
  11222. runSteps:
  11223. description: 交易日开休市计划
  11224. items:
  11225. $ref: '#/definitions/quote.TSDataRunStep'
  11226. type: array
  11227. startTime:
  11228. description: 开始时间
  11229. type: string
  11230. tradeDate:
  11231. description: 交易日
  11232. type: string
  11233. type: object
  11234. quote.TSDataRunStep:
  11235. properties:
  11236. end:
  11237. description: 真实结束时间
  11238. type: string
  11239. endflag:
  11240. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  11241. type: integer
  11242. endtime:
  11243. description: 结束时间(HH:mm)
  11244. type: string
  11245. endweekday:
  11246. description: 结束周几
  11247. type: integer
  11248. groupid:
  11249. description: 分组ID
  11250. type: integer
  11251. runstep:
  11252. description: 运行阶段 - 2:连续交易
  11253. type: integer
  11254. sectionid:
  11255. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  11256. 结束时间=结算时间 结束周几=结算周几
  11257. type: integer
  11258. start:
  11259. description: 真实开始时间
  11260. type: string
  11261. startflag:
  11262. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  11263. type: integer
  11264. starttime:
  11265. description: 起始时间(HH:mm)
  11266. type: string
  11267. startweekday:
  11268. description: 起始周几
  11269. type: integer
  11270. tradeweekday:
  11271. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  11272. type: integer
  11273. type: object
  11274. szdz.QueryConvertLogRsp:
  11275. properties:
  11276. accountid:
  11277. description: 资金账户ID
  11278. type: integer
  11279. clientticket:
  11280. description: 客户端流水号
  11281. type: string
  11282. converttype:
  11283. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  11284. type: integer
  11285. createtime:
  11286. description: 记账时间
  11287. type: string
  11288. daymaxvalue:
  11289. description: 配置当日最大转入限制
  11290. type: number
  11291. daymaxvalue2:
  11292. description: 配置当日最大转入限制(转入)
  11293. type: number
  11294. goodscode:
  11295. description: 商品代码
  11296. type: string
  11297. goodsname:
  11298. description: 商品名称
  11299. type: string
  11300. handlestatus:
  11301. description: 处理状态
  11302. type: integer
  11303. innergoodsid:
  11304. description: 内部商品ID
  11305. type: integer
  11306. inratio:
  11307. description: 配置转入比值
  11308. type: integer
  11309. invalue:
  11310. description: 目标值
  11311. type: number
  11312. logid:
  11313. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11314. type: integer
  11315. mobile:
  11316. description: 手机号码(加密存储)
  11317. type: string
  11318. outergoodscode:
  11319. description: 外部商品代码[JD\PD]
  11320. type: string
  11321. outratio:
  11322. description: 配置转出比值
  11323. type: integer
  11324. outvalue:
  11325. description: 源值
  11326. type: number
  11327. pddecimalplace:
  11328. description: PD小数位
  11329. type: integer
  11330. qty:
  11331. description: 数量
  11332. type: string
  11333. remark:
  11334. description: 备注
  11335. type: string
  11336. sessionid:
  11337. description: 会话ID
  11338. type: integer
  11339. timemaxvalue:
  11340. description: 配置单次最大转入限制
  11341. type: number
  11342. timemaxvalue2:
  11343. description: 配置单次最大转入限制(转入)
  11344. type: number
  11345. timeminvalue:
  11346. description: 配置单次最小数量限制
  11347. type: number
  11348. timeminvalue2:
  11349. description: 配置单次最小数量限制(转入)
  11350. type: number
  11351. tradedate:
  11352. description: 交易日(yyyyMMdd)
  11353. type: string
  11354. userid:
  11355. description: 用户ID
  11356. type: integer
  11357. required:
  11358. - logid
  11359. type: object
  11360. szdz.QueryGoodsPickupRsp:
  11361. properties:
  11362. accountid:
  11363. description: 账户ID
  11364. type: integer
  11365. address:
  11366. description: 提货人详细地址
  11367. type: string
  11368. auditer:
  11369. description: 审核人
  11370. type: integer
  11371. audittime:
  11372. description: 审核时间
  11373. type: string
  11374. cardnum:
  11375. description: 提货人证件号码
  11376. type: string
  11377. cardtypeid:
  11378. description: 提货人证件类型
  11379. type: integer
  11380. checkremark:
  11381. description: 审核备注
  11382. type: string
  11383. goodscode:
  11384. description: 商品代码
  11385. type: string
  11386. goodsid:
  11387. description: 商品ID
  11388. type: integer
  11389. goodsname:
  11390. description: 商品名称
  11391. type: string
  11392. handlestatus:
  11393. description: 处理状态
  11394. type: integer
  11395. marketid:
  11396. description: 市场ID
  11397. type: integer
  11398. phonenum:
  11399. description: 提货人联系方式
  11400. type: string
  11401. qty:
  11402. description: 提货数量
  11403. type: number
  11404. recivername:
  11405. description: 提货人姓名
  11406. type: string
  11407. reqtime:
  11408. description: 更新时间
  11409. type: string
  11410. takemode:
  11411. description: 提货方式 - 2:自提 3:配送
  11412. type: integer
  11413. takeorderid:
  11414. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  11415. type: string
  11416. takeorderstatus:
  11417. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  11418. type: integer
  11419. takeremark:
  11420. description: 提货备注
  11421. type: string
  11422. tradedate:
  11423. description: 交易日(yyyyMMdd)
  11424. type: string
  11425. userid:
  11426. description: 用户ID
  11427. type: integer
  11428. required:
  11429. - takeorderid
  11430. type: object
  11431. szdz.QueryRecieptOrderRsp:
  11432. properties:
  11433. accountName:
  11434. description: 所属账号名称(已脱敏)
  11435. type: string
  11436. accountid:
  11437. description: 资金账号
  11438. type: integer
  11439. buyorsell:
  11440. description: 方向 - 0:买 1:卖
  11441. type: integer
  11442. enableqty:
  11443. description: 可摘数量
  11444. type: integer
  11445. goodscode:
  11446. description: 商品代码
  11447. type: string
  11448. goodsid:
  11449. description: 商品ID
  11450. type: integer
  11451. goodsname:
  11452. description: 商品名称
  11453. type: string
  11454. orderid:
  11455. description: 委托单号
  11456. type: string
  11457. orderprice:
  11458. description: 委托价格
  11459. type: number
  11460. ordertime:
  11461. description: 委托时间
  11462. type: string
  11463. tradedate:
  11464. description: 交易日(yyyyMMdd)
  11465. type: string
  11466. required:
  11467. - ordertime
  11468. type: object
  11469. szdz.QuerySZDZTradePositionRsp:
  11470. properties:
  11471. accountid:
  11472. description: 账号Id
  11473. type: integer
  11474. agreeunit:
  11475. description: 合约单位
  11476. type: number
  11477. averageprice:
  11478. description: 持仓均价
  11479. type: number
  11480. buyorsell:
  11481. description: 方向 - 0:买 1:卖
  11482. type: integer
  11483. closetotalqty:
  11484. description: 平仓总数量
  11485. type: integer
  11486. curholderamount:
  11487. description: 当前持仓总金额
  11488. type: number
  11489. curpositionqty:
  11490. description: 当前持仓总数量
  11491. type: integer
  11492. currencyid:
  11493. description: 报价货币ID
  11494. type: integer
  11495. curtdposition:
  11496. description: 期末今日头寸
  11497. type: integer
  11498. decimalplace:
  11499. description: 报价小数位
  11500. type: integer
  11501. enableqty:
  11502. description: 可用量
  11503. type: integer
  11504. fretdposition:
  11505. description: 冻结今日头寸
  11506. type: integer
  11507. frozenqty:
  11508. description: 持仓冻结数量
  11509. type: integer
  11510. goodscode:
  11511. description: 商品代码(内部)
  11512. type: string
  11513. goodsid:
  11514. description: 商品Id
  11515. type: integer
  11516. goodsname:
  11517. description: 商品名称
  11518. type: string
  11519. goodunit:
  11520. description: 报价单位
  11521. type: string
  11522. goodunitid:
  11523. description: 报价单位ID
  11524. type: integer
  11525. holderamount:
  11526. description: 期初持仓总金额
  11527. type: number
  11528. marketid:
  11529. description: 市场ID
  11530. type: integer
  11531. openreqqty:
  11532. description: 开仓申请数量
  11533. type: integer
  11534. opentotalqty:
  11535. description: 开仓总数量
  11536. type: integer
  11537. otherfrozenqty:
  11538. description: 持仓其他冻结数量(交割冻结)
  11539. type: integer
  11540. positionqty:
  11541. description: 期初持仓数量
  11542. type: integer
  11543. szdz3freezqty:
  11544. description: 尚志大宗转换冻结总数量
  11545. type: integer
  11546. tnqty:
  11547. description: T+N冻结总量
  11548. type: integer
  11549. tnusedqty:
  11550. description: T+N使用量
  11551. type: integer
  11552. trademode:
  11553. description: 交易模式
  11554. type: integer
  11555. usedmargin:
  11556. description: 占用保证金
  11557. type: number
  11558. type: object
  11559. taaccount.QueryAmountLogRsp:
  11560. properties:
  11561. OPERATETYPENAME:
  11562. description: 资金操作类型名称
  11563. type: string
  11564. accountid:
  11565. description: 资金账户ID
  11566. type: integer
  11567. agoodscode:
  11568. description: 竞拍商品代码
  11569. type: string
  11570. agoodsname:
  11571. description: 竞拍商品名称
  11572. type: string
  11573. amount:
  11574. description: 资金金额
  11575. type: number
  11576. amountadjusttype:
  11577. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  11578. type: integer
  11579. autoid:
  11580. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  11581. type: integer
  11582. balance:
  11583. description: 期初余额
  11584. type: number
  11585. businesscode:
  11586. description: 业务编号
  11587. type: integer
  11588. createtime:
  11589. description: 发生时间
  11590. type: string
  11591. currencyid:
  11592. description: 币种ID
  11593. type: integer
  11594. currentbalance:
  11595. description: 期末余额(变动后金额)
  11596. type: number
  11597. dgoodscode:
  11598. description: 交割商品代码
  11599. type: string
  11600. dgoodsname:
  11601. description: 交割商品名称
  11602. type: string
  11603. goodscode:
  11604. description: 商品代码
  11605. type: string
  11606. goodsid:
  11607. description: 商品ID
  11608. type: integer
  11609. goodsname:
  11610. description: 商品名称
  11611. type: string
  11612. marketid:
  11613. description: 市场ID
  11614. type: integer
  11615. marketname:
  11616. description: 市场名称
  11617. type: string
  11618. moneyticket:
  11619. description: 资金流水号:银行端流水号
  11620. type: integer
  11621. operatetype:
  11622. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  11623. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  11624. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  11625. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  11626. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  11627. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  11628. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  11629. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  11630. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  11631. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  11632. type: integer
  11633. relationorderid:
  11634. description: 关联单号
  11635. type: string
  11636. remark:
  11637. description: 备注
  11638. type: string
  11639. trademode:
  11640. description: 交易模式
  11641. type: integer
  11642. required:
  11643. - accountid
  11644. - amount
  11645. - amountadjusttype
  11646. - autoid
  11647. - balance
  11648. - createtime
  11649. - currentbalance
  11650. - operatetype
  11651. type: object
  11652. taaccount.QueryHisAmountLogRsp:
  11653. properties:
  11654. OPERATETYPENAME:
  11655. description: 资金操作类型名称
  11656. type: string
  11657. accountid:
  11658. description: 资金账户ID
  11659. type: integer
  11660. agoodscode:
  11661. description: 竞拍商品代码
  11662. type: string
  11663. agoodsname:
  11664. description: 竞拍商品名称
  11665. type: string
  11666. amount:
  11667. description: 资金金额
  11668. type: number
  11669. amountadjusttype:
  11670. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  11671. type: integer
  11672. autoid:
  11673. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  11674. type: integer
  11675. balance:
  11676. description: 期初余额
  11677. type: number
  11678. businesscode:
  11679. description: 业务编号
  11680. type: integer
  11681. createtime:
  11682. description: 发生时间
  11683. type: string
  11684. currencyid:
  11685. description: 币种ID
  11686. type: integer
  11687. currentbalance:
  11688. description: 期末余额(变动后金额)
  11689. type: number
  11690. dgoodscode:
  11691. description: 交割商品代码
  11692. type: string
  11693. dgoodsname:
  11694. description: 交割商品名称
  11695. type: string
  11696. goodscode:
  11697. description: 商品代码
  11698. type: string
  11699. goodsid:
  11700. description: 商品ID
  11701. type: integer
  11702. goodsname:
  11703. description: 商品名称
  11704. type: string
  11705. histradedate:
  11706. description: 历史交易日
  11707. type: string
  11708. isvaliddata:
  11709. description: 是否有效 - 0:无效 1:有效
  11710. type: integer
  11711. marketid:
  11712. description: 市场ID
  11713. type: integer
  11714. marketname:
  11715. description: 市场名称
  11716. type: string
  11717. moneyticket:
  11718. description: 资金流水号:银行端流水号
  11719. type: integer
  11720. operatetype:
  11721. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  11722. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  11723. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  11724. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  11725. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  11726. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  11727. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  11728. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  11729. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  11730. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  11731. type: integer
  11732. relationorderid:
  11733. description: 关联单号
  11734. type: string
  11735. remark:
  11736. description: 备注
  11737. type: string
  11738. trademode:
  11739. description: 交易模式
  11740. type: integer
  11741. required:
  11742. - accountid
  11743. - amount
  11744. - amountadjusttype
  11745. - autoid
  11746. - balance
  11747. - createtime
  11748. - currentbalance
  11749. - histradedate
  11750. - operatetype
  11751. type: object
  11752. trade.QueryRecieptOrderRsp:
  11753. properties:
  11754. accountName:
  11755. description: 所属账号名称(已脱敏)
  11756. type: string
  11757. accountid:
  11758. description: 资金账号
  11759. type: integer
  11760. buyorsell:
  11761. description: 方向 - 0:买 1:卖
  11762. type: integer
  11763. enableqty:
  11764. description: 可摘数量
  11765. type: integer
  11766. goodscode:
  11767. description: 商品代码
  11768. type: string
  11769. goodsid:
  11770. description: 商品ID
  11771. type: integer
  11772. goodsname:
  11773. description: 商品名称
  11774. type: string
  11775. orderid:
  11776. description: 委托单号
  11777. type: string
  11778. orderprice:
  11779. description: 委托价格
  11780. type: number
  11781. ordertime:
  11782. description: 委托时间
  11783. type: string
  11784. tradedate:
  11785. description: 交易日(yyyyMMdd)
  11786. type: string
  11787. required:
  11788. - ordertime
  11789. type: object
  11790. user.LoginQueryRsp:
  11791. properties:
  11792. areaRoles:
  11793. description: 所属角色信息
  11794. items:
  11795. $ref: '#/definitions/models.Arearole'
  11796. type: array
  11797. externalExchanges:
  11798. description: 外部交易所
  11799. items:
  11800. $ref: '#/definitions/models.Externalexchange'
  11801. type: array
  11802. goodsgroups:
  11803. description: 商品组
  11804. items:
  11805. $ref: '#/definitions/models.Goodsgroup'
  11806. type: array
  11807. loginAccount:
  11808. $ref: '#/definitions/models.Loginaccount'
  11809. description: 登录账号
  11810. type: object
  11811. markets:
  11812. description: 市场
  11813. items:
  11814. $ref: '#/definitions/models.Market'
  11815. type: array
  11816. systemParams:
  11817. description: 系统参数
  11818. items:
  11819. $ref: '#/definitions/models.Systemparam'
  11820. type: array
  11821. userAccount:
  11822. $ref: '#/definitions/models.Useraccount'
  11823. description: 用户账号
  11824. type: object
  11825. userInfo:
  11826. $ref: '#/definitions/models.Userinfo'
  11827. description: 用户信息
  11828. type: object
  11829. username:
  11830. description: 用户姓名
  11831. type: string
  11832. type: object
  11833. info:
  11834. contact: {}
  11835. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  11836. license: {}
  11837. termsOfService: http://www.muchinfo.cn
  11838. title: MTP2.0 查询服务 API
  11839. version: "1.0"
  11840. paths:
  11841. /CPTrade/QueryCPTradeMyBidInfos:
  11842. get:
  11843. parameters:
  11844. - description: 资金账户
  11845. in: query
  11846. name: accountid
  11847. required: true
  11848. type: integer
  11849. - description: 预售市场ID
  11850. in: query
  11851. name: marketid
  11852. type: integer
  11853. - description: 预售商品ID
  11854. in: query
  11855. name: goodsid
  11856. type: integer
  11857. produces:
  11858. - application/json
  11859. responses:
  11860. "200":
  11861. description: OK
  11862. schema:
  11863. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  11864. "500":
  11865. description: Internal Server Error
  11866. schema:
  11867. $ref: '#/definitions/app.Response'
  11868. security:
  11869. - ApiKeyAuth: []
  11870. summary: 查询产能预售我的出价信息
  11871. tags:
  11872. - 产能预售
  11873. /CPTrade/QueryCPTradeOrderDetail:
  11874. get:
  11875. parameters:
  11876. - description: 预售商品ID
  11877. in: query
  11878. name: goodsid
  11879. type: integer
  11880. - description: 预售市场ID
  11881. in: query
  11882. name: marketid
  11883. type: integer
  11884. - description: 预售商品ID列表 - 格式:1,2,3
  11885. in: query
  11886. name: goodsids
  11887. type: string
  11888. produces:
  11889. - application/json
  11890. responses:
  11891. "200":
  11892. description: OK
  11893. schema:
  11894. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  11895. "500":
  11896. description: Internal Server Error
  11897. schema:
  11898. $ref: '#/definitions/app.Response'
  11899. security:
  11900. - ApiKeyAuth: []
  11901. summary: 查询产能预售委托单信息
  11902. tags:
  11903. - 产能预售
  11904. /CPTrade/QueryMyCPTradeGoods:
  11905. get:
  11906. parameters:
  11907. - description: 资金账户
  11908. in: query
  11909. name: accountid
  11910. required: true
  11911. type: integer
  11912. produces:
  11913. - application/json
  11914. responses:
  11915. "200":
  11916. description: OK
  11917. schema:
  11918. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  11919. "500":
  11920. description: Internal Server Error
  11921. schema:
  11922. $ref: '#/definitions/app.Response'
  11923. security:
  11924. - ApiKeyAuth: []
  11925. summary: 查询我的预售信息
  11926. tags:
  11927. - 产能预售
  11928. /CPTrade/QueryPositionCancel:
  11929. get:
  11930. parameters:
  11931. - description: 账户ID
  11932. in: query
  11933. name: userid
  11934. required: true
  11935. type: integer
  11936. - description: 注销ID
  11937. in: query
  11938. name: cancelid
  11939. type: integer
  11940. - description: 资金账户ID
  11941. in: query
  11942. name: accountid
  11943. type: integer
  11944. produces:
  11945. - application/json
  11946. responses:
  11947. "200":
  11948. description: OK
  11949. schema:
  11950. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  11951. "500":
  11952. description: Internal Server Error
  11953. schema:
  11954. $ref: '#/definitions/app.Response'
  11955. security:
  11956. - ApiKeyAuth: []
  11957. summary: 查询远期订单注销申请信息
  11958. tags:
  11959. - 产能预售
  11960. /CPTrade/QueryPreasleApply:
  11961. get:
  11962. parameters:
  11963. - description: 账户ID
  11964. in: query
  11965. name: userid
  11966. required: true
  11967. type: integer
  11968. - description: 申请ID
  11969. in: query
  11970. name: applyid
  11971. type: integer
  11972. - description: 资金账户ID
  11973. in: query
  11974. name: accountid
  11975. type: integer
  11976. produces:
  11977. - application/json
  11978. responses:
  11979. "200":
  11980. description: OK
  11981. schema:
  11982. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  11983. "500":
  11984. description: Internal Server Error
  11985. schema:
  11986. $ref: '#/definitions/app.Response'
  11987. security:
  11988. - ApiKeyAuth: []
  11989. summary: 查询产能预售申请信息
  11990. tags:
  11991. - 产能预售
  11992. /CPTrade/QueryPresaleGoodsEx:
  11993. get:
  11994. parameters:
  11995. - description: 预售商品ID
  11996. in: query
  11997. name: goodsid
  11998. type: integer
  11999. - description: 预售市场ID
  12000. in: query
  12001. name: marketid
  12002. type: integer
  12003. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  12004. in: query
  12005. name: presalemode
  12006. type: integer
  12007. - description: 预售商品ID列表 - 格式:1,2,3
  12008. in: query
  12009. name: goodsids
  12010. type: string
  12011. - description: 预售商品代码
  12012. in: query
  12013. name: goodscode
  12014. type: string
  12015. produces:
  12016. - application/json
  12017. responses:
  12018. "200":
  12019. description: OK
  12020. schema:
  12021. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  12022. "500":
  12023. description: Internal Server Error
  12024. schema:
  12025. $ref: '#/definitions/app.Response'
  12026. security:
  12027. - ApiKeyAuth: []
  12028. summary: 查询产能预售商品扩展信息
  12029. tags:
  12030. - 产能预售
  12031. /CPTrade/QueryUserGoodsData:
  12032. get:
  12033. parameters:
  12034. - description: 资金账户ID
  12035. in: query
  12036. name: accountid
  12037. required: true
  12038. type: integer
  12039. produces:
  12040. - application/json
  12041. responses:
  12042. "200":
  12043. description: OK
  12044. schema:
  12045. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  12046. "500":
  12047. description: Internal Server Error
  12048. schema:
  12049. $ref: '#/definitions/app.Response'
  12050. security:
  12051. - ApiKeyAuth: []
  12052. summary: 查询远期订单信息
  12053. tags:
  12054. - 产能预售
  12055. /Common/GetAllEnums:
  12056. get:
  12057. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  12058. parameters:
  12059. - description: 起始自增ID
  12060. in: query
  12061. name: autoid
  12062. type: integer
  12063. produces:
  12064. - application/json
  12065. responses:
  12066. "200":
  12067. description: OK
  12068. schema:
  12069. $ref: '#/definitions/models.Enumdicitem'
  12070. "500":
  12071. description: Internal Server Error
  12072. schema:
  12073. $ref: '#/definitions/app.Response'
  12074. summary: 获取所有枚举信息
  12075. tags:
  12076. - 通用服务
  12077. /Common/GetClientMenus:
  12078. get:
  12079. parameters:
  12080. - description: 登录账号
  12081. in: query
  12082. name: loginID
  12083. required: true
  12084. type: integer
  12085. - description: 终端类型,0:PC 1:Mobile
  12086. in: query
  12087. name: clientType
  12088. type: integer
  12089. produces:
  12090. - application/json
  12091. responses:
  12092. "200":
  12093. description: OK
  12094. schema:
  12095. items:
  12096. $ref: '#/definitions/common.ClientMenu'
  12097. type: array
  12098. "500":
  12099. description: Internal Server Error
  12100. schema:
  12101. $ref: '#/definitions/app.Response'
  12102. security:
  12103. - ApiKeyAuth: []
  12104. summary: 获取交易端菜单
  12105. tags:
  12106. - 通用服务
  12107. /Common/GetDivisions:
  12108. get:
  12109. produces:
  12110. - application/json
  12111. responses:
  12112. "200":
  12113. description: OK
  12114. schema:
  12115. $ref: '#/definitions/models.Division'
  12116. "500":
  12117. description: Internal Server Error
  12118. schema:
  12119. $ref: '#/definitions/app.Response'
  12120. summary: 查询区域信息
  12121. tags:
  12122. - 通用服务
  12123. /Common/GetServerTime:
  12124. get:
  12125. produces:
  12126. - application/json
  12127. responses:
  12128. "200":
  12129. description: OK
  12130. schema:
  12131. $ref: '#/definitions/app.Response'
  12132. "500":
  12133. description: Internal Server Error
  12134. schema:
  12135. $ref: '#/definitions/app.Response'
  12136. summary: 获取服务器时间
  12137. tags:
  12138. - 通用服务
  12139. /Common/NoticeReaded:
  12140. post:
  12141. parameters:
  12142. - description: 登录账号
  12143. in: query
  12144. name: loginID
  12145. required: true
  12146. type: integer
  12147. - description: 通知公告ID
  12148. in: query
  12149. name: noticeID
  12150. required: true
  12151. type: integer
  12152. produces:
  12153. - application/json
  12154. responses:
  12155. "200":
  12156. description: OK
  12157. schema:
  12158. $ref: '#/definitions/app.Response'
  12159. "500":
  12160. description: Internal Server Error
  12161. schema:
  12162. $ref: '#/definitions/app.Response'
  12163. security:
  12164. - ApiKeyAuth: []
  12165. summary: 通知公告设置已读请求
  12166. tags:
  12167. - 通用服务
  12168. /Common/QueryErrorInfos:
  12169. get:
  12170. description: 如果传入rowNumber,则返回此rowNumber后的数据
  12171. parameters:
  12172. - description: 起始行号前索引
  12173. in: query
  12174. name: rowNumber
  12175. type: string
  12176. produces:
  12177. - application/json
  12178. responses:
  12179. "200":
  12180. description: OK
  12181. schema:
  12182. $ref: '#/definitions/models.QueryErrorInfosRsp'
  12183. "500":
  12184. description: Internal Server Error
  12185. schema:
  12186. $ref: '#/definitions/app.Response'
  12187. summary: 获取数据库错误信息
  12188. tags:
  12189. - 通用服务
  12190. /Common/QueryImageConfigs:
  12191. get:
  12192. parameters:
  12193. - description: 类型 - 1:App首页轮播 2:我的
  12194. in: query
  12195. name: imageType
  12196. type: integer
  12197. produces:
  12198. - application/json
  12199. responses:
  12200. "200":
  12201. description: OK
  12202. schema:
  12203. $ref: '#/definitions/common.QueryImageConfigsRsp'
  12204. "500":
  12205. description: Internal Server Error
  12206. schema:
  12207. $ref: '#/definitions/app.Response'
  12208. summary: 查询轮播图配置信息
  12209. tags:
  12210. - 通用服务
  12211. /Common/QueryNotice:
  12212. get:
  12213. parameters:
  12214. - description: 页码
  12215. in: query
  12216. name: page
  12217. type: integer
  12218. - description: 每页条数
  12219. in: query
  12220. name: pagesize
  12221. type: integer
  12222. - description: 登录账号
  12223. in: query
  12224. name: loginID
  12225. required: true
  12226. type: integer
  12227. - description: 消息类型 - 1:公告通知 2:系统消息
  12228. in: query
  12229. name: msgType
  12230. type: integer
  12231. - description: 是否只获取未读信息
  12232. in: query
  12233. name: onlyUnRead
  12234. type: boolean
  12235. - description: 自增ID,传入后会返回这个ID后面的记录
  12236. in: query
  12237. name: lastID
  12238. type: integer
  12239. produces:
  12240. - application/json
  12241. responses:
  12242. "200":
  12243. description: OK
  12244. schema:
  12245. $ref: '#/definitions/common.QueryNoticeRsp'
  12246. "500":
  12247. description: Internal Server Error
  12248. schema:
  12249. $ref: '#/definitions/app.Response'
  12250. security:
  12251. - ApiKeyAuth: []
  12252. summary: 通知公告系统消息查询
  12253. tags:
  12254. - 通用服务
  12255. /Common/QueryProvincesAndCities:
  12256. get:
  12257. parameters:
  12258. - description: 省ID
  12259. in: query
  12260. name: provinceID
  12261. type: integer
  12262. produces:
  12263. - application/json
  12264. responses:
  12265. "200":
  12266. description: OK
  12267. schema:
  12268. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  12269. "500":
  12270. description: Internal Server Error
  12271. schema:
  12272. $ref: '#/definitions/app.Response'
  12273. summary: 查询省市信息(不包括区)
  12274. tags:
  12275. - 通用服务
  12276. /Common/QueryTableDefine:
  12277. get:
  12278. parameters:
  12279. - description: 表key
  12280. in: query
  12281. name: tableKey
  12282. type: string
  12283. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  12284. in: query
  12285. name: tableType
  12286. type: integer
  12287. produces:
  12288. - application/json
  12289. responses:
  12290. "200":
  12291. description: OK
  12292. schema:
  12293. $ref: '#/definitions/common.QueryTableDefineRsp'
  12294. "500":
  12295. description: Internal Server Error
  12296. schema:
  12297. $ref: '#/definitions/app.Response'
  12298. summary: 查询交易端列表头信息
  12299. tags:
  12300. - 通用服务
  12301. /Common/QueryTraderMenu:
  12302. get:
  12303. parameters:
  12304. - description: 登录账号
  12305. in: query
  12306. name: loginid
  12307. required: true
  12308. type: integer
  12309. produces:
  12310. - application/json
  12311. responses:
  12312. "200":
  12313. description: OK
  12314. schema:
  12315. $ref: '#/definitions/common.QueryTraderMenuRsp'
  12316. "500":
  12317. description: Internal Server Error
  12318. schema:
  12319. $ref: '#/definitions/app.Response'
  12320. summary: 查询交易端菜单
  12321. tags:
  12322. - 通用服务
  12323. /Delivery/QueryDeliveryRelation:
  12324. get:
  12325. parameters:
  12326. - description: 商品ID
  12327. in: query
  12328. name: goodsid
  12329. type: integer
  12330. - description: 品种ID
  12331. in: query
  12332. name: deliverygoodsid
  12333. type: integer
  12334. - description: 市场ID
  12335. in: query
  12336. name: marketid
  12337. type: integer
  12338. produces:
  12339. - application/json
  12340. responses:
  12341. "200":
  12342. description: OK
  12343. schema:
  12344. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  12345. "500":
  12346. description: Internal Server Error
  12347. schema:
  12348. $ref: '#/definitions/app.Response'
  12349. security:
  12350. - ApiKeyAuth: []
  12351. summary: 查询商品交割关系表
  12352. tags:
  12353. - 交割服务
  12354. /Ermcp/GetErmcpGoods:
  12355. get:
  12356. parameters:
  12357. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  12358. in: query
  12359. name: lastUpdateTime
  12360. type: string
  12361. produces:
  12362. - application/json
  12363. responses:
  12364. "200":
  12365. description: OK
  12366. schema:
  12367. $ref: '#/definitions/models.Goods'
  12368. "500":
  12369. description: Internal Server Error
  12370. schema:
  12371. $ref: '#/definitions/app.Response'
  12372. security:
  12373. - ApiKeyAuth: []
  12374. summary: 查询企业风管期货商品信息
  12375. tags:
  12376. - 企业风险管理(app)
  12377. /Ermcp/GetErmcpGoodsSortByPosition:
  12378. get:
  12379. parameters:
  12380. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  12381. in: query
  12382. name: sortIndex
  12383. type: string
  12384. produces:
  12385. - application/json
  12386. responses:
  12387. "200":
  12388. description: OK
  12389. schema:
  12390. $ref: '#/definitions/models.Goodssortbypreposition'
  12391. "500":
  12392. description: Internal Server Error
  12393. schema:
  12394. $ref: '#/definitions/app.Response'
  12395. security:
  12396. - ApiKeyAuth: []
  12397. summary: 查询企业风管期货主力、次主力商品信息
  12398. tags:
  12399. - 企业风险管理(app)
  12400. /Ermcp/GetErmcpOutAccountStatus:
  12401. get:
  12402. parameters:
  12403. - description: 登录账号
  12404. in: query
  12405. name: loginID
  12406. required: true
  12407. type: integer
  12408. produces:
  12409. - application/json
  12410. responses:
  12411. "200":
  12412. description: OK
  12413. schema:
  12414. $ref: '#/definitions/models.Hedgemarketopenlog'
  12415. "500":
  12416. description: Internal Server Error
  12417. schema:
  12418. $ref: '#/definitions/app.Response'
  12419. security:
  12420. - ApiKeyAuth: []
  12421. summary: 获取目标登录账号当前对冲账号在线状态
  12422. tags:
  12423. - 企业风险管理(app)
  12424. /Ermcp/GetErmcpRoleFuncMenuLists:
  12425. get:
  12426. parameters:
  12427. - description: 登录账号
  12428. in: query
  12429. name: loginID
  12430. required: true
  12431. type: integer
  12432. produces:
  12433. - application/json
  12434. responses:
  12435. "200":
  12436. description: OK
  12437. schema:
  12438. $ref: '#/definitions/models.Funcmenulist'
  12439. "500":
  12440. description: Internal Server Error
  12441. schema:
  12442. $ref: '#/definitions/app.Response'
  12443. security:
  12444. - ApiKeyAuth: []
  12445. summary: 获取企业风管终端权限
  12446. tags:
  12447. - 企业风险管理(app)
  12448. /Ermcp/QueryAccMgrBizGroupSet:
  12449. get:
  12450. parameters:
  12451. - description: 用户ID
  12452. in: query
  12453. name: userid
  12454. required: true
  12455. type: integer
  12456. - description: 现货商品id
  12457. in: query
  12458. name: deliverygoodsid
  12459. type: integer
  12460. produces:
  12461. - application/json
  12462. responses:
  12463. "200":
  12464. description: OK
  12465. schema:
  12466. items:
  12467. $ref: '#/definitions/models.ErmcpBizGroupEx'
  12468. type: array
  12469. "500":
  12470. description: Internal Server Error
  12471. schema:
  12472. $ref: '#/definitions/app.Response'
  12473. security:
  12474. - ApiKeyAuth: []
  12475. summary: 查询业务类型分组(账户管理/账户设置)
  12476. tags:
  12477. - 企业风险管理(app)
  12478. /Ermcp/QueryAccMgrLoginUser:
  12479. get:
  12480. parameters:
  12481. - description: 用户ID
  12482. in: query
  12483. name: userid
  12484. required: true
  12485. type: integer
  12486. - description: 用户类型 2-机构 7-企业成员
  12487. in: query
  12488. name: usertype
  12489. type: integer
  12490. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  12491. in: query
  12492. name: querytype
  12493. required: true
  12494. type: integer
  12495. produces:
  12496. - application/json
  12497. responses:
  12498. "200":
  12499. description: OK
  12500. schema:
  12501. items:
  12502. $ref: '#/definitions/models.ErmcpLoginUserEx'
  12503. type: array
  12504. "500":
  12505. description: Internal Server Error
  12506. schema:
  12507. $ref: '#/definitions/app.Response'
  12508. security:
  12509. - ApiKeyAuth: []
  12510. summary: 查询账户管理登录账号(账户管理/登录账号)
  12511. tags:
  12512. - 企业风险管理(app)
  12513. /Ermcp/QueryAccMgrMainAccountInfo:
  12514. get:
  12515. parameters:
  12516. - description: 用户ID
  12517. in: query
  12518. name: userid
  12519. type: integer
  12520. - description: 主账号id
  12521. in: query
  12522. name: accountid
  12523. type: integer
  12524. produces:
  12525. - application/json
  12526. responses:
  12527. "200":
  12528. description: OK
  12529. schema:
  12530. items:
  12531. $ref: '#/definitions/models.MainAccountInfo'
  12532. type: array
  12533. "500":
  12534. description: Internal Server Error
  12535. schema:
  12536. $ref: '#/definitions/app.Response'
  12537. security:
  12538. - ApiKeyAuth: []
  12539. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  12540. tags:
  12541. - 企业风险管理(app)
  12542. /Ermcp/QueryAccMgrRole:
  12543. get:
  12544. parameters:
  12545. - description: 用户ID
  12546. in: query
  12547. name: userid
  12548. required: true
  12549. type: integer
  12550. produces:
  12551. - application/json
  12552. responses:
  12553. "200":
  12554. description: OK
  12555. schema:
  12556. items:
  12557. $ref: '#/definitions/models.ErmcpRole'
  12558. type: array
  12559. "500":
  12560. description: Internal Server Error
  12561. schema:
  12562. $ref: '#/definitions/app.Response'
  12563. security:
  12564. - ApiKeyAuth: []
  12565. summary: 查询账户管理角色设置(账户管理/角色设置)
  12566. tags:
  12567. - 企业风险管理(app)
  12568. /Ermcp/QueryAccMgrRoleMenu:
  12569. get:
  12570. parameters:
  12571. - description: 用户ID
  12572. in: query
  12573. name: userid
  12574. required: true
  12575. type: integer
  12576. - description: 角色id(可多个,逗号隔开)
  12577. in: query
  12578. name: roleid
  12579. type: string
  12580. produces:
  12581. - application/json
  12582. responses:
  12583. "200":
  12584. description: OK
  12585. schema:
  12586. items:
  12587. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  12588. type: array
  12589. "500":
  12590. description: Internal Server Error
  12591. schema:
  12592. $ref: '#/definitions/app.Response'
  12593. security:
  12594. - ApiKeyAuth: []
  12595. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  12596. tags:
  12597. - 企业风险管理(app)
  12598. /Ermcp/QueryAccMgrTaAccountInfo:
  12599. get:
  12600. parameters:
  12601. - description: 用户ID
  12602. in: query
  12603. name: userid
  12604. required: true
  12605. type: integer
  12606. - description: 账号id
  12607. in: query
  12608. name: accountid
  12609. type: integer
  12610. produces:
  12611. - application/json
  12612. responses:
  12613. "200":
  12614. description: OK
  12615. schema:
  12616. items:
  12617. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  12618. type: array
  12619. "500":
  12620. description: Internal Server Error
  12621. schema:
  12622. $ref: '#/definitions/app.Response'
  12623. security:
  12624. - ApiKeyAuth: []
  12625. summary: 查询账户管理授信(账户管理/账户设置/授信)
  12626. tags:
  12627. - 企业风险管理(app)
  12628. /Ermcp/QueryAccMgrTaaccount:
  12629. get:
  12630. parameters:
  12631. - description: 用户ID
  12632. in: query
  12633. name: userid
  12634. required: true
  12635. type: integer
  12636. produces:
  12637. - application/json
  12638. responses:
  12639. "200":
  12640. description: OK
  12641. schema:
  12642. items:
  12643. $ref: '#/definitions/models.ErmcpTaAccountEx'
  12644. type: array
  12645. "500":
  12646. description: Internal Server Error
  12647. schema:
  12648. $ref: '#/definitions/app.Response'
  12649. security:
  12650. - ApiKeyAuth: []
  12651. summary: 查询账户管理期货账号(账户管理/期货账号)
  12652. tags:
  12653. - 企业风险管理(app)
  12654. /Ermcp/QueryAvaildGoodsGroup:
  12655. get:
  12656. parameters:
  12657. - description: 所属机构ID
  12658. in: query
  12659. name: userid
  12660. required: true
  12661. type: integer
  12662. produces:
  12663. - application/json
  12664. responses:
  12665. "200":
  12666. description: OK
  12667. schema:
  12668. items:
  12669. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  12670. type: array
  12671. "500":
  12672. description: Internal Server Error
  12673. schema:
  12674. $ref: '#/definitions/app.Response'
  12675. security:
  12676. - ApiKeyAuth: []
  12677. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  12678. tags:
  12679. - 企业风险管理(app)
  12680. /Ermcp/QueryBusinessDj:
  12681. get:
  12682. parameters:
  12683. - description: 用户ID
  12684. in: query
  12685. name: UserId
  12686. required: true
  12687. type: integer
  12688. - description: 用户类型 2-机构 7-企业成员
  12689. in: query
  12690. name: usertype
  12691. type: integer
  12692. - description: 现货合同ID, 不填则查所有
  12693. in: query
  12694. name: relatedid
  12695. type: string
  12696. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12697. in: query
  12698. name: applystatus
  12699. type: string
  12700. produces:
  12701. - application/json
  12702. responses:
  12703. "200":
  12704. description: OK
  12705. schema:
  12706. items:
  12707. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  12708. type: array
  12709. "500":
  12710. description: Internal Server Error
  12711. schema:
  12712. $ref: '#/definitions/app.Response'
  12713. security:
  12714. - ApiKeyAuth: []
  12715. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  12716. tags:
  12717. - 企业风险管理(app)
  12718. /Ermcp/QueryBusinessFp:
  12719. get:
  12720. parameters:
  12721. - description: 用户ID
  12722. in: query
  12723. name: UserId
  12724. required: true
  12725. type: integer
  12726. - description: 用户类型 2-机构 7-企业成员
  12727. in: query
  12728. name: usertype
  12729. type: integer
  12730. - description: 现货合同ID, 不填则查所有
  12731. in: query
  12732. name: relatedid
  12733. type: string
  12734. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12735. in: query
  12736. name: applystatus
  12737. type: string
  12738. produces:
  12739. - application/json
  12740. responses:
  12741. "200":
  12742. description: OK
  12743. schema:
  12744. items:
  12745. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  12746. type: array
  12747. "500":
  12748. description: Internal Server Error
  12749. schema:
  12750. $ref: '#/definitions/app.Response'
  12751. security:
  12752. - ApiKeyAuth: []
  12753. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  12754. tags:
  12755. - 企业风险管理(app)
  12756. /Ermcp/QueryBusinessJs:
  12757. get:
  12758. parameters:
  12759. - description: 用户ID
  12760. in: query
  12761. name: UserId
  12762. required: true
  12763. type: integer
  12764. - description: 用户类型 2-机构 7-企业成员
  12765. in: query
  12766. name: usertype
  12767. type: integer
  12768. - description: 现货合同ID, 不填则查所有
  12769. in: query
  12770. name: relatedid
  12771. type: string
  12772. - description: 操作申请id
  12773. in: query
  12774. name: operateapplyid
  12775. type: string
  12776. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12777. in: query
  12778. name: applystatus
  12779. type: string
  12780. produces:
  12781. - application/json
  12782. responses:
  12783. "200":
  12784. description: OK
  12785. schema:
  12786. items:
  12787. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  12788. type: array
  12789. "500":
  12790. description: Internal Server Error
  12791. schema:
  12792. $ref: '#/definitions/app.Response'
  12793. security:
  12794. - ApiKeyAuth: []
  12795. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  12796. tags:
  12797. - 企业风险管理(app)
  12798. /Ermcp/QueryBusinessJsEx:
  12799. get:
  12800. parameters:
  12801. - description: 用户ID
  12802. in: query
  12803. name: UserId
  12804. required: true
  12805. type: integer
  12806. - description: 用户类型 2-机构 7-企业成员
  12807. in: query
  12808. name: usertype
  12809. type: integer
  12810. - description: 现货合同ID, 不填则查所有
  12811. in: query
  12812. name: relatedid
  12813. type: string
  12814. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12815. in: query
  12816. name: applystatus
  12817. type: string
  12818. produces:
  12819. - application/json
  12820. responses:
  12821. "200":
  12822. description: OK
  12823. schema:
  12824. items:
  12825. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  12826. type: array
  12827. "500":
  12828. description: Internal Server Error
  12829. schema:
  12830. $ref: '#/definitions/app.Response'
  12831. security:
  12832. - ApiKeyAuth: []
  12833. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  12834. tags:
  12835. - 企业风险管理(app)
  12836. /Ermcp/QueryBusinessKx:
  12837. get:
  12838. parameters:
  12839. - description: 用户ID
  12840. in: query
  12841. name: UserId
  12842. required: true
  12843. type: integer
  12844. - description: 用户类型 2-机构 7-企业成员
  12845. in: query
  12846. name: usertype
  12847. type: integer
  12848. - description: 现货合同ID, 不填则查所有
  12849. in: query
  12850. name: relatedid
  12851. type: string
  12852. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12853. in: query
  12854. name: applystatus
  12855. type: string
  12856. produces:
  12857. - application/json
  12858. responses:
  12859. "200":
  12860. description: OK
  12861. schema:
  12862. items:
  12863. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  12864. type: array
  12865. "500":
  12866. description: Internal Server Error
  12867. schema:
  12868. $ref: '#/definitions/app.Response'
  12869. security:
  12870. - ApiKeyAuth: []
  12871. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  12872. tags:
  12873. - 企业风险管理(app)
  12874. /Ermcp/QueryChangeLog:
  12875. get:
  12876. parameters:
  12877. - description: 合同ID
  12878. in: query
  12879. name: RelatedId
  12880. required: true
  12881. type: string
  12882. produces:
  12883. - application/json
  12884. responses:
  12885. "200":
  12886. description: OK
  12887. schema:
  12888. items:
  12889. $ref: '#/definitions/ermcp.QryOPLogRsp'
  12890. type: array
  12891. "500":
  12892. description: Internal Server Error
  12893. schema:
  12894. $ref: '#/definitions/app.Response'
  12895. security:
  12896. - ApiKeyAuth: []
  12897. summary: 查询变更记录
  12898. tags:
  12899. - 企业风险管理(app)
  12900. /Ermcp/QueryErmcpHisOrderDetails:
  12901. get:
  12902. parameters:
  12903. - description: 资金账户ID
  12904. in: query
  12905. name: accountID
  12906. required: true
  12907. type: integer
  12908. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  12909. in: query
  12910. name: startDate
  12911. type: string
  12912. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  12913. in: query
  12914. name: endDate
  12915. type: string
  12916. produces:
  12917. - application/json
  12918. responses:
  12919. "200":
  12920. description: OK
  12921. schema:
  12922. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  12923. "500":
  12924. description: Internal Server Error
  12925. schema:
  12926. $ref: '#/definitions/app.Response'
  12927. security:
  12928. - ApiKeyAuth: []
  12929. summary: 获取企业风管期货历史委托单信息
  12930. tags:
  12931. - 企业风险管理(app)
  12932. /Ermcp/QueryErmcpHisTradeDetails:
  12933. get:
  12934. parameters:
  12935. - description: 资金账户ID
  12936. in: query
  12937. name: accountID
  12938. required: true
  12939. type: integer
  12940. - description: 商品ID
  12941. in: query
  12942. name: goodsID
  12943. type: integer
  12944. - description: 买卖方向,0:买 1:卖
  12945. in: query
  12946. name: buyOrSell
  12947. type: integer
  12948. - description: 关联委托单号
  12949. in: query
  12950. name: orderID
  12951. type: integer
  12952. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  12953. in: query
  12954. name: startDate
  12955. type: string
  12956. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  12957. in: query
  12958. name: endDate
  12959. type: string
  12960. produces:
  12961. - application/json
  12962. responses:
  12963. "200":
  12964. description: OK
  12965. schema:
  12966. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  12967. "500":
  12968. description: Internal Server Error
  12969. schema:
  12970. $ref: '#/definitions/app.Response'
  12971. security:
  12972. - ApiKeyAuth: []
  12973. summary: 获取企业风管期货历史成交单信息
  12974. tags:
  12975. - 企业风险管理(app)
  12976. /Ermcp/QueryErmcpInnerHolderDetails:
  12977. get:
  12978. parameters:
  12979. - description: 资金账户ID
  12980. in: query
  12981. name: accountID
  12982. required: true
  12983. type: integer
  12984. - description: 商品ID
  12985. in: query
  12986. name: goodsID
  12987. type: integer
  12988. - description: 买卖方向,0:买 1:卖
  12989. in: query
  12990. name: buyOrSell
  12991. type: integer
  12992. produces:
  12993. - application/json
  12994. responses:
  12995. "200":
  12996. description: OK
  12997. schema:
  12998. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  12999. "500":
  13000. description: Internal Server Error
  13001. schema:
  13002. $ref: '#/definitions/app.Response'
  13003. security:
  13004. - ApiKeyAuth: []
  13005. summary: 获取企业风管期货内部持仓单信息
  13006. tags:
  13007. - 企业风险管理(app)
  13008. /Ermcp/QueryErmcpOrderDetails:
  13009. get:
  13010. parameters:
  13011. - description: 资金账户ID
  13012. in: query
  13013. name: accountID
  13014. required: true
  13015. type: integer
  13016. produces:
  13017. - application/json
  13018. responses:
  13019. "200":
  13020. description: OK
  13021. schema:
  13022. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  13023. "500":
  13024. description: Internal Server Error
  13025. schema:
  13026. $ref: '#/definitions/app.Response'
  13027. security:
  13028. - ApiKeyAuth: []
  13029. summary: 获取企业风管期货委托单信息
  13030. tags:
  13031. - 企业风险管理(app)
  13032. /Ermcp/QueryErmcpTradeDetails:
  13033. get:
  13034. parameters:
  13035. - description: 资金账户ID
  13036. in: query
  13037. name: accountID
  13038. required: true
  13039. type: integer
  13040. - description: 商品ID
  13041. in: query
  13042. name: goodsID
  13043. type: integer
  13044. - description: 买卖方向,0:买 1:卖
  13045. in: query
  13046. name: buyOrSell
  13047. type: integer
  13048. - description: 关联委托单号
  13049. in: query
  13050. name: orderID
  13051. type: integer
  13052. produces:
  13053. - application/json
  13054. responses:
  13055. "200":
  13056. description: OK
  13057. schema:
  13058. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  13059. "500":
  13060. description: Internal Server Error
  13061. schema:
  13062. $ref: '#/definitions/app.Response'
  13063. security:
  13064. - ApiKeyAuth: []
  13065. summary: 获取企业风管期货成交单信息
  13066. tags:
  13067. - 企业风险管理(app)
  13068. /Ermcp/QueryErmcpTradePosition:
  13069. get:
  13070. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  13071. parameters:
  13072. - description: 资金账户ID
  13073. in: query
  13074. name: accountID
  13075. required: true
  13076. type: integer
  13077. - description: 所属市场ID
  13078. in: query
  13079. name: marketID
  13080. type: integer
  13081. produces:
  13082. - application/json
  13083. responses:
  13084. "200":
  13085. description: OK
  13086. schema:
  13087. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  13088. "500":
  13089. description: Internal Server Error
  13090. schema:
  13091. $ref: '#/definitions/app.Response'
  13092. security:
  13093. - ApiKeyAuth: []
  13094. summary: 获取企业风管期货持仓头寸信息
  13095. tags:
  13096. - 企业风险管理(app)
  13097. /Ermcp/QueryExposureDetail:
  13098. get:
  13099. parameters:
  13100. - description: 所属机构ID
  13101. in: query
  13102. name: areaUserId
  13103. required: true
  13104. type: integer
  13105. - description: 套保商品
  13106. in: query
  13107. name: middleGoodsId
  13108. required: true
  13109. type: integer
  13110. produces:
  13111. - application/json
  13112. responses:
  13113. "200":
  13114. description: OK
  13115. schema:
  13116. items:
  13117. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  13118. type: array
  13119. "500":
  13120. description: Internal Server Error
  13121. schema:
  13122. $ref: '#/definitions/app.Response'
  13123. security:
  13124. - ApiKeyAuth: []
  13125. summary: 查询敞口现货明细
  13126. tags:
  13127. - 企业风险管理(app)
  13128. /Ermcp/QueryExposureHedgePosition:
  13129. get:
  13130. parameters:
  13131. - description: 用户id
  13132. in: query
  13133. name: userid
  13134. required: true
  13135. type: integer
  13136. produces:
  13137. - application/json
  13138. responses:
  13139. "200":
  13140. description: OK
  13141. schema:
  13142. items:
  13143. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  13144. type: array
  13145. "500":
  13146. description: Internal Server Error
  13147. schema:
  13148. $ref: '#/definitions/app.Response'
  13149. security:
  13150. - ApiKeyAuth: []
  13151. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  13152. tags:
  13153. - 企业风险管理(app)
  13154. /Ermcp/QueryExposureHedgePositionDetail:
  13155. get:
  13156. parameters:
  13157. - description: 所属机构ID
  13158. in: query
  13159. name: userid
  13160. required: true
  13161. type: integer
  13162. - description: 商品id
  13163. in: query
  13164. name: goodsId
  13165. required: true
  13166. type: integer
  13167. produces:
  13168. - application/json
  13169. responses:
  13170. "200":
  13171. description: OK
  13172. schema:
  13173. items:
  13174. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  13175. type: array
  13176. "500":
  13177. description: Internal Server Error
  13178. schema:
  13179. $ref: '#/definitions/app.Response'
  13180. security:
  13181. - ApiKeyAuth: []
  13182. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  13183. tags:
  13184. - 企业风险管理(app)
  13185. /Ermcp/QueryExposureSpot:
  13186. get:
  13187. parameters:
  13188. - description: 所属机构ID
  13189. in: query
  13190. name: areaUserId
  13191. required: true
  13192. type: integer
  13193. produces:
  13194. - application/json
  13195. responses:
  13196. "200":
  13197. description: OK
  13198. schema:
  13199. items:
  13200. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  13201. type: array
  13202. "500":
  13203. description: Internal Server Error
  13204. schema:
  13205. $ref: '#/definitions/app.Response'
  13206. security:
  13207. - ApiKeyAuth: []
  13208. summary: 查询敞口现货头寸(敞口/现货头寸)
  13209. tags:
  13210. - 企业风险管理(app)
  13211. /Ermcp/QueryExposureSpotDetail:
  13212. get:
  13213. parameters:
  13214. - description: 所属机构ID
  13215. in: query
  13216. name: areaUserId
  13217. required: true
  13218. type: integer
  13219. - description: 现货品种ID
  13220. in: query
  13221. name: wrstandardId
  13222. required: true
  13223. type: integer
  13224. produces:
  13225. - application/json
  13226. responses:
  13227. "200":
  13228. description: OK
  13229. schema:
  13230. items:
  13231. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  13232. type: array
  13233. "500":
  13234. description: Internal Server Error
  13235. schema:
  13236. $ref: '#/definitions/app.Response'
  13237. security:
  13238. - ApiKeyAuth: []
  13239. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  13240. tags:
  13241. - 企业风险管理(app)
  13242. /Ermcp/QueryFuturesCompany:
  13243. get:
  13244. produces:
  13245. - application/json
  13246. responses:
  13247. "200":
  13248. description: OK
  13249. schema:
  13250. items:
  13251. $ref: '#/definitions/models.ErmcpFuturesCompany'
  13252. type: array
  13253. "500":
  13254. description: Internal Server Error
  13255. schema:
  13256. $ref: '#/definitions/app.Response'
  13257. security:
  13258. - ApiKeyAuth: []
  13259. summary: 查询期货公司
  13260. tags:
  13261. - 企业风险管理(app)
  13262. /Ermcp/QueryGGConvertConfig:
  13263. get:
  13264. parameters:
  13265. - description: 品种id(不填则查所有)
  13266. in: query
  13267. name: goodsgroupid
  13268. type: integer
  13269. produces:
  13270. - application/json
  13271. responses:
  13272. "200":
  13273. description: OK
  13274. schema:
  13275. items:
  13276. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  13277. type: array
  13278. "500":
  13279. description: Internal Server Error
  13280. schema:
  13281. $ref: '#/definitions/app.Response'
  13282. security:
  13283. - ApiKeyAuth: []
  13284. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  13285. tags:
  13286. - 企业风险管理(app)
  13287. /Ermcp/QueryGoodsBrand:
  13288. get:
  13289. parameters:
  13290. - description: 用户ID
  13291. in: query
  13292. name: userid
  13293. required: true
  13294. type: integer
  13295. - description: 现货商品ID
  13296. in: query
  13297. name: wrstandardid
  13298. type: integer
  13299. produces:
  13300. - application/json
  13301. responses:
  13302. "200":
  13303. description: OK
  13304. schema:
  13305. items:
  13306. $ref: '#/definitions/models.ErmcpGoodsBrand'
  13307. type: array
  13308. "500":
  13309. description: Internal Server Error
  13310. schema:
  13311. $ref: '#/definitions/app.Response'
  13312. security:
  13313. - ApiKeyAuth: []
  13314. summary: 查询商品品牌
  13315. tags:
  13316. - 企业风险管理(app)
  13317. /Ermcp/QueryGoodsModel:
  13318. get:
  13319. parameters:
  13320. - description: 用户ID
  13321. in: query
  13322. name: userid
  13323. required: true
  13324. type: integer
  13325. produces:
  13326. - application/json
  13327. responses:
  13328. "200":
  13329. description: OK
  13330. schema:
  13331. items:
  13332. $ref: '#/definitions/models.ErmcpGoodsModel'
  13333. type: array
  13334. "500":
  13335. description: Internal Server Error
  13336. schema:
  13337. $ref: '#/definitions/app.Response'
  13338. security:
  13339. - ApiKeyAuth: []
  13340. summary: 查询商品型号
  13341. tags:
  13342. - 企业风险管理(app)
  13343. /Ermcp/QueryHisExposure:
  13344. get:
  13345. parameters:
  13346. - description: 用户id
  13347. in: query
  13348. name: userid
  13349. required: true
  13350. type: integer
  13351. - description: 每个品种记录数
  13352. in: query
  13353. name: lastNum
  13354. required: true
  13355. type: integer
  13356. produces:
  13357. - application/json
  13358. responses:
  13359. "200":
  13360. description: OK
  13361. schema:
  13362. items:
  13363. $ref: '#/definitions/ermcp.HisExposureRsp'
  13364. type: array
  13365. "500":
  13366. description: Internal Server Error
  13367. schema:
  13368. $ref: '#/definitions/app.Response'
  13369. security:
  13370. - ApiKeyAuth: []
  13371. summary: 查询历史敞口(菜单:敞口/历史敞口)
  13372. tags:
  13373. - 企业风险管理(app)
  13374. /Ermcp/QueryMiddleGoods:
  13375. get:
  13376. parameters:
  13377. - description: 所属机构ID
  13378. in: query
  13379. name: userid
  13380. required: true
  13381. type: integer
  13382. - description: 状态 0-停用 1-正常
  13383. in: query
  13384. name: status
  13385. required: true
  13386. type: integer
  13387. produces:
  13388. - application/json
  13389. responses:
  13390. "200":
  13391. description: OK
  13392. schema:
  13393. items:
  13394. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  13395. type: array
  13396. "500":
  13397. description: Internal Server Error
  13398. schema:
  13399. $ref: '#/definitions/app.Response'
  13400. security:
  13401. - ApiKeyAuth: []
  13402. summary: 查询套保品种(菜单:套保品种)
  13403. tags:
  13404. - 企业风险管理(app)
  13405. /Ermcp/QueryMiddleGoodsChangeLog:
  13406. get:
  13407. parameters:
  13408. - description: 所属机构ID
  13409. in: query
  13410. name: userid
  13411. required: true
  13412. type: integer
  13413. - description: 套保品种id
  13414. in: query
  13415. name: middlegoodsid
  13416. required: true
  13417. type: integer
  13418. produces:
  13419. - application/json
  13420. responses:
  13421. "200":
  13422. description: OK
  13423. schema:
  13424. items:
  13425. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  13426. type: array
  13427. "500":
  13428. description: Internal Server Error
  13429. schema:
  13430. $ref: '#/definitions/app.Response'
  13431. security:
  13432. - ApiKeyAuth: []
  13433. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  13434. tags:
  13435. - 企业风险管理(app)
  13436. /Ermcp/QueryMiddleGoodsDetail:
  13437. get:
  13438. parameters:
  13439. - description: 所属机构ID
  13440. in: query
  13441. name: userid
  13442. required: true
  13443. type: integer
  13444. - description: 套保品种id
  13445. in: query
  13446. name: middlegoodsid
  13447. type: integer
  13448. produces:
  13449. - application/json
  13450. responses:
  13451. "200":
  13452. description: OK
  13453. schema:
  13454. items:
  13455. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  13456. type: array
  13457. "500":
  13458. description: Internal Server Error
  13459. schema:
  13460. $ref: '#/definitions/app.Response'
  13461. security:
  13462. - ApiKeyAuth: []
  13463. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  13464. tags:
  13465. - 企业风险管理(app)
  13466. /Ermcp/QueryPendingAuditInfo:
  13467. get:
  13468. parameters:
  13469. - description: 用户ID
  13470. in: query
  13471. name: UserId
  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.PendingAuditCntRsp'
  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/QueryRealtimeExposure:
  13493. get:
  13494. parameters:
  13495. - description: 所属机构ID
  13496. in: query
  13497. name: userid
  13498. required: true
  13499. type: integer
  13500. produces:
  13501. - application/json
  13502. responses:
  13503. "200":
  13504. description: OK
  13505. schema:
  13506. items:
  13507. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  13508. type: array
  13509. "500":
  13510. description: Internal Server Error
  13511. schema:
  13512. $ref: '#/definitions/app.Response'
  13513. security:
  13514. - ApiKeyAuth: []
  13515. summary: 查询实时敞口
  13516. tags:
  13517. - 企业风险管理(app)
  13518. /Ermcp/QueryRealtimeExposurePosition:
  13519. get:
  13520. parameters:
  13521. - description: 用户id
  13522. in: query
  13523. name: userid
  13524. required: true
  13525. type: integer
  13526. - description: 套保商品ID
  13527. in: query
  13528. name: middleGoodsId
  13529. required: true
  13530. type: integer
  13531. produces:
  13532. - application/json
  13533. responses:
  13534. "200":
  13535. description: OK
  13536. schema:
  13537. items:
  13538. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  13539. type: array
  13540. "500":
  13541. description: Internal Server Error
  13542. schema:
  13543. $ref: '#/definitions/app.Response'
  13544. security:
  13545. - ApiKeyAuth: []
  13546. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  13547. tags:
  13548. - 企业风险管理(app)
  13549. /Ermcp/QueryTradeConfigTMP:
  13550. get:
  13551. parameters:
  13552. - description: 所属机构id
  13553. in: query
  13554. name: areauserid
  13555. type: integer
  13556. produces:
  13557. - application/json
  13558. responses:
  13559. "200":
  13560. description: OK
  13561. schema:
  13562. items:
  13563. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  13564. type: array
  13565. "500":
  13566. description: Internal Server Error
  13567. schema:
  13568. $ref: '#/definitions/app.Response'
  13569. security:
  13570. - ApiKeyAuth: []
  13571. summary: 查询交易模板配置
  13572. tags:
  13573. - 企业风险管理(app)
  13574. /Ermcp/QueryUserInfo:
  13575. get:
  13576. parameters:
  13577. - description: 所属机构用户ID
  13578. in: query
  13579. name: MemberUserID
  13580. required: true
  13581. type: integer
  13582. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  13583. in: query
  13584. name: queryType
  13585. required: true
  13586. type: integer
  13587. produces:
  13588. - application/json
  13589. responses:
  13590. "200":
  13591. description: OK
  13592. schema:
  13593. items:
  13594. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  13595. type: array
  13596. "500":
  13597. description: Internal Server Error
  13598. schema:
  13599. $ref: '#/definitions/app.Response'
  13600. security:
  13601. - ApiKeyAuth: []
  13602. summary: 查询客户资料
  13603. tags:
  13604. - 企业风险管理(app)
  13605. /Ermcp/QueryWarehouseInfo:
  13606. get:
  13607. parameters:
  13608. - description: 用户ID
  13609. in: query
  13610. name: userid
  13611. required: true
  13612. type: integer
  13613. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  13614. in: query
  13615. name: status
  13616. type: string
  13617. produces:
  13618. - application/json
  13619. responses:
  13620. "200":
  13621. description: OK
  13622. schema:
  13623. items:
  13624. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  13625. type: array
  13626. "500":
  13627. description: Internal Server Error
  13628. schema:
  13629. $ref: '#/definitions/app.Response'
  13630. security:
  13631. - ApiKeyAuth: []
  13632. summary: 查询仓库信息
  13633. tags:
  13634. - 企业风险管理(app)
  13635. /Ermcp3/QryAreaExpourseContractDetail:
  13636. get:
  13637. parameters:
  13638. - description: 用户ID
  13639. in: query
  13640. name: userid
  13641. required: true
  13642. type: integer
  13643. - description: 套保商品id
  13644. in: query
  13645. name: middlegoodsid
  13646. required: true
  13647. type: integer
  13648. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13649. in: query
  13650. name: cycletype
  13651. required: true
  13652. type: integer
  13653. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  13654. 全(0)【原值】
  13655. in: query
  13656. name: cycletime
  13657. required: true
  13658. type: string
  13659. produces:
  13660. - application/json
  13661. responses:
  13662. "200":
  13663. description: OK
  13664. schema:
  13665. items:
  13666. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  13667. type: array
  13668. "500":
  13669. description: Internal Server Error
  13670. schema:
  13671. $ref: '#/definitions/app.Response'
  13672. security:
  13673. - ApiKeyAuth: []
  13674. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  13675. tags:
  13676. - 企业风险管理v3(app)
  13677. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  13678. get:
  13679. parameters:
  13680. - description: 用户ID
  13681. in: query
  13682. name: userid
  13683. required: true
  13684. type: integer
  13685. - description: 套保商品id
  13686. in: query
  13687. name: middlegoodsid
  13688. required: true
  13689. type: integer
  13690. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13691. in: query
  13692. name: cycletype
  13693. required: true
  13694. type: integer
  13695. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  13696. 全(0)【原值】
  13697. in: query
  13698. name: cycletime
  13699. required: true
  13700. type: string
  13701. produces:
  13702. - application/json
  13703. responses:
  13704. "200":
  13705. description: OK
  13706. schema:
  13707. items:
  13708. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  13709. type: array
  13710. "500":
  13711. description: Internal Server Error
  13712. schema:
  13713. $ref: '#/definitions/app.Response'
  13714. security:
  13715. - ApiKeyAuth: []
  13716. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  13717. tags:
  13718. - 企业风险管理v3(app)
  13719. /Ermcp3/QryAreaExpourseReport:
  13720. get:
  13721. parameters:
  13722. - description: 用户ID
  13723. in: query
  13724. name: userid
  13725. required: true
  13726. type: integer
  13727. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  13728. in: query
  13729. name: querytype
  13730. required: true
  13731. type: integer
  13732. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13733. in: query
  13734. name: cycletype
  13735. required: true
  13736. type: integer
  13737. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  13738. 全(0)【原值】
  13739. in: query
  13740. name: cycletime
  13741. required: true
  13742. type: string
  13743. produces:
  13744. - application/json
  13745. responses:
  13746. "200":
  13747. description: OK
  13748. schema:
  13749. items:
  13750. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  13751. type: array
  13752. "500":
  13753. description: Internal Server Error
  13754. schema:
  13755. $ref: '#/definitions/app.Response'
  13756. security:
  13757. - ApiKeyAuth: []
  13758. summary: 查询敞口报表
  13759. tags:
  13760. - 企业风险管理v3(app)
  13761. /Ermcp3/QryAreaSpotplReport:
  13762. get:
  13763. parameters:
  13764. - description: 用户ID
  13765. in: query
  13766. name: userid
  13767. required: true
  13768. type: integer
  13769. - description: 查询类型 1-报表 2-报表明细
  13770. in: query
  13771. name: querytype
  13772. required: true
  13773. type: integer
  13774. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13775. in: query
  13776. name: cycletype
  13777. required: true
  13778. type: integer
  13779. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  13780. 全(0)【原值】
  13781. in: query
  13782. name: cycletime
  13783. required: true
  13784. type: string
  13785. - description: 现货品种id(明细必填)
  13786. in: query
  13787. name: deliverygoodsid
  13788. type: integer
  13789. - description: 品类id(明细必填)
  13790. in: query
  13791. name: wrstandardid
  13792. type: integer
  13793. - description: 币种id(明细必填)
  13794. in: query
  13795. name: currencyid
  13796. type: integer
  13797. produces:
  13798. - application/json
  13799. responses:
  13800. "200":
  13801. description: OK
  13802. schema:
  13803. items:
  13804. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  13805. type: array
  13806. "500":
  13807. description: Internal Server Error
  13808. schema:
  13809. $ref: '#/definitions/app.Response'
  13810. security:
  13811. - ApiKeyAuth: []
  13812. summary: 查询现货报表
  13813. tags:
  13814. - 企业风险管理v3(app)
  13815. /Ermcp3/QryAreaStockReport:
  13816. get:
  13817. parameters:
  13818. - description: 用户ID
  13819. in: query
  13820. name: userid
  13821. required: true
  13822. type: integer
  13823. - description: 查询类型 1-报表 2-报表明细
  13824. in: query
  13825. name: querytype
  13826. required: true
  13827. type: integer
  13828. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13829. in: query
  13830. name: cycletype
  13831. required: true
  13832. type: integer
  13833. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  13834. 全(0)【原值】
  13835. in: query
  13836. name: cycletime
  13837. required: true
  13838. type: string
  13839. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  13840. in: query
  13841. name: sumfields
  13842. type: string
  13843. - description: 品种ID
  13844. in: query
  13845. name: deliverygoodsid
  13846. type: integer
  13847. - description: 品类ID
  13848. in: query
  13849. name: wrstandardid
  13850. type: integer
  13851. - description: 品牌ID
  13852. in: query
  13853. name: spotgoodsbrandid
  13854. type: integer
  13855. - description: 仓库ID
  13856. in: query
  13857. name: warehouseinfoid
  13858. type: integer
  13859. produces:
  13860. - application/json
  13861. responses:
  13862. "200":
  13863. description: OK
  13864. schema:
  13865. items:
  13866. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  13867. type: array
  13868. "500":
  13869. description: Internal Server Error
  13870. schema:
  13871. $ref: '#/definitions/app.Response'
  13872. security:
  13873. - ApiKeyAuth: []
  13874. summary: 查询库存报表
  13875. tags:
  13876. - 企业风险管理v3(app)
  13877. /Ermcp3/QryAreaSumPL:
  13878. get:
  13879. parameters:
  13880. - description: 用户ID
  13881. in: query
  13882. name: userid
  13883. required: true
  13884. type: integer
  13885. - description: 查询类型 1-报表 2-报表明细
  13886. in: query
  13887. name: querytype
  13888. required: true
  13889. type: integer
  13890. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13891. in: query
  13892. name: cycletype
  13893. required: true
  13894. type: integer
  13895. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  13896. 全(0)【原值】
  13897. in: query
  13898. name: cycletime
  13899. required: true
  13900. type: string
  13901. - description: 币种id(明细必填)
  13902. in: query
  13903. name: currencyid
  13904. type: integer
  13905. produces:
  13906. - application/json
  13907. responses:
  13908. "200":
  13909. description: OK
  13910. schema:
  13911. items:
  13912. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  13913. type: array
  13914. "500":
  13915. description: Internal Server Error
  13916. schema:
  13917. $ref: '#/definitions/app.Response'
  13918. security:
  13919. - ApiKeyAuth: []
  13920. summary: 查询汇总损益表
  13921. tags:
  13922. - 企业风险管理v3(app)
  13923. /Ermcp3/QryFinanceReport:
  13924. get:
  13925. parameters:
  13926. - description: 用户ID
  13927. in: query
  13928. name: userid
  13929. required: true
  13930. type: integer
  13931. - description: 查询类型 1-报表 2-报表明细
  13932. in: query
  13933. name: querytype
  13934. required: true
  13935. type: integer
  13936. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13937. in: query
  13938. name: cycletype
  13939. required: true
  13940. type: integer
  13941. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  13942. 全(0)【原值】
  13943. in: query
  13944. name: cycletime
  13945. required: true
  13946. type: string
  13947. - description: 币种id(日报表明细)
  13948. in: query
  13949. name: currencyid
  13950. type: integer
  13951. produces:
  13952. - application/json
  13953. responses:
  13954. "200":
  13955. description: OK
  13956. schema:
  13957. items:
  13958. $ref: '#/definitions/models.Ermcp3FinanceReport'
  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/QueryAreaStock:
  13970. get:
  13971. parameters:
  13972. - description: 用户ID
  13973. in: query
  13974. name: userid
  13975. required: true
  13976. type: integer
  13977. produces:
  13978. - application/json
  13979. responses:
  13980. "200":
  13981. description: OK
  13982. schema:
  13983. items:
  13984. $ref: '#/definitions/models.Ermcp3AreaStock'
  13985. type: array
  13986. "500":
  13987. description: Internal Server Error
  13988. schema:
  13989. $ref: '#/definitions/app.Response'
  13990. security:
  13991. - ApiKeyAuth: []
  13992. summary: 查询机构库存(库存管理/当前库存)
  13993. tags:
  13994. - 企业风险管理v3(app)
  13995. /Ermcp3/QueryAreaStockApply:
  13996. get:
  13997. parameters:
  13998. - description: 用户ID
  13999. in: query
  14000. name: userid
  14001. required: true
  14002. type: integer
  14003. - description: 用户类型 2-机构 7-企业成员
  14004. in: query
  14005. name: usertype
  14006. type: integer
  14007. - description: 现货商品ID
  14008. in: query
  14009. name: deliverygoodsid
  14010. type: integer
  14011. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  14012. in: query
  14013. name: inouttype
  14014. type: string
  14015. - description: 合同ID
  14016. in: query
  14017. name: spotcontractid
  14018. type: integer
  14019. - description: 品类ID
  14020. in: query
  14021. name: wrstandardid
  14022. type: integer
  14023. - description: 品牌ID
  14024. in: query
  14025. name: spotgoodsbrandid
  14026. type: integer
  14027. - description: 仓库ID
  14028. in: query
  14029. name: warehouseinfoid
  14030. type: integer
  14031. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14032. in: query
  14033. name: applystatus
  14034. type: string
  14035. produces:
  14036. - application/json
  14037. responses:
  14038. "200":
  14039. description: OK
  14040. schema:
  14041. items:
  14042. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  14043. type: array
  14044. "500":
  14045. description: Internal Server Error
  14046. schema:
  14047. $ref: '#/definitions/app.Response'
  14048. security:
  14049. - ApiKeyAuth: []
  14050. summary: 查询库存申请(出入库记录|库存审核)
  14051. tags:
  14052. - 企业风险管理v3(app)
  14053. /Ermcp3/QueryAreaStockApplySum:
  14054. get:
  14055. parameters:
  14056. - description: 合同ID
  14057. in: query
  14058. name: spotcontractid
  14059. type: integer
  14060. produces:
  14061. - application/json
  14062. responses:
  14063. "200":
  14064. description: OK
  14065. schema:
  14066. items:
  14067. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  14068. type: array
  14069. "500":
  14070. description: Internal Server Error
  14071. schema:
  14072. $ref: '#/definitions/app.Response'
  14073. security:
  14074. - ApiKeyAuth: []
  14075. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  14076. tags:
  14077. - 企业风险管理v3(app)
  14078. /Ermcp3/QueryDGFactoryItem:
  14079. get:
  14080. parameters:
  14081. - description: 用户id
  14082. in: query
  14083. name: userid
  14084. type: integer
  14085. - description: 用户类型 2-机构 7-企业成员
  14086. in: query
  14087. name: usertype
  14088. type: integer
  14089. - description: 选择项ID(SEQ_DGFACTORYITEM)
  14090. in: query
  14091. name: dgfactoryitemid
  14092. type: integer
  14093. - description: 现货品种ID
  14094. in: query
  14095. name: deliverygoodsid
  14096. type: integer
  14097. - description: 要素项类型
  14098. in: query
  14099. name: dgfactoryitemtypeid
  14100. type: integer
  14101. - description: 顺序
  14102. in: query
  14103. name: orderindex
  14104. type: integer
  14105. produces:
  14106. - application/json
  14107. responses:
  14108. "200":
  14109. description: OK
  14110. schema:
  14111. items:
  14112. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  14113. type: array
  14114. "500":
  14115. description: Internal Server Error
  14116. schema:
  14117. $ref: '#/definitions/app.Response'
  14118. security:
  14119. - ApiKeyAuth: []
  14120. summary: 查询品种要素定义项
  14121. tags:
  14122. - 企业风险管理v3(app)
  14123. /Ermcp3/QueryDeliveryGoods:
  14124. get:
  14125. parameters:
  14126. - description: 用户id
  14127. in: query
  14128. name: userid
  14129. required: true
  14130. type: integer
  14131. - description: 用户类型 2-机构 7-企业成员
  14132. in: query
  14133. name: usertype
  14134. type: integer
  14135. - description: 排除已配置的业务类型商品 1-套保 2-套利
  14136. in: query
  14137. name: excludecfg
  14138. type: integer
  14139. produces:
  14140. - application/json
  14141. responses:
  14142. "200":
  14143. description: OK
  14144. schema:
  14145. items:
  14146. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  14147. type: array
  14148. "500":
  14149. description: Internal Server Error
  14150. schema:
  14151. $ref: '#/definitions/app.Response'
  14152. security:
  14153. - ApiKeyAuth: []
  14154. summary: 查询现货商品
  14155. tags:
  14156. - 企业风险管理v3(app)
  14157. /Ermcp3/QueryDeliveryGoodsDetail:
  14158. get:
  14159. parameters:
  14160. - description: 用户id
  14161. in: query
  14162. name: userid
  14163. required: true
  14164. type: integer
  14165. - description: 用户类型 2-机构 7-企业成员
  14166. in: query
  14167. name: usertype
  14168. type: integer
  14169. - description: 现货商品id
  14170. in: query
  14171. name: deliverygoodsid
  14172. type: integer
  14173. produces:
  14174. - application/json
  14175. responses:
  14176. "200":
  14177. description: OK
  14178. schema:
  14179. items:
  14180. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  14181. type: array
  14182. "500":
  14183. description: Internal Server Error
  14184. schema:
  14185. $ref: '#/definitions/app.Response'
  14186. security:
  14187. - ApiKeyAuth: []
  14188. summary: 查询现货商品详情
  14189. tags:
  14190. - 企业风险管理v3(app)
  14191. /Ermcp3/QueryExposureDetail:
  14192. get:
  14193. parameters:
  14194. - description: 用户id
  14195. in: query
  14196. name: userid
  14197. required: true
  14198. type: integer
  14199. - description: 用户类型 2-机构 7-企业成员
  14200. in: query
  14201. name: usertype
  14202. type: integer
  14203. - description: 套保商品
  14204. in: query
  14205. name: middlegoodsid
  14206. required: true
  14207. type: integer
  14208. produces:
  14209. - application/json
  14210. responses:
  14211. "200":
  14212. description: OK
  14213. schema:
  14214. items:
  14215. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  14216. type: array
  14217. "500":
  14218. description: Internal Server Error
  14219. schema:
  14220. $ref: '#/definitions/app.Response'
  14221. security:
  14222. - ApiKeyAuth: []
  14223. summary: 查询敞口现货明细
  14224. tags:
  14225. - 企业风险管理v3(app)
  14226. /Ermcp3/QueryExposureSpot:
  14227. get:
  14228. parameters:
  14229. - description: 用户id
  14230. in: query
  14231. name: userid
  14232. required: true
  14233. type: integer
  14234. - description: 用户类型 2-机构 7-企业成员
  14235. in: query
  14236. name: usertype
  14237. type: integer
  14238. produces:
  14239. - application/json
  14240. responses:
  14241. "200":
  14242. description: OK
  14243. schema:
  14244. items:
  14245. $ref: '#/definitions/models.Ermcp3AreaSpot'
  14246. type: array
  14247. "500":
  14248. description: Internal Server Error
  14249. schema:
  14250. $ref: '#/definitions/app.Response'
  14251. security:
  14252. - ApiKeyAuth: []
  14253. summary: 查询敞口现货头寸(敞口/现货头寸)
  14254. tags:
  14255. - 企业风险管理v3(app)
  14256. /Ermcp3/QueryExposureSpotDetail:
  14257. get:
  14258. parameters:
  14259. - description: 用户id
  14260. in: query
  14261. name: userid
  14262. required: true
  14263. type: integer
  14264. - description: 用户类型 2-机构 7-企业成员
  14265. in: query
  14266. name: usertype
  14267. type: integer
  14268. - description: 现货品种ID
  14269. in: query
  14270. name: deliverygoodsid
  14271. required: true
  14272. type: integer
  14273. produces:
  14274. - application/json
  14275. responses:
  14276. "200":
  14277. description: OK
  14278. schema:
  14279. items:
  14280. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  14281. type: array
  14282. "500":
  14283. description: Internal Server Error
  14284. schema:
  14285. $ref: '#/definitions/app.Response'
  14286. security:
  14287. - ApiKeyAuth: []
  14288. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  14289. tags:
  14290. - 企业风险管理v3(app)
  14291. /Ermcp3/QueryGoodsGroup:
  14292. get:
  14293. parameters:
  14294. - description: 用户id
  14295. in: query
  14296. name: userid
  14297. required: true
  14298. type: integer
  14299. - description: 用户类型 2-机构 7-企业成员
  14300. in: query
  14301. name: usertype
  14302. type: integer
  14303. - description: 排除套保品中已关联的商品组 1-排除
  14304. in: query
  14305. name: excludecfg
  14306. type: integer
  14307. produces:
  14308. - application/json
  14309. responses:
  14310. "200":
  14311. description: OK
  14312. schema:
  14313. items:
  14314. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  14315. type: array
  14316. "500":
  14317. description: Internal Server Error
  14318. schema:
  14319. $ref: '#/definitions/app.Response'
  14320. security:
  14321. - ApiKeyAuth: []
  14322. summary: 查询期货商品组
  14323. tags:
  14324. - 企业风险管理v3(app)
  14325. /Ermcp3/QueryGoodsWrstandard:
  14326. get:
  14327. parameters:
  14328. - description: 用户id
  14329. in: query
  14330. name: userid
  14331. required: true
  14332. type: integer
  14333. - description: 用户类型 2-机构 7-企业成员
  14334. in: query
  14335. name: usertype
  14336. type: integer
  14337. - description: 现货商品id
  14338. in: query
  14339. name: deliverygoodsid
  14340. type: integer
  14341. produces:
  14342. - application/json
  14343. responses:
  14344. "200":
  14345. description: OK
  14346. schema:
  14347. items:
  14348. $ref: '#/definitions/models.Ermcp3Wrstandard'
  14349. type: array
  14350. "500":
  14351. description: Internal Server Error
  14352. schema:
  14353. $ref: '#/definitions/app.Response'
  14354. security:
  14355. - ApiKeyAuth: []
  14356. summary: 查询商品品类
  14357. tags:
  14358. - 企业风险管理v3(app)
  14359. /Ermcp3/QueryGoodsbrand:
  14360. get:
  14361. parameters:
  14362. - description: 用户id
  14363. in: query
  14364. name: userid
  14365. required: true
  14366. type: integer
  14367. - description: 用户类型 2-机构 7-企业成员
  14368. in: query
  14369. name: usertype
  14370. type: integer
  14371. produces:
  14372. - application/json
  14373. responses:
  14374. "200":
  14375. description: OK
  14376. schema:
  14377. items:
  14378. $ref: '#/definitions/models.Ermcp3Brand'
  14379. type: array
  14380. "500":
  14381. description: Internal Server Error
  14382. schema:
  14383. $ref: '#/definitions/app.Response'
  14384. security:
  14385. - ApiKeyAuth: []
  14386. summary: 查询商品品牌
  14387. tags:
  14388. - 企业风险管理v3(app)
  14389. /Ermcp3/QueryHedgePlan:
  14390. get:
  14391. parameters:
  14392. - description: 用户ID
  14393. in: query
  14394. name: userid
  14395. required: true
  14396. type: integer
  14397. - description: 用户类型 2-机构 7-企业成员
  14398. in: query
  14399. name: usertype
  14400. type: integer
  14401. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  14402. in: query
  14403. name: hedgeplanstatus
  14404. required: true
  14405. type: string
  14406. produces:
  14407. - application/json
  14408. responses:
  14409. "200":
  14410. description: OK
  14411. schema:
  14412. items:
  14413. $ref: '#/definitions/models.Ermcp3HedgePlan'
  14414. type: array
  14415. "500":
  14416. description: Internal Server Error
  14417. schema:
  14418. $ref: '#/definitions/app.Response'
  14419. security:
  14420. - ApiKeyAuth: []
  14421. summary: 查询套保计划
  14422. tags:
  14423. - 企业风险管理v3(app)
  14424. /Ermcp3/QueryMiddleGoodsDetail:
  14425. get:
  14426. parameters:
  14427. - description: 用户id
  14428. in: query
  14429. name: userid
  14430. required: true
  14431. type: integer
  14432. - description: 用户类型 2-机构 7-企业成员
  14433. in: query
  14434. name: usertype
  14435. type: integer
  14436. - description: 套保品种id
  14437. in: query
  14438. name: middlegoodsid
  14439. type: integer
  14440. produces:
  14441. - application/json
  14442. responses:
  14443. "200":
  14444. description: OK
  14445. schema:
  14446. items:
  14447. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  14448. type: array
  14449. "500":
  14450. description: Internal Server Error
  14451. schema:
  14452. $ref: '#/definitions/app.Response'
  14453. security:
  14454. - ApiKeyAuth: []
  14455. summary: 查询套保品种详情(套保品种/商品详情)
  14456. tags:
  14457. - 企业风险管理v3(app)
  14458. /Ermcp3/QuerySpotContract:
  14459. get:
  14460. parameters:
  14461. - description: 用户id
  14462. in: query
  14463. name: userid
  14464. required: true
  14465. type: integer
  14466. - description: 用户类型 2-机构 7-企业成员
  14467. in: query
  14468. name: usertype
  14469. type: integer
  14470. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  14471. in: query
  14472. name: querytype
  14473. required: true
  14474. type: integer
  14475. - description: 合同ID(SpotContractId)
  14476. in: query
  14477. name: contractid
  14478. type: string
  14479. produces:
  14480. - application/json
  14481. responses:
  14482. "200":
  14483. description: OK
  14484. schema:
  14485. items:
  14486. $ref: '#/definitions/models.Ermcp3Contract'
  14487. type: array
  14488. "500":
  14489. description: Internal Server Error
  14490. schema:
  14491. $ref: '#/definitions/app.Response'
  14492. security:
  14493. - ApiKeyAuth: []
  14494. summary: 查询现货合同
  14495. tags:
  14496. - 企业风险管理v3(app)
  14497. /Ermcp3/QuerySpotContractBS:
  14498. get:
  14499. parameters:
  14500. - description: 用户id
  14501. in: query
  14502. name: userid
  14503. required: true
  14504. type: integer
  14505. - description: 用户类型 2-机构 7-企业成员
  14506. in: query
  14507. name: usertype
  14508. type: integer
  14509. - description: 合同类型 1-采购, -1-销售
  14510. in: query
  14511. name: contracttype
  14512. required: true
  14513. type: integer
  14514. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  14515. in: query
  14516. name: querytype
  14517. required: true
  14518. type: integer
  14519. - description: 合同ID(SpotContractId)
  14520. in: query
  14521. name: contractid
  14522. type: string
  14523. produces:
  14524. - application/json
  14525. responses:
  14526. "200":
  14527. description: OK
  14528. schema:
  14529. items:
  14530. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  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/QuerySpotGoodsPrice:
  14542. get:
  14543. parameters:
  14544. - description: 用户ID
  14545. in: query
  14546. name: userid
  14547. required: true
  14548. type: integer
  14549. produces:
  14550. - application/json
  14551. responses:
  14552. "200":
  14553. description: OK
  14554. schema:
  14555. items:
  14556. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  14557. type: array
  14558. "500":
  14559. description: Internal Server Error
  14560. schema:
  14561. $ref: '#/definitions/app.Response'
  14562. security:
  14563. - ApiKeyAuth: []
  14564. summary: 查询现货市价(现货市价)
  14565. tags:
  14566. - 企业风险管理v3(app)
  14567. /Ermcp3/QuerySpotGoodsPriceLog:
  14568. get:
  14569. parameters:
  14570. - description: 用户ID
  14571. in: query
  14572. name: userid
  14573. required: true
  14574. type: integer
  14575. - description: 现货商品ID
  14576. in: query
  14577. name: deliverygoodsid
  14578. required: true
  14579. type: integer
  14580. - description: 品牌ID
  14581. in: query
  14582. name: brandid
  14583. type: integer
  14584. - description: 品类ID
  14585. in: query
  14586. name: wrstandardid
  14587. type: integer
  14588. produces:
  14589. - application/json
  14590. responses:
  14591. "200":
  14592. description: OK
  14593. schema:
  14594. items:
  14595. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  14596. type: array
  14597. "500":
  14598. description: Internal Server Error
  14599. schema:
  14600. $ref: '#/definitions/app.Response'
  14601. security:
  14602. - ApiKeyAuth: []
  14603. summary: 查询现货市价详情(现货市价/详情)
  14604. tags:
  14605. - 企业风险管理v3(app)
  14606. /Erms2/QueryArbitrageStrategy:
  14607. get:
  14608. parameters:
  14609. - description: 账户ID
  14610. in: query
  14611. name: userid
  14612. required: true
  14613. type: integer
  14614. - description: 商品组ID(品种ID)
  14615. in: query
  14616. name: goodsgroupid
  14617. type: string
  14618. produces:
  14619. - application/json
  14620. responses:
  14621. "200":
  14622. description: OK
  14623. schema:
  14624. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  14625. "500":
  14626. description: Internal Server Error
  14627. schema:
  14628. $ref: '#/definitions/app.Response'
  14629. security:
  14630. - ApiKeyAuth: []
  14631. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  14632. tags:
  14633. - 风险管理
  14634. /Erms2/QueryInnerTradeDetail:
  14635. get:
  14636. parameters:
  14637. - description: 资金账户
  14638. in: query
  14639. name: accountid
  14640. required: true
  14641. type: integer
  14642. produces:
  14643. - application/json
  14644. responses:
  14645. "200":
  14646. description: OK
  14647. schema:
  14648. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  14649. "500":
  14650. description: Internal Server Error
  14651. schema:
  14652. $ref: '#/definitions/app.Response'
  14653. security:
  14654. - ApiKeyAuth: []
  14655. summary: 查询内部成交单信息
  14656. tags:
  14657. - 风险管理
  14658. /Erms2/QuerySpotContract:
  14659. get:
  14660. parameters:
  14661. - description: 策略申请ID
  14662. in: query
  14663. name: asapplyid
  14664. required: true
  14665. type: integer
  14666. - description: 现货合同ID
  14667. in: query
  14668. name: spotcontractid
  14669. type: integer
  14670. produces:
  14671. - application/json
  14672. responses:
  14673. "200":
  14674. description: OK
  14675. schema:
  14676. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  14677. "500":
  14678. description: Internal Server Error
  14679. schema:
  14680. $ref: '#/definitions/app.Response'
  14681. security:
  14682. - ApiKeyAuth: []
  14683. summary: 查询现货合同表信息(指定策略ID、未结束的)
  14684. tags:
  14685. - 风险管理
  14686. /Erms3/AddErms2ASApply:
  14687. post:
  14688. parameters:
  14689. - description: 申请参数
  14690. in: body
  14691. name: jsonBody
  14692. required: true
  14693. schema:
  14694. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  14695. produces:
  14696. - application/json
  14697. responses:
  14698. "200":
  14699. description: OK
  14700. schema:
  14701. $ref: '#/definitions/app.Response'
  14702. "500":
  14703. description: Internal Server Error
  14704. schema:
  14705. $ref: '#/definitions/app.Response'
  14706. security:
  14707. - ApiKeyAuth: []
  14708. summary: 新增期现套利业务申请
  14709. tags:
  14710. - 风险管理v3
  14711. /Erms3/AddErms2SpotTradeApply:
  14712. post:
  14713. parameters:
  14714. - description: 申请参数
  14715. in: body
  14716. name: jsonBody
  14717. required: true
  14718. schema:
  14719. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  14720. produces:
  14721. - application/json
  14722. responses:
  14723. "200":
  14724. description: OK
  14725. schema:
  14726. $ref: '#/definitions/app.Response'
  14727. "500":
  14728. description: Internal Server Error
  14729. schema:
  14730. $ref: '#/definitions/app.Response'
  14731. security:
  14732. - ApiKeyAuth: []
  14733. summary: 新增现货贸易业务申请
  14734. tags:
  14735. - 风险管理v3
  14736. /Erms3/AddSpotContractApply:
  14737. post:
  14738. parameters:
  14739. - description: 申请参数
  14740. in: body
  14741. name: jsonBody
  14742. required: true
  14743. schema:
  14744. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  14745. produces:
  14746. - application/json
  14747. responses:
  14748. "200":
  14749. description: OK
  14750. schema:
  14751. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  14752. "500":
  14753. description: Internal Server Error
  14754. schema:
  14755. $ref: '#/definitions/app.Response'
  14756. security:
  14757. - ApiKeyAuth: []
  14758. summary: 新增现货合同申请
  14759. tags:
  14760. - 风险管理v3
  14761. /Erms3/AddUserInfoApply:
  14762. post:
  14763. parameters:
  14764. - description: 用户信息
  14765. in: body
  14766. name: jsonBody
  14767. required: true
  14768. schema:
  14769. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  14770. produces:
  14771. - application/json
  14772. responses:
  14773. "200":
  14774. description: OK
  14775. schema:
  14776. $ref: '#/definitions/app.Response'
  14777. "500":
  14778. description: Internal Server Error
  14779. schema:
  14780. $ref: '#/definitions/app.Response'
  14781. security:
  14782. - ApiKeyAuth: []
  14783. summary: 新增客户申请
  14784. tags:
  14785. - 风险管理v3
  14786. /Erms3/DeleteUserInfoApply:
  14787. get:
  14788. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  14789. parameters:
  14790. - description: 用户ID
  14791. in: query
  14792. name: userID
  14793. required: true
  14794. type: integer
  14795. produces:
  14796. - application/json
  14797. responses:
  14798. "200":
  14799. description: OK
  14800. schema:
  14801. $ref: '#/definitions/app.Response'
  14802. "500":
  14803. description: Internal Server Error
  14804. schema:
  14805. $ref: '#/definitions/app.Response'
  14806. security:
  14807. - ApiKeyAuth: []
  14808. summary: 删除客户申请
  14809. tags:
  14810. - 风险管理v3
  14811. /Erms3/ModifyUserInfoApply:
  14812. post:
  14813. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  14814. int, "userstate": 2 }'
  14815. parameters:
  14816. - description: 用户信息
  14817. in: body
  14818. name: jsonBody
  14819. required: true
  14820. schema:
  14821. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  14822. produces:
  14823. - application/json
  14824. responses:
  14825. "200":
  14826. description: OK
  14827. schema:
  14828. $ref: '#/definitions/app.Response'
  14829. "500":
  14830. description: Internal Server Error
  14831. schema:
  14832. $ref: '#/definitions/app.Response'
  14833. security:
  14834. - ApiKeyAuth: []
  14835. summary: 修改客户申请
  14836. tags:
  14837. - 风险管理v3
  14838. /Erms3/QueryBusinessInfo:
  14839. get:
  14840. parameters:
  14841. - description: 资金账号ID列表,用逗号分隔
  14842. in: query
  14843. name: accountids
  14844. required: true
  14845. type: string
  14846. - description: 状态,0为未结束 1为已结束
  14847. in: query
  14848. name: status
  14849. required: true
  14850. type: integer
  14851. produces:
  14852. - application/json
  14853. responses:
  14854. "200":
  14855. description: OK
  14856. schema:
  14857. items:
  14858. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  14859. type: array
  14860. "500":
  14861. description: Internal Server Error
  14862. schema:
  14863. $ref: '#/definitions/app.Response'
  14864. security:
  14865. - ApiKeyAuth: []
  14866. summary: 查询业务表单数据
  14867. tags:
  14868. - 风险管理v3
  14869. /Erms3/QueryPendingAuditContract:
  14870. get:
  14871. parameters:
  14872. - description: 资金账号ID列表,逗号隔开
  14873. in: query
  14874. name: accountids
  14875. required: true
  14876. type: string
  14877. - description: 合同类型 1-采购 -1-销售
  14878. in: query
  14879. name: contracttype
  14880. required: true
  14881. type: integer
  14882. - description: 合同模式 1-普通 2-回购
  14883. in: query
  14884. name: contractmode
  14885. required: true
  14886. type: integer
  14887. produces:
  14888. - application/json
  14889. responses:
  14890. "200":
  14891. description: OK
  14892. schema:
  14893. items:
  14894. $ref: '#/definitions/erms3.QryAuditContractRsp'
  14895. type: array
  14896. "500":
  14897. description: Internal Server Error
  14898. schema:
  14899. $ref: '#/definitions/app.Response'
  14900. security:
  14901. - ApiKeyAuth: []
  14902. summary: 查询待审核合同
  14903. tags:
  14904. - 风险管理v3
  14905. /Erms3/QueryPendingBusiness:
  14906. get:
  14907. parameters:
  14908. - description: 资金账号ID列表,逗号隔开
  14909. in: query
  14910. name: accountids
  14911. required: true
  14912. type: string
  14913. produces:
  14914. - application/json
  14915. responses:
  14916. "200":
  14917. description: OK
  14918. schema:
  14919. items:
  14920. $ref: '#/definitions/erms3.QryPendingBizRsp'
  14921. type: array
  14922. "500":
  14923. description: Internal Server Error
  14924. schema:
  14925. $ref: '#/definitions/app.Response'
  14926. security:
  14927. - ApiKeyAuth: []
  14928. summary: 查询待审核基差贸易业务
  14929. tags:
  14930. - 风险管理v3
  14931. /Erms3/QuerySpotContractAppleForm:
  14932. get:
  14933. parameters:
  14934. - description: 登录账号
  14935. in: query
  14936. name: loginID
  14937. required: true
  14938. type: integer
  14939. produces:
  14940. - application/json
  14941. responses:
  14942. "200":
  14943. description: OK
  14944. schema:
  14945. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  14946. "500":
  14947. description: Internal Server Error
  14948. schema:
  14949. $ref: '#/definitions/app.Response'
  14950. security:
  14951. - ApiKeyAuth: []
  14952. summary: 查询合同申请表单数据
  14953. tags:
  14954. - 风险管理v3
  14955. /Erms3/QuerySpotContractDetail:
  14956. get:
  14957. parameters:
  14958. - description: 资金账号ID列表,用逗号分隔
  14959. in: query
  14960. name: accountids
  14961. required: true
  14962. type: string
  14963. - description: 合同类型,1为采购合同 -1为销售合同
  14964. in: query
  14965. name: contracttype
  14966. required: true
  14967. type: integer
  14968. - description: 合同模式,1为普通合同 2为回购销售合同
  14969. in: query
  14970. name: contractmode
  14971. required: true
  14972. type: integer
  14973. - description: 状态,0为履约中 1为已完成
  14974. in: query
  14975. name: status
  14976. required: true
  14977. type: integer
  14978. produces:
  14979. - application/json
  14980. responses:
  14981. "200":
  14982. description: OK
  14983. schema:
  14984. items:
  14985. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  14986. type: array
  14987. "500":
  14988. description: Internal Server Error
  14989. schema:
  14990. $ref: '#/definitions/app.Response'
  14991. security:
  14992. - ApiKeyAuth: []
  14993. summary: 查询合同详细信息
  14994. tags:
  14995. - 风险管理v3
  14996. /Erms3/QueryUserInfoApplies:
  14997. get:
  14998. parameters:
  14999. - description: 页码
  15000. in: query
  15001. name: page
  15002. type: integer
  15003. - description: 每页条数
  15004. in: query
  15005. name: pagesize
  15006. type: integer
  15007. - description: 客户名称,支持模糊查询
  15008. in: query
  15009. name: userName
  15010. type: string
  15011. produces:
  15012. - application/json
  15013. responses:
  15014. "200":
  15015. description: OK
  15016. schema:
  15017. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  15018. "500":
  15019. description: Internal Server Error
  15020. schema:
  15021. $ref: '#/definitions/app.Response'
  15022. security:
  15023. - ApiKeyAuth: []
  15024. summary: 客户申请信息查询
  15025. tags:
  15026. - 风险管理v3
  15027. /Erms3/QueryUserInfos:
  15028. get:
  15029. parameters:
  15030. - description: 页码
  15031. in: query
  15032. name: page
  15033. type: integer
  15034. - description: 每页条数
  15035. in: query
  15036. name: pagesize
  15037. type: integer
  15038. - description: 客户名称,支持模糊查询
  15039. in: query
  15040. name: userName
  15041. type: string
  15042. produces:
  15043. - application/json
  15044. responses:
  15045. "200":
  15046. description: OK
  15047. schema:
  15048. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  15049. "500":
  15050. description: Internal Server Error
  15051. schema:
  15052. $ref: '#/definitions/app.Response'
  15053. security:
  15054. - ApiKeyAuth: []
  15055. summary: 客户信息查询
  15056. tags:
  15057. - 风险管理v3
  15058. /HSBY/GetHsbyMyCount:
  15059. get:
  15060. description: 说明: 不包括已完成的数量。
  15061. parameters:
  15062. - description: 资金账户列表,格式:1,2,3
  15063. in: query
  15064. name: accountIDs
  15065. required: true
  15066. type: string
  15067. produces:
  15068. - application/json
  15069. responses:
  15070. "200":
  15071. description: OK
  15072. schema:
  15073. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  15074. "500":
  15075. description: Internal Server Error
  15076. schema:
  15077. $ref: '#/definitions/app.Response'
  15078. security:
  15079. - ApiKeyAuth: []
  15080. summary: 获取我的订单与包裹数量
  15081. tags:
  15082. - 定制【海商报业】
  15083. /HSBY/QueryClientFixedADConfigs:
  15084. get:
  15085. produces:
  15086. - application/json
  15087. responses:
  15088. "200":
  15089. description: OK
  15090. schema:
  15091. $ref: '#/definitions/models.Clientfixedadconfig'
  15092. "500":
  15093. description: Internal Server Error
  15094. schema:
  15095. $ref: '#/definitions/app.Response'
  15096. security:
  15097. - ApiKeyAuth: []
  15098. summary: 获取终端固定广告配置
  15099. tags:
  15100. - 定制【海商报业】
  15101. /HSBY/QueryHsbyBuyMyTradeDetail:
  15102. get:
  15103. parameters:
  15104. - description: 页码
  15105. in: query
  15106. name: page
  15107. type: integer
  15108. - description: 每页条数
  15109. in: query
  15110. name: pagesize
  15111. type: integer
  15112. - description: 资金账户列表,格式:1,2,3
  15113. in: query
  15114. name: accountIDs
  15115. required: true
  15116. type: string
  15117. produces:
  15118. - application/json
  15119. responses:
  15120. "200":
  15121. description: OK
  15122. schema:
  15123. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  15124. "500":
  15125. description: Internal Server Error
  15126. schema:
  15127. $ref: '#/definitions/app.Response'
  15128. security:
  15129. - ApiKeyAuth: []
  15130. summary: 查询"我的订单 - 已完成"单据信息
  15131. tags:
  15132. - 定制【海商报业】
  15133. /HSBY/QueryHsbyGoodsOrderDetails:
  15134. get:
  15135. description: 说明:查询结果已按委托价格和委托时间排序
  15136. parameters:
  15137. - description: 商品ID
  15138. in: query
  15139. name: goodsID
  15140. required: true
  15141. type: integer
  15142. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  15143. in: query
  15144. name: accountIDs
  15145. type: string
  15146. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  15147. in: query
  15148. name: buyOrSell
  15149. type: integer
  15150. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  15151. in: query
  15152. name: price
  15153. type: number
  15154. - description: 档位,不传则默认为3档
  15155. in: query
  15156. name: speed
  15157. type: integer
  15158. produces:
  15159. - application/json
  15160. responses:
  15161. "200":
  15162. description: OK
  15163. schema:
  15164. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  15165. "500":
  15166. description: Internal Server Error
  15167. schema:
  15168. $ref: '#/definitions/app.Response'
  15169. security:
  15170. - ApiKeyAuth: []
  15171. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  15172. tags:
  15173. - 定制【海商报业】
  15174. /HSBY/QueryHsbyListingGoodsDetail:
  15175. get:
  15176. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  15177. parameters:
  15178. - description: 商品ID
  15179. in: query
  15180. name: goodsID
  15181. required: true
  15182. type: integer
  15183. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  15184. in: query
  15185. name: accountID
  15186. type: integer
  15187. produces:
  15188. - application/json
  15189. responses:
  15190. "200":
  15191. description: OK
  15192. schema:
  15193. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  15194. "500":
  15195. description: Internal Server Error
  15196. schema:
  15197. $ref: '#/definitions/app.Response'
  15198. security:
  15199. - ApiKeyAuth: []
  15200. summary: 查询二级市场(挂牌点选)商品信息详情
  15201. tags:
  15202. - 定制【海商报业】
  15203. /HSBY/QueryHsbyMarketGoodsDetail:
  15204. get:
  15205. parameters:
  15206. - description: 委托单号
  15207. in: query
  15208. name: orderID
  15209. required: true
  15210. type: integer
  15211. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  15212. in: query
  15213. name: accountID
  15214. type: integer
  15215. produces:
  15216. - application/json
  15217. responses:
  15218. "200":
  15219. description: OK
  15220. schema:
  15221. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  15222. "500":
  15223. description: Internal Server Error
  15224. schema:
  15225. $ref: '#/definitions/app.Response'
  15226. security:
  15227. - ApiKeyAuth: []
  15228. summary: 查询三级市场(商城)商品信息详情
  15229. tags:
  15230. - 定制【海商报业】
  15231. /HSBY/QueryHsbyMarketGoodses:
  15232. get:
  15233. parameters:
  15234. - description: 页码
  15235. in: query
  15236. name: page
  15237. type: integer
  15238. - description: 每页条数
  15239. in: query
  15240. name: pagesize
  15241. type: integer
  15242. - description: 市场ID列表,格式:1,2,3
  15243. in: query
  15244. name: marketIDs
  15245. required: true
  15246. type: string
  15247. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  15248. in: query
  15249. name: accountID
  15250. required: true
  15251. type: integer
  15252. - description: 类别ID
  15253. in: query
  15254. name: categoryID
  15255. type: integer
  15256. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  15257. in: query
  15258. name: goodsIDs
  15259. type: string
  15260. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  15261. in: query
  15262. name: couponTypeID
  15263. type: integer
  15264. produces:
  15265. - application/json
  15266. responses:
  15267. "200":
  15268. description: OK
  15269. schema:
  15270. $ref: '#/definitions/models.HsbyMarketGoods'
  15271. "500":
  15272. description: Internal Server Error
  15273. schema:
  15274. $ref: '#/definitions/app.Response'
  15275. security:
  15276. - ApiKeyAuth: []
  15277. summary: 查询特卖商品列表(三级商城)
  15278. tags:
  15279. - 定制【海商报业】
  15280. /HSBY/QueryHsbyMarkets:
  15281. get:
  15282. produces:
  15283. - application/json
  15284. responses:
  15285. "200":
  15286. description: OK
  15287. schema:
  15288. $ref: '#/definitions/models.HsbyMarketInfo'
  15289. "500":
  15290. description: Internal Server Error
  15291. schema:
  15292. $ref: '#/definitions/app.Response'
  15293. security:
  15294. - ApiKeyAuth: []
  15295. summary: 查询海商报业相关市场信息
  15296. tags:
  15297. - 定制【海商报业】
  15298. /HSBY/QueryHsbyMyBuyOrderDetails:
  15299. get:
  15300. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  15301. parameters:
  15302. - description: 资金账户列表,格式:1,2,3
  15303. in: query
  15304. name: accountIDs
  15305. required: true
  15306. type: string
  15307. produces:
  15308. - application/json
  15309. responses:
  15310. "200":
  15311. description: OK
  15312. schema:
  15313. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  15314. "500":
  15315. description: Internal Server Error
  15316. schema:
  15317. $ref: '#/definitions/app.Response'
  15318. security:
  15319. - ApiKeyAuth: []
  15320. summary: 查询“我的订单”信息
  15321. tags:
  15322. - 定制【海商报业】
  15323. /HSBY/QueryHsbyMyGoods:
  15324. get:
  15325. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  15326. parameters:
  15327. - description: 资金账户列表,格式:1,2,3
  15328. in: query
  15329. name: accountIDs
  15330. required: true
  15331. type: string
  15332. produces:
  15333. - application/json
  15334. responses:
  15335. "200":
  15336. description: OK
  15337. schema:
  15338. $ref: '#/definitions/models.HsbyMyGoods'
  15339. "500":
  15340. description: Internal Server Error
  15341. schema:
  15342. $ref: '#/definitions/app.Response'
  15343. security:
  15344. - ApiKeyAuth: []
  15345. summary: 查询“我的商品”信息
  15346. tags:
  15347. - 定制【海商报业】
  15348. /HSBY/QueryHsbyMyPackages:
  15349. get:
  15350. parameters:
  15351. - description: 资金账户列表,格式:1,2,3
  15352. in: query
  15353. name: accountIDs
  15354. required: true
  15355. type: string
  15356. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  15357. in: query
  15358. name: takeOrderStatus
  15359. type: integer
  15360. produces:
  15361. - application/json
  15362. responses:
  15363. "200":
  15364. description: OK
  15365. schema:
  15366. $ref: '#/definitions/models.HsbyMyPackage'
  15367. "500":
  15368. description: Internal Server Error
  15369. schema:
  15370. $ref: '#/definitions/app.Response'
  15371. security:
  15372. - ApiKeyAuth: []
  15373. summary: 查询我的包裹信息
  15374. tags:
  15375. - 定制【海商报业】
  15376. /HSBY/QueryHsbyPreGoodsDetail:
  15377. get:
  15378. parameters:
  15379. - description: 商品ID
  15380. in: query
  15381. name: goodsID
  15382. required: true
  15383. type: integer
  15384. - description: 资金账户,主要用于获取预售商品购买上限
  15385. in: query
  15386. name: accountID
  15387. type: integer
  15388. produces:
  15389. - application/json
  15390. responses:
  15391. "200":
  15392. description: OK
  15393. schema:
  15394. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  15395. "500":
  15396. description: Internal Server Error
  15397. schema:
  15398. $ref: '#/definitions/app.Response'
  15399. security:
  15400. - ApiKeyAuth: []
  15401. summary: 查询一级市场(预售)商品信息详情
  15402. tags:
  15403. - 定制【海商报业】
  15404. /HSBY/QueryHsbyPreGoodses:
  15405. get:
  15406. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  15407. parameters:
  15408. - description: 页码
  15409. in: query
  15410. name: page
  15411. type: integer
  15412. - description: 每页条数
  15413. in: query
  15414. name: pagesize
  15415. type: integer
  15416. - description: 市场ID列表,格式:1,2,3
  15417. in: query
  15418. name: marketIDs
  15419. required: true
  15420. type: string
  15421. - description: 目的地(省)ID
  15422. in: query
  15423. name: descProvinceID
  15424. type: integer
  15425. - description: 目的地(市)ID
  15426. in: query
  15427. name: descCityID
  15428. type: integer
  15429. produces:
  15430. - application/json
  15431. responses:
  15432. "200":
  15433. description: OK
  15434. schema:
  15435. $ref: '#/definitions/models.HsbyPreGoods'
  15436. "500":
  15437. description: Internal Server Error
  15438. schema:
  15439. $ref: '#/definitions/app.Response'
  15440. security:
  15441. - ApiKeyAuth: []
  15442. summary: 查询新品上市商品列表(一级市场预售)
  15443. tags:
  15444. - 定制【海商报业】
  15445. /HSBY/QueryHsbySellMyDetails:
  15446. get:
  15447. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  15448. parameters:
  15449. - description: 页码
  15450. in: query
  15451. name: page
  15452. type: integer
  15453. - description: 每页条数
  15454. in: query
  15455. name: pagesize
  15456. type: integer
  15457. - description: 资金账户列表,格式:1,2,3
  15458. in: query
  15459. name: accountIDs
  15460. required: true
  15461. type: string
  15462. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  15463. in: query
  15464. name: orderType
  15465. type: integer
  15466. produces:
  15467. - application/json
  15468. responses:
  15469. "200":
  15470. description: OK
  15471. schema:
  15472. $ref: '#/definitions/models.HsbySellMyDetail'
  15473. "500":
  15474. description: Internal Server Error
  15475. schema:
  15476. $ref: '#/definitions/app.Response'
  15477. security:
  15478. - ApiKeyAuth: []
  15479. summary: 查询"我的闲置"单据信息
  15480. tags:
  15481. - 定制【海商报业】
  15482. /HSBY/QueryHsbyTopGoodses:
  15483. get:
  15484. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  15485. parameters:
  15486. - description: 页码
  15487. in: query
  15488. name: page
  15489. type: integer
  15490. - description: 每页条数
  15491. in: query
  15492. name: pagesize
  15493. type: integer
  15494. - description: 市场ID列表,格式:1,2,3
  15495. in: query
  15496. name: marketIDs
  15497. required: true
  15498. type: string
  15499. - description: 目的地(省)ID
  15500. in: query
  15501. name: descProvinceID
  15502. type: integer
  15503. - description: 目的地(市)ID
  15504. in: query
  15505. name: descCityID
  15506. type: integer
  15507. produces:
  15508. - application/json
  15509. responses:
  15510. "200":
  15511. description: OK
  15512. schema:
  15513. $ref: '#/definitions/models.HsbyTopGoods'
  15514. "500":
  15515. description: Internal Server Error
  15516. schema:
  15517. $ref: '#/definitions/app.Response'
  15518. security:
  15519. - ApiKeyAuth: []
  15520. summary: 查询热卖商品列表(二级市场挂牌点选)
  15521. tags:
  15522. - 定制【海商报业】
  15523. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  15524. get:
  15525. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  15526. parameters:
  15527. - description: 商品ID
  15528. in: query
  15529. name: goodsID
  15530. required: true
  15531. type: integer
  15532. produces:
  15533. - application/json
  15534. responses:
  15535. "200":
  15536. description: OK
  15537. schema:
  15538. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  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/QueryHsbyVisitorMarketGoodses:
  15549. get:
  15550. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  15551. parameters:
  15552. - description: 页码
  15553. in: query
  15554. name: page
  15555. type: integer
  15556. - description: 每页条数
  15557. in: query
  15558. name: pagesize
  15559. type: integer
  15560. - description: 市场ID列表,格式:1,2,3
  15561. in: query
  15562. name: marketIDs
  15563. required: true
  15564. type: string
  15565. - description: 类别ID
  15566. in: query
  15567. name: categoryID
  15568. type: integer
  15569. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  15570. in: query
  15571. name: goodsIDs
  15572. type: string
  15573. produces:
  15574. - application/json
  15575. responses:
  15576. "200":
  15577. description: OK
  15578. schema:
  15579. $ref: '#/definitions/models.HsbyMarketGoods'
  15580. "500":
  15581. description: Internal Server Error
  15582. schema:
  15583. $ref: '#/definitions/app.Response'
  15584. security:
  15585. - ApiKeyAuth: []
  15586. summary: 查询游客特卖商品列表(三级商城)
  15587. tags:
  15588. - 定制【海商报业】
  15589. /HSBY/QueryMyCollectionOrders:
  15590. get:
  15591. parameters:
  15592. - description: 页码
  15593. in: query
  15594. name: page
  15595. type: integer
  15596. - description: 每页条数
  15597. in: query
  15598. name: pagesize
  15599. type: integer
  15600. - description: 资金账户,格式:1,2,3
  15601. in: query
  15602. name: accountIDs
  15603. required: true
  15604. type: string
  15605. produces:
  15606. - application/json
  15607. responses:
  15608. "200":
  15609. description: OK
  15610. schema:
  15611. $ref: '#/definitions/models.HsbySellCollectionOrder'
  15612. "500":
  15613. description: Internal Server Error
  15614. schema:
  15615. $ref: '#/definitions/app.Response'
  15616. security:
  15617. - ApiKeyAuth: []
  15618. summary: 我的闲置中收款信息查询
  15619. tags:
  15620. - 定制【海商报业】
  15621. /HSBY/QueryMyCouponHolds:
  15622. get:
  15623. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  15624. parameters:
  15625. - description: 资金账户列表,格式:1,2,3
  15626. in: query
  15627. name: accountIDs
  15628. required: true
  15629. type: string
  15630. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  15631. in: query
  15632. name: holdStatus
  15633. type: string
  15634. produces:
  15635. - application/json
  15636. responses:
  15637. "200":
  15638. description: OK
  15639. schema:
  15640. $ref: '#/definitions/models.MyCouponHold'
  15641. "500":
  15642. description: Internal Server Error
  15643. schema:
  15644. $ref: '#/definitions/app.Response'
  15645. security:
  15646. - ApiKeyAuth: []
  15647. summary: 我的优惠卷持仓查询
  15648. tags:
  15649. - 定制【海商报业】
  15650. /HSBY/QueryMyCoupons:
  15651. get:
  15652. parameters:
  15653. - description: 资金账户列表,格式:1,2,3
  15654. in: query
  15655. name: accountIDs
  15656. required: true
  15657. type: string
  15658. - description: 商品ID, 一般与sellUserID配套传入
  15659. in: query
  15660. name: goodsID
  15661. type: integer
  15662. - description: 卖方UserID
  15663. in: query
  15664. name: sellUserID
  15665. type: integer
  15666. produces:
  15667. - application/json
  15668. responses:
  15669. "200":
  15670. description: OK
  15671. schema:
  15672. $ref: '#/definitions/models.MyCoupon'
  15673. "500":
  15674. description: Internal Server Error
  15675. schema:
  15676. $ref: '#/definitions/app.Response'
  15677. security:
  15678. - ApiKeyAuth: []
  15679. summary: 我的优惠卷查询
  15680. tags:
  15681. - 定制【海商报业】
  15682. /HSBY/QueryMyPayOrders:
  15683. get:
  15684. parameters:
  15685. - description: 页码
  15686. in: query
  15687. name: page
  15688. type: integer
  15689. - description: 每页条数
  15690. in: query
  15691. name: pagesize
  15692. type: integer
  15693. - description: 资金账户列表,格式:1,2,3
  15694. in: query
  15695. name: accountIDs
  15696. required: true
  15697. type: string
  15698. - description: 买方委托单号
  15699. in: query
  15700. name: buyOrderID
  15701. type: integer
  15702. - description: 卖方委托单号
  15703. in: query
  15704. name: sellOrderID
  15705. type: integer
  15706. produces:
  15707. - application/json
  15708. responses:
  15709. "200":
  15710. description: OK
  15711. schema:
  15712. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  15713. "500":
  15714. description: Internal Server Error
  15715. schema:
  15716. $ref: '#/definitions/app.Response'
  15717. security:
  15718. - ApiKeyAuth: []
  15719. summary: 获取我的订单中待付款信息
  15720. tags:
  15721. - 定制【海商报业】
  15722. /HSBY/QueryMyUsedCoupon:
  15723. get:
  15724. parameters:
  15725. - description: 资金账户列表,格式:1,2,3
  15726. in: query
  15727. name: accountIDs
  15728. required: true
  15729. type: string
  15730. produces:
  15731. - application/json
  15732. responses:
  15733. "200":
  15734. description: OK
  15735. schema:
  15736. $ref: '#/definitions/models.MyUsedCoupon'
  15737. "500":
  15738. description: Internal Server Error
  15739. schema:
  15740. $ref: '#/definitions/app.Response'
  15741. security:
  15742. - ApiKeyAuth: []
  15743. summary: 已使用优惠卷查询
  15744. tags:
  15745. - 定制【海商报业】
  15746. /HSBY/QueryProvincesAndCities:
  15747. get:
  15748. description: 查询结果只包括二级市场商品已关连的省市信息。
  15749. parameters:
  15750. - description: 省ID
  15751. in: query
  15752. name: provinceID
  15753. type: integer
  15754. produces:
  15755. - application/json
  15756. responses:
  15757. "200":
  15758. description: OK
  15759. schema:
  15760. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  15761. "500":
  15762. description: Internal Server Error
  15763. schema:
  15764. $ref: '#/definitions/app.Response'
  15765. security:
  15766. - ApiKeyAuth: []
  15767. summary: 查询省市信息(不包括区)
  15768. tags:
  15769. - 定制【海商报业】
  15770. /HSBY/SetHsbyMyPackagesStatus:
  15771. post:
  15772. parameters:
  15773. - description: 提货单号
  15774. in: query
  15775. name: takeOrderID
  15776. required: true
  15777. type: string
  15778. - description: 资金账号
  15779. in: query
  15780. name: accountID
  15781. required: true
  15782. type: integer
  15783. produces:
  15784. - application/json
  15785. responses:
  15786. "200":
  15787. description: OK
  15788. schema:
  15789. $ref: '#/definitions/app.Response'
  15790. "500":
  15791. description: Internal Server Error
  15792. schema:
  15793. $ref: '#/definitions/app.Response'
  15794. security:
  15795. - ApiKeyAuth: []
  15796. summary: 设置我的包裹已收货状态
  15797. tags:
  15798. - 定制【海商报业】
  15799. /Market/QueryGoodsesByLoginID:
  15800. get:
  15801. parameters:
  15802. - description: 登录账号
  15803. in: query
  15804. name: loginID
  15805. required: true
  15806. type: integer
  15807. - description: 市场ID列表,格式:1,2,3
  15808. in: query
  15809. name: marketIDs
  15810. type: string
  15811. produces:
  15812. - application/json
  15813. responses:
  15814. "200":
  15815. description: OK
  15816. schema:
  15817. $ref: '#/definitions/models.Goods'
  15818. "500":
  15819. description: Internal Server Error
  15820. schema:
  15821. $ref: '#/definitions/app.Response'
  15822. security:
  15823. - ApiKeyAuth: []
  15824. summary: 获取登录账号有权限的商品信息
  15825. tags:
  15826. - 通用市场
  15827. /Market/QueryMarketRun:
  15828. get:
  15829. parameters:
  15830. - description: 市场ID,不传返回所有
  15831. in: query
  15832. name: marketID
  15833. type: integer
  15834. produces:
  15835. - application/json
  15836. responses:
  15837. "200":
  15838. description: OK
  15839. schema:
  15840. $ref: '#/definitions/models.Marketrun'
  15841. "500":
  15842. description: Internal Server Error
  15843. schema:
  15844. $ref: '#/definitions/app.Response'
  15845. security:
  15846. - ApiKeyAuth: []
  15847. summary: 查询市场运行信息
  15848. tags:
  15849. - 通用市场
  15850. /Market/QueryMarketsByLoginID:
  15851. get:
  15852. parameters:
  15853. - description: 登录账号
  15854. in: query
  15855. name: loginID
  15856. required: true
  15857. type: integer
  15858. produces:
  15859. - application/json
  15860. responses:
  15861. "200":
  15862. description: OK
  15863. schema:
  15864. $ref: '#/definitions/models.Market'
  15865. "500":
  15866. description: Internal Server Error
  15867. schema:
  15868. $ref: '#/definitions/app.Response'
  15869. security:
  15870. - ApiKeyAuth: []
  15871. summary: 获取登录账号有权限的市场信息
  15872. tags:
  15873. - 通用市场
  15874. /Order/QueryHisTradeDetail:
  15875. get:
  15876. parameters:
  15877. - description: 资金账户 - 格式:1,2,3
  15878. in: query
  15879. name: accountID
  15880. required: true
  15881. type: string
  15882. - description: 成交单号
  15883. in: query
  15884. name: tradeID
  15885. type: integer
  15886. - description: 委托单号
  15887. in: query
  15888. name: orderID
  15889. type: integer
  15890. - description: 交易模式 - 格式:1,2,3
  15891. in: query
  15892. name: tradeMode
  15893. type: string
  15894. - description: 委托单据类型
  15895. in: query
  15896. name: buildType
  15897. type: integer
  15898. - description: 成交类别 - 格式:1,2,3
  15899. in: query
  15900. name: tradeType
  15901. type: string
  15902. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  15903. in: query
  15904. name: startDate
  15905. type: string
  15906. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  15907. in: query
  15908. name: endDate
  15909. type: string
  15910. produces:
  15911. - application/json
  15912. responses:
  15913. "200":
  15914. description: OK
  15915. schema:
  15916. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  15917. "500":
  15918. description: Internal Server Error
  15919. schema:
  15920. $ref: '#/definitions/app.Response'
  15921. security:
  15922. - ApiKeyAuth: []
  15923. summary: 历史成交单查询(合约市场)
  15924. tags:
  15925. - 通用单据
  15926. /Order/QueryHisTradeOrderDetail:
  15927. get:
  15928. parameters:
  15929. - description: 资金账户 - 格式:1,2,3
  15930. in: query
  15931. name: accountID
  15932. required: true
  15933. type: string
  15934. - description: 交易模式 - 格式:1,2,3
  15935. in: query
  15936. name: tradeMode
  15937. type: string
  15938. - description: 委托状态 - 格式:1,2,3
  15939. in: query
  15940. name: orderStatus
  15941. type: string
  15942. - description: 委托单号
  15943. in: query
  15944. name: orderID
  15945. type: integer
  15946. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  15947. in: query
  15948. name: startDate
  15949. type: string
  15950. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  15951. in: query
  15952. name: endDate
  15953. type: string
  15954. produces:
  15955. - application/json
  15956. responses:
  15957. "200":
  15958. description: OK
  15959. schema:
  15960. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  15961. "500":
  15962. description: Internal Server Error
  15963. schema:
  15964. $ref: '#/definitions/app.Response'
  15965. security:
  15966. - ApiKeyAuth: []
  15967. summary: 历史委托单查询请求(合约市场)
  15968. tags:
  15969. - 通用单据
  15970. /Order/QueryTradeDetail:
  15971. get:
  15972. parameters:
  15973. - description: 资金账户 - 格式:1,2,3
  15974. in: query
  15975. name: accountID
  15976. required: true
  15977. type: string
  15978. - description: 成交单号
  15979. in: query
  15980. name: tradeID
  15981. type: integer
  15982. - description: 委托单号
  15983. in: query
  15984. name: orderID
  15985. type: integer
  15986. - description: 交易模式 - 格式:1,2,3
  15987. in: query
  15988. name: tradeMode
  15989. type: string
  15990. - description: 委托单据类型
  15991. in: query
  15992. name: buildType
  15993. type: integer
  15994. - description: 成交类别 - 格式:1,2,3
  15995. in: query
  15996. name: tradeType
  15997. type: string
  15998. produces:
  15999. - application/json
  16000. responses:
  16001. "200":
  16002. description: OK
  16003. schema:
  16004. $ref: '#/definitions/order.QueryTradeDetailRsp'
  16005. "500":
  16006. description: Internal Server Error
  16007. schema:
  16008. $ref: '#/definitions/app.Response'
  16009. security:
  16010. - ApiKeyAuth: []
  16011. summary: 成交单查询(合约市场)
  16012. tags:
  16013. - 通用单据
  16014. /Order/QueryTradeOrderDetail:
  16015. get:
  16016. parameters:
  16017. - description: 资金账户 - 格式:1,2,3
  16018. in: query
  16019. name: accountID
  16020. required: true
  16021. type: string
  16022. - description: 交易模式 - 格式:1,2,3
  16023. in: query
  16024. name: tradeMode
  16025. type: string
  16026. - description: 委托状态 - 格式:1,2,3
  16027. in: query
  16028. name: orderStatus
  16029. type: string
  16030. - description: 委托单号
  16031. in: query
  16032. name: orderID
  16033. type: integer
  16034. produces:
  16035. - application/json
  16036. responses:
  16037. "200":
  16038. description: OK
  16039. schema:
  16040. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  16041. "500":
  16042. description: Internal Server Error
  16043. schema:
  16044. $ref: '#/definitions/app.Response'
  16045. security:
  16046. - ApiKeyAuth: []
  16047. summary: 委托单查询请求(合约市场)
  16048. tags:
  16049. - 通用单据
  16050. /Order/QueryTradePosition:
  16051. get:
  16052. parameters:
  16053. - description: 资金账户 - 格式:1,2,3
  16054. in: query
  16055. name: accountID
  16056. required: true
  16057. type: string
  16058. - description: 交易模式 - 格式:1,2,3
  16059. in: query
  16060. name: tradeMode
  16061. type: string
  16062. produces:
  16063. - application/json
  16064. responses:
  16065. "200":
  16066. description: OK
  16067. schema:
  16068. $ref: '#/definitions/order.QueryTradePositionRsp'
  16069. "500":
  16070. description: Internal Server Error
  16071. schema:
  16072. $ref: '#/definitions/app.Response'
  16073. security:
  16074. - ApiKeyAuth: []
  16075. summary: 持仓汇总查询(合约市场)
  16076. tags:
  16077. - 通用单据
  16078. /Qhj/QueryContract:
  16079. get:
  16080. parameters:
  16081. - description: 用户ID
  16082. in: query
  16083. name: userid
  16084. required: true
  16085. type: integer
  16086. - description: scf合同id
  16087. in: query
  16088. name: scfcontractid
  16089. type: integer
  16090. produces:
  16091. - application/json
  16092. responses:
  16093. "200":
  16094. description: OK
  16095. schema:
  16096. items:
  16097. $ref: '#/definitions/models.QhjContract'
  16098. type: array
  16099. "500":
  16100. description: Internal Server Error
  16101. schema:
  16102. $ref: '#/definitions/app.Response'
  16103. security:
  16104. - ApiKeyAuth: []
  16105. summary: 查询融资明细(合同)
  16106. tags:
  16107. - 大连千海金
  16108. /Qhj/QueryContractLog:
  16109. get:
  16110. parameters:
  16111. - description: scf合同id
  16112. in: query
  16113. name: scfcontractid
  16114. required: true
  16115. type: integer
  16116. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  16117. in: query
  16118. name: amounttype
  16119. type: string
  16120. produces:
  16121. - application/json
  16122. responses:
  16123. "200":
  16124. description: OK
  16125. schema:
  16126. items:
  16127. $ref: '#/definitions/models.QhjContractLog'
  16128. type: array
  16129. "500":
  16130. description: Internal Server Error
  16131. schema:
  16132. $ref: '#/definitions/app.Response'
  16133. security:
  16134. - ApiKeyAuth: []
  16135. summary: 查询融资明细流水(融资明细详情页中的流水)
  16136. tags:
  16137. - 大连千海金
  16138. /Qhj/QueryRSTriggerLog:
  16139. get:
  16140. parameters:
  16141. - description: 用户ID
  16142. in: query
  16143. name: userid
  16144. required: true
  16145. type: integer
  16146. - description: 定投策略id
  16147. in: query
  16148. name: regularlystrategyid
  16149. type: integer
  16150. produces:
  16151. - application/json
  16152. responses:
  16153. "200":
  16154. description: OK
  16155. schema:
  16156. items:
  16157. $ref: '#/definitions/models.QhjRSTriggerLog'
  16158. type: array
  16159. "500":
  16160. description: Internal Server Error
  16161. schema:
  16162. $ref: '#/definitions/app.Response'
  16163. security:
  16164. - ApiKeyAuth: []
  16165. summary: 查询定投记录(定投管理/详情/定投记录)
  16166. tags:
  16167. - 大连千海金
  16168. /Qhj/QueryRStrategy:
  16169. get:
  16170. parameters:
  16171. - description: 用户ID
  16172. in: query
  16173. name: userid
  16174. required: true
  16175. type: integer
  16176. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  16177. in: query
  16178. name: status
  16179. type: string
  16180. produces:
  16181. - application/json
  16182. responses:
  16183. "200":
  16184. description: OK
  16185. schema:
  16186. items:
  16187. $ref: '#/definitions/models.QhjRStrategy'
  16188. type: array
  16189. "500":
  16190. description: Internal Server Error
  16191. schema:
  16192. $ref: '#/definitions/app.Response'
  16193. security:
  16194. - ApiKeyAuth: []
  16195. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  16196. tags:
  16197. - 大连千海金
  16198. /Quote/QueryHistoryDatas:
  16199. get:
  16200. parameters:
  16201. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  16202. 日线'
  16203. in: query
  16204. name: cycleType
  16205. required: true
  16206. type: integer
  16207. - description: 商品代码
  16208. in: query
  16209. name: goodsCode
  16210. required: true
  16211. type: string
  16212. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  16213. in: query
  16214. name: startTime
  16215. type: string
  16216. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  16217. in: query
  16218. name: endTime
  16219. type: string
  16220. - description: 条数
  16221. in: query
  16222. name: count
  16223. type: integer
  16224. - description: 是否按时间顺序排序(默认为时间倒序排序)
  16225. in: query
  16226. name: isAsc
  16227. type: boolean
  16228. produces:
  16229. - application/json
  16230. responses:
  16231. "200":
  16232. description: OK
  16233. schema:
  16234. $ref: '#/definitions/quote.HistoryData'
  16235. "500":
  16236. description: Internal Server Error
  16237. schema:
  16238. $ref: '#/definitions/app.Response'
  16239. security:
  16240. - ApiKeyAuth: []
  16241. summary: 查询行情历史数据
  16242. tags:
  16243. - 行情服务
  16244. /Quote/QueryHistoryTikDatas:
  16245. get:
  16246. parameters:
  16247. - description: 商品代码
  16248. in: query
  16249. name: goodsCode
  16250. required: true
  16251. type: string
  16252. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  16253. in: query
  16254. name: startTime
  16255. type: string
  16256. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  16257. in: query
  16258. name: endTime
  16259. type: string
  16260. - description: 条数
  16261. in: query
  16262. name: count
  16263. type: integer
  16264. - description: 是否按时间顺序排序(默认为时间倒序排序)
  16265. in: query
  16266. name: isAsc
  16267. type: boolean
  16268. produces:
  16269. - application/json
  16270. responses:
  16271. "200":
  16272. description: OK
  16273. schema:
  16274. $ref: '#/definitions/quote.HistoryTikData'
  16275. "500":
  16276. description: Internal Server Error
  16277. schema:
  16278. $ref: '#/definitions/app.Response'
  16279. security:
  16280. - ApiKeyAuth: []
  16281. summary: 查询行情Tik数据
  16282. tags:
  16283. - 行情服务
  16284. /Quote/QueryQuoteDay:
  16285. get:
  16286. parameters:
  16287. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  16288. in: query
  16289. name: goodsCodes
  16290. required: true
  16291. type: string
  16292. produces:
  16293. - application/json
  16294. responses:
  16295. "200":
  16296. description: OK
  16297. schema:
  16298. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  16299. "500":
  16300. description: Internal Server Error
  16301. schema:
  16302. $ref: '#/definitions/app.Response'
  16303. security:
  16304. - ApiKeyAuth: []
  16305. summary: 获取商品盘面信息
  16306. tags:
  16307. - 行情服务
  16308. /Quote/QueryTSData:
  16309. get:
  16310. parameters:
  16311. - description: 商品代码
  16312. in: query
  16313. name: goodsCode
  16314. required: true
  16315. type: string
  16316. produces:
  16317. - application/json
  16318. responses:
  16319. "200":
  16320. description: OK
  16321. schema:
  16322. $ref: '#/definitions/quote.QueryTSDataRsp'
  16323. "500":
  16324. description: Internal Server Error
  16325. schema:
  16326. $ref: '#/definitions/app.Response'
  16327. security:
  16328. - ApiKeyAuth: []
  16329. summary: 分时图数据查询
  16330. tags:
  16331. - 行情服务
  16332. /SZDZ/QueryConvertConfig:
  16333. get:
  16334. parameters:
  16335. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  16336. 6:交易转花生米(不设置)
  16337. in: query
  16338. name: convertType
  16339. type: integer
  16340. - description: 外部商品代码[JD\PD]
  16341. in: query
  16342. name: outerGoodsCode
  16343. type: string
  16344. - description: 内部商品ID列表[交易],格式:1,2,3
  16345. in: query
  16346. name: innerGoodsIDs
  16347. type: string
  16348. produces:
  16349. - application/json
  16350. responses:
  16351. "200":
  16352. description: OK
  16353. schema:
  16354. $ref: '#/definitions/models.Szdz3convertconfig'
  16355. "500":
  16356. description: Internal Server Error
  16357. schema:
  16358. $ref: '#/definitions/app.Response'
  16359. security:
  16360. - ApiKeyAuth: []
  16361. summary: 查询交易系统转换设置
  16362. tags:
  16363. - 定制【尚志大宗】
  16364. /SZDZ/QueryConvertLog:
  16365. get:
  16366. parameters:
  16367. - description: 资金账户 - 格式:1,2,3
  16368. in: query
  16369. name: accountID
  16370. required: true
  16371. type: string
  16372. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  16373. in: query
  16374. name: startDate
  16375. type: string
  16376. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  16377. in: query
  16378. name: endDate
  16379. type: string
  16380. produces:
  16381. - application/json
  16382. responses:
  16383. "200":
  16384. description: OK
  16385. schema:
  16386. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  16387. "500":
  16388. description: Internal Server Error
  16389. schema:
  16390. $ref: '#/definitions/app.Response'
  16391. security:
  16392. - ApiKeyAuth: []
  16393. summary: 交易系统转换流水查询
  16394. tags:
  16395. - 定制【尚志大宗】
  16396. /SZDZ/QueryGoodsPickup:
  16397. get:
  16398. parameters:
  16399. - description: 资金账户 - 格式:1,2,3
  16400. in: query
  16401. name: accountID
  16402. required: true
  16403. type: string
  16404. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  16405. in: query
  16406. name: takeOrderStatus
  16407. type: integer
  16408. produces:
  16409. - application/json
  16410. responses:
  16411. "200":
  16412. description: OK
  16413. schema:
  16414. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  16415. "500":
  16416. description: Internal Server Error
  16417. schema:
  16418. $ref: '#/definitions/app.Response'
  16419. security:
  16420. - ApiKeyAuth: []
  16421. summary: 商品提货单查询
  16422. tags:
  16423. - 定制【尚志大宗】
  16424. /SZDZ/QueryRecieptOrder:
  16425. get:
  16426. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  16427. parameters:
  16428. - description: 页码
  16429. in: query
  16430. name: page
  16431. type: integer
  16432. - description: 每页条数
  16433. in: query
  16434. name: pagesize
  16435. type: integer
  16436. - description: 商品ID
  16437. in: query
  16438. name: goodsID
  16439. required: true
  16440. type: integer
  16441. - description: 所属账户名称
  16442. in: query
  16443. name: accountName
  16444. type: string
  16445. - description: 市场ID
  16446. in: query
  16447. name: marketID
  16448. type: integer
  16449. - description: 方向 - 0:买 1:卖
  16450. in: query
  16451. name: buyorsell
  16452. required: true
  16453. type: integer
  16454. produces:
  16455. - application/json
  16456. responses:
  16457. "200":
  16458. description: OK
  16459. schema:
  16460. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  16461. "500":
  16462. description: Internal Server Error
  16463. schema:
  16464. $ref: '#/definitions/app.Response'
  16465. security:
  16466. - ApiKeyAuth: []
  16467. summary: 点选挂牌委托单据查询(摘牌大厅)
  16468. tags:
  16469. - 定制【尚志大宗】
  16470. /SZDZ/QuerySZDZTradePosition:
  16471. get:
  16472. parameters:
  16473. - description: 资金账户
  16474. in: query
  16475. name: accountID
  16476. required: true
  16477. type: integer
  16478. produces:
  16479. - application/json
  16480. responses:
  16481. "200":
  16482. description: OK
  16483. schema:
  16484. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  16485. "500":
  16486. description: Internal Server Error
  16487. schema:
  16488. $ref: '#/definitions/app.Response'
  16489. security:
  16490. - ApiKeyAuth: []
  16491. summary: 持仓汇总查询(尚志大宗)
  16492. tags:
  16493. - 定制【尚志大宗】
  16494. /SZDZ/SearchWhite:
  16495. get:
  16496. parameters:
  16497. - description: 用户ID
  16498. in: query
  16499. name: userID
  16500. required: true
  16501. type: integer
  16502. produces:
  16503. - application/json
  16504. responses:
  16505. "200":
  16506. description: OK
  16507. schema:
  16508. $ref: '#/definitions/models.Szdz3searchwhitelist'
  16509. "500":
  16510. description: Internal Server Error
  16511. schema:
  16512. $ref: '#/definitions/app.Response'
  16513. security:
  16514. - ApiKeyAuth: []
  16515. summary: 搜索白名单
  16516. tags:
  16517. - 定制【尚志大宗】
  16518. /Search/SearchGoodses:
  16519. get:
  16520. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  16521. parameters:
  16522. - description: 检索内容
  16523. in: query
  16524. name: content
  16525. required: true
  16526. type: string
  16527. - description: 交易模式,格式:1,2,3
  16528. in: query
  16529. name: tradeModes
  16530. type: string
  16531. produces:
  16532. - application/json
  16533. responses:
  16534. "200":
  16535. description: OK
  16536. schema:
  16537. $ref: '#/definitions/models.SearchGoods'
  16538. "500":
  16539. description: Internal Server Error
  16540. schema:
  16541. $ref: '#/definitions/app.Response'
  16542. summary: 检索商品信息
  16543. tags:
  16544. - 检索服务
  16545. /TaAccount/GetTaAccounts:
  16546. get:
  16547. parameters:
  16548. - description: 登录账户
  16549. in: query
  16550. name: loginID
  16551. required: true
  16552. type: integer
  16553. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  16554. in: query
  16555. name: taAccountType
  16556. type: integer
  16557. produces:
  16558. - application/json
  16559. responses:
  16560. "200":
  16561. description: OK
  16562. schema:
  16563. $ref: '#/definitions/models.Taaccount'
  16564. "500":
  16565. description: Internal Server Error
  16566. schema:
  16567. $ref: '#/definitions/app.Response'
  16568. security:
  16569. - ApiKeyAuth: []
  16570. summary: 获取资金账户信息
  16571. tags:
  16572. - 资金账户
  16573. /TaAccount/QueryAmountLog:
  16574. get:
  16575. parameters:
  16576. - description: 页码
  16577. in: query
  16578. name: page
  16579. type: integer
  16580. - description: 每页条数
  16581. in: query
  16582. name: pagesize
  16583. type: integer
  16584. - description: 资金账户 - 格式:1,2,3
  16585. in: query
  16586. name: accountID
  16587. required: true
  16588. type: string
  16589. - description: 资金操作类型 - 格式:1,2,3
  16590. in: query
  16591. name: OperateType
  16592. type: string
  16593. produces:
  16594. - application/json
  16595. responses:
  16596. "200":
  16597. description: OK
  16598. schema:
  16599. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  16600. "500":
  16601. description: Internal Server Error
  16602. schema:
  16603. $ref: '#/definitions/app.Response'
  16604. security:
  16605. - ApiKeyAuth: []
  16606. summary: 资金流水查询(当前)
  16607. tags:
  16608. - 资金账户
  16609. /TaAccount/QueryHisAmountLog:
  16610. get:
  16611. parameters:
  16612. - description: 页码
  16613. in: query
  16614. name: page
  16615. type: integer
  16616. - description: 每页条数
  16617. in: query
  16618. name: pagesize
  16619. type: integer
  16620. - description: 资金账户 - 格式:1,2,3
  16621. in: query
  16622. name: accountID
  16623. required: true
  16624. type: string
  16625. - description: 资金操作类型 - 格式:1,2,3
  16626. in: query
  16627. name: OperateType
  16628. type: string
  16629. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16630. in: query
  16631. name: startDate
  16632. type: string
  16633. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16634. in: query
  16635. name: endDate
  16636. type: string
  16637. produces:
  16638. - application/json
  16639. responses:
  16640. "200":
  16641. description: OK
  16642. schema:
  16643. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  16644. "500":
  16645. description: Internal Server Error
  16646. schema:
  16647. $ref: '#/definitions/app.Response'
  16648. security:
  16649. - ApiKeyAuth: []
  16650. summary: 资金流水查询(历史)
  16651. tags:
  16652. - 资金账户
  16653. /Trade/QueryRecieptOrder:
  16654. get:
  16655. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  16656. parameters:
  16657. - description: 页码
  16658. in: query
  16659. name: page
  16660. type: integer
  16661. - description: 每页条数
  16662. in: query
  16663. name: pagesize
  16664. type: integer
  16665. - description: 商品ID
  16666. in: query
  16667. name: goodsID
  16668. required: true
  16669. type: integer
  16670. - description: 所属账户名称
  16671. in: query
  16672. name: accountName
  16673. type: string
  16674. - description: 市场ID
  16675. in: query
  16676. name: marketID
  16677. type: integer
  16678. - description: 方向 - 0:买 1:卖
  16679. in: query
  16680. name: buyorsell
  16681. required: true
  16682. type: integer
  16683. produces:
  16684. - application/json
  16685. responses:
  16686. "200":
  16687. description: OK
  16688. schema:
  16689. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  16690. "500":
  16691. description: Internal Server Error
  16692. schema:
  16693. $ref: '#/definitions/app.Response'
  16694. security:
  16695. - ApiKeyAuth: []
  16696. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  16697. tags:
  16698. - 通用交易
  16699. /User/AddMessageBoard:
  16700. post:
  16701. parameters:
  16702. - description: 用户ID
  16703. in: query
  16704. name: userID
  16705. required: true
  16706. type: integer
  16707. - description: 留言信息
  16708. in: query
  16709. name: message
  16710. required: true
  16711. type: string
  16712. - description: 联系电话
  16713. in: query
  16714. name: contactNum
  16715. required: true
  16716. type: string
  16717. produces:
  16718. - application/json
  16719. responses:
  16720. "200":
  16721. description: OK
  16722. schema:
  16723. $ref: '#/definitions/app.Response'
  16724. "500":
  16725. description: Internal Server Error
  16726. schema:
  16727. $ref: '#/definitions/app.Response'
  16728. security:
  16729. - ApiKeyAuth: []
  16730. summary: 添加用户留言板信息
  16731. tags:
  16732. - 用户信息
  16733. /User/AddUserFavoriteGoods:
  16734. post:
  16735. parameters:
  16736. - description: 用户ID
  16737. in: query
  16738. name: userID
  16739. required: true
  16740. type: integer
  16741. - description: 商品ID
  16742. in: query
  16743. name: goodsID
  16744. required: true
  16745. type: integer
  16746. produces:
  16747. - application/json
  16748. responses:
  16749. "200":
  16750. description: OK
  16751. schema:
  16752. $ref: '#/definitions/app.Response'
  16753. "500":
  16754. description: Internal Server Error
  16755. schema:
  16756. $ref: '#/definitions/app.Response'
  16757. security:
  16758. - ApiKeyAuth: []
  16759. summary: 添加用户商品收藏信息
  16760. tags:
  16761. - 用户信息
  16762. /User/GetLoginID:
  16763. get:
  16764. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  16765. parameters:
  16766. - description: 登录代码
  16767. in: query
  16768. name: username
  16769. required: true
  16770. type: string
  16771. produces:
  16772. - application/json
  16773. responses:
  16774. "200":
  16775. description: OK
  16776. schema:
  16777. $ref: '#/definitions/app.Response'
  16778. "500":
  16779. description: Internal Server Error
  16780. schema:
  16781. $ref: '#/definitions/app.Response'
  16782. summary: 获取登录ID
  16783. tags:
  16784. - 用户信息
  16785. /User/GetUserAccount:
  16786. get:
  16787. parameters:
  16788. - description: 用户ID
  16789. in: query
  16790. name: userID
  16791. required: true
  16792. type: integer
  16793. produces:
  16794. - application/json
  16795. responses:
  16796. "200":
  16797. description: OK
  16798. schema:
  16799. $ref: '#/definitions/models.Useraccount'
  16800. "500":
  16801. description: Internal Server Error
  16802. schema:
  16803. $ref: '#/definitions/app.Response'
  16804. security:
  16805. - ApiKeyAuth: []
  16806. summary: 获取用户账号信息
  16807. tags:
  16808. - 用户信息
  16809. /User/GetUserAuthStatus:
  16810. get:
  16811. parameters:
  16812. - description: 用户ID
  16813. in: query
  16814. name: userID
  16815. required: true
  16816. type: integer
  16817. produces:
  16818. - application/json
  16819. responses:
  16820. "200":
  16821. description: OK
  16822. schema:
  16823. $ref: '#/definitions/app.Response'
  16824. "500":
  16825. description: Internal Server Error
  16826. schema:
  16827. $ref: '#/definitions/app.Response'
  16828. security:
  16829. - ApiKeyAuth: []
  16830. summary: 获取用户实名认证状态
  16831. tags:
  16832. - 用户信息
  16833. /User/LoginQuery:
  16834. get:
  16835. parameters:
  16836. - description: 登录账号
  16837. in: query
  16838. name: loginID
  16839. required: true
  16840. type: integer
  16841. produces:
  16842. - application/json
  16843. responses:
  16844. "200":
  16845. description: OK
  16846. schema:
  16847. $ref: '#/definitions/user.LoginQueryRsp'
  16848. "500":
  16849. description: Internal Server Error
  16850. schema:
  16851. $ref: '#/definitions/app.Response'
  16852. security:
  16853. - ApiKeyAuth: []
  16854. summary: 账户登录后信息查询
  16855. tags:
  16856. - 用户信息
  16857. /User/QueryMessageBoard:
  16858. get:
  16859. parameters:
  16860. - description: 用户ID
  16861. in: query
  16862. name: userID
  16863. required: true
  16864. type: integer
  16865. produces:
  16866. - application/json
  16867. responses:
  16868. "200":
  16869. description: OK
  16870. schema:
  16871. $ref: '#/definitions/models.Messageboard'
  16872. "500":
  16873. description: Internal Server Error
  16874. schema:
  16875. $ref: '#/definitions/app.Response'
  16876. security:
  16877. - ApiKeyAuth: []
  16878. summary: 获取用户留言板信息
  16879. tags:
  16880. - 用户信息
  16881. /User/QueryUserFavoriteGoodses:
  16882. get:
  16883. parameters:
  16884. - description: 用户ID
  16885. in: query
  16886. name: userID
  16887. required: true
  16888. type: integer
  16889. produces:
  16890. - application/json
  16891. responses:
  16892. "200":
  16893. description: OK
  16894. schema:
  16895. $ref: '#/definitions/models.Userfavoritegoods'
  16896. "500":
  16897. description: Internal Server Error
  16898. schema:
  16899. $ref: '#/definitions/app.Response'
  16900. security:
  16901. - ApiKeyAuth: []
  16902. summary: 获取用户商品收藏信息
  16903. tags:
  16904. - 用户信息
  16905. /User/QueryUserInfo:
  16906. get:
  16907. parameters:
  16908. - description: 用户ID
  16909. in: query
  16910. name: userID
  16911. required: true
  16912. type: integer
  16913. - description: 是否解密
  16914. in: query
  16915. name: isDecrypt
  16916. type: boolean
  16917. produces:
  16918. - application/json
  16919. responses:
  16920. "200":
  16921. description: OK
  16922. schema:
  16923. $ref: '#/definitions/models.Userinfo'
  16924. "500":
  16925. description: Internal Server Error
  16926. schema:
  16927. $ref: '#/definitions/app.Response'
  16928. security:
  16929. - ApiKeyAuth: []
  16930. summary: 获取用户信息
  16931. tags:
  16932. - 用户信息
  16933. /User/QueryUserReferNum:
  16934. get:
  16935. parameters:
  16936. - description: 用户ID
  16937. in: query
  16938. name: userID
  16939. required: true
  16940. type: integer
  16941. produces:
  16942. - application/json
  16943. responses:
  16944. "200":
  16945. description: OK
  16946. schema:
  16947. $ref: '#/definitions/app.Response'
  16948. "500":
  16949. description: Internal Server Error
  16950. schema:
  16951. $ref: '#/definitions/app.Response'
  16952. summary: 获取用户邀请码
  16953. tags:
  16954. - 用户信息
  16955. /User/RemoveUserFavoriteGoods:
  16956. post:
  16957. parameters:
  16958. - description: 用户ID
  16959. in: query
  16960. name: userID
  16961. required: true
  16962. type: integer
  16963. - description: 商品ID
  16964. in: query
  16965. name: goodsID
  16966. required: true
  16967. type: integer
  16968. produces:
  16969. - application/json
  16970. responses:
  16971. "200":
  16972. description: OK
  16973. schema:
  16974. $ref: '#/definitions/app.Response'
  16975. "500":
  16976. description: Internal Server Error
  16977. schema:
  16978. $ref: '#/definitions/app.Response'
  16979. security:
  16980. - ApiKeyAuth: []
  16981. summary: 移除用户商品收藏信息
  16982. tags:
  16983. - 用户信息
  16984. /User/UpdateUserAccountStatus:
  16985. post:
  16986. parameters:
  16987. - description: 用户ID
  16988. in: query
  16989. name: userID
  16990. required: true
  16991. type: integer
  16992. - description: 账户状态 - 4:正常 6:注销(停用)
  16993. in: query
  16994. name: accountStatus
  16995. required: true
  16996. type: integer
  16997. produces:
  16998. - application/json
  16999. responses:
  17000. "200":
  17001. description: OK
  17002. schema:
  17003. $ref: '#/definitions/app.Response'
  17004. "500":
  17005. description: Internal Server Error
  17006. schema:
  17007. $ref: '#/definitions/app.Response'
  17008. security:
  17009. - ApiKeyAuth: []
  17010. summary: 更新用户状态
  17011. tags:
  17012. - 用户信息
  17013. /WRTrade/GetAllDeliveryGoods:
  17014. get:
  17015. produces:
  17016. - application/json
  17017. - application/json
  17018. responses:
  17019. "200":
  17020. description: OK
  17021. schema:
  17022. $ref: '#/definitions/app.Response'
  17023. "500":
  17024. description: Internal Server Error
  17025. schema:
  17026. $ref: '#/definitions/app.Response'
  17027. security:
  17028. - ApiKeyAuth: []
  17029. - ApiKeyAuth: []
  17030. summary: 获取带仓单分类的种类信息
  17031. tags:
  17032. - 仓单贸易
  17033. - 仓单贸易
  17034. securityDefinitions:
  17035. ApiKeyAuth:
  17036. in: header
  17037. name: Authorization
  17038. type: apiKey
  17039. swagger: "2.0"