swagger.yaml 442 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. rulekey:
  35. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  36. type: string
  37. sort:
  38. description: 排序
  39. type: integer
  40. title:
  41. description: 标题
  42. type: string
  43. type:
  44. description: 类型,1:菜单 2:按钮
  45. type: integer
  46. type: object
  47. common.QueryImageConfigsRsp:
  48. properties:
  49. areauserid:
  50. description: 所属机构ID
  51. type: integer
  52. configid:
  53. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  54. type: integer
  55. createdate:
  56. description: 创建时间
  57. type: string
  58. creatorid:
  59. description: 创建人
  60. type: integer
  61. imagepath:
  62. description: 图片
  63. type: string
  64. imagetype:
  65. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  66. type: integer
  67. isshow:
  68. description: 是否展示 - 0:不展示 1:展示
  69. type: integer
  70. marketid:
  71. description: 市场ID
  72. type: integer
  73. modifierid:
  74. description: 操作人
  75. type: integer
  76. sort:
  77. description: 排序
  78. type: integer
  79. title:
  80. description: 标题
  81. type: string
  82. trademode:
  83. description: 交易模式
  84. type: integer
  85. updatedate:
  86. description: 修改时间
  87. type: string
  88. url:
  89. description: 链接(地址或商品ID)
  90. type: string
  91. urltype:
  92. description: 链接类型 - 1:直接地址 2:商品ID
  93. type: integer
  94. required:
  95. - configid
  96. type: object
  97. common.QueryNoticeRsp:
  98. properties:
  99. auditoruserid:
  100. description: 审核人
  101. type: integer
  102. auditremark:
  103. description: 审核备注
  104. type: string
  105. audittime:
  106. description: 审核日期
  107. type: string
  108. autoid:
  109. description: 自增ID
  110. type: integer
  111. content:
  112. description: 内容
  113. type: string
  114. createtime:
  115. description: 创建时间
  116. type: string
  117. creatorid:
  118. description: 建仓人
  119. type: integer
  120. endtime:
  121. description: 结束时间
  122. type: string
  123. istop:
  124. description: 是否置顶 - 0:不置顶 1:置顶
  125. type: integer
  126. msgiconurl:
  127. description: 消息图标Url
  128. type: string
  129. msgtype:
  130. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  131. type: integer
  132. publisher:
  133. description: 消息发布者
  134. type: string
  135. readed:
  136. description: 是否已读
  137. type: boolean
  138. scheduletime:
  139. description: 计划发送时间
  140. type: string
  141. sendtype:
  142. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  143. type: integer
  144. sentstatus:
  145. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  146. type: integer
  147. title:
  148. description: 标题
  149. type: string
  150. userid:
  151. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  152. type: integer
  153. required:
  154. - autoid
  155. type: object
  156. common.QueryProvincesAndCitiesRsp:
  157. properties:
  158. cities:
  159. description: 市
  160. items:
  161. $ref: '#/definitions/models.Division'
  162. type: array
  163. province:
  164. $ref: '#/definitions/models.Division'
  165. description: 省
  166. type: object
  167. type: object
  168. common.QueryTableDefineRsp:
  169. properties:
  170. columns:
  171. description: 列头信息数组
  172. items:
  173. $ref: '#/definitions/models.Tablecolumnconfig'
  174. type: array
  175. remark:
  176. description: Remark
  177. type: string
  178. tabelmenu:
  179. description: 列表菜单
  180. type: string
  181. tablekey:
  182. description: 列表Key
  183. type: string
  184. tablename:
  185. description: 列表名称
  186. type: string
  187. tabletype:
  188. description: 列表类型 - 1:管理端 2:终端
  189. type: integer
  190. required:
  191. - tablekey
  192. type: object
  193. common.QueryTraderMenuRsp:
  194. properties:
  195. OperationMenu:
  196. description: 功能菜单
  197. items:
  198. $ref: '#/definitions/models.OperationPrimaryMenu'
  199. type: array
  200. QuoteMenu:
  201. description: 报价牌分类菜单
  202. items:
  203. $ref: '#/definitions/models.QuotePrimaryMenu'
  204. type: array
  205. type: object
  206. cptrade.Cptradepositioncancel:
  207. properties:
  208. accountid:
  209. description: 申请人账户ID
  210. type: integer
  211. applystatus:
  212. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  213. type: integer
  214. applytime:
  215. description: 申请时间
  216. type: string
  217. cancelid:
  218. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  219. type: integer
  220. cancelqty:
  221. description: 注销数量
  222. type: integer
  223. createtime:
  224. description: 创建时间
  225. type: string
  226. creatorid:
  227. description: 创建人ID
  228. type: integer
  229. creatorname:
  230. description: 创建人
  231. type: string
  232. goodscode:
  233. description: 订单商品代码
  234. type: string
  235. goodsid:
  236. description: 商品ID
  237. type: integer
  238. goodsname:
  239. description: 订单商品名称
  240. type: string
  241. goodunit:
  242. description: 报价单位
  243. type: string
  244. handlestatus:
  245. description: 处理状态
  246. type: integer
  247. marketid:
  248. description: 市场ID
  249. type: integer
  250. marketname:
  251. description: 市场名称
  252. type: string
  253. tradedate:
  254. description: 交易日(yyyyMMdd)
  255. type: string
  256. userid:
  257. description: 申请人ID
  258. type: integer
  259. required:
  260. - cancelid
  261. type: object
  262. cptrade.Cptradepresaleapply:
  263. properties:
  264. accountid:
  265. description: 申请人账户ID
  266. type: integer
  267. applyid:
  268. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  269. type: integer
  270. applyremark:
  271. description: 申请备注
  272. type: string
  273. applystatus:
  274. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  275. type: integer
  276. applytime:
  277. description: 申请时间
  278. type: string
  279. attachmenturl:
  280. description: 附件地址
  281. type: string
  282. endtime:
  283. description: 预售结束时间
  284. type: string
  285. goodscode:
  286. description: 商品代码
  287. type: string
  288. goodsid:
  289. description: 商品ID
  290. type: integer
  291. goodsname:
  292. description: 商品名称
  293. type: string
  294. goodunit:
  295. description: 报价单位
  296. type: string
  297. handlestatus:
  298. description: 处理状态
  299. type: integer
  300. marketid:
  301. description: 预售市场ID
  302. type: integer
  303. marketname:
  304. description: 预售市场名称
  305. type: string
  306. presaleqty:
  307. description: 预售数量
  308. type: integer
  309. relatedgoodscode:
  310. description: 关联交易合约代码
  311. type: string
  312. relatedgoodsid:
  313. description: 关联交易合约ID
  314. type: integer
  315. relatedgoodsname:
  316. description: 关联交易合约名称
  317. type: string
  318. starttime:
  319. description: 预售开始时间
  320. type: string
  321. tradedate:
  322. description: 交易日(yyyyMMdd)
  323. type: string
  324. trademode:
  325. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  326. type: integer
  327. userid:
  328. description: 申请人ID
  329. type: integer
  330. required:
  331. - applyid
  332. type: object
  333. cptrade.Cptradeusergoodsdata:
  334. properties:
  335. EnabledQty:
  336. description: 可用量
  337. type: integer
  338. GoodsCode:
  339. description: 订单商品代码
  340. type: string
  341. GoodsName:
  342. description: 订单商品名称
  343. type: string
  344. WRStandardCode:
  345. description: 仓单标准代码
  346. type: string
  347. WRStandardName:
  348. description: 仓单标准名称
  349. type: string
  350. accountid:
  351. description: 账户ID
  352. type: integer
  353. cancelqty:
  354. description: 注销量
  355. type: integer
  356. curpresaleqty:
  357. description: 当前预售量
  358. type: integer
  359. deliveryqty:
  360. description: 交割量
  361. type: integer
  362. freezeamount:
  363. description: 冻结金额
  364. type: number
  365. goodsid:
  366. description: 商品ID
  367. type: integer
  368. goodunit:
  369. description: 报价单位
  370. type: string
  371. hasspotfreeze:
  372. description: 是否有现货冻结 - 0:否 1:有
  373. type: integer
  374. inqty:
  375. description: 转入量(总数量)
  376. type: integer
  377. marketid:
  378. description: 市场ID
  379. type: integer
  380. presaledamount:
  381. description: 已预售总金额
  382. type: integer
  383. presaledqty:
  384. description: 已预售量
  385. type: integer
  386. userid:
  387. description: 用户ID
  388. type: integer
  389. wrstandardid:
  390. description: 仓单标准ID
  391. type: integer
  392. required:
  393. - accountid
  394. - goodsid
  395. type: object
  396. cptrade.QueryCPTradeMyBidRsp:
  397. properties:
  398. accountid:
  399. description: 账户ID[报价币种]
  400. type: integer
  401. goodsid:
  402. description: 商品ID
  403. type: integer
  404. goodunit:
  405. description: 报价单位
  406. type: string
  407. marketid:
  408. description: 市场ID
  409. type: integer
  410. orderid:
  411. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  412. type: integer
  413. orderprice:
  414. description: 委托价格
  415. type: number
  416. orderqty:
  417. description: 委托数量
  418. type: integer
  419. ordertime:
  420. description: 委托时间
  421. type: string
  422. ordertotalprice:
  423. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  424. type: number
  425. ordertotalweight:
  426. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  427. type: integer
  428. totaltotalprice:
  429. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  430. type: number
  431. tradeprice:
  432. description: 成交价格
  433. type: number
  434. tradeqty:
  435. description: 成交数量
  436. type: integer
  437. required:
  438. - accountid
  439. - goodsid
  440. - marketid
  441. - orderid
  442. - orderqty
  443. - ordertime
  444. - tradeprice
  445. - tradeqty
  446. type: object
  447. cptrade.QueryCPTradeOrderDetailRsq:
  448. properties:
  449. accountid:
  450. description: 账户ID[报价币种]
  451. type: integer
  452. buildtype:
  453. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  454. type: integer
  455. buyorsell:
  456. description: 买卖 - 0:买 1:卖
  457. type: integer
  458. cancelorderid:
  459. description: 撤单单号(撤单时填写)
  460. type: integer
  461. cancelqty:
  462. description: 撤单数量
  463. type: integer
  464. clientordertime:
  465. description: 客户端委托时间
  466. type: string
  467. clientticket:
  468. description: 客户端流水号
  469. type: string
  470. clienttype:
  471. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  472. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  473. type: integer
  474. closeexchagechargevalue:
  475. description: 平仓交易所手续费设置值
  476. type: number
  477. closefeealgorithm:
  478. description: 平仓手续费收取方式 1:比率 2:固定
  479. type: integer
  480. closefreezecharge:
  481. description: 平仓冻结手续费(先建后平操作,需要记录)
  482. type: number
  483. closememberchargevalue:
  484. description: 平仓会员手续费设置值
  485. type: number
  486. closeqty:
  487. description: 平仓数量(先建后平操作 需要记录)
  488. type: integer
  489. closetradeqty:
  490. description: 平仓成交数量(先建后平操作,需要记录)
  491. type: integer
  492. closeunfreezecharge:
  493. description: 平仓解冻手续费(先建后平操作,需要记录)
  494. type: number
  495. delistingtype:
  496. description: 摘牌类型 - 1:价格最优 2:点选成交
  497. type: integer
  498. freezecharge:
  499. description: 冻结手续费
  500. type: number
  501. freezemargin:
  502. description: 冻结保证金(冻结交易金额)
  503. type: number
  504. gcaccountid:
  505. description: 账户ID[合约币种]
  506. type: integer
  507. goodsid:
  508. description: 商品ID
  509. type: integer
  510. isconfirmexercise:
  511. description: 是否确认行权- 0:否 1:是
  512. type: integer
  513. ispreexercise:
  514. description: 是否预申报- 0:否 1:是
  515. type: integer
  516. listingselecttype:
  517. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  518. type: integer
  519. marginalgorithm:
  520. description: 保证金收取方式 1:比率 2:固定
  521. type: integer
  522. marginvalue:
  523. description: 即市保证金设置值
  524. type: number
  525. marketid:
  526. description: 市场ID
  527. type: integer
  528. marketmaxsub:
  529. description: 市价最大偏移范围
  530. type: number
  531. memberuserid:
  532. description: 所属会员UserID
  533. type: integer
  534. openexchagechargevalue:
  535. description: 建仓交易所手续费设置值
  536. type: number
  537. openfeealgorithm:
  538. description: 建仓手续费收取方式 1:比率 2:固定
  539. type: integer
  540. openfreezecharge:
  541. description: 开仓冻结手续费(先建后平操作,需要记录)
  542. type: number
  543. openmemberchargevalue:
  544. description: 建仓会员手续费设置值
  545. type: number
  546. openqty:
  547. description: 开仓数量(先建后平操作,需要记录)
  548. type: integer
  549. opentradeqty:
  550. description: 开仓成交数量(先建后平操作,需要记录)
  551. type: integer
  552. openunfreezecharge:
  553. description: 开仓解冻手续费(先建后平操作,需要记录)
  554. type: number
  555. operatetype:
  556. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  557. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  558. 15:管理端协议转让
  559. type: integer
  560. operatorid:
  561. description: 登录账号(LoginID)
  562. type: integer
  563. optiontype:
  564. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  565. type: integer
  566. orderprice:
  567. description: 委托价格
  568. type: number
  569. orderqty:
  570. description: 委托数量
  571. type: integer
  572. ordersrc:
  573. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  574. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  575. type: integer
  576. orderstatus:
  577. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  578. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  579. 16:成交失败违约(荷兰式竞拍专用)
  580. type: integer
  581. ordertime:
  582. description: 委托时间
  583. type: string
  584. preexerciseprice:
  585. description: 预申报价格
  586. type: number
  587. premium:
  588. description: 权利金
  589. type: number
  590. preorderid:
  591. description: 关联预埋单号(止盈止损单时填写)
  592. type: integer
  593. pricemode:
  594. description: '取价方式 - 1:市价 2: 限价'
  595. type: integer
  596. quoteid:
  597. description: 报价单ID
  598. type: integer
  599. relatedid:
  600. description: 关联单号(交割单)
  601. type: integer
  602. retcode:
  603. description: 错误代码
  604. type: integer
  605. sessionid:
  606. description: 会话ID
  607. type: integer
  608. strorderid:
  609. description: 委托单号
  610. type: string
  611. tradedate:
  612. description: 交易日(yyyyMMdd)
  613. type: string
  614. tradeproperty:
  615. description: 交易属性
  616. type: integer
  617. tradeqty:
  618. description: 成交数量
  619. type: integer
  620. unfreezecharge:
  621. description: 解冻手续费
  622. type: number
  623. unfreezemargin:
  624. description: 解冻保证金
  625. type: number
  626. updatetime:
  627. description: 更新时间
  628. type: string
  629. uuid:
  630. description: 发起端唯一id
  631. type: string
  632. validtime:
  633. description: 有效期限
  634. type: string
  635. validtype:
  636. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  637. type: integer
  638. volumetype:
  639. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  640. type: integer
  641. required:
  642. - accountid
  643. - buildtype
  644. - buyorsell
  645. - goodsid
  646. - marketid
  647. - memberuserid
  648. - operatetype
  649. - orderqty
  650. - ordertime
  651. - pricemode
  652. - strorderid
  653. - tradedate
  654. - validtype
  655. type: object
  656. cptrade.QueryMyCPTradeGoodsRsp:
  657. properties:
  658. accountid:
  659. description: 卖方账户ID
  660. type: integer
  661. agreeunit:
  662. description: 合约单位
  663. type: number
  664. applyid:
  665. description: 关联申请ID
  666. type: integer
  667. attachmenturl:
  668. description: 附件地址
  669. type: string
  670. createtime:
  671. description: 创建时间
  672. type: string
  673. currencyid:
  674. description: 报价货币ID
  675. type: integer
  676. decimalplace:
  677. description: 报价小数位
  678. type: integer
  679. endtime:
  680. description: 预售结束时间
  681. type: string
  682. floorprice:
  683. description: 底价[大宗式竞拍]
  684. type: number
  685. goodscode:
  686. description: 商品代码(预售)
  687. type: string
  688. goodsdetail:
  689. description: 详情[大宗]
  690. type: string
  691. goodsid:
  692. description: 商品ID(自增ID SEQ_GOODS)
  693. type: integer
  694. goodsname:
  695. description: 商品名称(预售)
  696. type: string
  697. goodunit:
  698. description: 报价单位
  699. type: string
  700. goodunitid:
  701. description: 报价单位ID
  702. type: integer
  703. marketid:
  704. description: 所属市场ID
  705. type: integer
  706. marketname:
  707. description: 预售市场名称
  708. type: string
  709. presaledamount:
  710. description: 已预售总金额(预售结束时更新)
  711. type: number
  712. presaledqty:
  713. description: 已预售量(预售结束时更新)
  714. type: integer
  715. presalemode:
  716. description: 预售模式 - 1:一口价 2:大宗式竞拍
  717. type: integer
  718. presaleqty:
  719. description: 预售数量
  720. type: integer
  721. refprice:
  722. description: 参考价格[一口价]
  723. type: number
  724. relatedgoodscode:
  725. description: 商品代码(订单)
  726. type: string
  727. relatedgoodsid:
  728. description: 关联交易合约ID
  729. type: integer
  730. relatedgoodsname:
  731. description: 商品名称(订单)
  732. type: string
  733. relatedmarketid:
  734. description: 关联交易合约市场ID
  735. type: integer
  736. sellstatus:
  737. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  738. type: integer
  739. startprice:
  740. description: 起拍价[大宗式竞拍]
  741. type: number
  742. starttime:
  743. description: 预售开始时间
  744. type: string
  745. tradedate:
  746. description: 交易日(yyyyMMdd)
  747. type: string
  748. tradeprice:
  749. description: 成交价[大宗]
  750. type: number
  751. userid:
  752. description: 卖方用户ID
  753. type: integer
  754. required:
  755. - goodscode
  756. - goodsid
  757. - goodsname
  758. - marketid
  759. - relatedgoodscode
  760. - relatedgoodsname
  761. type: object
  762. cptrade.QueryPresaleGoodsExRsp:
  763. properties:
  764. attachmenturl:
  765. description: 附件地址
  766. type: string
  767. createtime:
  768. description: 创建时间
  769. type: string
  770. endtime:
  771. description: 预售结束时间
  772. type: string
  773. floorprice:
  774. description: 底价[大宗式竞拍]
  775. type: number
  776. goodsdetail:
  777. description: 详情[大宗]
  778. type: string
  779. goodsid:
  780. description: 商品ID(预售)
  781. type: integer
  782. goodunit:
  783. description: 报价单位
  784. type: string
  785. marketid:
  786. description: 预售市场ID - 根据预售模式选择市场
  787. type: integer
  788. presaledamount:
  789. description: 已预售总金额(预售结束时更新)
  790. type: number
  791. presaledqty:
  792. description: 已预售量(预售结束时更新)
  793. type: integer
  794. presalemode:
  795. description: 预售模式 - 1:一口价 2:大宗式竞拍
  796. type: integer
  797. presaleqty:
  798. description: 预售数量
  799. type: integer
  800. refprice:
  801. description: 参考价格[一口价]
  802. type: number
  803. relatedgoodsid:
  804. description: 关联交易合约ID
  805. type: integer
  806. relatedmarketid:
  807. description: 关联交易合约市场ID
  808. type: integer
  809. sellstatus:
  810. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  811. type: integer
  812. startprice:
  813. description: 起拍价[大宗式竞拍]
  814. type: number
  815. starttime:
  816. description: 预售开始时间
  817. type: string
  818. tradedate:
  819. description: 交易日(yyyyMMdd)
  820. type: string
  821. tradeprice:
  822. description: 成交价[大宗]
  823. type: number
  824. required:
  825. - goodsid
  826. type: object
  827. delivery.QueryDeliveryRelationRsp:
  828. properties:
  829. begindate:
  830. description: 起始日期(yyyyMMdd)
  831. type: string
  832. buytemplateid:
  833. description: 买履约计划模板ID
  834. type: integer
  835. deliverygoodscode:
  836. description: 品种代码
  837. type: string
  838. deliverygoodsid:
  839. description: 交割商品
  840. type: integer
  841. deliverygoodsname:
  842. description: 品种名称
  843. type: string
  844. deliverymode:
  845. description: 交割方式 - 1:点选式 2:申报式
  846. type: integer
  847. deliverypricerule:
  848. description: 交割价规则- 1:行情价 2:建仓价
  849. type: integer
  850. deliverytype:
  851. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  852. type: integer
  853. enddate:
  854. description: 结束日期(yyyyMMdd)
  855. type: string
  856. goodscode:
  857. description: 商品代码
  858. type: string
  859. goodsid:
  860. description: 交易合约ID
  861. type: integer
  862. goodsname:
  863. description: 商品名称
  864. type: string
  865. marketid:
  866. description: 市场ID
  867. type: integer
  868. mindeliveryqty:
  869. description: 最小交割系数(K)
  870. type: integer
  871. p2deliveryprice:
  872. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  873. type: number
  874. p2deliveryratio:
  875. description: P2合约系数(p)
  876. type: integer
  877. p2goodsid:
  878. description: P2合约ID
  879. type: integer
  880. p2pricemode:
  881. description: P2合约价格方式 - 1:商品价 2:固定值
  882. type: integer
  883. pdeliveryprice:
  884. description: P合约价格(商品价时填写0,固定值时填写固定值)
  885. type: number
  886. pdeliveryratio:
  887. description: P合约系数(n)
  888. type: integer
  889. pgoodsid:
  890. description: P合约ID
  891. type: integer
  892. ppricemode:
  893. description: P合约价格方式 - 1:商品价 2:固定值
  894. type: integer
  895. rratio:
  896. description: 兑换系数(R)
  897. type: integer
  898. rratio1:
  899. description: 兑换系数(交易合约)(R1)
  900. type: integer
  901. rratio2:
  902. description: 兑换系数(仓单标准)(R2)
  903. type: integer
  904. selltemplateid:
  905. description: 卖履约计划模板ID
  906. type: integer
  907. wrstandardid:
  908. description: 仓单标准ID
  909. type: integer
  910. xdeliveryratio:
  911. description: 交易合约系数(m)
  912. type: integer
  913. required:
  914. - begindate
  915. - enddate
  916. - goodsid
  917. - mindeliveryqty
  918. - xdeliveryratio
  919. type: object
  920. ermcp.ExposureDetailRsp:
  921. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  922. ermcp.ExposureHedgePosDetailRsp:
  923. $ref: '#/definitions/models.ErmcpHedgePositionDetail'
  924. ermcp.ExposureHedgePositionRsp:
  925. $ref: '#/definitions/models.ErmcpHedgePosition'
  926. ermcp.ExposureSpotDetailRsp:
  927. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  928. ermcp.ExposureSpotRsp:
  929. $ref: '#/definitions/models.AreaSpotModel'
  930. ermcp.HisExposureRsp:
  931. $ref: '#/definitions/models.ErmcpHisExposureS'
  932. ermcp.PendingAuditCntRsp:
  933. $ref: '#/definitions/models.ErmcpPendingAudit'
  934. ermcp.QryAvalidGPRsp:
  935. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  936. ermcp.QryGGCovertCfgRsp:
  937. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  938. ermcp.QryMGChangeLogRsp:
  939. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  940. ermcp.QryMiddleGoodsDetailRsp:
  941. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  942. ermcp.QryMiddleGoodsRsp:
  943. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  944. ermcp.QryOPLogRsp:
  945. $ref: '#/definitions/models.ErmcpOPLogModel'
  946. ermcp.QryUserInfoRsp:
  947. $ref: '#/definitions/models.ErmcpUserModel'
  948. ermcp.QryWarehouseRsp:
  949. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  950. ermcp.QueryErmcpTradePositionRsp:
  951. properties:
  952. agreeunit:
  953. description: 合约单位
  954. type: number
  955. buyorsell:
  956. description: 方向 - 0:买 1:卖
  957. type: integer
  958. curpositionqty:
  959. description: 持仓(总仓数量, 期末头寸)
  960. type: integer
  961. curtdposition:
  962. description: 今仓数量(期末今日头寸)
  963. type: integer
  964. curtdpositionenabled:
  965. description: 今仓可用
  966. type: integer
  967. decimalplace:
  968. description: 报价小数位
  969. type: integer
  970. enableqty:
  971. description: 可用(总仓可用)
  972. type: integer
  973. exexchangename:
  974. description: 外部交易所名称
  975. type: string
  976. goodscode:
  977. description: 商品代码(内部)
  978. type: string
  979. goodsid:
  980. description: 商品ID(自增ID SEQ_GOODS)
  981. type: integer
  982. goodsname:
  983. description: 商品名称
  984. type: string
  985. last:
  986. description: 现价
  987. type: number
  988. marketid:
  989. description: 所属市场ID
  990. type: integer
  991. openaverageprice:
  992. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  993. type: number
  994. opencost:
  995. description: 开仓成本
  996. type: number
  997. openpl:
  998. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  999. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1000. type: number
  1001. outgoodscode:
  1002. description: 商品代码(外部)
  1003. type: string
  1004. positionaverageprice:
  1005. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1006. type: number
  1007. positioncost:
  1008. description: 持仓成本
  1009. type: number
  1010. positionpl:
  1011. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1012. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1013. type: number
  1014. positionplrate:
  1015. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1016. type: number
  1017. usedmargin:
  1018. description: 占用保证金
  1019. type: number
  1020. type: object
  1021. ermcp.RealtimeExposurePositionRsp:
  1022. $ref: '#/definitions/models.ErmcpExposurePostion'
  1023. ermcp.RealtimeExposureRsp:
  1024. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1025. erms2.QueryArbitrageStrategyRsp:
  1026. properties:
  1027. applybasis:
  1028. description: 申请基差
  1029. type: number
  1030. asapplyid:
  1031. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1032. type: string
  1033. asname:
  1034. description: 策略名称
  1035. type: string
  1036. asno:
  1037. description: 策略编号
  1038. type: string
  1039. basischangepl:
  1040. description: 基差变动损益[结算更新]
  1041. type: number
  1042. biztype:
  1043. description: 业务类型 - 1:正向套利 -1:反向套利
  1044. type: integer
  1045. closetradedate:
  1046. description: 完结交易日(yyyyMMdd)
  1047. type: string
  1048. curbasis:
  1049. description: 当前基差[结算更新]
  1050. type: number
  1051. deliverygoodsid:
  1052. description: 现货品种ID
  1053. type: integer
  1054. futureavgprice:
  1055. description: 期货建仓均价
  1056. type: number
  1057. futurecloseamount:
  1058. description: 期货平仓金额
  1059. type: number
  1060. futurecloseqty:
  1061. description: 期货平仓数量
  1062. type: number
  1063. futureopenamount:
  1064. description: 期货开仓金额
  1065. type: number
  1066. futureopenqty:
  1067. description: 期货开仓数量
  1068. type: number
  1069. futurepl:
  1070. description: 期货总盈亏[结算更新]
  1071. type: number
  1072. futureqty:
  1073. description: 期货持仓数量
  1074. type: number
  1075. futurequote:
  1076. description: 期货额度
  1077. type: number
  1078. goodsgroupid:
  1079. description: 期货品种ID
  1080. type: integer
  1081. marketid:
  1082. description: 市场ID
  1083. type: integer
  1084. netexposure:
  1085. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1086. type: number
  1087. netexposurepl:
  1088. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1089. type: number
  1090. netexposurerate:
  1091. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1092. type: number
  1093. openbasis:
  1094. description: 建仓基差
  1095. type: number
  1096. pricedspotqty:
  1097. description: 已定价现货数量
  1098. type: number
  1099. pricedspotqtynotax:
  1100. description: 已定价现货不含税数量
  1101. type: number
  1102. remark:
  1103. description: 备注
  1104. type: string
  1105. spotavgprice:
  1106. description: 现货均价
  1107. type: number
  1108. spotbuyamount:
  1109. description: 现货采购金额
  1110. type: number
  1111. spotbuyqty:
  1112. description: 现货采购数量
  1113. type: number
  1114. spotpl:
  1115. description: 现货总盈亏[结算更新]
  1116. type: number
  1117. spotquota:
  1118. description: 现货额度
  1119. type: number
  1120. spotsellamount:
  1121. description: 现货销售金额
  1122. type: number
  1123. spotsellqty:
  1124. description: 现货销售数量
  1125. type: number
  1126. spotusedquota:
  1127. description: 现货占用资金
  1128. type: number
  1129. strategystatus:
  1130. description: 策略状态 - 0:未结束 1:已结束
  1131. type: integer
  1132. totalpl:
  1133. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1134. type: number
  1135. tradedate:
  1136. description: 交易日(yyyyMMdd)
  1137. type: string
  1138. updatetime:
  1139. description: 更新时间
  1140. type: string
  1141. usedquota:
  1142. description: 已占用资金
  1143. type: number
  1144. userid:
  1145. description: 所属机构
  1146. type: integer
  1147. required:
  1148. - asapplyid
  1149. type: object
  1150. erms2.QueryInnerTradeDetailRsp:
  1151. properties:
  1152. accountid:
  1153. description: 账号ID
  1154. type: integer
  1155. agreeunit:
  1156. description: 合约单位
  1157. type: number
  1158. asapplyid:
  1159. description: 策略申请ID
  1160. type: integer
  1161. asname:
  1162. description: 策略名称
  1163. type: string
  1164. asno:
  1165. description: 策略编号
  1166. type: string
  1167. buyorsell:
  1168. description: 方向 - 0:买 1:卖
  1169. type: integer
  1170. channelbuildtype:
  1171. description: 委托单据类型 0:无 1:建仓 2:平仓
  1172. type: integer
  1173. closetype:
  1174. description: 平仓方式 - 0:无 1:平今 2:平昨
  1175. type: integer
  1176. decimalplace:
  1177. description: 报价小数位
  1178. type: integer
  1179. detailtype:
  1180. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1181. type: integer
  1182. exexchangecode:
  1183. description: 外部交易所代码
  1184. type: string
  1185. exexchangename:
  1186. description: 外部交易所名称
  1187. type: string
  1188. goodscode:
  1189. description: 商品代码(合约)
  1190. type: string
  1191. goodsgroupid:
  1192. description: 商品组ID(品种ID)
  1193. type: integer
  1194. goodsgroupname:
  1195. description: 商品组名称(品种)
  1196. type: string
  1197. goodsid:
  1198. description: 商品ID
  1199. type: integer
  1200. goodsname:
  1201. description: 商品名称(合约)
  1202. type: string
  1203. goodunit:
  1204. description: 报价单位
  1205. type: string
  1206. marketid:
  1207. description: 市场ID
  1208. type: integer
  1209. orderid:
  1210. description: 委托单号
  1211. type: string
  1212. outgoodscode:
  1213. description: 商品代码(外部)
  1214. type: string
  1215. relatedouttradeid:
  1216. description: 关联外部成交单ID
  1217. type: string
  1218. remark:
  1219. description: 备注
  1220. type: string
  1221. spotcontractid:
  1222. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1223. type: integer
  1224. spotcontractno:
  1225. description: 现货合同编号
  1226. type: string
  1227. tradeid:
  1228. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1229. type: string
  1230. tradeprice:
  1231. description: 成交价格
  1232. type: number
  1233. tradeqty:
  1234. description: 成交数量
  1235. type: integer
  1236. tradetime:
  1237. description: 成交时间
  1238. type: string
  1239. updatetime:
  1240. description: 更新时间
  1241. type: string
  1242. required:
  1243. - asapplyid
  1244. - buyorsell
  1245. - goodscode
  1246. - goodsgroupid
  1247. - goodsgroupname
  1248. - goodsname
  1249. - tradeid
  1250. type: object
  1251. erms2.QuerySpotContractRsp:
  1252. properties:
  1253. accountid:
  1254. description: 资金账户ID
  1255. type: integer
  1256. areauserid:
  1257. description: 所属机构
  1258. type: integer
  1259. closedate:
  1260. description: 终止日期
  1261. type: string
  1262. closeremark:
  1263. description: 结束备注
  1264. type: string
  1265. closetradedate:
  1266. description: 完结交易日(yyyyMMdd)
  1267. type: string
  1268. closetype:
  1269. description: 终止类型 - 1:违约 2:提前终止
  1270. type: integer
  1271. contractamount:
  1272. description: 合同金额
  1273. type: number
  1274. contractattachment:
  1275. description: 合同附件
  1276. type: string
  1277. contractno:
  1278. description: 现货合同编号
  1279. type: string
  1280. contractqty:
  1281. description: 合同数量(数值) (用于计算)
  1282. type: number
  1283. contractqtychar:
  1284. description: 合同数量\已订价数量 (用于显示)
  1285. type: string
  1286. contractstatus:
  1287. description: 合同状态 - 0:未结束 1:已结束
  1288. type: integer
  1289. contracttype:
  1290. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1291. type: integer
  1292. customeraccountid:
  1293. description: 客户资金账户ID
  1294. type: integer
  1295. customeruserid:
  1296. description: 客户ID
  1297. type: integer
  1298. deliverygoodsdesc:
  1299. description: 品种说明
  1300. type: string
  1301. deliverygoodsid:
  1302. description: 现货品种ID
  1303. type: integer
  1304. handlestatus:
  1305. description: 处理状态
  1306. type: integer
  1307. invoiceatt:
  1308. description: 发票附件
  1309. type: string
  1310. invoicedatetime:
  1311. description: 开收票更新时间
  1312. type: string
  1313. invoiceopentime:
  1314. description: 开票时间
  1315. type: string
  1316. invoiceremark:
  1317. description: 发票备注
  1318. type: string
  1319. invoicestatus:
  1320. description: 开收票状态 - 0:未开票 1:已开票
  1321. type: integer
  1322. lastdate:
  1323. description: 交货时间
  1324. type: string
  1325. marketid:
  1326. description: 市场ID
  1327. type: integer
  1328. paydatetime:
  1329. description: 收付款更新时间
  1330. type: string
  1331. payremark:
  1332. description: 收付款备注
  1333. type: string
  1334. paystatus:
  1335. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1336. type: integer
  1337. positionqty:
  1338. description: 头寸数量 - 合同数量去小数部分
  1339. type: integer
  1340. producttype:
  1341. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1342. type: integer
  1343. relatedqty:
  1344. description: 已关联数量
  1345. type: number
  1346. relatedstatus:
  1347. description: 关联完结状态 - 0:未结束 1:已结束
  1348. type: integer
  1349. remark:
  1350. description: 备注
  1351. type: string
  1352. signdate:
  1353. description: 签订日期
  1354. type: string
  1355. spotcontractid:
  1356. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1357. type: string
  1358. spotdatetime:
  1359. description: 收发货更新时间
  1360. type: string
  1361. spotprice:
  1362. description: 价格
  1363. type: number
  1364. spotremark:
  1365. description: 收发货备注
  1366. type: string
  1367. spotstatus:
  1368. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1369. type: integer
  1370. tradedate:
  1371. description: 交易日(yyyyMMdd)
  1372. type: string
  1373. userid:
  1374. description: 业务员用户ID
  1375. type: integer
  1376. warehouseid:
  1377. description: 仓库ID
  1378. type: integer
  1379. wrfactortypeid:
  1380. description: 仓单要素类型ID
  1381. type: integer
  1382. wrstandardid:
  1383. description: 仓单标准ID(SEQ_WRSTANDARD)
  1384. type: integer
  1385. required:
  1386. - spotcontractid
  1387. type: object
  1388. erms3.AddErms2ASApplyReq:
  1389. properties:
  1390. applybasis:
  1391. description: 申请基差
  1392. type: number
  1393. applystatus:
  1394. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1395. type: integer
  1396. asapplyid:
  1397. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1398. type: integer
  1399. asname:
  1400. description: 策略名称
  1401. type: string
  1402. asno:
  1403. description: 策略编号
  1404. type: string
  1405. auditid:
  1406. description: 审核人
  1407. type: integer
  1408. auditremark:
  1409. description: 审核备注
  1410. type: string
  1411. audittime:
  1412. description: 审核时间
  1413. type: string
  1414. biztype:
  1415. description: 业务类型 - 1:正向套利 2:反向套利
  1416. type: integer
  1417. createtime:
  1418. description: 创建时间
  1419. type: string
  1420. creatorid:
  1421. description: 创建人
  1422. type: integer
  1423. deliverygoodsid:
  1424. description: 现货品种ID
  1425. type: integer
  1426. futurequote:
  1427. description: 期货额度
  1428. type: number
  1429. goodsgroupid:
  1430. description: 期货品种ID
  1431. type: integer
  1432. marketid:
  1433. description: 市场ID
  1434. type: integer
  1435. remark:
  1436. description: 备注
  1437. type: string
  1438. spotquota:
  1439. description: 现货额度
  1440. type: number
  1441. tradedate:
  1442. description: 交易日(yyyyMMdd)
  1443. type: string
  1444. userid:
  1445. description: 所属机构
  1446. type: integer
  1447. required:
  1448. - asapplyid
  1449. type: object
  1450. erms3.AddErms2SpotTradeApplyReq:
  1451. properties:
  1452. applyjsondetail:
  1453. description: 申请明细(JSON)
  1454. type: string
  1455. applystatus:
  1456. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1457. type: integer
  1458. areauserid:
  1459. description: 所属机构
  1460. type: integer
  1461. auditid:
  1462. description: 审核人
  1463. type: integer
  1464. auditremark:
  1465. description: 审核备注
  1466. type: string
  1467. audittime:
  1468. description: 审核时间
  1469. type: string
  1470. createtime:
  1471. description: 创建时间
  1472. type: string
  1473. creatorid:
  1474. description: 创建人
  1475. type: integer
  1476. deliverygoodsid:
  1477. description: 现货品种ID
  1478. type: integer
  1479. futureaccountid:
  1480. description: 期货资金账户
  1481. type: integer
  1482. goodsgroupid:
  1483. description: 期货品种
  1484. type: integer
  1485. marketid:
  1486. description: 市场ID
  1487. type: integer
  1488. remark:
  1489. description: 备注
  1490. type: string
  1491. spotaccountid:
  1492. description: 现货资金账户
  1493. type: integer
  1494. spottradeid:
  1495. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1496. type: integer
  1497. spottradename:
  1498. description: 业务名称
  1499. type: string
  1500. spottradeno:
  1501. description: 业务编号
  1502. type: string
  1503. tradedate:
  1504. description: 交易日(yyyyMMdd)
  1505. type: string
  1506. wrstandardid:
  1507. description: 仓单标准ID
  1508. type: integer
  1509. required:
  1510. - spottradeid
  1511. type: object
  1512. erms3.AddSpotContractApplyReq:
  1513. properties:
  1514. accountid:
  1515. description: 资金账户ID
  1516. type: integer
  1517. areauserid:
  1518. description: 所属机构
  1519. type: integer
  1520. contractattachment:
  1521. description: 合同附件
  1522. type: string
  1523. contractno:
  1524. description: 现货合同编号
  1525. type: string
  1526. contracttype:
  1527. description: 现货合同类型 - 1:采购 -1:销售
  1528. type: integer
  1529. creatorid:
  1530. description: 申请人
  1531. type: integer
  1532. customeraccountid:
  1533. description: 客户资金账户ID
  1534. type: integer
  1535. customeruserid:
  1536. description: 客户ID
  1537. type: integer
  1538. details:
  1539. description: 明细
  1540. items:
  1541. $ref: '#/definitions/erms3.SoptContractDetail'
  1542. type: array
  1543. orimargin:
  1544. description: 初始保证金
  1545. type: number
  1546. remark:
  1547. description: 备注
  1548. type: string
  1549. signdate:
  1550. description: 签订日期
  1551. type: string
  1552. required:
  1553. - accountid
  1554. - areauserid
  1555. - contractno
  1556. - contracttype
  1557. - customeraccountid
  1558. - customeruserid
  1559. - details
  1560. - orimargin
  1561. - signdate
  1562. type: object
  1563. erms3.AddSpotContractApplyRsp:
  1564. properties:
  1565. contractno:
  1566. description: 现货合同编号
  1567. type: string
  1568. spotcontractid:
  1569. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  1570. type: integer
  1571. required:
  1572. - contractno
  1573. type: object
  1574. erms3.AddUserInfoApplyReq:
  1575. properties:
  1576. accountid:
  1577. description: 交易系统帐号Id (加密存储)
  1578. type: integer
  1579. areacode:
  1580. description: 机构代码
  1581. type: string
  1582. areaid:
  1583. description: 机构Id
  1584. type: integer
  1585. attachment1:
  1586. description: 附件1
  1587. type: string
  1588. attachment2:
  1589. description: 附件2
  1590. type: string
  1591. attachment3:
  1592. description: 附件3
  1593. type: string
  1594. attachment4:
  1595. description: 附件4
  1596. type: string
  1597. attachment5:
  1598. description: 附件5
  1599. type: string
  1600. auditedby:
  1601. description: 审核人
  1602. type: string
  1603. auditime:
  1604. description: 审核时间
  1605. type: string
  1606. auditsrc:
  1607. description: 审核来源 - 1:管理端 2:终端
  1608. type: integer
  1609. bankaccount:
  1610. description: 银行帐号 (加密存储)
  1611. type: string
  1612. bankaccountname:
  1613. description: 收款人名称
  1614. type: string
  1615. bankcardbackphotourl:
  1616. description: 银行卡背面照地址
  1617. type: string
  1618. bankcardfrontphotourl:
  1619. description: 银行卡正面照地址
  1620. type: string
  1621. bankid:
  1622. description: 银行编码
  1623. type: string
  1624. bankname:
  1625. description: 银行名称
  1626. type: string
  1627. bankpictureurl:
  1628. description: 银行卡正面地址
  1629. type: string
  1630. biznature:
  1631. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  1632. type: integer
  1633. bizscope:
  1634. description: 企业经营范围(企业)
  1635. type: string
  1636. biztype:
  1637. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  1638. type: integer
  1639. brokerid:
  1640. description: 经纪人ID(加密存储)
  1641. type: string
  1642. cardaddress:
  1643. description: 证件地址 (加密存储)
  1644. type: string
  1645. cardbackphotourl:
  1646. description: 背面证件照地址
  1647. type: string
  1648. cardfrontphotourl:
  1649. description: 正面证件照地址
  1650. type: string
  1651. cardnum:
  1652. description: 证件号码 (加密存储)
  1653. type: string
  1654. cardtype:
  1655. description: 证件类型
  1656. type: integer
  1657. cityid:
  1658. description: 市
  1659. type: integer
  1660. company:
  1661. description: 公司(个人)
  1662. type: string
  1663. contactcardbackphotourl:
  1664. description: 联系人证件背面图片地址
  1665. type: string
  1666. contactcardfrontphotourl:
  1667. description: 联系人证件正面图片地址
  1668. type: string
  1669. contactname:
  1670. description: 联系人
  1671. type: string
  1672. countryid:
  1673. description: 国家
  1674. type: integer
  1675. createtime:
  1676. description: 开户申请时间
  1677. type: string
  1678. cusbankid:
  1679. description: 签约类型
  1680. type: string
  1681. cusbankname:
  1682. description: 签约类型名称
  1683. type: string
  1684. customername:
  1685. description: 客户名称(企业名称)
  1686. type: string
  1687. districtid:
  1688. description: 地区
  1689. type: integer
  1690. email:
  1691. description: Email地址(加密存储)
  1692. type: string
  1693. halfbodyphotourl:
  1694. description: 半身照地址
  1695. type: string
  1696. headurl:
  1697. description: 头像地址
  1698. type: string
  1699. ipaddress:
  1700. description: IP地址
  1701. type: string
  1702. isvalidate:
  1703. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  1704. type: string
  1705. legalcardbackphotourl:
  1706. description: 法人身份证背面照地址
  1707. type: string
  1708. legalcardfrontphotourl:
  1709. description: 法人身份证正面照地址
  1710. type: string
  1711. legalpersonname:
  1712. description: 法人姓名(企业)
  1713. type: string
  1714. logincode:
  1715. description: 登录帐号 (加密存储)
  1716. type: string
  1717. memberareaid:
  1718. description: 所属会员ID
  1719. type: integer
  1720. mobile2:
  1721. description: 手机号码[明文-尚志]
  1722. type: string
  1723. mobilephone:
  1724. description: 手机号码 (加密存储)
  1725. type: string
  1726. modifiedby:
  1727. description: 修改人帐号
  1728. type: integer
  1729. modifiedtime:
  1730. description: 修改时间
  1731. type: string
  1732. nickname:
  1733. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  1734. type: string
  1735. openmode:
  1736. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  1737. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  1738. type: integer
  1739. otherurl:
  1740. description: 其它图片地址[使用分号分隔]
  1741. type: string
  1742. postalcode:
  1743. description: 邮政编码
  1744. type: string
  1745. provinceid:
  1746. description: 省
  1747. type: integer
  1748. proxystatementurl:
  1749. description: 授权委托书
  1750. type: string
  1751. qq:
  1752. description: QQ(加密存储
  1753. type: string
  1754. referral:
  1755. description: 推荐人编码
  1756. type: string
  1757. remark:
  1758. description: 备注
  1759. type: string
  1760. removebeforestatus:
  1761. description: REMOVEBEFORESTATUS
  1762. type: integer
  1763. sex:
  1764. description: 性别 - 0:女 1:男
  1765. type: integer
  1766. signedstatus:
  1767. description: 账户一号签签约状态
  1768. type: integer
  1769. signpdfurl:
  1770. description: 签约pdf文件
  1771. type: string
  1772. subbranch:
  1773. description: 开户支行
  1774. type: string
  1775. taxpayernum:
  1776. description: 纳税人识别号
  1777. type: string
  1778. telphone:
  1779. description: 联系电话(加密存储)
  1780. type: string
  1781. userid:
  1782. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  1783. type: integer
  1784. userinfotype:
  1785. description: 用户信息类型 - 1:个人 2:企业
  1786. type: integer
  1787. username:
  1788. description: 用户姓名
  1789. type: string
  1790. userstate:
  1791. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  1792. type: integer
  1793. usertype:
  1794. description: 用户类型 - 1:投资者 2:机构
  1795. type: integer
  1796. videourl:
  1797. description: 视频地址
  1798. type: string
  1799. wechat:
  1800. description: 微信号 (加密存储)
  1801. type: string
  1802. required:
  1803. - userid
  1804. type: object
  1805. erms3.CustomerInfo:
  1806. properties:
  1807. accountids:
  1808. description: 资金账户ID列表
  1809. items:
  1810. type: integer
  1811. type: array
  1812. customername:
  1813. description: 名称(企业名称)
  1814. type: string
  1815. mobile:
  1816. description: 手机号码
  1817. type: string
  1818. userid:
  1819. description: 用户ID
  1820. type: integer
  1821. required:
  1822. - userid
  1823. type: object
  1824. erms3.ModifyUserInfoApplyReq:
  1825. properties:
  1826. accountid:
  1827. description: 交易系统帐号Id (加密存储)
  1828. type: integer
  1829. areacode:
  1830. description: 机构代码
  1831. type: string
  1832. areaid:
  1833. description: 机构Id
  1834. type: integer
  1835. attachment1:
  1836. description: 附件1
  1837. type: string
  1838. attachment2:
  1839. description: 附件2
  1840. type: string
  1841. attachment3:
  1842. description: 附件3
  1843. type: string
  1844. attachment4:
  1845. description: 附件4
  1846. type: string
  1847. attachment5:
  1848. description: 附件5
  1849. type: string
  1850. auditedby:
  1851. description: 审核人
  1852. type: string
  1853. auditime:
  1854. description: 审核时间
  1855. type: string
  1856. auditsrc:
  1857. description: 审核来源 - 1:管理端 2:终端
  1858. type: integer
  1859. bankaccount:
  1860. description: 银行帐号 (加密存储)
  1861. type: string
  1862. bankaccountname:
  1863. description: 收款人名称
  1864. type: string
  1865. bankcardbackphotourl:
  1866. description: 银行卡背面照地址
  1867. type: string
  1868. bankcardfrontphotourl:
  1869. description: 银行卡正面照地址
  1870. type: string
  1871. bankid:
  1872. description: 银行编码
  1873. type: string
  1874. bankname:
  1875. description: 银行名称
  1876. type: string
  1877. bankpictureurl:
  1878. description: 银行卡正面地址
  1879. type: string
  1880. biznature:
  1881. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  1882. type: integer
  1883. bizscope:
  1884. description: 企业经营范围(企业)
  1885. type: string
  1886. biztype:
  1887. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  1888. type: integer
  1889. brokerid:
  1890. description: 经纪人ID(加密存储)
  1891. type: string
  1892. cardaddress:
  1893. description: 证件地址 (加密存储)
  1894. type: string
  1895. cardbackphotourl:
  1896. description: 背面证件照地址
  1897. type: string
  1898. cardfrontphotourl:
  1899. description: 正面证件照地址
  1900. type: string
  1901. cardnum:
  1902. description: 证件号码 (加密存储)
  1903. type: string
  1904. cardtype:
  1905. description: 证件类型
  1906. type: integer
  1907. cityid:
  1908. description: 市
  1909. type: integer
  1910. company:
  1911. description: 公司(个人)
  1912. type: string
  1913. contactcardbackphotourl:
  1914. description: 联系人证件背面图片地址
  1915. type: string
  1916. contactcardfrontphotourl:
  1917. description: 联系人证件正面图片地址
  1918. type: string
  1919. contactname:
  1920. description: 联系人
  1921. type: string
  1922. countryid:
  1923. description: 国家
  1924. type: integer
  1925. createtime:
  1926. description: 开户申请时间
  1927. type: string
  1928. cusbankid:
  1929. description: 签约类型
  1930. type: string
  1931. cusbankname:
  1932. description: 签约类型名称
  1933. type: string
  1934. customername:
  1935. description: 客户名称(企业名称)
  1936. type: string
  1937. districtid:
  1938. description: 地区
  1939. type: integer
  1940. email:
  1941. description: Email地址(加密存储)
  1942. type: string
  1943. halfbodyphotourl:
  1944. description: 半身照地址
  1945. type: string
  1946. headurl:
  1947. description: 头像地址
  1948. type: string
  1949. ipaddress:
  1950. description: IP地址
  1951. type: string
  1952. isvalidate:
  1953. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  1954. type: string
  1955. legalcardbackphotourl:
  1956. description: 法人身份证背面照地址
  1957. type: string
  1958. legalcardfrontphotourl:
  1959. description: 法人身份证正面照地址
  1960. type: string
  1961. legalpersonname:
  1962. description: 法人姓名(企业)
  1963. type: string
  1964. logincode:
  1965. description: 登录帐号 (加密存储)
  1966. type: string
  1967. memberareaid:
  1968. description: 所属会员ID
  1969. type: integer
  1970. mobile2:
  1971. description: 手机号码[明文-尚志]
  1972. type: string
  1973. mobilephone:
  1974. description: 手机号码 (加密存储)
  1975. type: string
  1976. modifiedby:
  1977. description: 修改人帐号
  1978. type: integer
  1979. modifiedtime:
  1980. description: 修改时间
  1981. type: string
  1982. nickname:
  1983. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  1984. type: string
  1985. openmode:
  1986. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  1987. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  1988. type: integer
  1989. otherurl:
  1990. description: 其它图片地址[使用分号分隔]
  1991. type: string
  1992. postalcode:
  1993. description: 邮政编码
  1994. type: string
  1995. provinceid:
  1996. description: 省
  1997. type: integer
  1998. proxystatementurl:
  1999. description: 授权委托书
  2000. type: string
  2001. qq:
  2002. description: QQ(加密存储
  2003. type: string
  2004. referral:
  2005. description: 推荐人编码
  2006. type: string
  2007. remark:
  2008. description: 备注
  2009. type: string
  2010. removebeforestatus:
  2011. description: REMOVEBEFORESTATUS
  2012. type: integer
  2013. sex:
  2014. description: 性别 - 0:女 1:男
  2015. type: integer
  2016. signedstatus:
  2017. description: 账户一号签签约状态
  2018. type: integer
  2019. signpdfurl:
  2020. description: 签约pdf文件
  2021. type: string
  2022. subbranch:
  2023. description: 开户支行
  2024. type: string
  2025. taxpayernum:
  2026. description: 纳税人识别号
  2027. type: string
  2028. telphone:
  2029. description: 联系电话(加密存储)
  2030. type: string
  2031. userid:
  2032. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2033. type: integer
  2034. userinfotype:
  2035. description: 用户信息类型 - 1:个人 2:企业
  2036. type: integer
  2037. username:
  2038. description: 用户姓名
  2039. type: string
  2040. userstate:
  2041. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2042. type: integer
  2043. usertype:
  2044. description: 用户类型 - 1:投资者 2:机构
  2045. type: integer
  2046. videourl:
  2047. description: 视频地址
  2048. type: string
  2049. wechat:
  2050. description: 微信号 (加密存储)
  2051. type: string
  2052. required:
  2053. - userid
  2054. type: object
  2055. erms3.QryAuditContractRsp:
  2056. properties:
  2057. accountid:
  2058. description: 交易员ID
  2059. type: string
  2060. applystatus:
  2061. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2062. type: integer
  2063. curdeliveryqty:
  2064. description: 未交收量
  2065. type: integer
  2066. customername:
  2067. description: 采购方ID
  2068. type: string
  2069. deliverygoodsid:
  2070. description: 品种ID
  2071. type: string
  2072. deliveryqty:
  2073. description: 交收量
  2074. type: integer
  2075. enumdicname:
  2076. description: 单位名称
  2077. type: string
  2078. matchaccountid:
  2079. description: 业务员ID
  2080. type: string
  2081. matchcustomername:
  2082. description: 销售方ID
  2083. type: string
  2084. pricedqty:
  2085. description: 定价量
  2086. type: number
  2087. signdate:
  2088. description: 签订日期
  2089. type: string
  2090. spotcontractid:
  2091. description: 合同ID
  2092. type: string
  2093. totaldqty:
  2094. description: 合同量
  2095. type: number
  2096. unpricedqty:
  2097. description: 未定价量
  2098. type: number
  2099. wrstandardname:
  2100. description: 商品名称
  2101. type: string
  2102. required:
  2103. - matchcustomername
  2104. - spotcontractid
  2105. type: object
  2106. erms3.QryPendingBizRsp:
  2107. $ref: '#/definitions/models.PendingAuditBizModel'
  2108. erms3.QueryBusinessInfoRsp:
  2109. properties:
  2110. businessid:
  2111. description: 业务ID.
  2112. type: integer
  2113. buyamount:
  2114. description: 采购额.
  2115. type: number
  2116. buyqty:
  2117. description: 采购量.
  2118. type: string
  2119. futurepl:
  2120. description: 期货盈亏.
  2121. type: number
  2122. futureqty:
  2123. description: 期货敞口.
  2124. type: string
  2125. goodsid:
  2126. description: 商品名称/商品代码.
  2127. type: string
  2128. hedgingqty:
  2129. description: 套保量.
  2130. type: string
  2131. sellamount:
  2132. description: 销售额.
  2133. type: number
  2134. sellqty:
  2135. description: 销售量.
  2136. type: string
  2137. spotmarketvalue:
  2138. description: 现货市值.
  2139. type: number
  2140. spotpl:
  2141. description: 浮动权益.
  2142. type: number
  2143. spotqty:
  2144. description: 现货量.
  2145. type: string
  2146. statu:
  2147. description: 状态,0-未结束 1-已结束.
  2148. type: integer
  2149. totalpl:
  2150. description: 总盈亏.
  2151. type: number
  2152. totalqty:
  2153. description: 总敞口.
  2154. type: string
  2155. type:
  2156. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2157. type: integer
  2158. type: object
  2159. erms3.QuerySpotContractAppleFormRsp:
  2160. properties:
  2161. goodses:
  2162. description: 合约列表
  2163. items:
  2164. $ref: '#/definitions/models.GoodsIDAndName'
  2165. type: array
  2166. oppositeusers:
  2167. description: 对方账号列表
  2168. items:
  2169. $ref: '#/definitions/erms3.CustomerInfo'
  2170. type: array
  2171. ouruser:
  2172. $ref: '#/definitions/erms3.CustomerInfo'
  2173. description: 我方账号
  2174. type: object
  2175. warehouseinfos:
  2176. description: 仓库信息列表
  2177. items:
  2178. $ref: '#/definitions/models.Warehouseinfo'
  2179. type: array
  2180. wrstandards:
  2181. description: 仓单标准列表
  2182. items:
  2183. $ref: '#/definitions/models.WRStandardInfo'
  2184. type: array
  2185. type: object
  2186. erms3.QuerySpotContractInfoRsp:
  2187. properties:
  2188. accountid:
  2189. description: 表示交易员ID.
  2190. type: integer
  2191. curdeliveryqty:
  2192. description: 表示未交收量.
  2193. type: number
  2194. customername:
  2195. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2196. type: string
  2197. deliverygoodsid:
  2198. description: 表示品种ID.
  2199. type: string
  2200. deliveryqty:
  2201. description: 表示交收量.
  2202. type: number
  2203. matchaccountid:
  2204. description: 表示业务员ID.
  2205. type: integer
  2206. matchcustomername:
  2207. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2208. type: string
  2209. priceqty:
  2210. description: 表示定价量.
  2211. type: number
  2212. relatedbizid:
  2213. description: 表示业务ID.
  2214. type: string
  2215. signdate:
  2216. description: 表示签订日期.
  2217. type: string
  2218. spotcontractid:
  2219. description: 合同ID
  2220. type: string
  2221. status:
  2222. description: 表示状态,0-履约中 1-已完成.
  2223. type: integer
  2224. totalqty:
  2225. description: 表示合同量.
  2226. type: number
  2227. unpricedqty:
  2228. description: 表示未定价量.
  2229. type: number
  2230. wrstandardname:
  2231. description: 表示商品ID.
  2232. type: string
  2233. type: object
  2234. erms3.QueryUserInfoAppliesRsp:
  2235. properties:
  2236. biznature:
  2237. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2238. type: integer
  2239. contactname:
  2240. description: 联系人
  2241. type: string
  2242. createtime:
  2243. description: 开户申请时间
  2244. type: string
  2245. userid:
  2246. description: 用户ID(自增ID)
  2247. type: integer
  2248. userinfotype:
  2249. description: 用户信息类型 - 1:个人 2:企业
  2250. type: integer
  2251. username:
  2252. description: 用户姓名
  2253. type: string
  2254. userstate:
  2255. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2256. type: integer
  2257. required:
  2258. - userid
  2259. type: object
  2260. erms3.QueryUserInfosRsp:
  2261. properties:
  2262. biznature:
  2263. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2264. type: integer
  2265. contactname:
  2266. description: 联系人
  2267. type: string
  2268. customername:
  2269. description: 客户名称(企业名称)
  2270. type: string
  2271. userid:
  2272. description: 用户ID
  2273. type: integer
  2274. userinfotype:
  2275. description: 用户信息类型 - 1:个人 2:企业
  2276. type: integer
  2277. userstatus:
  2278. description: 用户状态 - 1:正常 2:注销
  2279. type: integer
  2280. required:
  2281. - userid
  2282. type: object
  2283. erms3.SoptContractDetail:
  2284. properties:
  2285. deliverygoodsdesc:
  2286. description: 现货品种说明
  2287. type: string
  2288. deliverygoodsid:
  2289. description: 现货品种ID
  2290. type: integer
  2291. deliverygoodsname:
  2292. description: 现货品种名称
  2293. type: string
  2294. pointdesc:
  2295. description: 点价描述
  2296. type: string
  2297. producttype:
  2298. description: 产品类型 1:标准仓单 2:等标 3:非标
  2299. type: integer
  2300. producttypename:
  2301. description: 产品类型名称
  2302. type: string
  2303. spotPointOrderVoList:
  2304. description: 点价列表
  2305. items:
  2306. $ref: '#/definitions/erms3.SpotPointOrder'
  2307. type: array
  2308. spotPriceOrderList:
  2309. description: 定价列表
  2310. items:
  2311. $ref: '#/definitions/erms3.SpotPriceOrder'
  2312. type: array
  2313. unitname:
  2314. description: 单位名称
  2315. type: string
  2316. warehouseid:
  2317. description: 仓库ID
  2318. type: integer
  2319. warehousename:
  2320. description: 仓库名称
  2321. type: string
  2322. wrstandardid:
  2323. description: 交易标的ID
  2324. type: integer
  2325. wrstandardname:
  2326. description: 交易标的名称
  2327. type: string
  2328. required:
  2329. - deliverygoodsid
  2330. - producttype
  2331. - unitname
  2332. - warehouseid
  2333. - wrstandardid
  2334. - wrstandardname
  2335. type: object
  2336. erms3.SpotPointOrder:
  2337. properties:
  2338. basic:
  2339. description: 基差
  2340. type: number
  2341. deliveryenddate:
  2342. description: 交收结束日期
  2343. type: string
  2344. deliverystartdate:
  2345. description: 交收开始日期
  2346. type: string
  2347. enddate:
  2348. description: 点价结束日期
  2349. type: string
  2350. goodsid:
  2351. description: 商品ID
  2352. type: integer
  2353. goodsname:
  2354. description: 商品名称
  2355. type: string
  2356. qty:
  2357. description: 数量
  2358. type: number
  2359. startdate:
  2360. description: 点价开始日期
  2361. type: string
  2362. required:
  2363. - basic
  2364. - goodsid
  2365. - qty
  2366. type: object
  2367. erms3.SpotPriceOrder:
  2368. properties:
  2369. amount:
  2370. description: 金额
  2371. type: number
  2372. deliveryenddate:
  2373. description: 交收结束日期
  2374. type: string
  2375. deliverystartdate:
  2376. description: 交收开始日期
  2377. type: string
  2378. price:
  2379. description: 价格
  2380. type: number
  2381. qty:
  2382. description: 数量
  2383. type: number
  2384. required:
  2385. - amount
  2386. - price
  2387. - qty
  2388. type: object
  2389. hsby.GetHsbyMyCountRsp:
  2390. properties:
  2391. myCouponCount:
  2392. description: 我的优惠卷数量
  2393. type: integer
  2394. myOrderDetailListingCount:
  2395. description: 我的订单求购中数量
  2396. type: integer
  2397. myOrderDetailPreCount:
  2398. description: 我的订单抢购中数量
  2399. type: integer
  2400. myPackageUnReceiveCount:
  2401. description: 我的包裹待收货数量
  2402. type: integer
  2403. myPackageUnSendCount:
  2404. description: 我的包裹待发货数量
  2405. type: integer
  2406. myPayOrderCount:
  2407. description: 我的订单待付款数量
  2408. type: integer
  2409. type: object
  2410. hsby.QueryProvincesAndCitiesRsp:
  2411. properties:
  2412. cities:
  2413. description: 市
  2414. items:
  2415. $ref: '#/definitions/models.Division'
  2416. type: array
  2417. province:
  2418. $ref: '#/definitions/models.Division'
  2419. description: 省
  2420. type: object
  2421. type: object
  2422. models.AreaSpotModel:
  2423. properties:
  2424. areauserid:
  2425. description: 所属机构
  2426. type: integer
  2427. decreaseqty:
  2428. description: 减少数量=-(销售已定价数量+采购计划数量)
  2429. type: number
  2430. increaseqty:
  2431. description: 增加数量=销售计划数量+采购已定价数量
  2432. type: number
  2433. oritoalspotqty:
  2434. description: 昨日数量
  2435. type: number
  2436. totalspotqty:
  2437. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2438. type: number
  2439. updatetime:
  2440. description: 更新时间
  2441. type: string
  2442. wrstandardcode:
  2443. description: 现货品种代码
  2444. type: string
  2445. wrstandardid:
  2446. description: 现货商品ID
  2447. type: integer
  2448. wrstandardname:
  2449. description: 现货品种
  2450. type: string
  2451. type: object
  2452. models.Clientfixedadconfig:
  2453. properties:
  2454. adsort:
  2455. description: 排序
  2456. type: integer
  2457. adtype:
  2458. description: 广告位类型 - 1:新品抢购(HSBY)
  2459. type: integer
  2460. areauserid:
  2461. description: 所属机构ID
  2462. type: integer
  2463. createdate:
  2464. description: 创建时间
  2465. type: string
  2466. creatorid:
  2467. description: 创建人
  2468. type: integer
  2469. imagepath:
  2470. description: 图片
  2471. type: string
  2472. isshow:
  2473. description: 是否展示 - 0:不展示 1:展示
  2474. type: integer
  2475. modifierid:
  2476. description: 操作人
  2477. type: integer
  2478. recsize:
  2479. description: 推荐尺寸
  2480. type: string
  2481. title:
  2482. description: 标题
  2483. type: string
  2484. updatedate:
  2485. description: 更新时间
  2486. type: string
  2487. urlcontent:
  2488. description: 链接(地址或商品ID)
  2489. type: string
  2490. urltype:
  2491. description: 链接类型 - 1:直接地址 2:商品ID
  2492. type: integer
  2493. required:
  2494. - adsort
  2495. - adtype
  2496. type: object
  2497. models.Division:
  2498. properties:
  2499. autoid:
  2500. description: 自增ID
  2501. type: integer
  2502. divisioncode:
  2503. description: 行政代码
  2504. type: string
  2505. divisionlevel:
  2506. description: 行政级别
  2507. type: string
  2508. divisionname:
  2509. description: 行政名称
  2510. type: string
  2511. modifierid:
  2512. description: 修改人
  2513. type: integer
  2514. modifytime:
  2515. description: 修改时间
  2516. type: string
  2517. parentcode:
  2518. description: 上级行政代码
  2519. type: string
  2520. pathname:
  2521. description: 路径名称
  2522. type: string
  2523. postcode:
  2524. description: 邮政编码
  2525. type: string
  2526. separablename:
  2527. description: 可拆分的全称
  2528. type: string
  2529. shortcode:
  2530. description: 地区简码
  2531. type: string
  2532. required:
  2533. - autoid
  2534. - divisioncode
  2535. type: object
  2536. models.Enumdicitem:
  2537. properties:
  2538. autoid:
  2539. description: 自增ID
  2540. type: integer
  2541. bankmappedvalue:
  2542. description: 银行服务对应值
  2543. type: string
  2544. enumdiccode:
  2545. description: 所属枚举代码
  2546. type: string
  2547. enumdicid:
  2548. description: 所属枚举ID
  2549. type: integer
  2550. enumdicname:
  2551. description: 枚举项名称
  2552. type: string
  2553. enumitemname:
  2554. description: 枚举项值
  2555. type: integer
  2556. enumitemstatus:
  2557. description: 枚举项状态 - 1.启用 2.不启用
  2558. type: integer
  2559. enumitemvalue:
  2560. description: 通用值 - [币种通用简写]
  2561. type: string
  2562. param1:
  2563. description: 参数1[币种:币种小数位]
  2564. type: string
  2565. param2:
  2566. description: 参数1[币种:币种显示单位]
  2567. type: string
  2568. remark:
  2569. description: 备注
  2570. type: string
  2571. required:
  2572. - autoid
  2573. - enumdiccode
  2574. - enumdicid
  2575. - enumitemname
  2576. type: object
  2577. models.Ermcp3AreaSpot:
  2578. properties:
  2579. areauserid:
  2580. description: 所属机构
  2581. type: integer
  2582. decreaseqty:
  2583. description: 减少数量=-(销售已定价数量+采购计划数量)
  2584. type: number
  2585. deliverygoodscode:
  2586. description: 现货品种代码
  2587. type: string
  2588. deliverygoodsid:
  2589. description: 现货品种id
  2590. type: integer
  2591. deliverygoodsname:
  2592. description: 现货品种名称
  2593. type: string
  2594. enumdicname:
  2595. description: 单位名称
  2596. type: string
  2597. goodsunitid:
  2598. description: 现货品种单位id
  2599. type: integer
  2600. increaseqty:
  2601. description: 增加数量=销售计划数量+采购已定价数量
  2602. type: number
  2603. oritoalspotqty:
  2604. description: 昨日数量
  2605. type: number
  2606. totalspotqty:
  2607. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2608. type: number
  2609. updatetime:
  2610. description: 更新时间
  2611. type: string
  2612. type: object
  2613. models.Ermcp3AreaSpotDetail:
  2614. properties:
  2615. contracttype:
  2616. description: 合同类型 1-采购 -1-销售
  2617. type: integer
  2618. createtime:
  2619. description: 创建时间
  2620. type: string
  2621. deliverygoodscode:
  2622. description: 现货品种代码
  2623. type: string
  2624. deliverygoodsid:
  2625. description: 现货品种id
  2626. type: integer
  2627. deliverygoodsname:
  2628. description: 现货品种名称
  2629. type: string
  2630. enumdicname:
  2631. description: 现货商品单位名称
  2632. type: string
  2633. logtype:
  2634. description: 记录类型 1-套保 2-现货合同
  2635. type: integer
  2636. qty:
  2637. description: 数量
  2638. type: number
  2639. recordname:
  2640. description: 类型名称
  2641. type: string
  2642. relatedid:
  2643. description: 套保计划ID/现货合同ID
  2644. type: string
  2645. relatedno:
  2646. description: 编号
  2647. type: string
  2648. strtime:
  2649. description: 时间
  2650. type: string
  2651. type: object
  2652. models.Ermcp3AreaStock:
  2653. properties:
  2654. brandname:
  2655. description: 品牌名称
  2656. type: string
  2657. curstock:
  2658. description: 期末库存量(今日量)
  2659. type: number
  2660. deliverygoodscode:
  2661. description: 现货品种代码
  2662. type: string
  2663. deliverygoodsid:
  2664. description: 现货品种id
  2665. type: integer
  2666. deliverygoodsname:
  2667. description: 现货品种名称
  2668. type: string
  2669. enumdicname:
  2670. description: 单位名称
  2671. type: string
  2672. goodsunitid:
  2673. description: 现货商品单位id
  2674. type: integer
  2675. oristock:
  2676. description: 期初库存量(昨日量)
  2677. type: number
  2678. spotgoodsbrandid:
  2679. description: 现货品牌ID
  2680. type: integer
  2681. todaybuyinqty:
  2682. description: 今日采购入库量
  2683. type: number
  2684. todayproduceinqty:
  2685. description: 今日生产入库量
  2686. type: number
  2687. todayproduceoutqty:
  2688. description: 今日生产出库量
  2689. type: number
  2690. todayselloutqty:
  2691. description: 今日销售出库量
  2692. type: number
  2693. unitid:
  2694. description: 单位id
  2695. type: integer
  2696. updatetime:
  2697. description: 更新时间
  2698. type: string
  2699. userid:
  2700. description: 机构ID
  2701. type: integer
  2702. username:
  2703. description: 机构名称
  2704. type: string
  2705. warehousecode:
  2706. description: 仓库代码
  2707. type: string
  2708. warehouseinfoid:
  2709. description: 仓库ID
  2710. type: string
  2711. warehousename:
  2712. description: 仓库名称
  2713. type: string
  2714. warehousetype:
  2715. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2716. type: integer
  2717. wrstandardcode:
  2718. description: 品类代码
  2719. type: string
  2720. wrstandardid:
  2721. description: 品类ID
  2722. type: string
  2723. wrstandardname:
  2724. description: 品类名称
  2725. type: string
  2726. required:
  2727. - userid
  2728. type: object
  2729. models.Ermcp3AreaStockApply:
  2730. properties:
  2731. applyid:
  2732. description: 申请人
  2733. type: integer
  2734. applyname:
  2735. description: 申请人名称
  2736. type: string
  2737. applyremark:
  2738. description: 申请备注
  2739. type: string
  2740. applysrc:
  2741. description: 申请来源 - 1:管理端 2:终端
  2742. type: integer
  2743. applystatus:
  2744. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  2745. type: integer
  2746. applytime:
  2747. description: 申请时间
  2748. type: string
  2749. auditid:
  2750. description: 审核人
  2751. type: integer
  2752. auditname:
  2753. description: 审核人名称
  2754. type: string
  2755. auditremark:
  2756. description: 审核备注
  2757. type: string
  2758. auditsrc:
  2759. description: 审核来源 - 1:管理端 2:终端
  2760. type: integer
  2761. audittime:
  2762. description: 审核时间
  2763. type: string
  2764. audittradedate:
  2765. description: 审核交易日(yyyyMMdd)
  2766. type: string
  2767. brandname:
  2768. description: 品牌名称
  2769. type: string
  2770. buynickname:
  2771. description: 采购方昵称
  2772. type: string
  2773. buyuserid:
  2774. description: 采购方userid
  2775. type: integer
  2776. buyusername:
  2777. description: 采购方名称
  2778. type: string
  2779. contractno:
  2780. description: 合同编号
  2781. type: string
  2782. contractqty:
  2783. description: 合同量
  2784. type: number
  2785. contracttype:
  2786. description: 现货合同类型 - 1:采购 -1:销售
  2787. type: integer
  2788. deliverygoodscode:
  2789. description: 现货品种代码
  2790. type: string
  2791. deliverygoodsid:
  2792. description: 现货品种id
  2793. type: integer
  2794. deliverygoodsname:
  2795. description: 现货品种名称
  2796. type: string
  2797. detailjson:
  2798. description: 明细数据
  2799. type: string
  2800. enumdicname:
  2801. description: 现货商品单位名称
  2802. type: string
  2803. inoutapplyid:
  2804. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  2805. type: string
  2806. inouttype:
  2807. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  2808. type: integer
  2809. pricetype:
  2810. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  2811. type: integer
  2812. qty:
  2813. description: 数量
  2814. type: number
  2815. sellnickname:
  2816. description: 销售方昵称
  2817. type: string
  2818. selluserid:
  2819. description: 销售方userid
  2820. type: integer
  2821. sellusername:
  2822. description: 销售方名称
  2823. type: string
  2824. spotcontractid:
  2825. description: 关联现货合同ID
  2826. type: string
  2827. spotgoodsbrandid:
  2828. description: 现货品牌ID
  2829. type: integer
  2830. unitid:
  2831. description: 单位id
  2832. type: integer
  2833. userid:
  2834. description: 机构ID
  2835. type: integer
  2836. warehousecode:
  2837. description: 仓库代码
  2838. type: string
  2839. warehouseinfoid:
  2840. description: 现货仓库ID
  2841. type: string
  2842. warehousename:
  2843. description: 仓库名称
  2844. type: string
  2845. warehousetype:
  2846. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2847. type: integer
  2848. wrstandardcode:
  2849. description: 品类代码
  2850. type: string
  2851. wrstandardid:
  2852. description: 品类ID
  2853. type: integer
  2854. wrstandardname:
  2855. description: 品类名称
  2856. type: string
  2857. type: object
  2858. models.Ermcp3AreaStockApplySum:
  2859. properties:
  2860. brandname:
  2861. description: 品牌名称
  2862. type: string
  2863. inouttype:
  2864. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  2865. type: integer
  2866. spotcontractid:
  2867. description: 关联现货合同ID
  2868. type: string
  2869. spotgoodsbrandid:
  2870. description: 品牌id
  2871. type: integer
  2872. totalqty:
  2873. description: 总数量
  2874. type: number
  2875. wrstandardid:
  2876. description: 品类id
  2877. type: integer
  2878. wrstandardname:
  2879. description: 品类名称
  2880. type: string
  2881. type: object
  2882. models.Ermcp3AreaStockReport:
  2883. properties:
  2884. brandname:
  2885. description: 品牌名称
  2886. type: string
  2887. curstock:
  2888. description: 期末库存量
  2889. type: number
  2890. deliverygoodscode:
  2891. description: 现货品种代码
  2892. type: string
  2893. deliverygoodsid:
  2894. description: 现货品种id
  2895. type: integer
  2896. deliverygoodsname:
  2897. description: 现货品种名称
  2898. type: string
  2899. enumdicname:
  2900. description: 单位名称
  2901. type: string
  2902. goodsunitid:
  2903. description: 现货单位id
  2904. type: integer
  2905. oristock:
  2906. description: 期初库存量
  2907. type: number
  2908. spotgoodsbrandid:
  2909. description: 现货品牌ID
  2910. type: integer
  2911. todaybuyinqty:
  2912. description: 今日采购入库量
  2913. type: number
  2914. todayproduceinqty:
  2915. description: 今日生产入库量
  2916. type: number
  2917. todayproduceoutqty:
  2918. description: 今日生产出库量
  2919. type: number
  2920. todayselloutqty:
  2921. description: 今日销售出库量
  2922. type: number
  2923. unitid:
  2924. description: 品类单位id
  2925. type: integer
  2926. updatetime:
  2927. description: 更新时间
  2928. type: string
  2929. userid:
  2930. description: 机构ID
  2931. type: integer
  2932. username:
  2933. description: 机构名称
  2934. type: string
  2935. warehousecode:
  2936. description: 仓库代码
  2937. type: string
  2938. warehouseinfoid:
  2939. description: 仓库ID
  2940. type: string
  2941. warehousename:
  2942. description: 仓库名称
  2943. type: string
  2944. warehousetype:
  2945. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2946. type: integer
  2947. wrstandardcode:
  2948. description: 品类代码
  2949. type: string
  2950. wrstandardid:
  2951. description: 品类ID
  2952. type: integer
  2953. wrstandardname:
  2954. description: 品类名称
  2955. type: string
  2956. type: object
  2957. models.Ermcp3Brand:
  2958. properties:
  2959. areauserid:
  2960. description: 用户id
  2961. type: integer
  2962. brandid:
  2963. description: 品牌id
  2964. type: integer
  2965. brandname:
  2966. description: 品牌名称
  2967. type: string
  2968. deliverygoodsid:
  2969. description: 品种ID
  2970. type: integer
  2971. type: object
  2972. models.Ermcp3Contract:
  2973. properties:
  2974. accountid:
  2975. description: 期货账户id
  2976. type: string
  2977. amount:
  2978. description: 金额 [1:一口价、3:暂定价]
  2979. type: number
  2980. attachment:
  2981. description: 附件
  2982. type: string
  2983. auditremark:
  2984. description: 审核意见
  2985. type: string
  2986. audittime:
  2987. description: 审核时间
  2988. type: string
  2989. biztype:
  2990. description: 业务类型 1-套保 2-套利
  2991. type: integer
  2992. brandname:
  2993. description: 品牌名称
  2994. type: string
  2995. buynickname:
  2996. description: 销售方昵称
  2997. type: string
  2998. buyuserid:
  2999. description: 采购方ID
  3000. type: integer
  3001. buyusername:
  3002. description: 采购方名称
  3003. type: string
  3004. contracctstatus:
  3005. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3006. type: integer
  3007. contractmargin:
  3008. description: 合同保证金
  3009. type: number
  3010. contractno:
  3011. description: 现货合同编号
  3012. type: string
  3013. contracttype:
  3014. description: 现货合同类型 - 1:采购 -1:销售
  3015. type: integer
  3016. convertfactor:
  3017. description: 标仓系数(品类)
  3018. type: number
  3019. createtime:
  3020. description: 创建时间
  3021. type: string
  3022. currencyid:
  3023. description: 币种id
  3024. type: integer
  3025. currencyname:
  3026. description: 币种名称
  3027. type: string
  3028. deliveryenddate:
  3029. description: 交收期(结束)
  3030. type: string
  3031. deliverygoodscode:
  3032. description: 现货品种代码
  3033. type: string
  3034. deliverygoodsid:
  3035. description: 现货品种ID
  3036. type: integer
  3037. deliverygoodsname:
  3038. description: 现货品种名称
  3039. type: string
  3040. deliverystartdate:
  3041. description: 交收期(开始)
  3042. type: string
  3043. enddate:
  3044. description: 点价结束日期 [2:点价 3:暂定价]
  3045. type: string
  3046. enumdicname:
  3047. description: 单位名称
  3048. type: string
  3049. goodscode:
  3050. description: 点价合约代码
  3051. type: string
  3052. goodsid:
  3053. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3054. type: integer
  3055. goodsname:
  3056. description: 点价商品名称
  3057. type: string
  3058. margin:
  3059. description: 当前保证金
  3060. type: number
  3061. meruserid:
  3062. description: 跟单员id
  3063. type: integer
  3064. meruserlogincode:
  3065. description: 跟单员登录代码
  3066. type: string
  3067. price:
  3068. description: 价格\暂定价 [1:一口价、3:暂定价]
  3069. type: number
  3070. pricemove:
  3071. description: 升贴水 [2:点价 3:暂定价]
  3072. type: number
  3073. pricetype:
  3074. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3075. type: integer
  3076. producttype:
  3077. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3078. type: integer
  3079. qty:
  3080. description: 数量
  3081. type: number
  3082. remark:
  3083. description: 备注
  3084. type: string
  3085. saleuserid:
  3086. description: 业务员id
  3087. type: integer
  3088. saleuserlogincode:
  3089. description: 业务员登录代码
  3090. type: string
  3091. sellnickname:
  3092. description: 采购方昵称
  3093. type: string
  3094. selluserid:
  3095. description: 销售方ID
  3096. type: integer
  3097. sellusername:
  3098. description: 销售方名称
  3099. type: string
  3100. spotcontractid:
  3101. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3102. type: string
  3103. spotgoodsbrandid:
  3104. description: 现货品牌ID(DGFactoryItem表的ID)
  3105. type: integer
  3106. spotgoodsdesc:
  3107. description: 商品型号
  3108. type: string
  3109. startdate:
  3110. description: 点价开始日期 [2:点价 3:暂定价]
  3111. type: string
  3112. tradeuserid:
  3113. description: 交易员id
  3114. type: integer
  3115. tradeuserlogincode:
  3116. description: 交易员登录代码
  3117. type: string
  3118. tradeusername:
  3119. description: 交易员名称
  3120. type: string
  3121. unitid:
  3122. description: 单位id(取品类上的单位id)
  3123. type: integer
  3124. updatetime:
  3125. description: 更新时间
  3126. type: string
  3127. userid:
  3128. description: 所属机构ID
  3129. type: integer
  3130. wrstandardcode:
  3131. description: 品类代码
  3132. type: string
  3133. wrstandardid:
  3134. description: 品类ID
  3135. type: integer
  3136. wrstandardname:
  3137. description: 品类名称
  3138. type: string
  3139. type: object
  3140. models.Ermcp3ExposureDetail:
  3141. properties:
  3142. areauserid:
  3143. description: 机构ID
  3144. type: integer
  3145. changeQty:
  3146. description: 套保变动量
  3147. type: number
  3148. contracttype:
  3149. description: 现货合同类型 - 1:采购 -1:销售
  3150. type: integer
  3151. convertfactor:
  3152. description: 标仓系数
  3153. type: number
  3154. convertratio:
  3155. description: 套保系数
  3156. type: number
  3157. createtime:
  3158. description: 时间
  3159. type: string
  3160. deliverygoodscode:
  3161. description: 现货品种代码
  3162. type: string
  3163. deliverygoodsid:
  3164. description: 现货品种id
  3165. type: integer
  3166. deliverygoodsname:
  3167. description: 现货品种名称
  3168. type: string
  3169. enumdicname:
  3170. description: 现货商品单位名称
  3171. type: string
  3172. logtype:
  3173. description: 类型 - 1:套保计划 2:现货合同
  3174. type: integer
  3175. middlegoodsId:
  3176. description: 套保商品id
  3177. type: integer
  3178. middlegoodscode:
  3179. description: 套保商品代码
  3180. type: string
  3181. middlegoodsname:
  3182. description: 套保商品名称
  3183. type: string
  3184. qty:
  3185. description: 数量
  3186. type: number
  3187. relateNo:
  3188. description: 现货合同/套保计划编号
  3189. type: string
  3190. type: object
  3191. models.Ermcp3Goods:
  3192. properties:
  3193. agreeunit:
  3194. description: 合约单位(合约乘数)
  3195. type: number
  3196. enumdicname:
  3197. description: 单位名称
  3198. type: string
  3199. exexchangecode:
  3200. description: 交易所代码
  3201. type: string
  3202. goodscode:
  3203. description: 期货商品代码
  3204. type: string
  3205. goodsid:
  3206. description: 期货商品id
  3207. type: integer
  3208. goodsname:
  3209. description: 期货商品名称
  3210. type: string
  3211. type: object
  3212. models.Ermcp3GoodsGroup:
  3213. properties:
  3214. agreeunit:
  3215. description: 合约单位
  3216. type: number
  3217. areauserid:
  3218. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  3219. type: integer
  3220. canshort:
  3221. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  3222. type: integer
  3223. closepricemode:
  3224. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  3225. type: integer
  3226. createtime:
  3227. description: 创建时间
  3228. type: string
  3229. creatorid:
  3230. description: 创建人
  3231. type: integer
  3232. currencyid:
  3233. description: 报价货币ID
  3234. type: integer
  3235. decimalplace:
  3236. description: 报价小数位
  3237. type: integer
  3238. enumdicname:
  3239. description: 单位名称
  3240. type: string
  3241. excludecfg:
  3242. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  3243. type: integer
  3244. exexchangeid:
  3245. description: 外部交易所ID[通道交易]
  3246. type: integer
  3247. goodsgroupid:
  3248. description: 商品组ID(自增ID)
  3249. type: integer
  3250. goodsgroupname:
  3251. description: 商品组名称
  3252. type: string
  3253. goodsgroupstatus:
  3254. description: 商品组状态 - 1:正常 2:注销
  3255. type: integer
  3256. goodunitid:
  3257. description: 报价单位ID
  3258. type: integer
  3259. groupcategroyid:
  3260. description: 品种分类ID
  3261. type: integer
  3262. innerdealmode:
  3263. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  3264. type: integer
  3265. marketid:
  3266. description: 所属市场ID
  3267. type: integer
  3268. modifierid:
  3269. description: 修改人
  3270. type: integer
  3271. modifytime:
  3272. description: 修改时间
  3273. type: string
  3274. outerdealmode:
  3275. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  3276. type: integer
  3277. outergroupcode:
  3278. description: 外部商品组代码[通道交易]
  3279. type: string
  3280. quoteminunit:
  3281. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3282. type: integer
  3283. quotesourcegroupid:
  3284. description: 所属行情源分组ID[参考行情市场用\通道交易]
  3285. type: integer
  3286. syncgoodsqty:
  3287. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  3288. type: integer
  3289. required:
  3290. - areauserid
  3291. type: object
  3292. models.Ermcp3GoodsGroupEx:
  3293. properties:
  3294. convertratio:
  3295. description: 折算系数(品种系数)
  3296. type: number
  3297. enumdicname:
  3298. description: 单位名称
  3299. type: string
  3300. exexchangecode:
  3301. description: 交易所代码
  3302. type: string
  3303. glist:
  3304. description: 合约列表
  3305. items:
  3306. $ref: '#/definitions/models.Ermcp3Goods'
  3307. type: array
  3308. goodsgroupid:
  3309. description: 商品组id
  3310. type: integer
  3311. goodsgroupname:
  3312. description: 商品组名称
  3313. type: string
  3314. goodsunitid:
  3315. description: 单位id
  3316. type: integer
  3317. middlegoodsid:
  3318. description: 套保商品id
  3319. type: integer
  3320. type: object
  3321. models.Ermcp3HedgePlan:
  3322. properties:
  3323. accountid:
  3324. description: 资金账号
  3325. type: integer
  3326. areauserid:
  3327. description: 用户ID
  3328. type: integer
  3329. audittime:
  3330. description: 审核时间
  3331. type: string
  3332. contracttype:
  3333. description: 计划类型 - 1:采购 -1:销售
  3334. type: integer
  3335. convertfactor:
  3336. description: 标仓系数
  3337. type: number
  3338. createtime:
  3339. description: 创建时间
  3340. type: string
  3341. currencyid:
  3342. description: 币种id
  3343. type: integer
  3344. currencyname:
  3345. description: 币种名称
  3346. type: string
  3347. deliverygoodscode:
  3348. description: 现货品种代码
  3349. type: string
  3350. deliverygoodsid:
  3351. description: 现货品种ID
  3352. type: integer
  3353. deliverygoodsname:
  3354. description: 现货品种名称
  3355. type: string
  3356. enumdicname:
  3357. description: 单位名称(现货商品)
  3358. type: string
  3359. hedgeplanid:
  3360. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  3361. type: string
  3362. hedgeplanno:
  3363. description: 套保计划编号(名称)
  3364. type: string
  3365. hedgeplanstatus:
  3366. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3367. type: integer
  3368. planqty:
  3369. description: 计划数量
  3370. type: number
  3371. plantime:
  3372. description: 计划时间
  3373. type: string
  3374. producttype:
  3375. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3376. type: integer
  3377. remark:
  3378. description: 备注
  3379. type: string
  3380. spotgoodsdesc:
  3381. description: 商品型号
  3382. type: string
  3383. taaccountname:
  3384. description: 资金账号名称
  3385. type: string
  3386. tradeuserid:
  3387. description: 交易用户id
  3388. type: integer
  3389. tradeusername:
  3390. description: 交易用户名称
  3391. type: string
  3392. unitid:
  3393. description: 单位id(现货商品)
  3394. type: integer
  3395. updatetime:
  3396. description: 更新时间
  3397. type: string
  3398. wrstandardcode:
  3399. description: 品类代码
  3400. type: string
  3401. wrstandardid:
  3402. description: 品类id
  3403. type: integer
  3404. wrstandardname:
  3405. description: 品类名称
  3406. type: string
  3407. wrunitid:
  3408. description: 品类单位id
  3409. type: integer
  3410. wrunitidame:
  3411. description: 品类单位名称
  3412. type: string
  3413. type: object
  3414. models.Ermcp3MiddleGoodsDetail2:
  3415. properties:
  3416. convertratio:
  3417. description: 套保系数(折算系数)
  3418. type: number
  3419. gplist:
  3420. description: 关联商品组列表
  3421. items:
  3422. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  3423. type: array
  3424. mg:
  3425. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  3426. description: 套保商品信息
  3427. type: object
  3428. type: object
  3429. models.Ermcp3MiddleGoodsDetailEx:
  3430. properties:
  3431. dglist:
  3432. description: 关联的现货品种列表
  3433. items:
  3434. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  3435. type: array
  3436. gplist:
  3437. description: 关联商品组列表
  3438. items:
  3439. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  3440. type: array
  3441. mg:
  3442. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  3443. description: 套保商品信息
  3444. type: object
  3445. type: object
  3446. models.Ermcp3ReckonAreaSpotSub:
  3447. properties:
  3448. accountid:
  3449. description: 期货账户ID
  3450. type: integer
  3451. accountname:
  3452. description: 所属机构名称
  3453. type: string
  3454. areauserid:
  3455. description: 账户所属机构
  3456. type: integer
  3457. biztype:
  3458. description: 业务类型 1-套保 2-套利
  3459. type: integer
  3460. brandname:
  3461. description: 品牌名称
  3462. type: string
  3463. buycontractinqty:
  3464. description: 采购合同入库量
  3465. type: number
  3466. buypricedamount:
  3467. description: 采购合同已定价金额
  3468. type: number
  3469. buypricedqty:
  3470. description: 采购合同已定价数量
  3471. type: number
  3472. buyreckonqty:
  3473. description: 采购合同交收量
  3474. type: number
  3475. currencyid:
  3476. description: 币种id
  3477. type: integer
  3478. currencyname:
  3479. description: 币种名称
  3480. type: string
  3481. deliverygoodscode:
  3482. description: 现货商品代码
  3483. type: string
  3484. deliverygoodsid:
  3485. description: 现货品种ID
  3486. type: integer
  3487. deliverygoodsname:
  3488. description: 现货商品名称
  3489. type: string
  3490. enumdicname:
  3491. description: 现货商品单位名称
  3492. type: string
  3493. goodsunitid:
  3494. description: 现货商品单位id
  3495. type: integer
  3496. oribuycontractinqty:
  3497. description: 期初采购合同入库量
  3498. type: number
  3499. oribuypricedamount:
  3500. description: 期初采购合同已定价金额
  3501. type: number
  3502. oribuypricedqty:
  3503. description: 期初采购合同已定价数量
  3504. type: number
  3505. oribuyreckonqty:
  3506. description: 期初采购合同交收量
  3507. type: number
  3508. oriproduceinqty:
  3509. description: 期初生产入库量
  3510. type: number
  3511. oriproduceoutqty:
  3512. description: 期初生产出库量
  3513. type: number
  3514. orisellcontractoutqty:
  3515. description: 期初销售合同出库量
  3516. type: number
  3517. orisellpricedamount:
  3518. description: 期初销售合同已定价金额
  3519. type: number
  3520. orisellpricedqty:
  3521. description: 期初销售合同已定价数量
  3522. type: number
  3523. orisellreckonqty:
  3524. description: 期初销售合同交收量
  3525. type: number
  3526. produceinqty:
  3527. description: 生产入库量
  3528. type: number
  3529. produceoutqty:
  3530. description: 生产出库量
  3531. type: number
  3532. reckondate:
  3533. description: 日照时期(yyyyMMdd)
  3534. type: string
  3535. sellcontractoutqty:
  3536. description: 销售合同出库量
  3537. type: number
  3538. sellpricedamount:
  3539. description: 销售合同已定价金额
  3540. type: number
  3541. sellpricedqty:
  3542. description: 销售合同已定价数量
  3543. type: number
  3544. sellreckonqty:
  3545. description: 销售合同交收量
  3546. type: number
  3547. spotgoodsbrandid:
  3548. description: 现货品牌ID
  3549. type: integer
  3550. todaybuyreckonqty:
  3551. description: 今日采购合同已确定数量
  3552. type: number
  3553. todaysellreckonqty:
  3554. description: 今日销售合同已确定数量
  3555. type: number
  3556. totalbuypricedqty:
  3557. description: 采购定价量 = 期末 - 期初
  3558. type: number
  3559. totalsellpricedqty:
  3560. description: 销售定价量 = 期末 - 期初
  3561. type: number
  3562. totalspotqty:
  3563. description: 现货头寸总量 = 采购合同已定价数量 - 销售合同已定价数量
  3564. type: number
  3565. updatetime:
  3566. description: 更新时间
  3567. type: string
  3568. wrfactortypeid:
  3569. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  3570. type: integer
  3571. wrstandardcode:
  3572. description: 品类代码
  3573. type: string
  3574. wrstandardid:
  3575. description: 现货品类ID
  3576. type: integer
  3577. wrstandardname:
  3578. description: 品类名称
  3579. type: string
  3580. required:
  3581. - areauserid
  3582. - reckondate
  3583. type: object
  3584. models.Ermcp3ReckonExpourse:
  3585. properties:
  3586. accountid:
  3587. description: 期货账户ID (作废, 默认为0)
  3588. type: integer
  3589. accountname:
  3590. description: 机构名称
  3591. type: string
  3592. arbitrageqty:
  3593. description: 套利量
  3594. type: number
  3595. areauserid:
  3596. description: 所属机构\交易用户ID
  3597. type: integer
  3598. buyfutureqty:
  3599. description: 买入期货数量
  3600. type: number
  3601. buyplanqty:
  3602. description: 采购计划数量
  3603. type: number
  3604. buypricedqty:
  3605. description: 采购合同已定价数量
  3606. type: number
  3607. diffexposure:
  3608. description: 变动量(套保敞口)
  3609. type: number
  3610. difffutuqty:
  3611. description: 变动量(期货)
  3612. type: number
  3613. diffhedgeqty:
  3614. description: 变动量(现货应套保总量)
  3615. type: number
  3616. diffmgqtya:
  3617. description: 套保变动量
  3618. type: number
  3619. diffmgqtyb:
  3620. description: 套利变动量
  3621. type: number
  3622. diffqty:
  3623. description: 变动量(总敞口)
  3624. type: number
  3625. diffspotqty:
  3626. description: 变动量(现货)
  3627. type: number
  3628. enumdicname:
  3629. description: 单位名称
  3630. type: string
  3631. hedgeqty:
  3632. description: 套保量
  3633. type: number
  3634. mgneedhedgeratio:
  3635. description: 套保比例(套保品的)
  3636. type: number
  3637. middlegoodsid:
  3638. description: 套保品种ID
  3639. type: integer
  3640. middlegoodsnam:
  3641. description: 套保商品名称
  3642. type: string
  3643. middlgoodscode:
  3644. description: 套保商品代码
  3645. type: string
  3646. needarbitrageqty:
  3647. description: 应套利量
  3648. type: number
  3649. needarbitrageratio:
  3650. description: 套利比例(套保品的)
  3651. type: number
  3652. needhedgeexposoure:
  3653. description: 应套保敞口(套保敞口)
  3654. type: number
  3655. needhedgeqty:
  3656. description: 应套保量
  3657. type: number
  3658. needhedgeratio:
  3659. description: 应套保敞口比例
  3660. type: number
  3661. oriarbitrageqty:
  3662. description: 期初套利量
  3663. type: number
  3664. oribuyfutureqty:
  3665. description: 期初买入期货数量
  3666. type: number
  3667. oribuyplanqty:
  3668. description: 期初采购计划数量
  3669. type: number
  3670. oribuypricedqty:
  3671. description: 期初采购合同已定价数量
  3672. type: number
  3673. orihedgeqty:
  3674. description: 期初套保量
  3675. type: number
  3676. orineedarbitrageqty:
  3677. description: 期初应套利量
  3678. type: number
  3679. orineedhedgeexposoure:
  3680. description: 期初应套保敞口
  3681. type: number
  3682. orineedhedgeqty:
  3683. description: 期初应套保量
  3684. type: number
  3685. orisellfutureqty:
  3686. description: 期初卖出期货数量
  3687. type: number
  3688. orisellplanqty:
  3689. description: 期初销售计划数量
  3690. type: number
  3691. orisellpricedqty:
  3692. description: 期初销售合同已定价数量
  3693. type: number
  3694. oritotalexposure:
  3695. description: 期初实时总敞口
  3696. type: number
  3697. oritotalfutureqty:
  3698. description: 期初期货头寸总量
  3699. type: number
  3700. oritotalneedhedgeqty:
  3701. description: 期初应套保总量
  3702. type: number
  3703. oritotalspotqty:
  3704. description: 期初现货头寸总量
  3705. type: number
  3706. reckondate:
  3707. description: 日照时期(yyyyMMdd)
  3708. type: string
  3709. sellfutureqty:
  3710. description: 卖出期货数量
  3711. type: number
  3712. sellplanqty:
  3713. description: 销售计划数量
  3714. type: number
  3715. sellpricedqty:
  3716. description: 销售合同已定价数量
  3717. type: number
  3718. totalexposure:
  3719. description: 实时总敞口(总敞口)
  3720. type: number
  3721. totalfutureqty:
  3722. description: 期货头寸总量(期货总量)
  3723. type: number
  3724. totalhedgeratio:
  3725. description: 敞口比例
  3726. type: number
  3727. totalneedhedgeqty:
  3728. description: 应套保总量(现货应套保总量)
  3729. type: number
  3730. totalspotqty:
  3731. description: 现货头寸总量
  3732. type: number
  3733. unitid:
  3734. description: 单位id
  3735. type: integer
  3736. updatetime:
  3737. description: 更新时间
  3738. type: string
  3739. type: object
  3740. models.Ermcp3ReportAreaSpotPL:
  3741. properties:
  3742. actualpl:
  3743. description: 实际损益
  3744. type: number
  3745. areauserid:
  3746. description: 所属机构
  3747. type: integer
  3748. biztype:
  3749. description: 业务类型 1-套保 2-套利
  3750. type: integer
  3751. brandname:
  3752. description: 品牌名称
  3753. type: string
  3754. curamount:
  3755. description: 期末额
  3756. type: number
  3757. curaverageprice:
  3758. description: 期末均价
  3759. type: number
  3760. curbuyamount:
  3761. description: 期末采购总额(采购额)
  3762. type: number
  3763. curbuyqty:
  3764. description: 期末采购总量
  3765. type: number
  3766. curmarketvalue:
  3767. description: 参考市值
  3768. type: number
  3769. curqty:
  3770. description: 期末量
  3771. type: number
  3772. currencyid:
  3773. description: 币种id
  3774. type: integer
  3775. currencyname:
  3776. description: 币种名称
  3777. type: string
  3778. cursellamount:
  3779. description: 期末销售总额(销售额)
  3780. type: number
  3781. cursellqty:
  3782. description: 期末销售总量
  3783. type: number
  3784. curspotprice:
  3785. description: 参考市价
  3786. type: number
  3787. deliverygoodscode:
  3788. description: 现货品种代码
  3789. type: string
  3790. deliverygoodsid:
  3791. description: 现货品种id
  3792. type: integer
  3793. deliverygoodsname:
  3794. description: 现货品种名称
  3795. type: string
  3796. enumdicname:
  3797. description: 现货商品单位名称
  3798. type: string
  3799. floatpl:
  3800. description: 浮动损益
  3801. type: number
  3802. gbenumdicname:
  3803. description: 品类单位名称
  3804. type: string
  3805. gbunitid:
  3806. description: 现货单位id
  3807. type: integer
  3808. modelname:
  3809. description: 品类名称
  3810. type: string
  3811. oriamount:
  3812. description: 期初额
  3813. type: number
  3814. oriaverageprice:
  3815. description: 期初均价
  3816. type: number
  3817. oribuyamount:
  3818. description: 期初采购总额
  3819. type: number
  3820. oribuyqty:
  3821. description: 期初采购总量
  3822. type: number
  3823. oriqty:
  3824. description: 期初量
  3825. type: number
  3826. orisellamount:
  3827. description: 期初销售总额
  3828. type: number
  3829. orisellqty:
  3830. description: 期初销售总量
  3831. type: number
  3832. spotgoodsbrandid:
  3833. description: 现货品牌ID
  3834. type: integer
  3835. todaybuyamount:
  3836. description: 今日采购额
  3837. type: number
  3838. todaybuyaverageprice:
  3839. description: 今日采购均价(采购均价)
  3840. type: number
  3841. todaybuyqty:
  3842. description: 今日采购量(采购增量)
  3843. type: number
  3844. todaysellamount:
  3845. description: 今日销售额
  3846. type: number
  3847. todaysellaverageprice:
  3848. description: 今日销售均价(销售均价)
  3849. type: number
  3850. todaysellqty:
  3851. description: 今日销售量(销售增量)
  3852. type: number
  3853. unitid:
  3854. description: 品类单位id
  3855. type: integer
  3856. updatetime:
  3857. description: 更新时间
  3858. type: string
  3859. wrstandardcode:
  3860. description: 品类代码
  3861. type: string
  3862. wrstandardid:
  3863. description: 品类ID
  3864. type: integer
  3865. wrstandardname:
  3866. description: 品类名称
  3867. type: string
  3868. type: object
  3869. models.Ermcp3ReportAreaSpotSub:
  3870. properties:
  3871. accountid:
  3872. description: 期货账户ID
  3873. type: integer
  3874. accountname:
  3875. description: 所属机构名称
  3876. type: string
  3877. areauserid:
  3878. description: 账户所属机构
  3879. type: integer
  3880. biztype:
  3881. description: 业务类型 1-套保 2-套利
  3882. type: integer
  3883. brandname:
  3884. description: 品牌名称
  3885. type: string
  3886. buycontractinqty:
  3887. description: 采购合同入库量【期末】
  3888. type: number
  3889. buypricedamount:
  3890. description: 采购合同已定价金额【期末】
  3891. type: number
  3892. buypricedqty:
  3893. description: 采购合同已定价数量【期末】
  3894. type: number
  3895. buyreckonqty:
  3896. description: 采购合同交收量【期末】
  3897. type: number
  3898. currencyid:
  3899. description: 币种id
  3900. type: integer
  3901. currencyname:
  3902. description: 币种名称
  3903. type: string
  3904. cycletime:
  3905. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3906. type: string
  3907. cycletype:
  3908. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3909. type: integer
  3910. deliverygoodscode:
  3911. description: 现货商品代码
  3912. type: string
  3913. deliverygoodsid:
  3914. description: 现货品种ID
  3915. type: integer
  3916. deliverygoodsname:
  3917. description: 现货商品名称
  3918. type: string
  3919. enumdicname:
  3920. description: 现货商品单位名称
  3921. type: string
  3922. goodsunitid:
  3923. description: 现货商品单位id
  3924. type: integer
  3925. oribuycontractinqty:
  3926. description: 期初采购合同入库量【期初】
  3927. type: number
  3928. oribuypricedamount:
  3929. description: 期初采购合同已定价金额【期初】
  3930. type: number
  3931. oribuypricedqty:
  3932. description: 期初采购合同已定价数量【期初】
  3933. type: number
  3934. oribuyreckonqty:
  3935. description: 期初采购合同交收量【期初】
  3936. type: number
  3937. oriproduceinqty:
  3938. description: 期初生产入库量【期初】
  3939. type: number
  3940. oriproduceoutqty:
  3941. description: 期初生产出库量【期初】
  3942. type: number
  3943. orisellcontractoutqty:
  3944. description: 期初销售合同出库量【期初】
  3945. type: number
  3946. orisellpricedamount:
  3947. description: 期初销售合同已定价金额【期初】
  3948. type: number
  3949. orisellpricedqty:
  3950. description: 期初销售合同已定价数量【期初】
  3951. type: number
  3952. orisellreckonqty:
  3953. description: 期初销售合同交收量【期初】
  3954. type: number
  3955. produceinqty:
  3956. description: 生产入库量【期末】
  3957. type: number
  3958. produceoutqty:
  3959. description: 生产出库量【期末】
  3960. type: number
  3961. sellcontractoutqty:
  3962. description: 销售合同出库量【期末】
  3963. type: number
  3964. sellpricedamount:
  3965. description: 销售合同已定价金额【期末】
  3966. type: number
  3967. sellpricedqty:
  3968. description: 销售合同已定价数量【期末】
  3969. type: number
  3970. sellreckonqty:
  3971. description: 销售合同交收量【期末】
  3972. type: number
  3973. spotgoodsbrandid:
  3974. description: 现货品牌ID
  3975. type: integer
  3976. todaybuyreckonqty:
  3977. description: 今日采购合同已确定数量【汇总】
  3978. type: number
  3979. todaysellreckonqty:
  3980. description: 今日销售合同已确定数量【汇总】
  3981. type: number
  3982. totalbuypricedqty:
  3983. description: 采购定价量 = 期末 - 期初
  3984. type: number
  3985. totalsellpricedqty:
  3986. description: 销售定价量 = 期末 - 期初
  3987. type: number
  3988. totalspotqty:
  3989. description: 现货头寸总量 = 采购合同已定价数量 - 销售合同已定价数量【期末】
  3990. type: number
  3991. updatetime:
  3992. description: 更新时间
  3993. type: string
  3994. wrfactortypeid:
  3995. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  3996. type: integer
  3997. wrstandardcode:
  3998. description: 品类代码
  3999. type: string
  4000. wrstandardid:
  4001. description: 品类ID
  4002. type: integer
  4003. wrstandardname:
  4004. description: 品类名称
  4005. type: string
  4006. required:
  4007. - areauserid
  4008. type: object
  4009. models.Ermcp3ReportExpourse:
  4010. properties:
  4011. accountid:
  4012. description: 期货账户ID (作废, 默认为0)
  4013. type: integer
  4014. accountname:
  4015. description: 机构名称
  4016. type: string
  4017. arbitrageqty:
  4018. description: 套利量
  4019. type: number
  4020. areauserid:
  4021. description: 所属机构\交易用户ID
  4022. type: integer
  4023. buyfutureqty:
  4024. description: 买入期货数量
  4025. type: number
  4026. buyplanqty:
  4027. description: 采购计划数量
  4028. type: number
  4029. buypricedqty:
  4030. description: 采购合同已定价数量
  4031. type: number
  4032. cycletime:
  4033. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4034. type: string
  4035. cycletype:
  4036. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4037. type: integer
  4038. diffexposure:
  4039. description: 变动量(套保敞口)
  4040. type: number
  4041. difffutuqty:
  4042. description: 变动量(期货)
  4043. type: number
  4044. diffhedgeqty:
  4045. description: 变动量(现货应套保总量)
  4046. type: number
  4047. diffmgqtya:
  4048. description: 套保变动量
  4049. type: number
  4050. diffmgqtyb:
  4051. description: 套利变动量
  4052. type: number
  4053. diffqty:
  4054. description: 变动量(总敞口)
  4055. type: number
  4056. diffspotqty:
  4057. description: 变动量(现货)
  4058. type: number
  4059. enumdicname:
  4060. description: 单位名称
  4061. type: string
  4062. hedgeqty:
  4063. description: 套保量
  4064. type: number
  4065. mgneedhedgeratio:
  4066. description: 套保比例(套保品的)
  4067. type: number
  4068. middlegoodsid:
  4069. description: 套保品种ID
  4070. type: integer
  4071. middlegoodsnam:
  4072. description: 套保商品名称
  4073. type: string
  4074. middlgoodscode:
  4075. description: 套保商品代码
  4076. type: string
  4077. needarbitrageqty:
  4078. description: 应套利量
  4079. type: number
  4080. needarbitrageratio:
  4081. description: 套利比例(套保品的)
  4082. type: number
  4083. needhedgeexposoure:
  4084. description: 应套保敞口(套保敞口)
  4085. type: number
  4086. needhedgeqty:
  4087. description: 应套保量
  4088. type: number
  4089. needhedgeratio:
  4090. description: 应套保敞口比例
  4091. type: number
  4092. oriarbitrageqty:
  4093. description: 期初套利量
  4094. type: number
  4095. oribuyfutureqty:
  4096. description: 期初买入期货数量
  4097. type: number
  4098. oribuyplanqty:
  4099. description: 期初采购计划数量
  4100. type: number
  4101. oribuypricedqty:
  4102. description: 期初采购合同已定价数量
  4103. type: number
  4104. orihedgeqty:
  4105. description: 期初套保量
  4106. type: number
  4107. orineedarbitrageqty:
  4108. description: 期初应套利量
  4109. type: number
  4110. orineedhedgeexposoure:
  4111. description: 期初应套保敞口
  4112. type: number
  4113. orineedhedgeqty:
  4114. description: 期初应套保量
  4115. type: number
  4116. orisellfutureqty:
  4117. description: 期初卖出期货数量
  4118. type: number
  4119. orisellplanqty:
  4120. description: 期初销售计划数量
  4121. type: number
  4122. orisellpricedqty:
  4123. description: 期初销售合同已定价数量
  4124. type: number
  4125. oritotalexposure:
  4126. description: 期初实时总敞口
  4127. type: number
  4128. oritotalfutureqty:
  4129. description: 期初期货头寸总量
  4130. type: number
  4131. oritotalneedhedgeqty:
  4132. description: 期初应套保总量
  4133. type: number
  4134. oritotalspotqty:
  4135. description: 期初现货头寸总量
  4136. type: number
  4137. sellfutureqty:
  4138. description: 卖出期货数量
  4139. type: number
  4140. sellplanqty:
  4141. description: 销售计划数量
  4142. type: number
  4143. sellpricedqty:
  4144. description: 销售合同已定价数量
  4145. type: number
  4146. totalexposure:
  4147. description: 实时总敞口(总敞口)
  4148. type: number
  4149. totalfutureqty:
  4150. description: 期货头寸总量(期货总量)
  4151. type: number
  4152. totalhedgeratio:
  4153. description: 敞口比例
  4154. type: number
  4155. totalneedhedgeqty:
  4156. description: 应套保总量(现货应套保总量)
  4157. type: number
  4158. totalspotqty:
  4159. description: 现货头寸总量
  4160. type: number
  4161. unitid:
  4162. description: 单位id
  4163. type: integer
  4164. updatetime:
  4165. description: 更新时间
  4166. type: string
  4167. type: object
  4168. models.Ermcp3ReportOPLog:
  4169. properties:
  4170. applyid:
  4171. description: 操作人
  4172. type: integer
  4173. applyname:
  4174. description: 操作人名称
  4175. type: string
  4176. biztype:
  4177. description: 业务类型 - 1:套保计划 2:现货合同
  4178. type: integer
  4179. brandname:
  4180. description: 品牌名称
  4181. type: string
  4182. contracttype:
  4183. description: 现货合同类型 - 1:采购 -1:销售
  4184. type: integer
  4185. deliverygoodscode:
  4186. description: 现货品种代码
  4187. type: string
  4188. deliverygoodsid:
  4189. description: 现货品种id
  4190. type: integer
  4191. deliverygoodsname:
  4192. description: 现货品种名称
  4193. type: string
  4194. enumdicName:
  4195. description: 单位名称
  4196. type: string
  4197. logdatetime:
  4198. description: 流水日期(时间)
  4199. type: string
  4200. logid:
  4201. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4202. type: string
  4203. logtypename:
  4204. description: 合同类型(名称)
  4205. type: string
  4206. logvalue:
  4207. description: 数值
  4208. type: string
  4209. operatelogtype:
  4210. description: 操作流水类型 -
  4211. type: integer
  4212. optypename:
  4213. description: 流水类型名称
  4214. type: string
  4215. relatedid:
  4216. description: 现货合同ID\套保计划
  4217. type: string
  4218. relatedno:
  4219. description: 合同编号
  4220. type: string
  4221. spotgoodsbrandid:
  4222. description: 品牌id
  4223. type: integer
  4224. tradedate:
  4225. description: 交易日(yyyyMMdd)
  4226. type: string
  4227. userid:
  4228. description: 机构ID
  4229. type: integer
  4230. wrstandardcode:
  4231. description: 品类代码
  4232. type: string
  4233. wrstandardid:
  4234. description: 品类id
  4235. type: integer
  4236. wrstandardname:
  4237. description: 品类名称
  4238. type: string
  4239. type: object
  4240. models.Ermcp3SellBuyContract:
  4241. properties:
  4242. accountname:
  4243. description: 账户名称
  4244. type: string
  4245. attachment:
  4246. description: 附件
  4247. type: string
  4248. audittime:
  4249. description: 审核时间
  4250. type: string
  4251. brandname:
  4252. description: 品牌名称
  4253. type: string
  4254. contracctstatus:
  4255. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4256. type: integer
  4257. contractmargin:
  4258. description: 合同保证金
  4259. type: number
  4260. contractno:
  4261. description: 合同编号
  4262. type: string
  4263. contracttype:
  4264. description: 合同类型 1-采购, -1-销售
  4265. type: integer
  4266. convertfactor:
  4267. description: 标仓系数(品类)
  4268. type: number
  4269. createtime:
  4270. description: 创建时间
  4271. type: string
  4272. daikaiamount:
  4273. description: 应收(开)票额
  4274. type: number
  4275. deliveryenddate:
  4276. description: 交割结束日
  4277. type: string
  4278. deliverygoodscode:
  4279. description: 现货品种代码
  4280. type: string
  4281. deliverygoodsid:
  4282. description: 现货商品ID
  4283. type: integer
  4284. deliverygoodsname:
  4285. description: 现货品种名称
  4286. type: string
  4287. deliverystartdate:
  4288. description: 交割开始日
  4289. type: string
  4290. enddate:
  4291. description: 点价结束日
  4292. type: string
  4293. enumdicname:
  4294. description: 单位名称
  4295. type: string
  4296. goodscode:
  4297. description: 点价商品代码
  4298. type: string
  4299. goodsid:
  4300. description: 点价商品ID
  4301. type: integer
  4302. goodsname:
  4303. description: 点价商品名称
  4304. type: string
  4305. invoiceamount:
  4306. description: 已开票额
  4307. type: number
  4308. loanamount:
  4309. description: 贷款总额=已定价额+调整金额
  4310. type: number
  4311. margin:
  4312. description: 保证金
  4313. type: number
  4314. nickname:
  4315. description: 账户昵称
  4316. type: string
  4317. payamount:
  4318. description: 已收付额(收款或付款)
  4319. type: number
  4320. preinvoiceamount:
  4321. description: 预收(开)票额
  4322. type: number
  4323. prepayamount:
  4324. description: 预收付额
  4325. type: number
  4326. price:
  4327. description: 价格
  4328. type: number
  4329. pricedamount:
  4330. description: 已定价额
  4331. type: number
  4332. pricedavg:
  4333. description: 已点均价
  4334. type: number
  4335. pricedqty:
  4336. description: 已定价量
  4337. type: number
  4338. pricemove:
  4339. description: 升贴水
  4340. type: number
  4341. pricetype:
  4342. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4343. type: integer
  4344. producttype:
  4345. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4346. type: integer
  4347. qty:
  4348. description: 合同量
  4349. type: number
  4350. reckonadjustamount:
  4351. description: 调整金额
  4352. type: number
  4353. reckonedamount:
  4354. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  4355. type: number
  4356. reckonotheramount:
  4357. description: 其它费用
  4358. type: number
  4359. reckonrealqty:
  4360. description: 已确定量
  4361. type: number
  4362. remark:
  4363. description: 备注
  4364. type: string
  4365. spotcontractid:
  4366. description: 合同ID
  4367. type: string
  4368. spotgoodsbrandid:
  4369. description: 现货品牌ID(DGFactoryItem表的ID)
  4370. type: integer
  4371. spotgoodsdesc:
  4372. description: 商品型号(商品规格)
  4373. type: string
  4374. startdate:
  4375. description: 点价开始日
  4376. type: string
  4377. totalamount:
  4378. description: 合计总额
  4379. type: number
  4380. unpayamount:
  4381. description: 应收付款额(应支付或应收款)
  4382. type: number
  4383. unpricedqty:
  4384. description: 未定价量
  4385. type: number
  4386. unsureqty:
  4387. description: 未确定量
  4388. type: number
  4389. userid:
  4390. description: 机构ID
  4391. type: integer
  4392. wrstandardcode:
  4393. description: 品类代码
  4394. type: string
  4395. wrstandardid:
  4396. description: 品类ID
  4397. type: integer
  4398. wrstandardname:
  4399. description: 品类名称
  4400. type: string
  4401. type: object
  4402. models.Ermcp3SpotGoodsPrice:
  4403. properties:
  4404. areauserid:
  4405. description: 所属机构id
  4406. type: integer
  4407. brandname:
  4408. description: 品牌名称
  4409. type: string
  4410. currencyid:
  4411. description: 报价货币ID
  4412. type: integer
  4413. currencyname:
  4414. description: 币种名称
  4415. type: string
  4416. deliverygoodscode:
  4417. description: 现货商品代码
  4418. type: string
  4419. deliverygoodsid:
  4420. description: 现货商品id
  4421. type: integer
  4422. deliverygoodsname:
  4423. description: 现货商品名称
  4424. type: string
  4425. enumdicname:
  4426. description: 现货商品单位名称
  4427. type: string
  4428. gbenumdicname:
  4429. description: 品类单位名称
  4430. type: string
  4431. gmunitid:
  4432. description: 品类单位id
  4433. type: integer
  4434. isvalid:
  4435. description: 是否有效 - 0:无效 1:有效
  4436. type: integer
  4437. operateid:
  4438. description: 最后操作人
  4439. type: integer
  4440. operatesrc:
  4441. description: 最后操作来源 - 1:管理端 2:终端
  4442. type: integer
  4443. operatetime:
  4444. description: 最后操作时间
  4445. type: string
  4446. operatorname:
  4447. description: 操作人名称
  4448. type: string
  4449. spotgoodsbrandid:
  4450. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  4451. type: integer
  4452. spotgoodsprice:
  4453. description: 现货价格
  4454. type: number
  4455. tradedate:
  4456. description: 交易日(yyyyMMdd)
  4457. type: string
  4458. unitid:
  4459. description: 现货商品单位id
  4460. type: integer
  4461. wrstandardcode:
  4462. description: 品类代码
  4463. type: string
  4464. wrstandardid:
  4465. description: 现货品类ID(通用则为0)
  4466. type: integer
  4467. wrstandardname:
  4468. description: 品类名称
  4469. type: string
  4470. type: object
  4471. models.Ermcp3SpotGoodsPriceLog:
  4472. properties:
  4473. areauserid:
  4474. description: 所属机构id
  4475. type: integer
  4476. brandname:
  4477. description: 品牌名称
  4478. type: string
  4479. currencyid:
  4480. description: 报价货币ID
  4481. type: integer
  4482. deliverygoodscode:
  4483. description: 现货商品代码
  4484. type: string
  4485. deliverygoodsid:
  4486. description: 现货商品id
  4487. type: integer
  4488. deliverygoodsname:
  4489. description: 现货商品名称
  4490. type: string
  4491. enumdicname:
  4492. description: 现货商品单位名称
  4493. type: string
  4494. gbenumdicname:
  4495. description: 品类单位名称
  4496. type: string
  4497. gmunitid:
  4498. description: 品类单位id
  4499. type: integer
  4500. logid:
  4501. description: 日志id
  4502. type: integer
  4503. operateid:
  4504. description: 最后操作人
  4505. type: integer
  4506. operatesrc:
  4507. description: 最后操作来源 - 1:管理端 2:终端
  4508. type: integer
  4509. operatetime:
  4510. description: 最后操作时间
  4511. type: string
  4512. operatorname:
  4513. description: 操作人名称
  4514. type: string
  4515. spotgoodsbrandid:
  4516. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  4517. type: integer
  4518. spotgoodsprice:
  4519. description: 现货价格
  4520. type: number
  4521. tradedate:
  4522. description: 交易日(yyyyMMdd)
  4523. type: string
  4524. unitid:
  4525. description: 现货商品单位id
  4526. type: integer
  4527. wrstandardcode:
  4528. description: 品类代码
  4529. type: string
  4530. wrstandardid:
  4531. description: 现货品类ID(通用则为0)
  4532. type: integer
  4533. wrstandardname:
  4534. description: 品类名称
  4535. type: string
  4536. type: object
  4537. models.Ermcp3Wrstandard:
  4538. properties:
  4539. areauserid:
  4540. description: 所属机构
  4541. type: integer
  4542. convertfactor:
  4543. description: 标仓系数
  4544. type: number
  4545. createtime:
  4546. description: 创建时间
  4547. type: string
  4548. creatorid:
  4549. description: 创建人
  4550. type: integer
  4551. deliverygoodsid:
  4552. description: 现货品种ID
  4553. type: integer
  4554. enumdicname:
  4555. description: 品类单位名称
  4556. type: string
  4557. isvalid:
  4558. description: 是否有效 0-无效(停用) 1-有效(正常)
  4559. type: integer
  4560. minivalue:
  4561. description: 最小变动值
  4562. type: integer
  4563. minivaluedp:
  4564. description: 最小变动值小数位
  4565. type: integer
  4566. realminivalue:
  4567. description: 实际最小变动值
  4568. type: integer
  4569. realminivaluedp:
  4570. description: 实际最小变动值小数位
  4571. type: integer
  4572. remark:
  4573. description: 备注
  4574. type: string
  4575. unitid:
  4576. description: 品类单位ID
  4577. type: integer
  4578. updatetime:
  4579. description: 更新时间
  4580. type: string
  4581. wrstandardcode:
  4582. description: 品类代码
  4583. type: string
  4584. wrstandardid:
  4585. description: 品类ID(SEQ_WRSTANDARD)
  4586. type: integer
  4587. wrstandardname:
  4588. description: 品类名称
  4589. type: string
  4590. type: object
  4591. models.ErmcpAreaSpotDetailModel:
  4592. properties:
  4593. contracttype:
  4594. description: 合同类型 1-采购 -1-销售
  4595. type: integer
  4596. createtime:
  4597. description: 创建时间
  4598. type: string
  4599. enumdicname:
  4600. description: 现货商品单位名称
  4601. type: string
  4602. logtype:
  4603. description: 记录类型 1-套保 2-现货合同
  4604. type: integer
  4605. qty:
  4606. description: 数量
  4607. type: number
  4608. recordname:
  4609. description: 类型名称
  4610. type: string
  4611. relatedid:
  4612. description: 套保计划ID/现货合同ID
  4613. type: string
  4614. relatedno:
  4615. description: 编号
  4616. type: string
  4617. strtime:
  4618. description: 时间
  4619. type: string
  4620. wrstandardcode:
  4621. description: 现货商品代码
  4622. type: string
  4623. wrstandardname:
  4624. description: 现货商品名称
  4625. type: string
  4626. type: object
  4627. models.ErmcpAvalidGoodsGroupModel:
  4628. properties:
  4629. goodsgroupid:
  4630. description: 期货品种id
  4631. type: integer
  4632. goodsgroupname:
  4633. description: 期货品种名称
  4634. type: string
  4635. goodunitid:
  4636. description: 品种单位id
  4637. type: integer
  4638. goodunitname:
  4639. description: 品种单位名称
  4640. type: string
  4641. outergroupcode:
  4642. description: 期货品种代码
  4643. type: string
  4644. type: object
  4645. models.ErmcpBizGroupEx:
  4646. properties:
  4647. acclist:
  4648. description: 账号列表
  4649. items:
  4650. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  4651. type: array
  4652. bizgroupid:
  4653. description: 业务分组id
  4654. type: integer
  4655. biztype:
  4656. description: 业务类型 1-套保 2-套利
  4657. type: integer
  4658. wrlist:
  4659. description: 现货商品表
  4660. items:
  4661. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  4662. type: array
  4663. type: object
  4664. models.ErmcpBizGroupSpotGoods:
  4665. properties:
  4666. areauserid:
  4667. description: 所属机构id
  4668. type: integer
  4669. bizgroupid:
  4670. description: 分组id
  4671. type: integer
  4672. biztype:
  4673. description: 业务类型 1-套保 2-套利
  4674. type: integer
  4675. deliverygoodscode:
  4676. description: 现货商品代码
  4677. type: string
  4678. deliverygoodsid:
  4679. description: 现货商品id
  4680. type: integer
  4681. deliverygoodsname:
  4682. description: 现货商品名称
  4683. type: string
  4684. unitid:
  4685. description: 现货商品单位id
  4686. type: integer
  4687. type: object
  4688. models.ErmcpBizGroupTaAccount:
  4689. properties:
  4690. accountid:
  4691. description: 账号id
  4692. type: integer
  4693. accountname:
  4694. description: 账号名称
  4695. type: string
  4696. areauserid:
  4697. description: 所属机构id
  4698. type: integer
  4699. bizgroupid:
  4700. description: 业务分组id
  4701. type: integer
  4702. ismain:
  4703. description: 是否主账号 1-是 0-否
  4704. type: integer
  4705. type: object
  4706. models.ErmcpDGFactoryItem:
  4707. properties:
  4708. areauserid:
  4709. description: 用户id
  4710. type: integer
  4711. deliverygoodsid:
  4712. description: 现货品种ID
  4713. type: integer
  4714. dgfactoryitemid:
  4715. description: 选择项ID(SEQ_DGFACTORYITEM)
  4716. type: integer
  4717. dgfactoryitemtypeid:
  4718. description: 要素项类型
  4719. type: integer
  4720. dgfactoryitemvalue:
  4721. description: 要素项值(类型为仓库时填写仓库名称)
  4722. type: string
  4723. isvalid:
  4724. description: 是否有效 - 0:无效 1:有效
  4725. type: integer
  4726. orderindex:
  4727. description: 顺序
  4728. type: integer
  4729. warehouseid:
  4730. description: 仓库ID(类型为仓库时填写)
  4731. type: integer
  4732. type: object
  4733. models.ErmcpDeliveryGoods:
  4734. properties:
  4735. agreeunit:
  4736. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  4737. type: integer
  4738. areauserid:
  4739. description: 所属机构
  4740. type: integer
  4741. auditflag:
  4742. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  4743. type: integer
  4744. categoryid:
  4745. description: 类别ID(SEQ_WRCATEGORY)
  4746. type: integer
  4747. deliverygoodscode:
  4748. description: 现货品种代码
  4749. type: string
  4750. deliverygoodsid:
  4751. description: 现货品种ID(SEQ_DELIVERYGOODS)
  4752. type: integer
  4753. deliverygoodsname:
  4754. description: 现货品种名称
  4755. type: string
  4756. deliverygoodstype:
  4757. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  4758. type: integer
  4759. dgstatus:
  4760. description: 品种状态 - 作废 - 0:未激活 1:正常
  4761. type: integer
  4762. enumdicname:
  4763. description: 现货品种单位名称
  4764. type: string
  4765. goodsunitid:
  4766. description: 现货品种单位ID
  4767. type: integer
  4768. isvalid:
  4769. description: 是否有效 - 0:无效 1:有效
  4770. type: integer
  4771. qtydecimalplace:
  4772. description: 成交量小数位
  4773. type: integer
  4774. remark:
  4775. description: 备注
  4776. type: string
  4777. standardqty:
  4778. description: 标准数量(库位数量) [标准品特有]
  4779. type: integer
  4780. standardqtyrange:
  4781. description: 标准数量偏差范围 [标准品特有]
  4782. type: integer
  4783. type: object
  4784. models.ErmcpDeliveryGoodsDetail2:
  4785. properties:
  4786. convertratio:
  4787. description: 套保系数(折算系数)
  4788. type: number
  4789. data:
  4790. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  4791. description: 现货商品基本信息(交割品种)
  4792. type: object
  4793. gblist:
  4794. description: 品牌列表
  4795. items:
  4796. $ref: '#/definitions/models.Ermcp3Brand'
  4797. type: array
  4798. gmlist:
  4799. description: 品类列表(仓单标准)
  4800. items:
  4801. $ref: '#/definitions/models.Ermcp3Wrstandard'
  4802. type: array
  4803. type: object
  4804. models.ErmcpDeliveryGoodsDetailEx:
  4805. properties:
  4806. data:
  4807. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  4808. description: 现货商品基本信息(交割品种)
  4809. type: object
  4810. gblist:
  4811. description: 品牌列表
  4812. items:
  4813. $ref: '#/definitions/models.Ermcp3Brand'
  4814. type: array
  4815. gmlist:
  4816. description: 品类列表(仓单标准)
  4817. items:
  4818. $ref: '#/definitions/models.Ermcp3Wrstandard'
  4819. type: array
  4820. mgList:
  4821. description: 套保列表
  4822. items:
  4823. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  4824. type: array
  4825. type: object
  4826. models.ErmcpExposureDetailModel:
  4827. properties:
  4828. areauserid:
  4829. description: 机构ID
  4830. type: integer
  4831. changeQty:
  4832. description: 套保变动量
  4833. type: number
  4834. contracttype:
  4835. description: 现货合同类型 - 1:采购 -1:销售
  4836. type: integer
  4837. convertfactor:
  4838. description: 标仓系数
  4839. type: number
  4840. convertratio:
  4841. description: 套保系数
  4842. type: number
  4843. createtime:
  4844. description: 时间
  4845. type: string
  4846. enumdicname:
  4847. description: 现货商品单位名称
  4848. type: string
  4849. logtype:
  4850. description: 类型 - 1:套保计划 2:现货合同
  4851. type: integer
  4852. middlegoodsId:
  4853. description: 套保商品id
  4854. type: integer
  4855. middlegoodscode:
  4856. description: 套保商品代码
  4857. type: string
  4858. middlegoodsname:
  4859. description: 套保商品名称
  4860. type: string
  4861. qty:
  4862. description: 数量
  4863. type: number
  4864. relateNo:
  4865. description: 现货合同/套保计划编号
  4866. type: string
  4867. wrstandardcode:
  4868. description: 现货商品代码
  4869. type: string
  4870. wrstandardid:
  4871. description: 现货商品ID
  4872. type: integer
  4873. wrstandardname:
  4874. description: 现货商品名称
  4875. type: string
  4876. type: object
  4877. models.ErmcpExposurePostion:
  4878. properties:
  4879. agreeunit:
  4880. description: 合约单位
  4881. type: string
  4882. areauserid:
  4883. description: 所属机构id
  4884. type: integer
  4885. convertratio:
  4886. description: 期货品种系数(折算系数)
  4887. type: number
  4888. curqty:
  4889. description: 当前持仓
  4890. type: integer
  4891. diffhedgeqty:
  4892. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  4893. type: number
  4894. diffqty:
  4895. description: 持仓变动量=当前持仓-昨日持仓
  4896. type: integer
  4897. goodscode:
  4898. description: 商品代码
  4899. type: string
  4900. goodsid:
  4901. description: 商品id
  4902. type: integer
  4903. goodsname:
  4904. description: 商品名称
  4905. type: string
  4906. middlegoodsid:
  4907. description: 套保商品id
  4908. type: integer
  4909. ydqty:
  4910. description: 昨日持仓
  4911. type: integer
  4912. type: object
  4913. models.ErmcpFuturesCompany:
  4914. properties:
  4915. brokerid:
  4916. description: 经纪公司代码
  4917. type: string
  4918. channeladdress:
  4919. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  4920. type: string
  4921. channelid:
  4922. description: 对冲渠道ID
  4923. type: string
  4924. createtime:
  4925. description: 创建时间
  4926. type: string
  4927. creatorid:
  4928. description: 创建人
  4929. type: string
  4930. fcid:
  4931. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  4932. type: integer
  4933. fcname:
  4934. description: 期货公司名称
  4935. type: string
  4936. isvalid:
  4937. description: 是否有效 - 0:无效 1:有效
  4938. type: integer
  4939. mhpaddress:
  4940. description: MHP服务地址(IP:Port)
  4941. type: string
  4942. riskrulegroupid:
  4943. description: 风控规则组ID
  4944. type: string
  4945. tradefeetmpid:
  4946. description: 手续费模板ID[TradeConfigTmpType为2]
  4947. type: string
  4948. trademargintmpid:
  4949. description: 保证金模板ID [TradeConfigTmpType为1]
  4950. type: string
  4951. traderatetmpid:
  4952. description: 汇率模板ID[TradeConfigTmpType为3]
  4953. type: string
  4954. updatetime:
  4955. description: 更新时间
  4956. type: string
  4957. updatorid:
  4958. description: 更新人
  4959. type: string
  4960. type: object
  4961. models.ErmcpGGConvertCfg:
  4962. properties:
  4963. convertratio:
  4964. description: 折算系数
  4965. type: number
  4966. destgoodsgroupid:
  4967. description: 目标品种ID
  4968. type: integer
  4969. dstcode:
  4970. description: 目录品种代码
  4971. type: string
  4972. dstexchangecode:
  4973. description: 目标期货交易所
  4974. type: string
  4975. dstname:
  4976. description: 目标品种名称
  4977. type: string
  4978. dstunitid:
  4979. description: 目标品种单位ID
  4980. type: integer
  4981. dstunitidname:
  4982. description: 目标品种单位名称
  4983. type: string
  4984. modifytime:
  4985. description: 修改时间
  4986. type: string
  4987. srccode:
  4988. description: 源品种代码
  4989. type: string
  4990. srcexchangecode:
  4991. description: 源期货交易所
  4992. type: string
  4993. srcgoodsgroupid:
  4994. description: 源品种ID
  4995. type: integer
  4996. srcname:
  4997. description: 源品种名称
  4998. type: string
  4999. srcunitid:
  5000. description: 源品种单位ID
  5001. type: integer
  5002. srcunitidname:
  5003. description: 源品种单位名称
  5004. type: string
  5005. type: object
  5006. models.ErmcpGoodsBrand:
  5007. properties:
  5008. areauserid:
  5009. description: 所属机构
  5010. type: integer
  5011. brandid:
  5012. description: BrandID(SEQ_SPOTGOODSBRAND)
  5013. type: integer
  5014. brandname:
  5015. description: 品牌名称
  5016. type: string
  5017. createtime:
  5018. description: 创建时间
  5019. type: string
  5020. creatorid:
  5021. description: 创建人
  5022. type: integer
  5023. creatorsrc:
  5024. description: 创建人来源 - 1:管理端 2:终端
  5025. type: integer
  5026. deliverygoodsid:
  5027. description: 现货品种ID
  5028. type: integer
  5029. isvalid:
  5030. description: 是否有效 - 0:无效 1:有效
  5031. type: integer
  5032. updatetime:
  5033. description: 更新时间
  5034. type: string
  5035. updatorid:
  5036. description: 更新人
  5037. type: integer
  5038. updatorsrc:
  5039. description: 更新人来源 - 1:管理端 2:终端
  5040. type: integer
  5041. wrstandardid:
  5042. description: 现货商品ID
  5043. type: integer
  5044. type: object
  5045. models.ErmcpGoodsModel:
  5046. properties:
  5047. areauserid:
  5048. description: 所属机构
  5049. type: integer
  5050. convertfactor:
  5051. description: 标仓系数
  5052. type: number
  5053. createtime:
  5054. description: 创建时间
  5055. type: string
  5056. creatorid:
  5057. description: 创建人
  5058. type: integer
  5059. creatorsrc:
  5060. description: 创建人来源 - 1:管理端 2:终端
  5061. type: integer
  5062. deliverygoodsid:
  5063. description: 现货品种ID
  5064. type: integer
  5065. isvalid:
  5066. description: 是否有效 - 0:无效 1:有效
  5067. type: integer
  5068. modelid:
  5069. description: ModelID(SEQ_SPOTGOODSMODEL)
  5070. type: integer
  5071. modelname:
  5072. description: 型号名称
  5073. type: string
  5074. updatetime:
  5075. description: 更新时间
  5076. type: string
  5077. updatorid:
  5078. description: 更新人
  5079. type: integer
  5080. updatorsrc:
  5081. description: 更新人来源 - 1:管理端 2:终端
  5082. type: integer
  5083. wrstandardid:
  5084. description: 现货商品ID
  5085. type: integer
  5086. type: object
  5087. models.ErmcpHedgePosition:
  5088. properties:
  5089. accountid:
  5090. description: 资金账号[外部母账户]
  5091. type: integer
  5092. curbuyposition:
  5093. description: 期末买头寸
  5094. type: integer
  5095. cursellposition:
  5096. description: 期末卖头寸
  5097. type: integer
  5098. curtdbuyposition:
  5099. description: 期末今日买头寸
  5100. type: integer
  5101. curtdsellposition:
  5102. description: 期末今日卖头寸
  5103. type: integer
  5104. curydbuyposition:
  5105. description: 期末上日买头寸
  5106. type: integer
  5107. curydsellposition:
  5108. description: 期末上日卖头寸
  5109. type: integer
  5110. decreaseqty:
  5111. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  5112. type: integer
  5113. fretdbuyposition:
  5114. description: 冻结今日买头寸
  5115. type: integer
  5116. fretdsellposition:
  5117. description: 冻结今日卖头寸
  5118. type: integer
  5119. freydbuyposition:
  5120. description: 冻结上日买头寸
  5121. type: integer
  5122. freydsellposition:
  5123. description: 冻结上日卖头寸
  5124. type: integer
  5125. goodscode:
  5126. description: 商品代码
  5127. type: string
  5128. goodsid:
  5129. description: 商品id
  5130. type: integer
  5131. goodsname:
  5132. description: 商品名称
  5133. type: string
  5134. hedgeaccountcode:
  5135. description: 对冲账号
  5136. type: string
  5137. hedgegoodsid:
  5138. description: 对冲合约ID
  5139. type: integer
  5140. increaseqty:
  5141. description: 增加数量 = 期末买头寸 - 期初买头寸
  5142. type: integer
  5143. marketid:
  5144. description: 市场ID
  5145. type: integer
  5146. relateduserid:
  5147. description: 关联用户id
  5148. type: integer
  5149. totalcurqty:
  5150. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  5151. type: integer
  5152. totalydqty:
  5153. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  5154. type: integer
  5155. tradedate:
  5156. description: 交易日(yyyyMMdd)
  5157. type: string
  5158. ydbuyposition:
  5159. description: 期初买头寸
  5160. type: integer
  5161. ydsellposition:
  5162. description: 期初卖头寸
  5163. type: integer
  5164. type: object
  5165. models.ErmcpHedgePositionDetail:
  5166. properties:
  5167. buyorsell:
  5168. description: 买卖方向 0-买 1-卖
  5169. type: integer
  5170. channelbuildtype:
  5171. description: 开平方向 1-建仓 2-平仓
  5172. type: integer
  5173. goodscode:
  5174. description: 商品代码
  5175. type: string
  5176. goodsname:
  5177. description: 商品名称
  5178. type: string
  5179. hedgegoodsid:
  5180. description: 商品id
  5181. type: integer
  5182. tradeqty:
  5183. description: 数量(成交数量)
  5184. type: integer
  5185. tradetime:
  5186. description: 时间(成交时间)
  5187. type: string
  5188. type: object
  5189. models.ErmcpHisExposure:
  5190. properties:
  5191. needhedgeexposoure:
  5192. description: 应套保敞口
  5193. type: number
  5194. reckondate:
  5195. description: 日照时期(yyyyMMdd)
  5196. type: string
  5197. totalexposure:
  5198. description: 总敞口
  5199. type: number
  5200. type: object
  5201. models.ErmcpHisExposureS:
  5202. properties:
  5203. data:
  5204. description: 历史敞口
  5205. items:
  5206. $ref: '#/definitions/models.ErmcpHisExposure'
  5207. type: array
  5208. enumdicname:
  5209. description: 单位名称
  5210. type: string
  5211. middlegoodscode:
  5212. description: 套保品种代码
  5213. type: string
  5214. middlegoodsid:
  5215. description: 套保品种ID
  5216. type: integer
  5217. middlegoodsname:
  5218. description: 套保品种名称
  5219. type: string
  5220. type: object
  5221. models.ErmcpLoginTaAccount:
  5222. properties:
  5223. accountid:
  5224. description: 账号id
  5225. type: integer
  5226. accountname:
  5227. description: 账号名称
  5228. type: string
  5229. type: object
  5230. models.ErmcpLoginUser:
  5231. properties:
  5232. acclist:
  5233. description: 关联资金账号
  5234. items:
  5235. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  5236. type: array
  5237. accountname:
  5238. description: 用户名称
  5239. type: string
  5240. clientroleid:
  5241. description: 角色id(usertype=2)
  5242. type: integer
  5243. createtime:
  5244. description: 创建时间
  5245. type: string
  5246. logincode:
  5247. description: 登录代码
  5248. type: string
  5249. loginid:
  5250. description: 登录id(LOGINID)
  5251. type: integer
  5252. loginname:
  5253. description: 登录名称(loginaccount表中的accountname字段)
  5254. type: string
  5255. loginstatus:
  5256. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  5257. type: integer
  5258. memberuserid:
  5259. description: 所属会员id
  5260. type: integer
  5261. mobile:
  5262. description: 手机号
  5263. type: string
  5264. modifytime:
  5265. description: 修改时间
  5266. type: string
  5267. password:
  5268. description: 密码(不可解密)
  5269. type: string
  5270. rolename:
  5271. description: 角色名称
  5272. type: string
  5273. rolestatus:
  5274. description: 角色状态 1-启用 2-停用
  5275. type: integer
  5276. roletype:
  5277. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  5278. type: string
  5279. userid:
  5280. description: 用户id
  5281. type: integer
  5282. usertype:
  5283. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  5284. type: integer
  5285. type: object
  5286. models.ErmcpLoginUserEx:
  5287. properties:
  5288. accountstatus:
  5289. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  5290. type: integer
  5291. mobile:
  5292. description: 手机号
  5293. type: string
  5294. querytype:
  5295. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  5296. type: integer
  5297. roleid:
  5298. description: 角色id(交易账户->用户id)
  5299. type: integer
  5300. rolename:
  5301. description: 角色名称(交易账户->用户名称)
  5302. type: string
  5303. userlist:
  5304. description: 用户列表
  5305. items:
  5306. $ref: '#/definitions/models.ErmcpLoginUser'
  5307. type: array
  5308. usertype:
  5309. description: 用户类型 2-机构 7-企业成员(云平台)
  5310. type: integer
  5311. type: object
  5312. models.ErmcpMiddleGoodsChangeLog:
  5313. properties:
  5314. aftervalue:
  5315. description: 变更后
  5316. type: number
  5317. applyid:
  5318. description: 操作人
  5319. type: integer
  5320. applyname:
  5321. description: 操作人名称
  5322. type: string
  5323. applysrc:
  5324. description: 操作来源 - 1:管理端 2:终端
  5325. type: integer
  5326. beforevalue:
  5327. description: 变更前
  5328. type: number
  5329. changelogtype:
  5330. description: 变更流水类型 - 1:套保比率变更
  5331. type: integer
  5332. handlestatus:
  5333. description: 处理状态
  5334. type: integer
  5335. logdatetime:
  5336. description: 流水日期
  5337. type: string
  5338. logid:
  5339. description: 流水ID
  5340. type: integer
  5341. logremark:
  5342. description: 流水备注
  5343. type: string
  5344. middlegoodsid:
  5345. description: 套保品种ID
  5346. type: integer
  5347. tradedate:
  5348. description: 交易日(yyyyMMdd)
  5349. type: string
  5350. updatetime:
  5351. description: 更新时间
  5352. type: string
  5353. type: object
  5354. models.ErmcpMiddleGoodsDetail:
  5355. properties:
  5356. cvList:
  5357. description: 期货品种折算列表
  5358. items:
  5359. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  5360. type: array
  5361. mg:
  5362. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  5363. description: 套保品种基本信息
  5364. type: object
  5365. wrcList:
  5366. description: 现货品种列表(现货商品折算配置)
  5367. items:
  5368. $ref: '#/definitions/models.WRSConverTDetail'
  5369. type: array
  5370. type: object
  5371. models.ErmcpMiddleGoodsModel:
  5372. properties:
  5373. areauserid:
  5374. description: 机构用户ID
  5375. type: integer
  5376. createtime:
  5377. description: 修改时间
  5378. type: string
  5379. enumdicname:
  5380. description: 单位名称
  5381. type: string
  5382. evaluateratio:
  5383. description: 估价系数
  5384. type: number
  5385. goodsgroupid:
  5386. description: 关联期货品种ID
  5387. type: integer
  5388. goodsunitid:
  5389. description: 单位ID
  5390. type: integer
  5391. isvalid:
  5392. description: 状态 0-无效(停用) 1-有效(正常)
  5393. type: integer
  5394. middlegoodscode:
  5395. description: 套保品种代码
  5396. type: string
  5397. middlegoodsid:
  5398. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5399. type: integer
  5400. middlegoodsname:
  5401. description: 套保品种名称
  5402. type: string
  5403. modifytime:
  5404. description: 修改时间
  5405. type: string
  5406. needhedgeratio:
  5407. description: 套保比率
  5408. type: number
  5409. qtydecimalplace:
  5410. description: 数量小数位
  5411. type: integer
  5412. relatedgoodsid:
  5413. description: 关联交易商品ID
  5414. type: integer
  5415. relatedgoodstype:
  5416. description: 关联商品类型 - 1:期货合约 2:现货品种
  5417. type: integer
  5418. remark:
  5419. description: 备注
  5420. type: string
  5421. type: object
  5422. models.ErmcpOPLogModel:
  5423. properties:
  5424. aftervalue:
  5425. description: 变更后
  5426. type: number
  5427. applyid:
  5428. description: 操作人ID
  5429. type: string
  5430. applyname:
  5431. description: 操作人名称
  5432. type: string
  5433. beforevalue:
  5434. description: 变更前
  5435. type: number
  5436. biztype:
  5437. description: 业务类型 - 1:套保计划 2:现货合同
  5438. type: integer
  5439. contracttype:
  5440. description: 现货合同类型 - 1:采购 -1:销售
  5441. type: integer
  5442. logvalue:
  5443. description: 数值
  5444. type: number
  5445. operatelogtype:
  5446. description: 操作流水类型
  5447. type: integer
  5448. operatelogtypedesc:
  5449. description: 操作流水类型名称
  5450. type: string
  5451. relatedid:
  5452. description: 现货合同ID\套保计划
  5453. type: string
  5454. updatetime:
  5455. description: 更新时间
  5456. type: string
  5457. type: object
  5458. models.ErmcpPendingAudit:
  5459. properties:
  5460. areastockqty:
  5461. description: '待审核数量: 库存申请'
  5462. type: integer
  5463. businessdjqty:
  5464. description: '待审核数量: 点价'
  5465. type: integer
  5466. businessfpqty:
  5467. description: '待审核数量: 发票'
  5468. type: integer
  5469. businessjsqty:
  5470. description: '待审核数量: 结算'
  5471. type: integer
  5472. businesskxqty:
  5473. description: '待审核数量: 款项'
  5474. type: integer
  5475. hedgeplanqty:
  5476. description: '待审核数量: 套保计划'
  5477. type: integer
  5478. spotcontractqty:
  5479. description: '待审核数量: 现货合同'
  5480. type: integer
  5481. userqty:
  5482. description: '待审核数量: 用户'
  5483. type: integer
  5484. type: object
  5485. models.ErmcpRealExposureModel:
  5486. properties:
  5487. AreaUserID:
  5488. description: 所属机构
  5489. type: integer
  5490. BuyFutureQty:
  5491. description: 买入期货数量
  5492. type: number
  5493. BuyPlanQty:
  5494. description: 采购计划数量
  5495. type: number
  5496. BuyPricedQty:
  5497. description: 采购合同已定价数量
  5498. type: number
  5499. MiddleGoodsCode:
  5500. description: 套保品种代码
  5501. type: string
  5502. MiddleGoodsHedgeRatio:
  5503. description: 应套保比例
  5504. type: number
  5505. MiddleGoodsID:
  5506. description: 套保品种
  5507. type: integer
  5508. MiddleGoodsName:
  5509. description: 套保品种名称
  5510. type: string
  5511. NeedHedgeExposoure:
  5512. description: 应套保敞口
  5513. type: number
  5514. NeedHedgeRatio:
  5515. description: 应套保敞口比例
  5516. type: number
  5517. OriBuyFutureQty:
  5518. description: 期初买入期货数量
  5519. type: number
  5520. OriBuyPlanQty:
  5521. description: 期初采购计划数量
  5522. type: number
  5523. OriBuyPricedQty:
  5524. description: 期初采购合同已定价数量
  5525. type: number
  5526. OriSellFutureQty:
  5527. description: 期初卖出期货数量
  5528. type: number
  5529. OriSellPlanQty:
  5530. description: 期初销售计划数量
  5531. type: number
  5532. OriSellPricedQty:
  5533. description: 期初销售合同已定价数量
  5534. type: number
  5535. SellFutureQty:
  5536. description: 卖出期货数量
  5537. type: number
  5538. SellPlanQty:
  5539. description: 销售计划数量
  5540. type: number
  5541. SellPricedQty:
  5542. description: 销售合同已定价数量
  5543. type: number
  5544. TotalExposure:
  5545. description: 总敞口
  5546. type: number
  5547. TotalFutureQty:
  5548. description: 期货数量
  5549. type: number
  5550. TotalHedgeRatio:
  5551. description: 敞口比例
  5552. type: number
  5553. TotalNeedHedgeQty:
  5554. description: 期货应套保量
  5555. type: number
  5556. TotalSpotQty:
  5557. description: 现货数量
  5558. type: number
  5559. diffFutuQty:
  5560. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  5561. type: number
  5562. diffSpotQty:
  5563. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  5564. type: number
  5565. enumdicname:
  5566. description: 单位名称
  5567. type: string
  5568. oriTotalFutuQty:
  5569. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  5570. type: number
  5571. oriTotalSpotQty:
  5572. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  5573. type: number
  5574. type: object
  5575. models.ErmcpRole:
  5576. properties:
  5577. areauserid:
  5578. description: 所属机构
  5579. type: integer
  5580. autoid:
  5581. description: 角色ID(自增ID)
  5582. type: integer
  5583. modifierid:
  5584. description: 修改人(创建人)
  5585. type: integer
  5586. modifiername:
  5587. description: 修改人名称
  5588. type: string
  5589. modifytime:
  5590. description: 修改时间(创建时间)
  5591. type: string
  5592. rolename:
  5593. description: 角色名称
  5594. type: string
  5595. rolestatus:
  5596. description: 角色状态 - 1:启用 2:停用
  5597. type: integer
  5598. roletype:
  5599. description: 角色类型 - 1- 管理端 2- 交易端
  5600. type: integer
  5601. type: object
  5602. models.ErmcpRoleMenu:
  5603. properties:
  5604. iconame:
  5605. description: 菜单图标
  5606. type: string
  5607. ishadrole:
  5608. description: 是否有权限
  5609. type: boolean
  5610. menutype:
  5611. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  5612. type: integer
  5613. parentcode:
  5614. description: 上级资源代码
  5615. type: string
  5616. remark:
  5617. description: 菜单备注
  5618. type: string
  5619. resourcecode:
  5620. description: 菜单代码
  5621. type: string
  5622. resourcelevel:
  5623. description: 级别
  5624. type: integer
  5625. resourcename:
  5626. description: 菜单名称
  5627. type: string
  5628. roleid:
  5629. description: 角色id
  5630. type: integer
  5631. sort:
  5632. description: 排序
  5633. type: integer
  5634. url:
  5635. description: URL
  5636. type: string
  5637. userid:
  5638. description: 用户id
  5639. type: integer
  5640. type: object
  5641. models.ErmcpRoleMenuEx:
  5642. properties:
  5643. menu:
  5644. $ref: '#/definitions/models.ErmcpRoleMenu'
  5645. description: 父级菜单
  5646. type: object
  5647. subMenu:
  5648. description: 子级菜单
  5649. items:
  5650. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  5651. type: array
  5652. type: object
  5653. models.ErmcpTaAccount:
  5654. properties:
  5655. accountid:
  5656. description: 账户id
  5657. type: integer
  5658. accountname:
  5659. description: 账户名称
  5660. type: string
  5661. currencyid:
  5662. description: 币种id
  5663. type: integer
  5664. hedgeaccountcode:
  5665. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  5666. type: string
  5667. ismain:
  5668. description: 是否主账户 0-否 1-是
  5669. type: integer
  5670. parentaccountid:
  5671. description: 父账户id
  5672. type: integer
  5673. relateduserid:
  5674. description: 关联userid
  5675. type: integer
  5676. tradestatus:
  5677. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  5678. type: integer
  5679. userid:
  5680. description: 用户id
  5681. type: integer
  5682. type: object
  5683. models.ErmcpTaAccountEx:
  5684. properties:
  5685. mainAcc:
  5686. $ref: '#/definitions/models.ErmcpTaAccountM'
  5687. description: 主账号
  5688. type: object
  5689. subacclist:
  5690. description: 子账号列表
  5691. items:
  5692. $ref: '#/definitions/models.ErmcpTaAccount'
  5693. type: array
  5694. type: object
  5695. models.ErmcpTaAccountInfo:
  5696. properties:
  5697. accountid:
  5698. description: 资金账户ID
  5699. type: integer
  5700. accountname:
  5701. description: 账户名称
  5702. type: string
  5703. balance:
  5704. description: 期初余额
  5705. type: number
  5706. capitalbalance:
  5707. description: 本金余额[外部子账户实际出入金余额]
  5708. type: number
  5709. closepl:
  5710. description: 今日平仓盈亏
  5711. type: number
  5712. creditdecrease:
  5713. description: 今日授信减少
  5714. type: number
  5715. creditincrease:
  5716. description: 今日授信增加
  5717. type: number
  5718. curdebt:
  5719. description: 期末欠款
  5720. type: number
  5721. currencyid:
  5722. description: 货币ID
  5723. type: integer
  5724. currentbalance:
  5725. description: 期末余额
  5726. type: number
  5727. freezecharge:
  5728. description: 手续费冻结
  5729. type: number
  5730. freezemargin:
  5731. description: 冻结保证金
  5732. type: number
  5733. fromaccountid:
  5734. description: 所属上级账户
  5735. type: integer
  5736. inamount:
  5737. description: 今日入金金额(包括三方入金)
  5738. type: number
  5739. ismain:
  5740. description: 是否母账号 0:不是母账户 1:是母账户
  5741. type: integer
  5742. mortgagecredit:
  5743. description: 授信金额
  5744. type: number
  5745. oridebt:
  5746. description: 期初欠款
  5747. type: number
  5748. orifreezecharge:
  5749. description: 期初手续费冻结
  5750. type: number
  5751. orifreezemargin:
  5752. description: 期初冻结保证金
  5753. type: number
  5754. orimortgagecredit:
  5755. description: 期初授信金额
  5756. type: number
  5757. oriothercredit:
  5758. description: 期初其它授信金额
  5759. type: number
  5760. oriotherfreezemargin:
  5761. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  5762. type: number
  5763. orioutamountfreeze:
  5764. description: 期初出金冻结
  5765. type: number
  5766. oriusedmargin:
  5767. description: 期初占用保证金
  5768. type: number
  5769. othercredit:
  5770. description: 其它授信金额
  5771. type: number
  5772. othercreditdecrease:
  5773. description: 今日其它授信减少
  5774. type: number
  5775. othercreditincrease:
  5776. description: 今日其它授信增加
  5777. type: number
  5778. otherfreezemargin:
  5779. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  5780. type: number
  5781. outamount:
  5782. description: 今日出金金额(包括三方出金)
  5783. type: number
  5784. outamountfreeze:
  5785. description: 出金冻结
  5786. type: number
  5787. outthreshold:
  5788. description: 出金阈值
  5789. type: number
  5790. parentaccountid:
  5791. description: 所属根账号
  5792. type: integer
  5793. paycharge:
  5794. description: 今日手续费支出
  5795. type: number
  5796. relateduserid:
  5797. description: 关联用户
  5798. type: integer
  5799. signstatus:
  5800. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  5801. type: integer
  5802. sublevelpath:
  5803. description: 账号层级路径(逗号分隔,首尾加逗号)
  5804. type: string
  5805. taaccounttype:
  5806. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  5807. type: integer
  5808. thirdinamount:
  5809. description: 今日三方入金
  5810. type: number
  5811. thirdoutamount:
  5812. description: 今日三方出金
  5813. type: number
  5814. tradestatus:
  5815. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  5816. type: integer
  5817. transferamount:
  5818. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  5819. type: number
  5820. usedmargin:
  5821. description: 占用保证金
  5822. type: number
  5823. userid:
  5824. description: 用户ID
  5825. type: integer
  5826. type: object
  5827. models.ErmcpTaAccountM:
  5828. properties:
  5829. accountid:
  5830. description: 账户id
  5831. type: integer
  5832. accountname:
  5833. description: 账户名称
  5834. type: string
  5835. currencyid:
  5836. description: 币种id
  5837. type: integer
  5838. fcid:
  5839. description: 期货公司id
  5840. type: integer
  5841. fcname:
  5842. description: 期货公司代码
  5843. type: string
  5844. hedgeaccountcode:
  5845. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  5846. type: string
  5847. ismain:
  5848. description: 是否主账户 0-否 1-是
  5849. type: integer
  5850. parentaccountid:
  5851. description: 父账户id
  5852. type: integer
  5853. relateduserid:
  5854. description: 关联userid
  5855. type: integer
  5856. tradestatus:
  5857. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  5858. type: integer
  5859. userid:
  5860. description: 用户id
  5861. type: integer
  5862. type: object
  5863. models.ErmcpTradeConfigTMP:
  5864. properties:
  5865. areauserid:
  5866. description: 所属机构
  5867. type: integer
  5868. basiccurrencyid:
  5869. description: 基本币种ID[汇率] - 目标币种
  5870. type: integer
  5871. mainaccountid:
  5872. description: 主账户ID
  5873. type: integer
  5874. modifierid:
  5875. description: 修改人
  5876. type: integer
  5877. remark:
  5878. description: 备注
  5879. type: string
  5880. tradeconfigtmpid:
  5881. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  5882. type: integer
  5883. tradeconfigtmpname:
  5884. description: 交易配置模板名称
  5885. type: string
  5886. tradeconfigtmptype:
  5887. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  5888. type: integer
  5889. updatetime:
  5890. description: 更新时间
  5891. type: string
  5892. type: object
  5893. models.ErmcpUserModel:
  5894. properties:
  5895. address:
  5896. description: 通讯地址
  5897. type: string
  5898. attachment1:
  5899. description: 附件1
  5900. type: string
  5901. audittime:
  5902. description: 审核时间
  5903. type: string
  5904. cardbackphotourl:
  5905. description: 证件反面图片地址
  5906. type: string
  5907. cardfrontphotourl:
  5908. description: 证件正面图片地址
  5909. type: string
  5910. cardnum:
  5911. description: 证件号码
  5912. type: string
  5913. cardtype:
  5914. description: 证件类型
  5915. type: integer
  5916. cardtypename:
  5917. description: 证件类型名称
  5918. type: string
  5919. cityid:
  5920. description: 市
  5921. type: integer
  5922. contactname:
  5923. description: 联系人
  5924. type: string
  5925. countryid:
  5926. description: 国家
  5927. type: integer
  5928. createtime:
  5929. description: 创建时间
  5930. type: string
  5931. customername:
  5932. description: 企业名称
  5933. type: string
  5934. districtid:
  5935. description: 区域
  5936. type: integer
  5937. email:
  5938. description: 邮件
  5939. type: string
  5940. legalpersonname:
  5941. description: 法人姓名(企业)
  5942. type: string
  5943. memberuserid:
  5944. description: 所属机构ID
  5945. type: integer
  5946. mobile:
  5947. description: 手机号码
  5948. type: string
  5949. modifytime:
  5950. description: 修改时间
  5951. type: string
  5952. nickname:
  5953. description: 昵称
  5954. type: string
  5955. provinceid:
  5956. description: 省
  5957. type: integer
  5958. remark:
  5959. description: 备注
  5960. type: string
  5961. status:
  5962. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  5963. type: integer
  5964. statusdesc:
  5965. description: 账户状态中文描述
  5966. type: string
  5967. taxpayernum:
  5968. description: 纳税人识别号
  5969. type: string
  5970. telphone:
  5971. description: 联系电话
  5972. type: string
  5973. userid:
  5974. description: 用户ID
  5975. type: integer
  5976. userinfotype:
  5977. description: 客户类型
  5978. type: string
  5979. type: object
  5980. models.ErmcpWareHouseInfo:
  5981. properties:
  5982. address:
  5983. description: 详细地址
  5984. type: string
  5985. areauserid:
  5986. description: 所属机构
  5987. type: integer
  5988. autoid:
  5989. description: 自增ID(仓库ID)
  5990. type: integer
  5991. cityid:
  5992. description: 市
  5993. type: integer
  5994. contactname:
  5995. description: 联系人
  5996. type: string
  5997. contactnum:
  5998. description: 联系电话
  5999. type: string
  6000. countryid:
  6001. description: 国家
  6002. type: integer
  6003. createtime:
  6004. description: 创建时间
  6005. type: string
  6006. districtid:
  6007. description: 区
  6008. type: integer
  6009. hasvideo:
  6010. description: 是否有视频 - 0:无 1:有
  6011. type: integer
  6012. provinceid:
  6013. description: 省
  6014. type: integer
  6015. remark:
  6016. description: 审核备注
  6017. type: string
  6018. videourl:
  6019. description: 视频地址
  6020. type: string
  6021. warehousecode:
  6022. description: 仓库代码
  6023. type: string
  6024. warehousename:
  6025. description: 仓库名称
  6026. type: string
  6027. warehousestatus:
  6028. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  6029. type: integer
  6030. warehousetype:
  6031. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  6032. type: integer
  6033. type: object
  6034. models.Externalexchange:
  6035. properties:
  6036. autoid:
  6037. description: AutoID - SEQ_EXTERNALEXCHANGE
  6038. type: integer
  6039. exchangefullname:
  6040. description: 外部交易所全称
  6041. type: string
  6042. exexchangecode:
  6043. description: 外部交易所代码
  6044. type: string
  6045. exexchangename:
  6046. description: 外部交易所名称(简称)
  6047. type: string
  6048. ismarketprice:
  6049. description: 是否支持市价 - 0:不支持 1:支持
  6050. type: integer
  6051. quotegear:
  6052. description: 行情档位(1-10)
  6053. type: integer
  6054. showbrokerflag:
  6055. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  6056. type: integer
  6057. updatetime:
  6058. description: 更新时间
  6059. type: string
  6060. required:
  6061. - autoid
  6062. type: object
  6063. models.Funcmenulist:
  6064. properties:
  6065. iconame:
  6066. description: 菜单图标
  6067. type: string
  6068. menutype:
  6069. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  6070. type: integer
  6071. parentcode:
  6072. description: 上级资源代码
  6073. type: string
  6074. remark:
  6075. description: 备注
  6076. type: string
  6077. resourcecode:
  6078. description: 资源代码
  6079. type: string
  6080. resourcelevel:
  6081. description: 级别 1-一级 2-二级 3-三级 4-四级
  6082. type: integer
  6083. resourcename:
  6084. description: 资源名
  6085. type: string
  6086. sort:
  6087. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  6088. type: integer
  6089. url:
  6090. description: URL
  6091. type: string
  6092. required:
  6093. - resourcecode
  6094. type: object
  6095. models.Goods:
  6096. properties:
  6097. agreeunit:
  6098. description: 合约单位
  6099. type: number
  6100. auditaccountid:
  6101. description: 审核操作员账号
  6102. type: integer
  6103. audittime:
  6104. description: 审核时间
  6105. type: string
  6106. cancelaccountid:
  6107. description: 注销操作员账号
  6108. type: integer
  6109. canceltime:
  6110. description: 注销时间
  6111. type: string
  6112. closepricemode:
  6113. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6114. type: integer
  6115. closepriceparam:
  6116. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  6117. type: number
  6118. createtime:
  6119. description: 创建时间
  6120. type: string
  6121. creatorid:
  6122. description: 创建人
  6123. type: integer
  6124. currencyid:
  6125. description: 报价货币ID
  6126. type: integer
  6127. cutmode:
  6128. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  6129. type: integer
  6130. decimalplace:
  6131. description: 报价小数位
  6132. type: integer
  6133. delistingdate:
  6134. description: 商品退市时间(状态:退市) -- 已作废
  6135. type: string
  6136. delistingmode:
  6137. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  6138. type: integer
  6139. deliveryflag:
  6140. description: 交割标志 - 0:不可交割 1:可交割
  6141. type: integer
  6142. forceclosemode:
  6143. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  6144. type: integer
  6145. forceclosevalue:
  6146. description: 定期强平参数 [收益权]
  6147. type: integer
  6148. goodscode:
  6149. description: 商品代码(内部)
  6150. type: string
  6151. goodscurrencyid:
  6152. description: 合约货币ID
  6153. type: integer
  6154. goodsgroupid:
  6155. description: 所属商品组ID
  6156. type: integer
  6157. goodsid:
  6158. description: 商品ID(自增ID SEQ_GOODS)
  6159. type: integer
  6160. goodsname:
  6161. description: 商品名称
  6162. type: string
  6163. goodsquotetype:
  6164. description: '合约报价类型: 1-直接报价 2-间接报价'
  6165. type: integer
  6166. goodsstatus:
  6167. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  6168. type: integer
  6169. goodstradetype:
  6170. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  6171. type: integer
  6172. goodunitid:
  6173. description: 报价单位ID
  6174. type: integer
  6175. hasquoter:
  6176. description: 是否有报价商 - 0:无报价商 1:有报价商
  6177. type: integer
  6178. hqprotecttime:
  6179. description: 行情保护时间(秒)
  6180. type: integer
  6181. innerdealmode:
  6182. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6183. type: integer
  6184. isbuylimited:
  6185. description: 是否限制建仓量 - 0:不限制 1:限制
  6186. type: integer
  6187. lasttradedate:
  6188. description: 最后交易日期(状态:待退市)
  6189. type: string
  6190. listingdate:
  6191. description: 交易开始日期
  6192. type: string
  6193. marketid:
  6194. description: 所属市场ID
  6195. type: integer
  6196. modifierid:
  6197. description: 修改人
  6198. type: integer
  6199. modifystatus:
  6200. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6201. type: integer
  6202. modifytime:
  6203. description: 修改时间
  6204. type: string
  6205. outerdealmode:
  6206. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6207. type: integer
  6208. outgoodscode:
  6209. description: 商品代码(外部)
  6210. type: string
  6211. qtydecimalplace:
  6212. description: 成交量小数位
  6213. type: integer
  6214. quotegear:
  6215. description: 行情档位(1-10)
  6216. type: integer
  6217. quoteminunit:
  6218. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6219. type: integer
  6220. quoteshowtype:
  6221. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6222. type: integer
  6223. quoteshowtypeinterval:
  6224. description: 行情报价间隔时间(秒)(成交价时为0)
  6225. type: integer
  6226. remark:
  6227. description: 备注
  6228. type: string
  6229. required:
  6230. - goodscode
  6231. - goodsid
  6232. - goodsname
  6233. - marketid
  6234. type: object
  6235. models.GoodsIDAndName:
  6236. properties:
  6237. goodscode:
  6238. description: 商品代码(内部)
  6239. type: string
  6240. goodsid:
  6241. description: 商品ID(自增ID SEQ_GOODS)
  6242. type: integer
  6243. goodsname:
  6244. description: 商品名称
  6245. type: string
  6246. marketid:
  6247. description: 所属市场ID
  6248. type: integer
  6249. required:
  6250. - goodscode
  6251. - goodsid
  6252. - goodsname
  6253. - marketid
  6254. type: object
  6255. models.Goodsgroup:
  6256. properties:
  6257. agreeunit:
  6258. description: 合约单位
  6259. type: number
  6260. canshort:
  6261. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6262. type: integer
  6263. closepricemode:
  6264. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6265. type: integer
  6266. closepriceparam:
  6267. description: 强平最新价浮动比例 - 方式为2时使用
  6268. type: number
  6269. createtime:
  6270. description: 创建时间
  6271. type: string
  6272. creatorid:
  6273. description: 创建人
  6274. type: integer
  6275. currencyid:
  6276. description: 报价货币ID
  6277. type: integer
  6278. decimalplace:
  6279. description: 报价小数位
  6280. type: integer
  6281. exercisetype:
  6282. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  6283. type: integer
  6284. exexchangeid:
  6285. description: 外部交易所ID[通道交易]
  6286. type: integer
  6287. goodsgroupid:
  6288. description: 商品组ID(自增ID)
  6289. type: integer
  6290. goodsgroupname:
  6291. description: 商品组名称
  6292. type: string
  6293. goodsgroupstatus:
  6294. description: 商品组状态 - 1:正常 2:注销
  6295. type: integer
  6296. goodunitid:
  6297. description: 报价单位ID
  6298. type: integer
  6299. innerdealmode:
  6300. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6301. type: integer
  6302. isbuylimited:
  6303. description: 是否限制建仓量 - 0:不限制 1:限制
  6304. type: integer
  6305. marketid:
  6306. description: 所属市场ID
  6307. type: integer
  6308. modifierid:
  6309. description: 修改人
  6310. type: integer
  6311. modifytime:
  6312. description: 修改时间
  6313. type: string
  6314. outerdealmode:
  6315. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6316. type: integer
  6317. outergroupcode:
  6318. description: 外部商品组代码[通道交易]
  6319. type: string
  6320. premiumdecimalplace:
  6321. description: 权利金小数位[场外期权]
  6322. type: integer
  6323. premiumspreadalgorithm:
  6324. description: 权利金点差方式[场外期权] 1:比率 2:固定
  6325. type: integer
  6326. premiumspreadvalue:
  6327. description: 权利金点差值[场外期权]
  6328. type: number
  6329. qtydecimalplace:
  6330. description: 成交量小数位
  6331. type: integer
  6332. quotegear:
  6333. description: 行情档位(1-10)
  6334. type: integer
  6335. quoteminunit:
  6336. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6337. type: integer
  6338. quoterid:
  6339. description: 报价商ID[场外期权]
  6340. type: integer
  6341. quotesourcegroupid:
  6342. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6343. type: integer
  6344. syncgoodsqty:
  6345. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6346. type: integer
  6347. required:
  6348. - goodsgroupid
  6349. - goodsgroupname
  6350. - goodsgroupstatus
  6351. - marketid
  6352. type: object
  6353. models.Goodssortbypreposition:
  6354. properties:
  6355. goodscode:
  6356. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  6357. type: string
  6358. goodsgroupcode:
  6359. description: 品种代码
  6360. type: string
  6361. prepositionqty:
  6362. description: 昨持仓量
  6363. type: integer
  6364. sortindex:
  6365. description: 排序
  6366. type: integer
  6367. tradedate:
  6368. description: 交易日
  6369. type: string
  6370. updatetime:
  6371. description: 更新时间
  6372. type: string
  6373. required:
  6374. - goodscode
  6375. - tradedate
  6376. type: object
  6377. models.Hedgeinnerholderdetail:
  6378. properties:
  6379. accountid:
  6380. description: 账号ID
  6381. type: integer
  6382. buyorsell:
  6383. description: 方向 - 0:买 1:卖
  6384. type: integer
  6385. freezeqty:
  6386. description: 冻结数量 - 按单平使用
  6387. type: integer
  6388. goodsid:
  6389. description: 商品ID
  6390. type: integer
  6391. holderamount:
  6392. description: 持仓金额 [商品币种]
  6393. type: number
  6394. holderdays:
  6395. description: 剩余冻结天数
  6396. type: integer
  6397. holderprice:
  6398. description: 持仓价格
  6399. type: number
  6400. holderqty:
  6401. description: 持仓数量
  6402. type: integer
  6403. marketid:
  6404. description: 市场ID
  6405. type: integer
  6406. openprice:
  6407. description: 建仓价格
  6408. type: number
  6409. openqty:
  6410. description: 建仓数量
  6411. type: integer
  6412. parentaccountid:
  6413. description: 所属母账户
  6414. type: integer
  6415. releaseamount:
  6416. description: 释放持仓金额[商品币种]
  6417. type: number
  6418. tradeamount:
  6419. description: 成交金额[账户]
  6420. type: number
  6421. tradedate:
  6422. description: 交易日(yyyyMMdd)
  6423. type: string
  6424. tradeid:
  6425. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6426. type: string
  6427. tradetime:
  6428. description: 交易时间
  6429. type: string
  6430. required:
  6431. - buyorsell
  6432. - tradeid
  6433. type: object
  6434. models.Hedgemarketopenlog:
  6435. properties:
  6436. accountid:
  6437. description: 资金账号[外部母账户]
  6438. type: integer
  6439. fcname:
  6440. description: 期货公司名称
  6441. type: string
  6442. handlestatus:
  6443. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  6444. type: integer
  6445. marketid:
  6446. description: 市场ID
  6447. type: integer
  6448. status:
  6449. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  6450. type: integer
  6451. tradedate:
  6452. description: 交易日(yyyyMMdd)
  6453. type: string
  6454. updatetime:
  6455. description: 更新时间
  6456. type: string
  6457. required:
  6458. - accountid
  6459. type: object
  6460. models.HsbyBuyMyPayOrder:
  6461. properties:
  6462. agreeunit:
  6463. description: 合约单位
  6464. type: number
  6465. buyaccountid:
  6466. description: 买方账号ID[报价币种]
  6467. type: integer
  6468. buyorderid:
  6469. description: 买方委托单号
  6470. type: string
  6471. createtime:
  6472. description: 创建时间
  6473. type: string
  6474. currencysign:
  6475. description: 货币符号
  6476. type: string
  6477. decimalplace:
  6478. description: 报价小数位
  6479. type: integer
  6480. goodscode:
  6481. description: 商品代码(内部)
  6482. type: string
  6483. goodsid:
  6484. description: 商品ID
  6485. type: integer
  6486. goodsname:
  6487. description: 商品名称
  6488. type: string
  6489. marketid:
  6490. description: 市场ID
  6491. type: integer
  6492. offamount:
  6493. description: 优惠金额
  6494. type: number
  6495. originalamount:
  6496. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  6497. type: number
  6498. payamount:
  6499. description: 支付金额 = TradeAmount + TradeCharge
  6500. type: number
  6501. payflag:
  6502. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  6503. type: integer
  6504. paylimitedtime:
  6505. description: 支付期限
  6506. type: string
  6507. paytime:
  6508. description: 付款时间
  6509. type: string
  6510. picurls1:
  6511. description: 预售商品介绍图片[多张用逗号分隔]
  6512. type: string
  6513. picurls2:
  6514. description: 挂牌商品介绍图片[多张用逗号分隔]
  6515. type: string
  6516. sellaccountid:
  6517. description: 卖方账号ID[报价币种]
  6518. type: integer
  6519. sellorderid:
  6520. description: 卖方委托单号
  6521. type: string
  6522. tradeamount:
  6523. description: 成交金额
  6524. type: number
  6525. tradecharge:
  6526. description: 成交手续费(买方)
  6527. type: number
  6528. tradedate:
  6529. description: 交易日(yyyyMMdd)
  6530. type: string
  6531. tradeid:
  6532. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6533. type: string
  6534. trademode:
  6535. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6536. 21:竞拍-大宗式 22:受托竞价
  6537. type: integer
  6538. tradeprice:
  6539. description: 成交价格
  6540. type: number
  6541. tradeqty:
  6542. description: 成交数量
  6543. type: integer
  6544. vendorname1:
  6545. description: 预售商品供应商名称
  6546. type: string
  6547. vendorname2:
  6548. description: 挂牌商品供应商名称
  6549. type: string
  6550. required:
  6551. - goodscode
  6552. - goodsname
  6553. - tradeid
  6554. - trademode
  6555. type: object
  6556. models.HsbyBuyMyTradeDetail:
  6557. properties:
  6558. accountid:
  6559. description: 账户ID[报价币种]
  6560. type: integer
  6561. agreeunit:
  6562. description: 合约单位
  6563. type: number
  6564. amount:
  6565. description: 金额 = 价格 * 数量 * 合约单位
  6566. type: number
  6567. buyorsell:
  6568. description: 买卖 - 0:买 1:卖
  6569. type: integer
  6570. currencysign:
  6571. description: 货币符号
  6572. type: string
  6573. decimalplace:
  6574. description: 报价小数位
  6575. type: integer
  6576. goodscode:
  6577. description: 商品代码(内部)
  6578. type: string
  6579. goodsid:
  6580. description: 商品ID
  6581. type: integer
  6582. goodsname:
  6583. description: 商品名称
  6584. type: string
  6585. marketid:
  6586. description: 市场ID
  6587. type: integer
  6588. orderamount:
  6589. description: 委托金额
  6590. type: number
  6591. orderid:
  6592. description: 单号(成交单号)
  6593. type: string
  6594. picurls1:
  6595. description: 预售商品介绍图片[多张用逗号分隔]
  6596. type: string
  6597. picurls2:
  6598. description: 挂牌商品介绍图片[多张用逗号分隔]
  6599. type: string
  6600. price:
  6601. description: 价格
  6602. type: number
  6603. qty:
  6604. description: 数量
  6605. type: integer
  6606. time:
  6607. description: 时间
  6608. type: string
  6609. trademode:
  6610. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6611. 21:竞拍-大宗式 22:受托竞价
  6612. type: integer
  6613. vendorname1:
  6614. description: 预售商品供应商名称
  6615. type: string
  6616. vendorname2:
  6617. description: 挂牌商品供应商名称
  6618. type: string
  6619. required:
  6620. - accountid
  6621. - buyorsell
  6622. - goodscode
  6623. - goodsid
  6624. - goodsname
  6625. - marketid
  6626. - orderid
  6627. - qty
  6628. - time
  6629. - trademode
  6630. type: object
  6631. models.HsbyGoodsOrderDetail:
  6632. properties:
  6633. buyorsell:
  6634. description: 买卖 - 0:买 1:卖
  6635. type: integer
  6636. currencysign:
  6637. description: 货币符号
  6638. type: string
  6639. customername:
  6640. description: 客户名称(企业名称),已脱敏
  6641. type: string
  6642. enableqty:
  6643. description: 可用数量
  6644. type: integer
  6645. goodunit:
  6646. description: 报价单位
  6647. type: string
  6648. orderid:
  6649. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6650. type: string
  6651. orderprice:
  6652. description: 委托价格
  6653. type: number
  6654. ordertime:
  6655. description: 委托时间
  6656. type: string
  6657. required:
  6658. - buyorsell
  6659. - orderid
  6660. - ordertime
  6661. type: object
  6662. models.HsbyListingGoodsDetail:
  6663. properties:
  6664. agreeunit:
  6665. description: 合约单位
  6666. type: number
  6667. buymaxqty:
  6668. description: 购买上限 [71] - 0为不限
  6669. type: integer
  6670. currency:
  6671. description: 货币
  6672. type: string
  6673. currencysign:
  6674. description: 货币符号
  6675. type: string
  6676. decimalplace:
  6677. description: 报价小数位
  6678. type: integer
  6679. desccityid:
  6680. description: 目的地(市)ID
  6681. type: integer
  6682. descprovinceid:
  6683. description: 目的地(省)ID
  6684. type: integer
  6685. goodscode:
  6686. description: 商品代码(内部)
  6687. type: string
  6688. goodsdesc:
  6689. description: 商品详情
  6690. type: string
  6691. goodsid:
  6692. description: 商品ID(自增ID SEQ_GOODS)
  6693. type: integer
  6694. goodsname:
  6695. description: 商品名称
  6696. type: string
  6697. goodsprice:
  6698. description: 商品价格
  6699. type: number
  6700. hotindex:
  6701. description: 景点热度
  6702. type: integer
  6703. last:
  6704. description: 现价
  6705. type: number
  6706. limitdown:
  6707. description: 跌停价
  6708. type: number
  6709. limitup:
  6710. description: 涨停价
  6711. type: number
  6712. lotsize:
  6713. description: 手数最小变动单位
  6714. type: integer
  6715. marketid:
  6716. description: 所属市场ID
  6717. type: integer
  6718. picurls:
  6719. description: 介绍图片[多张用逗号分隔]
  6720. type: string
  6721. quoteminunit:
  6722. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6723. type: integer
  6724. stepvalue:
  6725. description: 价格最小变动单位
  6726. type: number
  6727. trademode:
  6728. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6729. 21:竞拍-大宗式 22:受托竞价
  6730. type: integer
  6731. vendorattr:
  6732. description: 供应商附件(多张,逗号分隔)
  6733. type: string
  6734. vendorname:
  6735. description: 供应商名称
  6736. type: string
  6737. vendorphone:
  6738. description: 供应商客服电话
  6739. type: string
  6740. videourls:
  6741. description: 介绍视频[多张用逗号分隔]
  6742. type: string
  6743. required:
  6744. - goodscode
  6745. - goodsid
  6746. - goodsname
  6747. - marketid
  6748. - trademode
  6749. type: object
  6750. models.HsbyMarketGoods:
  6751. properties:
  6752. accountid:
  6753. description: 账户ID[报价币种]
  6754. type: integer
  6755. agreeunit:
  6756. description: 合约单位
  6757. type: number
  6758. buyorsell:
  6759. description: 买卖 - 0:买 1:卖
  6760. type: integer
  6761. categoryid:
  6762. description: 类别ID(WRCATEGORY)
  6763. type: integer
  6764. currency:
  6765. description: 货币
  6766. type: string
  6767. currencysign:
  6768. description: 货币符号
  6769. type: string
  6770. customername:
  6771. description: 卖家名称
  6772. type: string
  6773. decimalplace:
  6774. description: 报价小数位
  6775. type: integer
  6776. goodscode:
  6777. description: 商品代码(内部)
  6778. type: string
  6779. goodsid:
  6780. description: 商品ID
  6781. type: integer
  6782. goodsname:
  6783. description: 商品名称
  6784. type: string
  6785. goodsprice:
  6786. description: 商品价格
  6787. type: number
  6788. hascoupon:
  6789. description: 是否可用优惠卷
  6790. type: boolean
  6791. hotindex:
  6792. description: 景点热度
  6793. type: integer
  6794. marketid:
  6795. description: 市场ID
  6796. type: integer
  6797. orderid:
  6798. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6799. type: string
  6800. orderprice:
  6801. description: 委托价格
  6802. type: number
  6803. orderstatus:
  6804. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  6805. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  6806. 16:成交失败违约(荷兰式竞拍专用)
  6807. type: integer
  6808. picurls:
  6809. description: 介绍图片[多张用逗号分隔]
  6810. type: string
  6811. quoteminunit:
  6812. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6813. type: integer
  6814. sellUserID:
  6815. description: 卖方UserID
  6816. type: integer
  6817. trademode:
  6818. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6819. 21:竞拍-大宗式 22:受托竞价
  6820. type: integer
  6821. videourls:
  6822. description: 介绍视频[多张用逗号分隔]
  6823. type: string
  6824. required:
  6825. - accountid
  6826. - buyorsell
  6827. - goodscode
  6828. - goodsid
  6829. - goodsname
  6830. - marketid
  6831. - orderid
  6832. - trademode
  6833. type: object
  6834. models.HsbyMarketGoodsDetail:
  6835. properties:
  6836. accountid:
  6837. description: 账户ID[报价币种]
  6838. type: integer
  6839. agreeunit:
  6840. description: 合约单位
  6841. type: number
  6842. buymaxqty:
  6843. description: 购买上限 [71] - 0为不限
  6844. type: integer
  6845. buyorsell:
  6846. description: 买卖 - 0:买 1:卖
  6847. type: integer
  6848. cancelqty:
  6849. description: 撤单数量
  6850. type: integer
  6851. categoryid:
  6852. description: 类别ID(WRCATEGORY)
  6853. type: integer
  6854. currency:
  6855. description: 货币
  6856. type: string
  6857. currencysign:
  6858. description: 货币符号
  6859. type: string
  6860. customername:
  6861. description: 卖家名称
  6862. type: string
  6863. decimalplace:
  6864. description: 报价小数位
  6865. type: integer
  6866. goodscode:
  6867. description: 商品代码(内部)
  6868. type: string
  6869. goodsdesc:
  6870. description: 商品详情
  6871. type: string
  6872. goodsid:
  6873. description: 商品ID
  6874. type: integer
  6875. goodsname:
  6876. description: 商品名称
  6877. type: string
  6878. goodsprice:
  6879. description: 商品价格
  6880. type: number
  6881. hotindex:
  6882. description: 景点热度
  6883. type: integer
  6884. lotsize:
  6885. description: 手数最小变动单位
  6886. type: integer
  6887. marketid:
  6888. description: 市场ID
  6889. type: integer
  6890. orderid:
  6891. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6892. type: string
  6893. orderprice:
  6894. description: 委托价格
  6895. type: number
  6896. orderqty:
  6897. description: 委托数量
  6898. type: integer
  6899. orderstatus:
  6900. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  6901. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  6902. 16:成交失败违约(荷兰式竞拍专用)
  6903. type: integer
  6904. picurls:
  6905. description: 介绍图片[多张用逗号分隔]
  6906. type: string
  6907. quoteminunit:
  6908. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6909. type: integer
  6910. sellUserID:
  6911. description: 卖方UserID
  6912. type: integer
  6913. trademode:
  6914. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6915. 21:竞拍-大宗式 22:受托竞价
  6916. type: integer
  6917. tradeqty:
  6918. description: 成交数量
  6919. type: integer
  6920. vendorattr:
  6921. description: 供应商附件(多张,逗号分隔)
  6922. type: string
  6923. vendorname:
  6924. description: 供应商名称
  6925. type: string
  6926. vendorphone:
  6927. description: 供应商客服电话
  6928. type: string
  6929. videourls:
  6930. description: 介绍视频[多张用逗号分隔]
  6931. type: string
  6932. required:
  6933. - accountid
  6934. - buyorsell
  6935. - goodscode
  6936. - goodsid
  6937. - goodsname
  6938. - marketid
  6939. - orderid
  6940. - orderqty
  6941. - trademode
  6942. type: object
  6943. models.HsbyMarketInfo:
  6944. properties:
  6945. marketid:
  6946. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  6947. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  6948. type: integer
  6949. marketname:
  6950. description: 市场名称
  6951. type: string
  6952. marketstatus:
  6953. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  6954. type: integer
  6955. trademode:
  6956. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6957. 21:竞拍-大宗式 22:受托竞价
  6958. type: integer
  6959. required:
  6960. - marketid
  6961. - marketstatus
  6962. - trademode
  6963. type: object
  6964. models.HsbyMyGoods:
  6965. properties:
  6966. accountid:
  6967. description: 账号Id
  6968. type: integer
  6969. agreeunit:
  6970. description: 合约单位
  6971. type: number
  6972. buyaverageprice:
  6973. description: 持仓均价
  6974. type: number
  6975. buycurholderamount:
  6976. description: 买当前持仓总金额[商品币种]
  6977. type: number
  6978. buycurpositionqty:
  6979. description: 买当前持仓总数量
  6980. type: integer
  6981. buymaxqty:
  6982. description: 购买上限 [71] - 0为不限
  6983. type: integer
  6984. currencysign:
  6985. description: 货币符号
  6986. type: string
  6987. decimalplace:
  6988. description: 报价小数位
  6989. type: integer
  6990. enableqty:
  6991. description: 可用数量
  6992. type: integer
  6993. goodscode:
  6994. description: 商品代码(内部)
  6995. type: string
  6996. goodsid:
  6997. description: 商品Id
  6998. type: integer
  6999. goodsname:
  7000. description: 商品名称
  7001. type: string
  7002. goodsprice:
  7003. description: 商品价格
  7004. type: number
  7005. goodsstatus:
  7006. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7007. type: integer
  7008. last:
  7009. description: 现价(仅使用于挂牌点选)
  7010. type: number
  7011. limitdown:
  7012. description: 跌停价(仅使用于挂牌点选)
  7013. type: number
  7014. limitup:
  7015. description: 涨停价(仅使用于挂牌点选)
  7016. type: number
  7017. lotsize:
  7018. description: 手数最小变动单位
  7019. type: integer
  7020. marketid:
  7021. description: 所属市场ID
  7022. type: integer
  7023. picurls:
  7024. description: 介绍图片[多张用逗号分隔]
  7025. type: string
  7026. quoteminunit:
  7027. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7028. type: integer
  7029. stepvalue:
  7030. description: 价格最小变动单位
  7031. type: number
  7032. trademode:
  7033. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7034. 21:竞拍-大宗式 22:受托竞价
  7035. type: integer
  7036. required:
  7037. - accountid
  7038. - goodscode
  7039. - goodsid
  7040. - goodsname
  7041. - marketid
  7042. - trademode
  7043. type: object
  7044. models.HsbyMyPackage:
  7045. properties:
  7046. accountid:
  7047. description: 账户ID
  7048. type: integer
  7049. address:
  7050. description: 提货人详细地址
  7051. type: string
  7052. agreeunit:
  7053. description: 合约单位
  7054. type: number
  7055. amount:
  7056. description: 提货金额
  7057. type: number
  7058. auditer:
  7059. description: 审核人
  7060. type: integer
  7061. audittime:
  7062. description: 审核时间
  7063. type: string
  7064. averageprice:
  7065. description: 均价
  7066. type: number
  7067. cardnum:
  7068. description: 提货人证件号码
  7069. type: string
  7070. cardtypeid:
  7071. description: 提货人证件类型
  7072. type: integer
  7073. checkremark:
  7074. description: 审核备注
  7075. type: string
  7076. currencysign:
  7077. description: 货币符号
  7078. type: string
  7079. decimalplace:
  7080. description: 报价小数位
  7081. type: integer
  7082. goodscode:
  7083. description: 商品代码(内部)
  7084. type: string
  7085. goodsid:
  7086. description: 商品ID
  7087. type: integer
  7088. goodsname:
  7089. description: 商品名称
  7090. type: string
  7091. handlestatus:
  7092. description: 处理状态
  7093. type: integer
  7094. marketid:
  7095. description: 市场ID
  7096. type: integer
  7097. phonenum:
  7098. description: 提货人联系方式
  7099. type: string
  7100. picurls:
  7101. description: 介绍图片[多张用逗号分隔]
  7102. type: string
  7103. qty:
  7104. description: 提货数量
  7105. type: number
  7106. recivername:
  7107. description: 提货人姓名
  7108. type: string
  7109. reqtime:
  7110. description: 更新时间
  7111. type: string
  7112. takemode:
  7113. description: 提货方式 - 2:自提 3:配送
  7114. type: integer
  7115. takeorderid:
  7116. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  7117. type: string
  7118. takeorderstatus:
  7119. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  7120. type: integer
  7121. takeremark:
  7122. description: 提货备注
  7123. type: string
  7124. tradedate:
  7125. description: 交易日(yyyyMMdd)
  7126. type: string
  7127. trademode:
  7128. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7129. 21:竞拍-大宗式 22:受托竞价
  7130. type: integer
  7131. userid:
  7132. description: 用户ID
  7133. type: integer
  7134. vendorname:
  7135. description: 供应商名称
  7136. type: string
  7137. required:
  7138. - goodscode
  7139. - goodsname
  7140. - takeorderid
  7141. - trademode
  7142. type: object
  7143. models.HsbyPreGoods:
  7144. properties:
  7145. agreeunit:
  7146. description: 合约单位
  7147. type: number
  7148. currency:
  7149. description: 货币
  7150. type: string
  7151. currencysign:
  7152. description: 货币符号
  7153. type: string
  7154. decimalplace:
  7155. description: 报价小数位
  7156. type: integer
  7157. desccityid:
  7158. description: 目的地(市)
  7159. type: integer
  7160. descprovinceid:
  7161. description: 目的地(省)
  7162. type: integer
  7163. enableqty:
  7164. description: 剩余数量
  7165. type: integer
  7166. goodscode:
  7167. description: 商品代码(内部)
  7168. type: string
  7169. goodsid:
  7170. description: 商品ID(自增ID SEQ_GOODS)
  7171. type: integer
  7172. goodsname:
  7173. description: 商品名称
  7174. type: string
  7175. goodsstatus:
  7176. description: 商品状态- 2:未上市 3:上市
  7177. type: integer
  7178. lasttradedate:
  7179. description: 最后交易日期(状态:待退市)
  7180. type: string
  7181. listingdate:
  7182. description: 交易开始日期
  7183. type: string
  7184. marketid:
  7185. description: 所属市场ID
  7186. type: integer
  7187. picurls:
  7188. description: 介绍图片[多张用逗号分隔]
  7189. type: string
  7190. presaledqty:
  7191. description: 已预售量(预售结束时更新)
  7192. type: integer
  7193. presaleqty:
  7194. description: 预售数量
  7195. type: integer
  7196. quoteminunit:
  7197. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7198. type: integer
  7199. refprice:
  7200. description: 参考价格[一口价]
  7201. type: number
  7202. relatedgoodsid:
  7203. description: 关联交易合约ID
  7204. type: integer
  7205. trademode:
  7206. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7207. 21:竞拍-大宗式 22:受托竞价
  7208. type: integer
  7209. videourls:
  7210. description: 介绍视频[多张用逗号分隔]
  7211. type: string
  7212. required:
  7213. - goodscode
  7214. - goodsid
  7215. - goodsname
  7216. - marketid
  7217. - trademode
  7218. type: object
  7219. models.HsbyPreGoodsDetail:
  7220. properties:
  7221. agreeunit:
  7222. description: 合约单位
  7223. type: number
  7224. buymaxqty:
  7225. description: 购买上限 [71] - 0为不限
  7226. type: integer
  7227. currency:
  7228. description: 货币
  7229. type: string
  7230. currencysign:
  7231. description: 货币符号
  7232. type: string
  7233. customername:
  7234. description: 发行单位
  7235. type: string
  7236. decimalplace:
  7237. description: 报价小数位
  7238. type: integer
  7239. desccityid:
  7240. description: 目的地(市)ID
  7241. type: integer
  7242. descprovinceid:
  7243. description: 目的地(省)ID
  7244. type: integer
  7245. enableqty:
  7246. description: 剩余数量
  7247. type: integer
  7248. goodscode:
  7249. description: 商品代码(内部)
  7250. type: string
  7251. goodsdesc:
  7252. description: 商品详情
  7253. type: string
  7254. goodsid:
  7255. description: 商品ID(自增ID SEQ_GOODS)
  7256. type: integer
  7257. goodsname:
  7258. description: 商品名称
  7259. type: string
  7260. goodsstatus:
  7261. description: 商品状态- 2:未上市 3:上市
  7262. type: integer
  7263. goodunit:
  7264. description: 报价单位
  7265. type: string
  7266. lasttradedate:
  7267. description: 最后交易日期(状态:待退市)
  7268. type: string
  7269. listingdate:
  7270. description: 交易开始日期
  7271. type: string
  7272. lotsize:
  7273. description: 手数最小变动单位
  7274. type: integer
  7275. marketid:
  7276. description: 所属市场ID
  7277. type: integer
  7278. picurls:
  7279. description: 介绍图片[多张用逗号分隔]
  7280. type: string
  7281. presaledqty:
  7282. description: 已预售量(预售结束时更新)
  7283. type: integer
  7284. presaleqty:
  7285. description: 预售数量
  7286. type: integer
  7287. quoteminunit:
  7288. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7289. type: integer
  7290. refprice:
  7291. description: 参考价格[一口价]
  7292. type: number
  7293. relatedgoodsid:
  7294. description: 关联交易合约ID
  7295. type: integer
  7296. stepvalue:
  7297. description: 价格最小变动单位
  7298. type: number
  7299. trademode:
  7300. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7301. 21:竞拍-大宗式 22:受托竞价
  7302. type: integer
  7303. vendorattr:
  7304. description: 供应商附件(多张,逗号分隔)
  7305. type: string
  7306. vendorname:
  7307. description: 供应商名称
  7308. type: string
  7309. vendorphone:
  7310. description: 供应商客服电话
  7311. type: string
  7312. videourls:
  7313. description: 介绍视频[多张用逗号分隔]
  7314. type: string
  7315. required:
  7316. - goodscode
  7317. - goodsid
  7318. - goodsname
  7319. - marketid
  7320. - trademode
  7321. type: object
  7322. models.HsbySellCollectionOrder:
  7323. properties:
  7324. agreeunit:
  7325. description: 合约单位
  7326. type: number
  7327. buyaccountid:
  7328. description: 买方账号ID[报价币种]
  7329. type: integer
  7330. buyorderid:
  7331. description: 买方委托单号
  7332. type: string
  7333. createtime:
  7334. description: 创建时间
  7335. type: string
  7336. currencysign:
  7337. description: 货币符号
  7338. type: string
  7339. decimalplace:
  7340. description: 报价小数位
  7341. type: integer
  7342. goodscode:
  7343. description: 商品代码(内部)
  7344. type: string
  7345. goodsid:
  7346. description: 商品ID
  7347. type: integer
  7348. goodsname:
  7349. description: 商品名称
  7350. type: string
  7351. marketid:
  7352. description: 市场ID
  7353. type: integer
  7354. offamount:
  7355. description: 优惠金额
  7356. type: number
  7357. payamount:
  7358. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  7359. type: number
  7360. payflag:
  7361. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7362. type: integer
  7363. paylimitedtime:
  7364. description: 支付期限
  7365. type: string
  7366. paytime:
  7367. description: 付款时间
  7368. type: string
  7369. picurls:
  7370. description: 商品介绍图片[多张用逗号分隔]
  7371. type: string
  7372. sellaccountid:
  7373. description: 卖方账号ID[报价币种]
  7374. type: integer
  7375. sellorderid:
  7376. description: 卖方委托单号
  7377. type: string
  7378. tradeamount:
  7379. description: 成交金额
  7380. type: number
  7381. tradecharge:
  7382. description: 成交手续费(买方)
  7383. type: number
  7384. tradedate:
  7385. description: 交易日(yyyyMMdd)
  7386. type: string
  7387. tradeid:
  7388. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7389. type: string
  7390. trademode:
  7391. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7392. 21:竞拍-大宗式 22:受托竞价
  7393. type: integer
  7394. tradeprice:
  7395. description: 成交价格
  7396. type: number
  7397. tradeqty:
  7398. description: 成交数量
  7399. type: integer
  7400. required:
  7401. - goodscode
  7402. - goodsname
  7403. - tradeid
  7404. - trademode
  7405. type: object
  7406. models.HsbySellMyDetail:
  7407. properties:
  7408. accountid:
  7409. description: 账户ID[报价币种]
  7410. type: integer
  7411. agreeunit:
  7412. description: 合约单位
  7413. type: number
  7414. buyorsell:
  7415. description: 买卖 - 0:买 1:卖
  7416. type: integer
  7417. currencysign:
  7418. description: 货币符号
  7419. type: string
  7420. decimalplace:
  7421. description: 报价小数位
  7422. type: integer
  7423. goodscode:
  7424. description: 商品代码(内部)
  7425. type: string
  7426. goodsid:
  7427. description: 商品ID
  7428. type: integer
  7429. goodsname:
  7430. description: 商品名称
  7431. type: string
  7432. marketid:
  7433. description: 市场ID
  7434. type: integer
  7435. orderid:
  7436. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  7437. type: string
  7438. ordertype:
  7439. description: 单据类型:0 - 发布中, 1 - 已完成
  7440. type: integer
  7441. picurls:
  7442. description: 介绍图片[多张用逗号分隔]
  7443. type: string
  7444. price:
  7445. description: 价格
  7446. type: number
  7447. qty:
  7448. description: 数量
  7449. type: integer
  7450. time:
  7451. description: 时间
  7452. type: string
  7453. trademode:
  7454. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7455. 21:竞拍-大宗式 22:受托竞价
  7456. type: integer
  7457. vendorname:
  7458. description: 供应商名称
  7459. type: string
  7460. required:
  7461. - accountid
  7462. - buyorsell
  7463. - goodscode
  7464. - goodsid
  7465. - goodsname
  7466. - marketid
  7467. - orderid
  7468. - time
  7469. - trademode
  7470. type: object
  7471. models.HsbyTopGoods:
  7472. properties:
  7473. agreeunit:
  7474. description: 合约单位
  7475. type: number
  7476. currency:
  7477. description: 货币
  7478. type: string
  7479. currencysign:
  7480. description: 货币符号
  7481. type: string
  7482. decimalplace:
  7483. description: 报价小数位
  7484. type: integer
  7485. desccityid:
  7486. description: 目的地(市)
  7487. type: integer
  7488. descprovinceid:
  7489. description: 目的地(省)
  7490. type: integer
  7491. goodscode:
  7492. description: 商品代码(内部)
  7493. type: string
  7494. goodsid:
  7495. description: 商品ID(自增ID SEQ_GOODS)
  7496. type: integer
  7497. goodsname:
  7498. description: 商品名称
  7499. type: string
  7500. hotindex:
  7501. description: 景点热度
  7502. type: integer
  7503. last:
  7504. description: 现价
  7505. type: number
  7506. marketid:
  7507. description: 所属市场ID
  7508. type: integer
  7509. picurls:
  7510. description: 介绍图片[多张用逗号分隔]
  7511. type: string
  7512. quoteminunit:
  7513. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7514. type: integer
  7515. trademode:
  7516. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7517. 21:竞拍-大宗式 22:受托竞价
  7518. type: integer
  7519. videourls:
  7520. description: 介绍视频[多张用逗号分隔]
  7521. type: string
  7522. required:
  7523. - goodscode
  7524. - goodsid
  7525. - goodsname
  7526. - marketid
  7527. - trademode
  7528. type: object
  7529. models.HybsMyBuyOrderDetail:
  7530. properties:
  7531. accountid:
  7532. description: 账户ID[报价币种]
  7533. type: integer
  7534. agreeunit:
  7535. description: 合约单位
  7536. type: number
  7537. buyorsell:
  7538. description: 买卖 - 0:买 1:卖
  7539. type: integer
  7540. cancelqty:
  7541. description: 撤单数量
  7542. type: integer
  7543. currencysign:
  7544. description: 货币符号
  7545. type: string
  7546. decimalplace:
  7547. description: 报价小数位
  7548. type: integer
  7549. goodscode:
  7550. description: 商品代码(内部)
  7551. type: string
  7552. goodsid:
  7553. description: 商品ID
  7554. type: integer
  7555. goodsname:
  7556. description: 商品名称
  7557. type: string
  7558. listingselecttype:
  7559. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  7560. type: integer
  7561. marketid:
  7562. description: 市场ID
  7563. type: integer
  7564. mybuystatus:
  7565. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  7566. type: integer
  7567. orderamount:
  7568. description: 委托金额
  7569. type: number
  7570. orderid:
  7571. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7572. type: string
  7573. orderprice:
  7574. description: 委托价格
  7575. type: number
  7576. orderqty:
  7577. description: 委托数量
  7578. type: integer
  7579. orderstatus:
  7580. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7581. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7582. 16:成交失败违约(荷兰式竞拍专用)
  7583. type: integer
  7584. ordertime:
  7585. description: 委托时间
  7586. type: string
  7587. picurls1:
  7588. description: 预售商品介绍图片[多张用逗号分隔]
  7589. type: string
  7590. picurls2:
  7591. description: 挂牌商品介绍图片[多张用逗号分隔]
  7592. type: string
  7593. trademode:
  7594. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7595. 21:竞拍-大宗式 22:受托竞价
  7596. type: integer
  7597. tradeqty:
  7598. description: 成交数量
  7599. type: integer
  7600. vendorname1:
  7601. description: 预售商品供应商名称
  7602. type: string
  7603. vendorname2:
  7604. description: 挂牌商品供应商名称
  7605. type: string
  7606. required:
  7607. - accountid
  7608. - buyorsell
  7609. - goodscode
  7610. - goodsid
  7611. - goodsname
  7612. - marketid
  7613. - orderid
  7614. - orderqty
  7615. - ordertime
  7616. - trademode
  7617. type: object
  7618. models.Loginaccount:
  7619. properties:
  7620. canoutin:
  7621. description: 是否可出入金 - 0:不可 1:可
  7622. type: integer
  7623. clientroleid:
  7624. description: 终端角色ID
  7625. type: integer
  7626. haslogined:
  7627. description: 是否已登录 - 0:未登录 1:已登录
  7628. type: integer
  7629. hasupdatedpwd:
  7630. description: 是否已更改密码 - 0:未修改 1:已修改
  7631. type: integer
  7632. lastloginip:
  7633. description: 最新登录地址
  7634. type: string
  7635. lastloginmode:
  7636. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  7637. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  7638. type: integer
  7639. lastloginremark:
  7640. description: 最新登录描述
  7641. type: string
  7642. lastlogintime:
  7643. description: 最新登录时间
  7644. type: string
  7645. logincode:
  7646. description: 登录代码
  7647. type: string
  7648. loginfailnum:
  7649. description: 连续登录失败次数(登录成功时清零)
  7650. type: integer
  7651. loginid:
  7652. description: 登陆账号
  7653. type: integer
  7654. loginport:
  7655. description: 最新登录端口
  7656. type: integer
  7657. loginstatus:
  7658. description: 登录账号状态 1:正常 2:冻结 3:无效
  7659. type: integer
  7660. loginusertype:
  7661. description: 登录账号类型 - 1:投资者 2:机构交易员
  7662. type: integer
  7663. modifierid:
  7664. description: 修改人
  7665. type: integer
  7666. modifytime:
  7667. description: 修改时间
  7668. type: string
  7669. pwdwrongcount:
  7670. description: 密码错误次数
  7671. type: integer
  7672. taaccountrighttype:
  7673. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  7674. type: integer
  7675. unfreezetime:
  7676. description: 账户解冻时间
  7677. type: string
  7678. userid:
  7679. description: 用户ID
  7680. type: integer
  7681. required:
  7682. - loginid
  7683. type: object
  7684. models.MainAccountInfo:
  7685. properties:
  7686. accountid:
  7687. description: 账号id
  7688. type: integer
  7689. accountname:
  7690. description: 账号名称(taaccount表中的名称)
  7691. type: string
  7692. appid:
  7693. description: AppID
  7694. type: string
  7695. authcode:
  7696. description: 授权码
  7697. type: string
  7698. brokerid:
  7699. description: 经纪商id
  7700. type: string
  7701. fcid:
  7702. description: 期货公司id
  7703. type: integer
  7704. fcname:
  7705. description: 期货公司代码
  7706. type: string
  7707. hedgeaccountcode:
  7708. description: 外部账号代码(主账号登录代码)
  7709. type: string
  7710. hedgeaccountpwd:
  7711. description: 密码
  7712. type: string
  7713. ismain:
  7714. description: 是否主账号
  7715. type: integer
  7716. relateduserid:
  7717. description: 关联用户id
  7718. type: integer
  7719. userid:
  7720. description: 关联用户id
  7721. type: integer
  7722. type: object
  7723. models.Market:
  7724. properties:
  7725. auctionwrtype:
  7726. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  7727. type: integer
  7728. canacceptquote:
  7729. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  7730. type: integer
  7731. cangoodsexercise:
  7732. description: '[期权]是否可现货行权- 0:否 1:是'
  7733. type: integer
  7734. cangoodsexercisetype:
  7735. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  7736. type: integer
  7737. canmanualquotestrike:
  7738. description: 是否可手动报行权价- 0:否 1:是 [期权]
  7739. type: integer
  7740. canmutistage:
  7741. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  7742. type: integer
  7743. canpreexercise:
  7744. description: '[期权]是否可预申报- 0:否 1:是'
  7745. type: integer
  7746. clearinterval:
  7747. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  7748. type: integer
  7749. contracttmp:
  7750. description: 合同模板[荷兰式][竞价式][仓单贸易]
  7751. type: string
  7752. exchareaid:
  7753. description: 所属交易所,可以没有
  7754. type: integer
  7755. goodstype:
  7756. description: 商品类型 - 1:交易商品 2:仓单商品
  7757. type: integer
  7758. hasrebate:
  7759. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  7760. type: integer
  7761. hastradecredit:
  7762. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  7763. type: integer
  7764. haswr:
  7765. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  7766. type: integer
  7767. isdeductmargin:
  7768. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  7769. type: integer
  7770. isrecordsource:
  7771. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  7772. type: integer
  7773. isreleasemargin:
  7774. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  7775. type: integer
  7776. marginformula:
  7777. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  7778. type: integer
  7779. marginformula2:
  7780. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  7781. type: integer
  7782. marketid:
  7783. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  7784. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  7785. type: integer
  7786. marketname:
  7787. description: 市场名称
  7788. type: string
  7789. marketserviceid:
  7790. description: 市场服务ID
  7791. type: integer
  7792. marketstatus:
  7793. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  7794. type: integer
  7795. markettype:
  7796. description: 市场类型- 1:非交易服务 2:交易服务
  7797. type: integer
  7798. matchermode:
  7799. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  7800. type: integer
  7801. openmethod:
  7802. description: 开盘模式 - 0 自动 1手动
  7803. type: integer
  7804. otcuserid:
  7805. description: 场外期权做市商[场外期权]
  7806. type: integer
  7807. outersynctime:
  7808. description: 外部同步时间点(h24:mi:ss)[场外期权]
  7809. type: string
  7810. pendingflag:
  7811. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  7812. type: integer
  7813. pendingtime:
  7814. description: 待开市时间[通道交易-对冲](HH:mm)
  7815. type: string
  7816. performancetempid:
  7817. description: 履约计划模板ID - 作废
  7818. type: integer
  7819. premiumquotemode:
  7820. description: 权利金报价方式 - 1:自动 2:手动
  7821. type: integer
  7822. rebateratio:
  7823. description: 返利比率[竞价式]
  7824. type: number
  7825. reckonorder:
  7826. description: 结算顺序
  7827. type: integer
  7828. reckonpricealgorithm:
  7829. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  7830. 6.卖一价 7.买一卖一均价 8.外部结算价'
  7831. type: integer
  7832. reckonpriceparam:
  7833. description: 结算价参数
  7834. type: integer
  7835. reckontime:
  7836. description: 结算时间[通道交易-对冲](HH:mm)
  7837. type: string
  7838. roleprioritytype:
  7839. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  7840. type: integer
  7841. selllistingauditflag:
  7842. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  7843. type: integer
  7844. trademarkettype:
  7845. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  7846. type: integer
  7847. trademode:
  7848. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7849. 21:竞拍-大宗式 22:受托竞价
  7850. type: integer
  7851. tradeproperty:
  7852. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  7853. 8:场外期权
  7854. type: integer
  7855. tradetype:
  7856. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  7857. type: integer
  7858. required:
  7859. - marketid
  7860. - marketstatus
  7861. - openmethod
  7862. - reckonpricealgorithm
  7863. - trademode
  7864. - tradeproperty
  7865. type: object
  7866. models.Marketrun:
  7867. properties:
  7868. afternexttradedate:
  7869. description: 下下交易日
  7870. type: string
  7871. clearquoteflag:
  7872. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  7873. type: integer
  7874. lastreckondate:
  7875. description: 最新交易日(结算成功)
  7876. type: string
  7877. machinedate:
  7878. description: 机器时间
  7879. type: string
  7880. manualflag:
  7881. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  7882. type: integer
  7883. marketid:
  7884. description: 市场ID
  7885. type: integer
  7886. nexttradedate:
  7887. description: 下一交易日
  7888. type: string
  7889. pretradedate:
  7890. description: 上一交易日
  7891. type: string
  7892. reckonflag:
  7893. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  7894. type: integer
  7895. runstatus:
  7896. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  7897. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  7898. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  7899. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  7900. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  7901. 62.今日免清算
  7902. type: integer
  7903. sectionid:
  7904. description: 时间段号[多时段时用]
  7905. type: integer
  7906. tradedate:
  7907. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  7908. type: string
  7909. tradedate2:
  7910. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  7911. type: string
  7912. updatetime:
  7913. description: 更新时间
  7914. type: string
  7915. required:
  7916. - marketid
  7917. - nexttradedate
  7918. - reckonflag
  7919. - runstatus
  7920. - tradedate
  7921. - tradedate2
  7922. type: object
  7923. models.Messageboard:
  7924. properties:
  7925. contactnum:
  7926. description: 联系电话
  7927. type: string
  7928. createtime:
  7929. description: 创建时间
  7930. type: string
  7931. message:
  7932. description: 留言信息
  7933. type: string
  7934. messageboardid:
  7935. description: 留言簿ID(SEQ_MessageBoard)
  7936. type: integer
  7937. userid:
  7938. description: 用户ID
  7939. type: integer
  7940. required:
  7941. - messageboardid
  7942. type: object
  7943. models.MyCoupon:
  7944. properties:
  7945. accountid:
  7946. description: 资金账户ID
  7947. type: integer
  7948. areauserid:
  7949. description: 所属机构
  7950. type: integer
  7951. conditionvalue:
  7952. description: 条件阈值(可为0)
  7953. type: number
  7954. couponcategroy:
  7955. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  7956. type: integer
  7957. couponname:
  7958. description: 优惠券名称
  7959. type: string
  7960. coupontypeid:
  7961. description: 优惠券类型ID
  7962. type: string
  7963. couponvalue:
  7964. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  7965. type: number
  7966. curfreezeqty:
  7967. description: 期末冻结数量
  7968. type: integer
  7969. curqty:
  7970. description: 期末数量
  7971. type: integer
  7972. isgeneral:
  7973. description: 是否通用券 - 0:否 1:是
  7974. type: integer
  7975. isunusable:
  7976. description: 是否不可用
  7977. type: boolean
  7978. limitedflag:
  7979. description: 是否指定商品 - 0:不限 1:限制
  7980. type: integer
  7981. limitedgoodsids:
  7982. description: 指定商品IDs[逗号分隔,前后加逗号]
  7983. type: string
  7984. orifreezeqty:
  7985. description: 期初冻结数量
  7986. type: integer
  7987. oriqty:
  7988. description: 期初数量
  7989. type: integer
  7990. reasontype:
  7991. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  7992. type: integer
  7993. todaydecrease:
  7994. description: 今日减少
  7995. type: integer
  7996. todayincrease:
  7997. description: 今日增加
  7998. type: integer
  7999. userid:
  8000. description: 用户ID
  8001. type: integer
  8002. userscope:
  8003. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  8004. type: string
  8005. required:
  8006. - accountid
  8007. - coupontypeid
  8008. type: object
  8009. models.MyCouponHold:
  8010. properties:
  8011. accountid:
  8012. description: 资金账户ID
  8013. type: integer
  8014. conditionvalue:
  8015. description: 条件阈值(可为0)
  8016. type: number
  8017. couponcategroy:
  8018. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  8019. type: integer
  8020. couponholdid:
  8021. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  8022. type: string
  8023. couponname:
  8024. description: 优惠券名称
  8025. type: string
  8026. coupontypeid:
  8027. description: 优惠券类型ID - SEQ_COUPONTYPE
  8028. type: string
  8029. couponvalue:
  8030. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  8031. type: number
  8032. createtime:
  8033. description: 创建时间
  8034. type: string
  8035. enddate:
  8036. description: 结束日期
  8037. type: string
  8038. giveapplyid:
  8039. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  8040. type: integer
  8041. holdstatus:
  8042. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  8043. type: integer
  8044. isgeneral:
  8045. description: 是否通用券 - 0:否 1:是
  8046. type: integer
  8047. limitedflag:
  8048. description: 是否指定商品 - 0:不限 1:限制
  8049. type: integer
  8050. limitedgoodsids:
  8051. description: 指定商品IDs[逗号分隔]
  8052. type: string
  8053. qty:
  8054. description: 数量(按1平铺)
  8055. type: integer
  8056. startdate:
  8057. description: 开始日期
  8058. type: string
  8059. userid:
  8060. description: 用户ID
  8061. type: integer
  8062. userscope:
  8063. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  8064. type: string
  8065. required:
  8066. - couponholdid
  8067. type: object
  8068. models.MyUsedCoupon:
  8069. properties:
  8070. accountid:
  8071. description: 资金账户ID(买方)
  8072. type: integer
  8073. conditionvalue:
  8074. description: 条件阈值(可为0)
  8075. type: number
  8076. couponcategroy:
  8077. description: 种类 - 1:现金券 2:折扣券
  8078. type: integer
  8079. couponname:
  8080. description: 优惠券名称
  8081. type: string
  8082. coupontypeid:
  8083. description: 优惠券类型ID(买方)
  8084. type: string
  8085. couponvalue:
  8086. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  8087. type: number
  8088. createtime:
  8089. description: 创建时间
  8090. type: string
  8091. goodsid:
  8092. description: 商品ID
  8093. type: integer
  8094. handlestatus:
  8095. description: 处理状态
  8096. type: integer
  8097. marketid:
  8098. description: 市场ID
  8099. type: integer
  8100. offamount:
  8101. description: 优惠金额
  8102. type: number
  8103. orderid:
  8104. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8105. type: string
  8106. sellaccountid:
  8107. description: 资金账户ID(卖方)
  8108. type: integer
  8109. tradeamount:
  8110. description: 成交金额
  8111. type: number
  8112. tradeid:
  8113. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8114. type: string
  8115. usedqty:
  8116. description: 使用数量
  8117. type: integer
  8118. required:
  8119. - coupontypeid
  8120. - orderid
  8121. type: object
  8122. models.OperationPrimaryMenu:
  8123. properties:
  8124. Children:
  8125. description: 二级功能菜单
  8126. items:
  8127. $ref: '#/definitions/models.OperationSecondaryMenu'
  8128. type: array
  8129. Key:
  8130. description: 菜单KEY
  8131. type: string
  8132. Label:
  8133. description: 菜单标题
  8134. type: string
  8135. type: object
  8136. models.OperationSecondaryMenu:
  8137. properties:
  8138. Key:
  8139. description: 菜单KEY
  8140. type: string
  8141. Label:
  8142. description: 菜单标题
  8143. type: string
  8144. TabList:
  8145. description: 三级功能菜单
  8146. items:
  8147. $ref: '#/definitions/models.OperationTabMenu'
  8148. type: array
  8149. type: object
  8150. models.OperationTabMenu:
  8151. properties:
  8152. Key:
  8153. description: 菜单KEY
  8154. type: string
  8155. Label:
  8156. description: 菜单标题
  8157. type: string
  8158. type: object
  8159. models.PendingAuditBizModel:
  8160. properties:
  8161. accountid:
  8162. description: 现货账户
  8163. type: string
  8164. areaname:
  8165. description: 所属部门
  8166. type: string
  8167. bizid:
  8168. description: 业务ID
  8169. type: string
  8170. bizname:
  8171. description: 业务名称
  8172. type: string
  8173. status:
  8174. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  8175. type: integer
  8176. type:
  8177. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  8178. type: integer
  8179. type: object
  8180. models.QueryErrorInfosRsp:
  8181. properties:
  8182. description:
  8183. description: 异常描述
  8184. type: string
  8185. errorcode:
  8186. description: 异常代码
  8187. type: string
  8188. errorid:
  8189. description: 异常ID
  8190. type: integer
  8191. modulecode:
  8192. description: 所属模块
  8193. type: string
  8194. operatecode:
  8195. description: 所属操作
  8196. type: string
  8197. rownumber:
  8198. description: 行号
  8199. type: string
  8200. required:
  8201. - errorid
  8202. type: object
  8203. models.QueryHedgeOrderDetailRsp:
  8204. properties:
  8205. accountid:
  8206. description: 账户ID
  8207. type: integer
  8208. buyorsell:
  8209. description: 买卖 - 0:买 1:卖
  8210. type: integer
  8211. cancellogincode:
  8212. description: 撤单人
  8213. type: string
  8214. channelbuildtype:
  8215. description: 开平标志 - 0:无 1:建仓 2:平仓
  8216. type: integer
  8217. channelinnerorderstatus:
  8218. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  8219. 9:全部成交
  8220. type: integer
  8221. channeloperatetype:
  8222. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  8223. type: integer
  8224. closetype:
  8225. description: 平仓方式 - 0:无 1:平今 2:平昨
  8226. type: integer
  8227. curexchangerate:
  8228. description: 当前汇率
  8229. type: number
  8230. exchangefullname:
  8231. description: 外部交易所全称
  8232. type: string
  8233. goodscode:
  8234. description: 商品代码(内部)
  8235. type: string
  8236. goodsid:
  8237. description: 商品ID
  8238. type: integer
  8239. goodsname:
  8240. description: 商品名称
  8241. type: string
  8242. marketid:
  8243. description: 市场ID
  8244. type: integer
  8245. openfreezemargin:
  8246. description: 冻结保证金(冻结交易金额)
  8247. type: number
  8248. orderid:
  8249. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8250. type: string
  8251. orderlogincode:
  8252. description: 委托人
  8253. type: string
  8254. orderprice:
  8255. description: 委托价格(账户)
  8256. type: number
  8257. orderqty:
  8258. description: 委托数量
  8259. type: integer
  8260. ordertime:
  8261. description: 委托时间
  8262. type: string
  8263. pricemode:
  8264. description: '取价方式 - 1:市价 2: 限价'
  8265. type: integer
  8266. tradedate:
  8267. description: 交易日(yyyyMMdd)
  8268. type: string
  8269. tradeqty:
  8270. description: 成交数量
  8271. type: integer
  8272. type: object
  8273. models.QueryHedgeTradeDetailRsp:
  8274. properties:
  8275. accountid:
  8276. description: 账号ID
  8277. type: integer
  8278. buyorsell:
  8279. description: 方向 - 0:买 1:卖
  8280. type: integer
  8281. channelbuildtype:
  8282. description: 委托单据类型 0:无 1:建仓 2:平仓
  8283. type: integer
  8284. closecharge:
  8285. description: 平仓手续费(账户)
  8286. type: number
  8287. closecharge2:
  8288. description: 平仓手续费(商品)
  8289. type: number
  8290. closepl:
  8291. description: 平仓盈亏(账户)
  8292. type: number
  8293. closepl2:
  8294. description: 平仓盈亏(商品)
  8295. type: number
  8296. closepl3:
  8297. description: 平仓盈亏(账户)(逐笔)
  8298. type: number
  8299. closepl4:
  8300. description: 平仓盈亏(商品)(逐笔)
  8301. type: number
  8302. closetype:
  8303. description: 平仓方式 - 0:无 1:平今 2:平昨
  8304. type: integer
  8305. curexchangerate:
  8306. description: 当前汇率
  8307. type: number
  8308. exchangefullname:
  8309. description: 外部交易所全称
  8310. type: string
  8311. goodscode:
  8312. description: 商品代码(内部)
  8313. type: string
  8314. goodsid:
  8315. description: 商品ID
  8316. type: integer
  8317. goodsname:
  8318. description: 商品名称
  8319. type: string
  8320. marketid:
  8321. description: 市场ID
  8322. type: integer
  8323. opencharge:
  8324. description: 建仓手续费(账户)
  8325. type: number
  8326. opencharge2:
  8327. description: 建仓手续费(商品)
  8328. type: number
  8329. orderid:
  8330. description: 委托单号
  8331. type: string
  8332. orderlogincode:
  8333. description: 委托人
  8334. type: string
  8335. tradeamount:
  8336. description: 成交金额(账户)
  8337. type: number
  8338. tradedate:
  8339. description: 交易日(yyyyMMdd)
  8340. type: string
  8341. tradeid:
  8342. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8343. type: string
  8344. tradeprice:
  8345. description: 成交价格
  8346. type: number
  8347. tradeqty:
  8348. description: 成交数量
  8349. type: integer
  8350. tradetime:
  8351. description: 成交时间
  8352. type: string
  8353. tradetype:
  8354. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  8355. type: integer
  8356. type: object
  8357. models.QuotePrimaryMenu:
  8358. properties:
  8359. Index:
  8360. description: 序号
  8361. type: integer
  8362. Key:
  8363. description: 键名
  8364. type: string
  8365. Name:
  8366. description: 菜单名称
  8367. type: string
  8368. SubMenus:
  8369. description: 子菜单
  8370. items:
  8371. $ref: '#/definitions/models.QuoteSecondaryMenu'
  8372. type: array
  8373. SubTitleType:
  8374. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  8375. type: integer
  8376. TradeModes:
  8377. description: 包含市场交易类型
  8378. type: string
  8379. type: object
  8380. models.QuoteSecondaryMenu:
  8381. properties:
  8382. ExExchangeCode:
  8383. description: 外部交易所代码
  8384. type: string
  8385. ExExchangeID:
  8386. description: 外部交易所ID
  8387. type: integer
  8388. GoodsGroupIDs:
  8389. description: 商品组ID列表
  8390. items:
  8391. type: integer
  8392. type: array
  8393. Index:
  8394. description: 序号
  8395. type: integer
  8396. MarketID:
  8397. description: 市场ID
  8398. type: integer
  8399. MenuTitle:
  8400. description: 菜单标题(市场名称或外部交易所名称)
  8401. type: string
  8402. TradeMode:
  8403. description: 交易模式
  8404. type: integer
  8405. type: object
  8406. models.SearchGoods:
  8407. properties:
  8408. goodscode:
  8409. description: 商品代码(内部)
  8410. type: string
  8411. goodsid:
  8412. description: 商品ID(自增ID SEQ_GOODS)
  8413. type: integer
  8414. goodsname:
  8415. description: 商品名称
  8416. type: string
  8417. marketid:
  8418. description: 所属市场ID
  8419. type: integer
  8420. marketname:
  8421. description: 市场名称
  8422. type: string
  8423. trademode:
  8424. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8425. 21:竞拍-大宗式 22:受托竞价
  8426. type: integer
  8427. required:
  8428. - goodscode
  8429. - goodsid
  8430. - goodsname
  8431. - marketid
  8432. - trademode
  8433. type: object
  8434. models.Systemparam:
  8435. properties:
  8436. loginid:
  8437. description: 更新用户账号,登录账号
  8438. type: string
  8439. modifyflag:
  8440. description: 修改标志0 不允许修改 1 允许修改
  8441. type: integer
  8442. paramcode:
  8443. description: 参数代码
  8444. type: string
  8445. paramname:
  8446. description: 参数名
  8447. type: string
  8448. paramtype:
  8449. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  8450. type: integer
  8451. paramvalue:
  8452. description: 参数值
  8453. type: string
  8454. paramvalue2:
  8455. description: 参数值(CLOB)
  8456. type: string
  8457. regexpress:
  8458. description: 正则表达式
  8459. type: string
  8460. remark:
  8461. description: 备注
  8462. type: string
  8463. serverip:
  8464. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  8465. type: string
  8466. showflag:
  8467. description: 是否显示0 不显示 1 显示
  8468. type: integer
  8469. updatetime:
  8470. description: 更新时间
  8471. type: string
  8472. userid:
  8473. description: 更新用户ID
  8474. type: integer
  8475. required:
  8476. - paramcode
  8477. type: object
  8478. models.Szdz3convertconfig:
  8479. properties:
  8480. canin:
  8481. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  8482. type: integer
  8483. canout:
  8484. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  8485. type: integer
  8486. converttype:
  8487. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  8488. 6:交易转花生米(不设置)
  8489. type: integer
  8490. createtime:
  8491. description: 创建时间
  8492. type: string
  8493. creatorid:
  8494. description: 创建人
  8495. type: integer
  8496. daymaxvalue:
  8497. description: 当日最大转入限制
  8498. type: number
  8499. freezedays:
  8500. description: 冻结天数 [5:花生米转交易]
  8501. type: integer
  8502. innergoodsid:
  8503. description: 内部商品ID[交易]
  8504. type: integer
  8505. inratio:
  8506. description: 目标值
  8507. type: integer
  8508. modifierid:
  8509. description: 修改人
  8510. type: integer
  8511. modifytime:
  8512. description: 修改时间
  8513. type: string
  8514. outergoodscode:
  8515. description: 外部商品代码[JD\PD]
  8516. type: string
  8517. outratio:
  8518. description: 源值
  8519. type: integer
  8520. pddecimalplace:
  8521. description: PD小数位
  8522. type: integer
  8523. timemaxvalue:
  8524. description: 单次最大转入限制
  8525. type: number
  8526. timeminvalue:
  8527. description: 单次最小转入限制
  8528. type: number
  8529. required:
  8530. - converttype
  8531. - innergoodsid
  8532. - outergoodscode
  8533. type: object
  8534. models.Szdz3searchwhitelist:
  8535. properties:
  8536. createtime:
  8537. description: 创建时间
  8538. type: string
  8539. creatorid:
  8540. description: 创建人
  8541. type: integer
  8542. modifierid:
  8543. description: 修改人
  8544. type: integer
  8545. modifytime:
  8546. description: 修改时间
  8547. type: string
  8548. userid:
  8549. description: 用户ID
  8550. type: integer
  8551. required:
  8552. - userid
  8553. type: object
  8554. models.Taaccount:
  8555. properties:
  8556. accountflag:
  8557. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  8558. type: integer
  8559. accountid:
  8560. description: 资金账户ID
  8561. type: integer
  8562. accountname:
  8563. description: 账户名称
  8564. type: string
  8565. balance:
  8566. description: 期初余额
  8567. type: number
  8568. capitalbalance:
  8569. description: 本金余额[外部子账户实际出入金余额]
  8570. type: number
  8571. changeflag:
  8572. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  8573. type: integer
  8574. changetime:
  8575. description: 账户状态变更时间
  8576. type: string
  8577. closepl:
  8578. description: 今日平仓盈亏
  8579. type: number
  8580. creditdecrease:
  8581. description: 今日授信减少
  8582. type: number
  8583. creditincrease:
  8584. description: 今日授信增加
  8585. type: number
  8586. currencyid:
  8587. description: 货币ID
  8588. type: integer
  8589. currentbalance:
  8590. description: 期末余额
  8591. type: number
  8592. freezecharge:
  8593. description: 手续费冻结
  8594. type: number
  8595. freezemargin:
  8596. description: 冻结保证金
  8597. type: number
  8598. fromaccountid:
  8599. description: 所属上级账户
  8600. type: integer
  8601. inamount:
  8602. description: 今日入金金额(包括三方入金)
  8603. type: number
  8604. ismain:
  8605. description: 是否母账号 0:不是母账户 1:是母账户
  8606. type: integer
  8607. ismarketaccount:
  8608. description: 是否机构接单账号 0:不是 1:是
  8609. type: integer
  8610. isreckonaccount:
  8611. description: 是否机构分润账号 0:不是 1:是
  8612. type: integer
  8613. mortgagecredit:
  8614. description: 授信金额
  8615. type: number
  8616. orifreezecharge:
  8617. description: 期初手续费冻结
  8618. type: number
  8619. orifreezemargin:
  8620. description: 期初冻结保证金
  8621. type: number
  8622. orimortgagecredit:
  8623. description: 期初授信金额
  8624. type: number
  8625. oriothercredit:
  8626. description: 期初其它授信金额
  8627. type: number
  8628. oriotherfreezemargin:
  8629. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  8630. type: number
  8631. orioutamountfreeze:
  8632. description: 期初出金冻结
  8633. type: number
  8634. oriusedmargin:
  8635. description: 期初占用保证金
  8636. type: number
  8637. othercredit:
  8638. description: 其它授信金额
  8639. type: number
  8640. othercreditdecrease:
  8641. description: 今日其它授信减少
  8642. type: number
  8643. othercreditincrease:
  8644. description: 今日其它授信增加
  8645. type: number
  8646. otherfreezemargin:
  8647. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  8648. type: number
  8649. otherincome:
  8650. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  8651. type: number
  8652. otherpay:
  8653. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  8654. type: number
  8655. outamount:
  8656. description: 今日出金金额(包括三方出金)
  8657. type: number
  8658. outamountfreeze:
  8659. description: 出金冻结
  8660. type: number
  8661. outthreshold:
  8662. description: 出金阈值
  8663. type: number
  8664. parentaccountid:
  8665. description: 所属根账号
  8666. type: integer
  8667. paycharge:
  8668. description: 今日手续费支出
  8669. type: number
  8670. relatedaccountstatus:
  8671. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  8672. type: integer
  8673. relateduserid:
  8674. description: 关联用户
  8675. type: integer
  8676. serivcegroup:
  8677. description: 服务分组
  8678. type: integer
  8679. signstatus:
  8680. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  8681. type: integer
  8682. sublevelpath:
  8683. description: 账号层级路径(逗号分隔,首尾加逗号)
  8684. type: string
  8685. taaccounttype:
  8686. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  8687. type: integer
  8688. thirdinamount:
  8689. description: 今日三方入金
  8690. type: number
  8691. thirdoutamount:
  8692. description: 今日三方出金
  8693. type: number
  8694. tradestatus:
  8695. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8696. type: integer
  8697. tradestatuschangetime:
  8698. description: 激活时间
  8699. type: string
  8700. transferamount:
  8701. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  8702. type: number
  8703. usedmargin:
  8704. description: 占用保证金
  8705. type: number
  8706. userid:
  8707. description: 用户ID
  8708. type: integer
  8709. required:
  8710. - accountid
  8711. - userid
  8712. type: object
  8713. models.Tablecolumnconfig:
  8714. properties:
  8715. aligntype:
  8716. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  8717. type: integer
  8718. autoid:
  8719. description: AutoID
  8720. type: integer
  8721. columnfield:
  8722. description: 列字段
  8723. type: string
  8724. columntitle:
  8725. description: 列Title
  8726. type: string
  8727. columnwidth:
  8728. description: 列宽
  8729. type: string
  8730. formatterstring:
  8731. description: 格式化字符
  8732. type: string
  8733. formattertype:
  8734. description: 格式化类型
  8735. type: string
  8736. groupname:
  8737. description: 表头分组名称
  8738. type: string
  8739. isshow:
  8740. description: 是否显示 - 0:不显示 1:显示
  8741. type: integer
  8742. needsummary:
  8743. description: 是否需要汇总 - 0:不需要 1:需要
  8744. type: integer
  8745. orderindex:
  8746. description: 顺序
  8747. type: integer
  8748. remark:
  8749. description: 备注
  8750. type: string
  8751. summarytype:
  8752. description: 汇总类型 - 1:加总 2:最后一个
  8753. type: integer
  8754. tablekey:
  8755. description: 列表Key
  8756. type: string
  8757. required:
  8758. - autoid
  8759. type: object
  8760. models.Useraccount:
  8761. properties:
  8762. accountname:
  8763. description: 账户名称(机构名称)
  8764. type: string
  8765. accountstatus:
  8766. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  8767. type: integer
  8768. auditremark:
  8769. description: 审核备注
  8770. type: string
  8771. audittime:
  8772. description: 审核时间
  8773. type: string
  8774. audituserid:
  8775. description: 审核人
  8776. type: integer
  8777. broker:
  8778. description: 所属经纪人ID
  8779. type: integer
  8780. canceltime:
  8781. description: 销户时间
  8782. type: string
  8783. canceluserid:
  8784. description: 销户人
  8785. type: integer
  8786. createtime:
  8787. description: 创建时间
  8788. type: string
  8789. creatorid:
  8790. description: 创建人
  8791. type: integer
  8792. hasauth:
  8793. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  8794. type: integer
  8795. isanonymous:
  8796. description: 是否匿名下单 - 0:否 1:是
  8797. type: integer
  8798. maxinvestornum:
  8799. description: 最大用户数(经纪会员下投资者个数)
  8800. type: integer
  8801. memberuserid:
  8802. description: 所属会员ID
  8803. type: integer
  8804. modifierid:
  8805. description: 修改人
  8806. type: integer
  8807. modifyremark:
  8808. description: 变更备注
  8809. type: string
  8810. modifystatus:
  8811. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  8812. type: integer
  8813. modifytime:
  8814. description: 修改时间
  8815. type: string
  8816. parentuserid:
  8817. description: 所属机构ID
  8818. type: integer
  8819. reckonaccountid:
  8820. description: 默认结算资金账号ID(机构分润使用) 作废
  8821. type: integer
  8822. refercount:
  8823. description: 推荐总人数
  8824. type: integer
  8825. refereeuserid:
  8826. description: 推荐人ID
  8827. type: integer
  8828. refernum:
  8829. description: 推荐码
  8830. type: string
  8831. subarealevelpath:
  8832. description: 子机构层级路径(逗号分隔,首尾加逗号)
  8833. type: string
  8834. userid:
  8835. description: 用户ID
  8836. type: integer
  8837. usertype:
  8838. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  8839. type: integer
  8840. required:
  8841. - userid
  8842. type: object
  8843. models.Userfavoritegoods:
  8844. properties:
  8845. goodsid:
  8846. description: 商品ID
  8847. type: integer
  8848. required:
  8849. - goodsid
  8850. type: object
  8851. models.Userinfo:
  8852. properties:
  8853. address:
  8854. description: 地址
  8855. type: string
  8856. attachment1:
  8857. description: 附件1
  8858. type: string
  8859. attachment2:
  8860. description: 附件2
  8861. type: string
  8862. bankaccount:
  8863. description: 银行帐号 (加密存储)
  8864. type: string
  8865. bankaccountname:
  8866. description: 收款人名称
  8867. type: string
  8868. bankcardfrontphotourl:
  8869. description: 银行卡正面照地址
  8870. type: string
  8871. bankid:
  8872. description: 银行编码
  8873. type: string
  8874. bankname:
  8875. description: 银行名称
  8876. type: string
  8877. biznature:
  8878. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  8879. type: integer
  8880. bizscope:
  8881. description: 企业经营范围(企业)
  8882. type: string
  8883. cardbackphotourl:
  8884. description: 证件背面图片地址
  8885. type: string
  8886. cardfrontphotourl:
  8887. description: 证件正面图片地址
  8888. type: string
  8889. cardnum:
  8890. description: 证件号码(加密存储)
  8891. type: string
  8892. cardtypeid:
  8893. description: 证件类型ID
  8894. type: integer
  8895. cityid:
  8896. description: 市
  8897. type: integer
  8898. company:
  8899. description: 公司(个人)
  8900. type: string
  8901. contactname:
  8902. description: 联系人
  8903. type: string
  8904. countryid:
  8905. description: 国家
  8906. type: integer
  8907. createtime:
  8908. description: 创建时间
  8909. type: string
  8910. creatorid:
  8911. description: 创建人
  8912. type: integer
  8913. customername:
  8914. description: 客户名称(企业名称)
  8915. type: string
  8916. districtid:
  8917. description: 地区
  8918. type: integer
  8919. email:
  8920. description: 邮件(加密存储)
  8921. type: string
  8922. fax:
  8923. description: 传真(加密存储)
  8924. type: string
  8925. halfbodyphotourl:
  8926. description: 半身照地址
  8927. type: string
  8928. hasencrypt:
  8929. description: 数据是否已加密 - 0:未加密 1:已加密
  8930. type: integer
  8931. headurl:
  8932. description: 头像地址
  8933. type: string
  8934. legalcardbackphotourl:
  8935. description: 法人身份证背面照地址
  8936. type: string
  8937. legalcardfrontphotourl:
  8938. description: 法人身份证正面照地址
  8939. type: string
  8940. legalpersonname:
  8941. description: 法人姓名(企业)
  8942. type: string
  8943. mobile:
  8944. description: 手机号码(加密存储)
  8945. type: string
  8946. mobile2:
  8947. description: 手机号码[明文-尚志]
  8948. type: string
  8949. modifierid:
  8950. description: 修改人
  8951. type: integer
  8952. modifiertime:
  8953. description: 修改时间
  8954. type: string
  8955. needinvoice:
  8956. description: 是否需要发票 - 0:不需要 1:需要
  8957. type: integer
  8958. nickname:
  8959. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  8960. type: string
  8961. openmode:
  8962. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  8963. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  8964. type: integer
  8965. otherurl:
  8966. description: 其它图片地址[使用分号分隔]
  8967. type: string
  8968. postalcode:
  8969. description: 邮政编码
  8970. type: string
  8971. provinceid:
  8972. description: 省
  8973. type: integer
  8974. qq:
  8975. description: QQ(加密存储
  8976. type: string
  8977. remark:
  8978. description: 备注
  8979. type: string
  8980. sex:
  8981. description: '用户性别 0: 女 1: 男'
  8982. type: integer
  8983. signpdfurl:
  8984. description: 签约pdf文件
  8985. type: string
  8986. telphone:
  8987. description: 联系电话(加密存储)
  8988. type: string
  8989. userid:
  8990. description: 用户ID
  8991. type: integer
  8992. userinfotype:
  8993. description: 用户信息类型 - 1:个人 2:企业
  8994. type: integer
  8995. userstatus:
  8996. description: 用户状态 - 1:正常 2:注销
  8997. type: integer
  8998. usertype:
  8999. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  9000. type: integer
  9001. wechat:
  9002. description: 微信(加密存储)
  9003. type: string
  9004. wskhinfo:
  9005. description: 开户申请信息(JSON)
  9006. type: string
  9007. required:
  9008. - userid
  9009. type: object
  9010. models.WRSConverTDetail:
  9011. properties:
  9012. convertratio:
  9013. description: 套保系数
  9014. type: number
  9015. deliverygoodscode:
  9016. description: 现货商品代码
  9017. type: string
  9018. deliverygoodsid:
  9019. description: 现货品种ID
  9020. type: integer
  9021. deliverygoodsname:
  9022. description: 现货商品名称
  9023. type: string
  9024. enumdicname:
  9025. description: 单位名称
  9026. type: string
  9027. goodsunitid:
  9028. description: 套保品种单位id
  9029. type: integer
  9030. middlegoodscode:
  9031. description: 套保品种代码
  9032. type: string
  9033. middlegoodsid:
  9034. description: 套保品种ID
  9035. type: integer
  9036. middlegoodsname:
  9037. description: 套保品种名称
  9038. type: string
  9039. modifytime:
  9040. description: 修改时间
  9041. type: string
  9042. wrstandardid:
  9043. description: 品类ID
  9044. type: integer
  9045. type: object
  9046. models.WRStandardInfo:
  9047. properties:
  9048. areauserid:
  9049. description: 所属机构
  9050. type: integer
  9051. convertfactor:
  9052. description: 标仓系数
  9053. type: number
  9054. createtime:
  9055. description: 创建时间
  9056. type: string
  9057. creatorid:
  9058. description: 创建人
  9059. type: integer
  9060. deliverygoodsid:
  9061. description: 品种ID
  9062. type: integer
  9063. deliverygoodsname:
  9064. description: 交割商品名称
  9065. type: string
  9066. factoryitemjson:
  9067. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  9068. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  9069. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  9070. 逗号分隔'
  9071. type: string
  9072. isvalid:
  9073. description: 是否有效 - 0:无效 1:有效
  9074. type: integer
  9075. minivalue:
  9076. description: 最小变动值
  9077. type: integer
  9078. minivaluedp:
  9079. description: 最小变动值小数位
  9080. type: integer
  9081. realminivalue:
  9082. description: 实际最小变动值
  9083. type: integer
  9084. realminivaluedp:
  9085. description: 实际最小变动值小数位
  9086. type: integer
  9087. remark:
  9088. description: 备注
  9089. type: string
  9090. unitid:
  9091. description: 单位ID
  9092. type: integer
  9093. unitname:
  9094. description: 单位
  9095. type: string
  9096. updatetime:
  9097. description: 更新时间
  9098. type: string
  9099. updatorid:
  9100. description: 更新人
  9101. type: integer
  9102. wrsstatus:
  9103. description: 状态 - 作废 - 0:未激活 1:正常
  9104. type: integer
  9105. wrstandardcode:
  9106. description: 现货品类代码
  9107. type: string
  9108. wrstandardid:
  9109. description: 现货品类ID(SEQ_WRSTANDARD)
  9110. type: integer
  9111. wrstandardname:
  9112. description: 现货品类名称
  9113. type: string
  9114. required:
  9115. - wrstandardid
  9116. type: object
  9117. models.Warehouseinfo:
  9118. properties:
  9119. address:
  9120. description: 详细地址
  9121. type: string
  9122. areauserid:
  9123. description: 所属机构
  9124. type: integer
  9125. autoid:
  9126. description: 自增ID
  9127. type: integer
  9128. cityid:
  9129. description: 市
  9130. type: integer
  9131. contactname:
  9132. description: 联系人
  9133. type: string
  9134. contactnum:
  9135. description: 联系电话
  9136. type: string
  9137. countryid:
  9138. description: 国家
  9139. type: integer
  9140. createtime:
  9141. description: 创建时间
  9142. type: string
  9143. districtid:
  9144. description: 区
  9145. type: integer
  9146. hasvideo:
  9147. description: 是否有视频 - 0:无 1:有
  9148. type: integer
  9149. provinceid:
  9150. description: 省
  9151. type: integer
  9152. remark:
  9153. description: 审核备注
  9154. type: string
  9155. videourl:
  9156. description: 视频地址
  9157. type: string
  9158. warehousecode:
  9159. description: 仓库代码
  9160. type: string
  9161. warehousename:
  9162. description: 仓库名称
  9163. type: string
  9164. warehousestatus:
  9165. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  9166. type: integer
  9167. warehousetype:
  9168. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  9169. type: integer
  9170. required:
  9171. - autoid
  9172. - warehousecode
  9173. type: object
  9174. order.QueryHisTradeDetailRsp:
  9175. properties:
  9176. accountid:
  9177. description: 账户ID[报价币种]
  9178. type: integer
  9179. buildtype:
  9180. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  9181. type: integer
  9182. buyorsell:
  9183. description: 方向 - 0:买 1:卖
  9184. type: integer
  9185. charge:
  9186. description: 手续费
  9187. type: number
  9188. closecharge:
  9189. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9190. type: number
  9191. closeexchagechargevalue:
  9192. description: 平仓交易所手续费设置值
  9193. type: number
  9194. closefeealgorithm:
  9195. description: 平仓手续费收取方式 1:比率 2:固定
  9196. type: integer
  9197. closememberchargevalue:
  9198. description: 平仓会员手续费设置值
  9199. type: number
  9200. closepl:
  9201. description: 平仓盈亏
  9202. type: number
  9203. closepl2:
  9204. description: 平仓盈亏[逐笔]
  9205. type: number
  9206. closeqty:
  9207. description: 平仓数量(先建后平操作 需要记录)
  9208. type: integer
  9209. creditamount:
  9210. description: 授信金额
  9211. type: number
  9212. gcaccountid:
  9213. description: 账户ID[合约币种]
  9214. type: integer
  9215. goodscode:
  9216. description: 商品代码
  9217. type: string
  9218. goodsid:
  9219. description: 商品ID
  9220. type: integer
  9221. goodsname:
  9222. description: 商品名称
  9223. type: string
  9224. histradedate:
  9225. description: 历史交易日
  9226. type: string
  9227. intclosepl:
  9228. description: 整型盈亏(用于交易结算试算平衡-收益权)
  9229. type: integer
  9230. isconfirmexercise:
  9231. description: 是否确认行权- 0:否 1:是
  9232. type: integer
  9233. ismain:
  9234. description: 是否主单 - 0:不是 1:是
  9235. type: integer
  9236. ispreexercise:
  9237. description: 是否预申报- 0:否 1:是
  9238. type: integer
  9239. isreckoned:
  9240. description: 是否结算 - 0:未结算 1:已结算
  9241. type: integer
  9242. isvaliddata:
  9243. description: 是否有效 - 0:无效 1:有效
  9244. type: integer
  9245. listingselecttype:
  9246. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9247. type: integer
  9248. marketid:
  9249. description: 市场ID
  9250. type: integer
  9251. marketname:
  9252. description: 市场名称
  9253. type: string
  9254. matchaccountid:
  9255. description: 对手账号id
  9256. type: integer
  9257. memberuserid:
  9258. description: 会员id 个人投资者 需要填写
  9259. type: integer
  9260. opencharge:
  9261. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9262. type: number
  9263. openexchagechargevalue:
  9264. description: 建仓交易所手续费设置值
  9265. type: number
  9266. openfeealgorithm:
  9267. description: 建仓手续费收取方式 1:比率 2:固定
  9268. type: integer
  9269. openmemberchargevalue:
  9270. description: 建仓会员手续费设置值
  9271. type: number
  9272. openqty:
  9273. description: 开仓数量(先建后平操作 需要记录)
  9274. type: integer
  9275. optiontype:
  9276. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  9277. type: integer
  9278. orderid:
  9279. description: 委托单号
  9280. type: string
  9281. performanceplanid:
  9282. description: 履约计划ID[期权]
  9283. type: integer
  9284. performancestatus:
  9285. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  9286. type: integer
  9287. preexerciseprice:
  9288. description: 预申报价格
  9289. type: number
  9290. premium:
  9291. description: 权利金 - [持仓单的权利金]
  9292. type: number
  9293. relatedouttradeid:
  9294. description: 关联外部成交单ID
  9295. type: integer
  9296. status:
  9297. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  9298. type: integer
  9299. tradeamount:
  9300. description: 成交金额[账户币种,用于所有权]
  9301. type: number
  9302. tradedate:
  9303. description: 交易日(yyyyMMdd)
  9304. type: string
  9305. tradeid:
  9306. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9307. type: string
  9308. trademode:
  9309. description: 交易模式
  9310. type: integer
  9311. tradeprice:
  9312. description: 成交价格
  9313. type: number
  9314. tradeproperty:
  9315. description: 交易属性
  9316. type: integer
  9317. tradeqty:
  9318. description: 成交数量
  9319. type: integer
  9320. tradetime:
  9321. description: 成交时间
  9322. type: string
  9323. tradetype:
  9324. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  9325. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  9326. type: integer
  9327. required:
  9328. - accountid
  9329. - buyorsell
  9330. - goodsid
  9331. - histradedate
  9332. - marketid
  9333. - memberuserid
  9334. - orderid
  9335. - tradeamount
  9336. - tradedate
  9337. - tradeid
  9338. - tradeprice
  9339. - tradeqty
  9340. - tradetime
  9341. type: object
  9342. order.QueryHisTradeOrderDetailRsp:
  9343. properties:
  9344. accountid:
  9345. description: 账户ID[报价币种]
  9346. type: integer
  9347. buildtype:
  9348. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  9349. type: integer
  9350. buyorsell:
  9351. description: 买卖 - 0:买 1:卖
  9352. type: integer
  9353. cancelorderid:
  9354. description: 撤单单号(撤单时填写)
  9355. type: string
  9356. cancelqty:
  9357. description: 撤单数量
  9358. type: integer
  9359. clientordertime:
  9360. description: 客户端委托时间
  9361. type: string
  9362. clientticket:
  9363. description: 客户端流水号
  9364. type: string
  9365. clienttype:
  9366. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  9367. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9368. type: integer
  9369. closeexchagechargevalue:
  9370. description: 平仓交易所手续费设置值
  9371. type: number
  9372. closefeealgorithm:
  9373. description: 平仓手续费收取方式 1:比率 2:固定
  9374. type: integer
  9375. closefreezecharge:
  9376. description: 平仓冻结手续费(先建后平操作,需要记录)
  9377. type: number
  9378. closememberchargevalue:
  9379. description: 平仓会员手续费设置值
  9380. type: number
  9381. closeqty:
  9382. description: 平仓数量(先建后平操作 需要记录)
  9383. type: integer
  9384. closetradeqty:
  9385. description: 平仓成交数量(先建后平操作,需要记录)
  9386. type: integer
  9387. closeunfreezecharge:
  9388. description: 平仓解冻手续费(先建后平操作,需要记录)
  9389. type: number
  9390. delistingtype:
  9391. description: 摘牌类型 - 1:价格最优 2:点选成交
  9392. type: integer
  9393. freezecharge:
  9394. description: 冻结手续费
  9395. type: number
  9396. freezemargin:
  9397. description: 冻结保证金(冻结交易金额)
  9398. type: number
  9399. gcaccountid:
  9400. description: 账户ID[合约币种]
  9401. type: integer
  9402. goodscode:
  9403. description: 商品代码
  9404. type: string
  9405. goodsid:
  9406. description: 商品ID
  9407. type: integer
  9408. goodsname:
  9409. description: 商品名称
  9410. type: string
  9411. histradedate:
  9412. description: 历史交易日
  9413. type: string
  9414. isconfirmexercise:
  9415. description: 是否确认行权- 0:否 1:是
  9416. type: integer
  9417. ispreexercise:
  9418. description: 是否预申报- 0:否 1:是
  9419. type: integer
  9420. isvaliddata:
  9421. description: 是否有效 - 0:无效 1:有效
  9422. type: integer
  9423. listingselecttype:
  9424. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9425. type: integer
  9426. marginalgorithm:
  9427. description: 保证金收取方式 1:比率 2:固定
  9428. type: integer
  9429. marginvalue:
  9430. description: 即市保证金设置值
  9431. type: number
  9432. marketid:
  9433. description: 市场ID
  9434. type: integer
  9435. marketmaxsub:
  9436. description: 市价最大偏移范围
  9437. type: number
  9438. marketname:
  9439. description: 市场名称
  9440. type: string
  9441. memberuserid:
  9442. description: 所属会员UserID
  9443. type: integer
  9444. openexchagechargevalue:
  9445. description: 建仓交易所手续费设置值
  9446. type: number
  9447. openfeealgorithm:
  9448. description: 建仓手续费收取方式 1:比率 2:固定
  9449. type: integer
  9450. openfreezecharge:
  9451. description: 开仓冻结手续费(先建后平操作,需要记录)
  9452. type: number
  9453. openmemberchargevalue:
  9454. description: 建仓会员手续费设置值
  9455. type: number
  9456. openqty:
  9457. description: 开仓数量(先建后平操作,需要记录)
  9458. type: integer
  9459. opentradeqty:
  9460. description: 开仓成交数量(先建后平操作,需要记录)
  9461. type: integer
  9462. openunfreezecharge:
  9463. description: 开仓解冻手续费(先建后平操作,需要记录)
  9464. type: number
  9465. operatetype:
  9466. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  9467. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  9468. 15:管理端协议转让
  9469. type: integer
  9470. operatorid:
  9471. description: 登录账号(LoginID)
  9472. type: integer
  9473. optiontype:
  9474. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  9475. type: integer
  9476. orderid:
  9477. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9478. type: string
  9479. orderprice:
  9480. description: 委托价格
  9481. type: number
  9482. orderqty:
  9483. description: 委托数量
  9484. type: integer
  9485. ordersrc:
  9486. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  9487. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  9488. type: integer
  9489. orderstatus:
  9490. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9491. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9492. 16:成交失败违约(荷兰式竞拍专用)
  9493. type: integer
  9494. ordertime:
  9495. description: 委托时间
  9496. type: string
  9497. preexerciseprice:
  9498. description: 预申报价格
  9499. type: number
  9500. premium:
  9501. description: 权利金
  9502. type: number
  9503. preorderid:
  9504. description: 关联预埋单号(止盈止损单时填写)
  9505. type: string
  9506. pricemode:
  9507. description: '取价方式 - 1:市价 2: 限价'
  9508. type: integer
  9509. quoteid:
  9510. description: 报价单ID
  9511. type: integer
  9512. relatedid:
  9513. description: 关联单号(交割单)
  9514. type: string
  9515. retcode:
  9516. description: 错误代码
  9517. type: integer
  9518. sessionid:
  9519. description: 会话ID
  9520. type: integer
  9521. tradedate:
  9522. description: 交易日(yyyyMMdd)
  9523. type: string
  9524. trademode:
  9525. description: 交易模式
  9526. type: integer
  9527. tradeproperty:
  9528. description: 交易属性
  9529. type: integer
  9530. tradeqty:
  9531. description: 成交数量
  9532. type: integer
  9533. unfreezecharge:
  9534. description: 解冻手续费
  9535. type: number
  9536. unfreezemargin:
  9537. description: 解冻保证金
  9538. type: number
  9539. updatetime:
  9540. description: 更新时间
  9541. type: string
  9542. uuid:
  9543. description: 发起端唯一id
  9544. type: string
  9545. validtime:
  9546. description: 有效期限
  9547. type: string
  9548. validtype:
  9549. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  9550. type: integer
  9551. volumetype:
  9552. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  9553. type: integer
  9554. required:
  9555. - accountid
  9556. - buildtype
  9557. - buyorsell
  9558. - goodsid
  9559. - histradedate
  9560. - marketid
  9561. - memberuserid
  9562. - operatetype
  9563. - orderid
  9564. - orderqty
  9565. - ordertime
  9566. - pricemode
  9567. - tradedate
  9568. - validtype
  9569. type: object
  9570. order.QueryTradeDetailRsp:
  9571. properties:
  9572. accountid:
  9573. description: 账户ID[报价币种]
  9574. type: integer
  9575. buildtype:
  9576. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  9577. type: integer
  9578. buyorsell:
  9579. description: 方向 - 0:买 1:卖
  9580. type: integer
  9581. charge:
  9582. description: 手续费
  9583. type: number
  9584. closecharge:
  9585. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9586. type: number
  9587. closeexchagechargevalue:
  9588. description: 平仓交易所手续费设置值
  9589. type: number
  9590. closefeealgorithm:
  9591. description: 平仓手续费收取方式 1:比率 2:固定
  9592. type: integer
  9593. closememberchargevalue:
  9594. description: 平仓会员手续费设置值
  9595. type: number
  9596. closepl:
  9597. description: 平仓盈亏
  9598. type: number
  9599. closepl2:
  9600. description: 平仓盈亏[逐笔]
  9601. type: number
  9602. closeqty:
  9603. description: 平仓数量(先建后平操作 需要记录)
  9604. type: integer
  9605. creditamount:
  9606. description: 授信金额
  9607. type: number
  9608. gcaccountid:
  9609. description: 账户ID[合约币种]
  9610. type: integer
  9611. goodscode:
  9612. description: 商品代码
  9613. type: string
  9614. goodsid:
  9615. description: 商品ID
  9616. type: integer
  9617. goodsname:
  9618. description: 商品名称
  9619. type: string
  9620. intclosepl:
  9621. description: 整型盈亏(用于交易结算试算平衡-收益权)
  9622. type: integer
  9623. isconfirmexercise:
  9624. description: 是否确认行权- 0:否 1:是
  9625. type: integer
  9626. ismain:
  9627. description: 是否主单 - 0:不是 1:是
  9628. type: integer
  9629. ispreexercise:
  9630. description: 是否预申报- 0:否 1:是
  9631. type: integer
  9632. isreckoned:
  9633. description: 是否结算 - 0:未结算 1:已结算
  9634. type: integer
  9635. listingselecttype:
  9636. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9637. type: integer
  9638. marketid:
  9639. description: 市场ID
  9640. type: integer
  9641. marketname:
  9642. description: 市场名称
  9643. type: string
  9644. matchaccountid:
  9645. description: 对手账号id
  9646. type: integer
  9647. memberuserid:
  9648. description: 会员id 个人投资者 需要填写
  9649. type: integer
  9650. opencharge:
  9651. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9652. type: number
  9653. openexchagechargevalue:
  9654. description: 建仓交易所手续费设置值
  9655. type: number
  9656. openfeealgorithm:
  9657. description: 建仓手续费收取方式 1:比率 2:固定
  9658. type: integer
  9659. openmemberchargevalue:
  9660. description: 建仓会员手续费设置值
  9661. type: number
  9662. openqty:
  9663. description: 开仓数量(先建后平操作 需要记录)
  9664. type: integer
  9665. optiontype:
  9666. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  9667. type: integer
  9668. orderid:
  9669. description: 委托单号
  9670. type: string
  9671. performanceplanid:
  9672. description: 履约计划ID[期权]
  9673. type: integer
  9674. performancestatus:
  9675. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  9676. type: integer
  9677. preexerciseprice:
  9678. description: 预申报价格
  9679. type: number
  9680. premium:
  9681. description: 权利金 - [持仓单的权利金]
  9682. type: number
  9683. relatedouttradeid:
  9684. description: 关联外部成交单ID
  9685. type: integer
  9686. status:
  9687. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  9688. type: integer
  9689. tradeamount:
  9690. description: 成交金额[账户币种,用于所有权]
  9691. type: number
  9692. tradedate:
  9693. description: 交易日(yyyyMMdd)
  9694. type: string
  9695. tradeid:
  9696. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9697. type: string
  9698. trademode:
  9699. description: 交易模式
  9700. type: integer
  9701. tradeprice:
  9702. description: 成交价格
  9703. type: number
  9704. tradeproperty:
  9705. description: 交易属性
  9706. type: integer
  9707. tradeqty:
  9708. description: 成交数量
  9709. type: integer
  9710. tradetime:
  9711. description: 成交时间
  9712. type: string
  9713. tradetype:
  9714. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  9715. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  9716. type: integer
  9717. required:
  9718. - accountid
  9719. - buyorsell
  9720. - goodsid
  9721. - marketid
  9722. - memberuserid
  9723. - orderid
  9724. - tradeamount
  9725. - tradedate
  9726. - tradeid
  9727. - tradeprice
  9728. - tradeqty
  9729. - tradetime
  9730. type: object
  9731. order.QueryTradeOrderDetailRsp:
  9732. properties:
  9733. accountid:
  9734. description: 账户ID[报价币种]
  9735. type: integer
  9736. buildtype:
  9737. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  9738. type: integer
  9739. buyorsell:
  9740. description: 买卖 - 0:买 1:卖
  9741. type: integer
  9742. cancelorderid:
  9743. description: 撤单单号(撤单时填写)
  9744. type: string
  9745. cancelqty:
  9746. description: 撤单数量
  9747. type: integer
  9748. clienttype:
  9749. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  9750. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9751. type: integer
  9752. closefreezecharge:
  9753. description: 平仓冻结手续费(先建后平操作,需要记录)
  9754. type: number
  9755. closeqty:
  9756. description: 平仓数量(先建后平操作 需要记录)
  9757. type: integer
  9758. closetradeqty:
  9759. description: 平仓成交数量(先建后平操作,需要记录)
  9760. type: integer
  9761. closeunfreezecharge:
  9762. description: 平仓解冻手续费(先建后平操作,需要记录)
  9763. type: number
  9764. delistingtype:
  9765. description: 摘牌类型 - 1:价格最优 2:点选成交
  9766. type: integer
  9767. enableqty:
  9768. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  9769. type: integer
  9770. freezecharge:
  9771. description: 冻结手续费
  9772. type: number
  9773. freezemargin:
  9774. description: 冻结保证金(冻结交易金额)
  9775. type: number
  9776. goodscode:
  9777. description: 商品代码
  9778. type: string
  9779. goodsid:
  9780. description: 商品ID
  9781. type: integer
  9782. goodsname:
  9783. description: 商品名称
  9784. type: string
  9785. listingselecttype:
  9786. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9787. type: integer
  9788. marketid:
  9789. description: 市场ID
  9790. type: integer
  9791. marketname:
  9792. description: 市场名称
  9793. type: string
  9794. openfreezecharge:
  9795. description: 开仓冻结手续费(先建后平操作,需要记录)
  9796. type: number
  9797. openqty:
  9798. description: 开仓数量(先建后平操作,需要记录)
  9799. type: integer
  9800. opentradeqty:
  9801. description: 开仓成交数量(先建后平操作,需要记录)
  9802. type: integer
  9803. openunfreezecharge:
  9804. description: 开仓解冻手续费(先建后平操作,需要记录)
  9805. type: number
  9806. operatetype:
  9807. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  9808. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  9809. 15:管理端协议转让
  9810. type: integer
  9811. operatorid:
  9812. description: 登录账号(LoginID)
  9813. type: integer
  9814. orderid:
  9815. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9816. type: string
  9817. orderprice:
  9818. description: 委托价格
  9819. type: number
  9820. orderqty:
  9821. description: 委托数量
  9822. type: integer
  9823. ordersrc:
  9824. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  9825. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  9826. type: integer
  9827. orderstatus:
  9828. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9829. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9830. 16:成交失败违约(荷兰式竞拍专用)
  9831. type: integer
  9832. ordertime:
  9833. description: 委托时间
  9834. type: string
  9835. preorderid:
  9836. description: 关联预埋单号(止盈止损单时填写)
  9837. type: string
  9838. pricemode:
  9839. description: '取价方式 - 1:市价 2: 限价'
  9840. type: integer
  9841. relatedid:
  9842. description: 关联单号(交割单)
  9843. type: string
  9844. tradedate:
  9845. description: 交易日(yyyyMMdd)
  9846. type: string
  9847. trademode:
  9848. description: 交易模式
  9849. type: integer
  9850. tradeqty:
  9851. description: 成交数量
  9852. type: integer
  9853. unfreezecharge:
  9854. description: 解冻手续费
  9855. type: number
  9856. unfreezemargin:
  9857. description: 解冻保证金
  9858. type: number
  9859. validtime:
  9860. description: 有效期限
  9861. type: string
  9862. validtype:
  9863. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  9864. type: integer
  9865. volumetype:
  9866. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  9867. type: integer
  9868. required:
  9869. - accountid
  9870. - buildtype
  9871. - buyorsell
  9872. - goodsid
  9873. - marketid
  9874. - operatetype
  9875. - orderqty
  9876. - ordertime
  9877. - pricemode
  9878. - tradedate
  9879. - validtype
  9880. type: object
  9881. order.QueryTradePositionRsp:
  9882. properties:
  9883. accountid:
  9884. description: 资金账户
  9885. type: integer
  9886. agreeunit:
  9887. description: 合约单位
  9888. type: number
  9889. averageprice:
  9890. description: 持仓均价
  9891. type: number
  9892. buyorsell:
  9893. description: 方向 - 0:买 1:卖
  9894. type: integer
  9895. closetotalqty:
  9896. description: 平仓总数量
  9897. type: integer
  9898. curholderamount:
  9899. description: 当前持仓总金额[商品币种]
  9900. type: number
  9901. curpositionqty:
  9902. description: 当前持仓总数量
  9903. type: integer
  9904. currencyid:
  9905. description: 报价货币ID
  9906. type: integer
  9907. curtdposition:
  9908. description: 期末今日头寸
  9909. type: integer
  9910. decimalplace:
  9911. description: 报价小数位
  9912. type: integer
  9913. enableqty:
  9914. description: 可用量
  9915. type: integer
  9916. fretdposition:
  9917. description: 冻结今日头寸
  9918. type: integer
  9919. frozenqty:
  9920. description: 持仓冻结数量
  9921. type: integer
  9922. goodscode:
  9923. description: 商品代码
  9924. type: string
  9925. goodsid:
  9926. description: 商品Id
  9927. type: integer
  9928. goodsname:
  9929. description: 商品名称
  9930. type: string
  9931. goodunit:
  9932. description: 报价单位
  9933. type: string
  9934. goodunitid:
  9935. description: 报价单位ID
  9936. type: integer
  9937. holderamount:
  9938. description: 期初持仓总金额[商品币种]
  9939. type: number
  9940. marketid:
  9941. description: 所属市场ID
  9942. type: integer
  9943. openreqqty:
  9944. description: 开仓申请数量(用于比较最大持仓数量)
  9945. type: integer
  9946. opentotalqty:
  9947. description: 开仓总数量
  9948. type: integer
  9949. otherfrozenqty:
  9950. description: 持仓其他冻结数量(交割冻结)
  9951. type: integer
  9952. positionqty:
  9953. description: 期初持仓数量
  9954. type: integer
  9955. tnqty:
  9956. description: T+N冻结总量
  9957. type: integer
  9958. tnusedqty:
  9959. description: T+N使用量(可以使用T+N的冻结数量)
  9960. type: integer
  9961. trademode:
  9962. description: 交易模式
  9963. type: integer
  9964. usedmargin:
  9965. description: 占用保证金[商品币种]
  9966. type: number
  9967. required:
  9968. - goodsid
  9969. type: object
  9970. quote.HistoryData:
  9971. properties:
  9972. c:
  9973. description: 收盘价
  9974. type: number
  9975. f:
  9976. description: 是否补充数据
  9977. type: boolean
  9978. h:
  9979. description: 最高价
  9980. type: number
  9981. hv:
  9982. description: 持仓量
  9983. type: integer
  9984. l:
  9985. description: 最低价
  9986. type: number
  9987. o:
  9988. description: 开盘价
  9989. type: number
  9990. s:
  9991. description: 结算价,日线周期(包括)以上才有
  9992. type: number
  9993. ts:
  9994. description: 时间
  9995. type: string
  9996. tt:
  9997. description: 总金额
  9998. type: number
  9999. tv:
  10000. description: 总量
  10001. type: integer
  10002. type: object
  10003. quote.HistoryTikData:
  10004. properties:
  10005. AV:
  10006. description: 卖量
  10007. type: integer
  10008. Ask:
  10009. description: 卖价
  10010. type: number
  10011. BV:
  10012. description: 买量
  10013. type: integer
  10014. Bid:
  10015. description: 买价
  10016. type: number
  10017. HI:
  10018. description: 单笔持仓
  10019. type: integer
  10020. HV:
  10021. description: 持仓量
  10022. type: integer
  10023. PE:
  10024. description: 现价
  10025. type: number
  10026. TDR:
  10027. description: 交易方向,0:买 1:卖
  10028. type: integer
  10029. TK:
  10030. description: 交易类型
  10031. type: integer
  10032. TS:
  10033. description: 行情时间文本
  10034. type: string
  10035. TT:
  10036. description: 现金额
  10037. type: number
  10038. Vol:
  10039. description: 现量
  10040. type: integer
  10041. type: object
  10042. quote.QueryQuoteDayRsp:
  10043. properties:
  10044. ask:
  10045. description: 卖1
  10046. type: number
  10047. ask2:
  10048. description: 卖2
  10049. type: number
  10050. ask3:
  10051. description: 卖3
  10052. type: number
  10053. ask4:
  10054. description: 卖4
  10055. type: number
  10056. ask5:
  10057. description: 卖5
  10058. type: number
  10059. ask6:
  10060. description: 卖6
  10061. type: number
  10062. ask7:
  10063. description: 卖7
  10064. type: number
  10065. ask8:
  10066. description: 卖8
  10067. type: number
  10068. ask9:
  10069. description: 卖9
  10070. type: number
  10071. ask10:
  10072. description: 卖10
  10073. type: number
  10074. askorderid:
  10075. description: 卖单号1
  10076. type: integer
  10077. askorderid2:
  10078. description: 卖单号2
  10079. type: integer
  10080. askorderid3:
  10081. description: 卖单号3
  10082. type: integer
  10083. askorderid4:
  10084. description: 卖单号4
  10085. type: integer
  10086. askorderid5:
  10087. description: 卖单号5
  10088. type: integer
  10089. askordervolume:
  10090. description: 卖单量1
  10091. type: integer
  10092. askordervolume2:
  10093. description: 卖单量2
  10094. type: integer
  10095. askordervolume3:
  10096. description: 卖单量3
  10097. type: integer
  10098. askordervolume4:
  10099. description: 卖单量4
  10100. type: integer
  10101. askordervolume5:
  10102. description: 卖单量5
  10103. type: integer
  10104. askordervolume6:
  10105. description: 卖单量6
  10106. type: integer
  10107. askordervolume7:
  10108. description: 卖单量7
  10109. type: integer
  10110. askordervolume8:
  10111. description: 卖单量8
  10112. type: integer
  10113. askordervolume9:
  10114. description: 卖单量9
  10115. type: integer
  10116. askordervolume10:
  10117. description: 卖单量10
  10118. type: integer
  10119. askqueueinfo:
  10120. description: 大利市卖港股用
  10121. type: string
  10122. askvolume:
  10123. description: 卖量1
  10124. type: integer
  10125. askvolume2:
  10126. description: 卖量2
  10127. type: integer
  10128. askvolume3:
  10129. description: 卖量3
  10130. type: integer
  10131. askvolume4:
  10132. description: 卖量4
  10133. type: integer
  10134. askvolume5:
  10135. description: 卖量5
  10136. type: integer
  10137. askvolume6:
  10138. description: 卖量6
  10139. type: integer
  10140. askvolume7:
  10141. description: 卖量7
  10142. type: integer
  10143. askvolume8:
  10144. description: 卖量8
  10145. type: integer
  10146. askvolume9:
  10147. description: 卖量9
  10148. type: integer
  10149. askvolume10:
  10150. description: 卖量10
  10151. type: integer
  10152. averageprice:
  10153. description: 均价
  10154. type: number
  10155. bid:
  10156. description: 买1
  10157. type: number
  10158. bid2:
  10159. description: 买2
  10160. type: number
  10161. bid3:
  10162. description: 买3
  10163. type: number
  10164. bid4:
  10165. description: 买4
  10166. type: number
  10167. bid5:
  10168. description: 买5
  10169. type: number
  10170. bid6:
  10171. description: 买6
  10172. type: number
  10173. bid7:
  10174. description: 买7
  10175. type: number
  10176. bid8:
  10177. description: 买8
  10178. type: number
  10179. bid9:
  10180. description: 买9
  10181. type: number
  10182. bid10:
  10183. description: 买10
  10184. type: number
  10185. bidorderid:
  10186. description: 买单号1
  10187. type: integer
  10188. bidorderid2:
  10189. description: 买单号2
  10190. type: integer
  10191. bidorderid3:
  10192. description: 买单号3
  10193. type: integer
  10194. bidorderid4:
  10195. description: 买单号4
  10196. type: integer
  10197. bidorderid5:
  10198. description: 买单号5
  10199. type: integer
  10200. bidordervolume:
  10201. description: 买单量1
  10202. type: integer
  10203. bidordervolume2:
  10204. description: 买单量2
  10205. type: integer
  10206. bidordervolume3:
  10207. description: 买单量3
  10208. type: integer
  10209. bidordervolume4:
  10210. description: 买单量4
  10211. type: integer
  10212. bidordervolume5:
  10213. description: 买单量5
  10214. type: integer
  10215. bidordervolume6:
  10216. description: 买单量6
  10217. type: integer
  10218. bidordervolume7:
  10219. description: 买单量7
  10220. type: integer
  10221. bidordervolume8:
  10222. description: 买单量8
  10223. type: integer
  10224. bidordervolume9:
  10225. description: 买单量9
  10226. type: integer
  10227. bidordervolume10:
  10228. description: 买单量10
  10229. type: integer
  10230. bidqueueinfo:
  10231. description: 大利市买港股用
  10232. type: string
  10233. bidvolume:
  10234. description: 买量1
  10235. type: integer
  10236. bidvolume2:
  10237. description: 买量2
  10238. type: integer
  10239. bidvolume3:
  10240. description: 买量3
  10241. type: integer
  10242. bidvolume4:
  10243. description: 买量4
  10244. type: integer
  10245. bidvolume5:
  10246. description: 买量5
  10247. type: integer
  10248. bidvolume6:
  10249. description: 买量6
  10250. type: integer
  10251. bidvolume7:
  10252. description: 买量7
  10253. type: integer
  10254. bidvolume8:
  10255. description: 买量8
  10256. type: integer
  10257. bidvolume9:
  10258. description: 买量9
  10259. type: integer
  10260. bidvolume10:
  10261. description: 买量10
  10262. type: integer
  10263. calloptionpremiums:
  10264. description: 认购期权1
  10265. type: integer
  10266. calloptionpremiums2:
  10267. description: 认购期权2
  10268. type: integer
  10269. calloptionpremiums3:
  10270. description: 认购期权3
  10271. type: integer
  10272. calloptionpremiums4:
  10273. description: 认购期权4
  10274. type: integer
  10275. calloptionpremiums5:
  10276. description: 认购期权5
  10277. type: integer
  10278. cleartime:
  10279. description: 清盘时间
  10280. type: integer
  10281. exchangecode:
  10282. description: 交易所代码
  10283. type: integer
  10284. exchangedate:
  10285. description: 交易日
  10286. type: integer
  10287. goodscode:
  10288. description: 商品代码
  10289. type: string
  10290. grepmarketprice:
  10291. description: 暗盘价 港股专用
  10292. type: number
  10293. highest:
  10294. description: 最高价
  10295. type: number
  10296. holdincrement:
  10297. description: 单笔持仓
  10298. type: integer
  10299. holdvolume:
  10300. description: 持仓
  10301. type: integer
  10302. iep:
  10303. description: 平衡价 港股专用
  10304. type: number
  10305. iev:
  10306. description: 平衡量 港股专用
  10307. type: number
  10308. inventory:
  10309. description: 库存
  10310. type: integer
  10311. iscleared:
  10312. description: 是否清盘标志
  10313. type: integer
  10314. issettled:
  10315. description: 是否结算标志
  10316. type: integer
  10317. last:
  10318. description: 最新价
  10319. type: number
  10320. lastlot:
  10321. description: 最新成交手数
  10322. type: integer
  10323. lasttime:
  10324. description: 行情时间(只有现价变化行情时间才变化)
  10325. type: string
  10326. lastturnover:
  10327. description: 最新成交金额
  10328. type: number
  10329. lastvolume:
  10330. description: 最新成交量
  10331. type: integer
  10332. limitdown:
  10333. description: 跌停价
  10334. type: number
  10335. limitup:
  10336. description: 涨停价
  10337. type: number
  10338. lowest:
  10339. description: 最低价
  10340. type: number
  10341. nontotalholdervolume:
  10342. description: 非交易持仓量
  10343. type: integer
  10344. nontotallot:
  10345. description: 非交易总手数
  10346. type: integer
  10347. nontotalturnover:
  10348. description: 非交易总金额
  10349. type: integer
  10350. nontotalvolume:
  10351. description: 非交易总量
  10352. type: integer
  10353. opened:
  10354. description: 开盘价
  10355. type: number
  10356. opentime:
  10357. description: 开盘时间
  10358. type: string
  10359. orderid:
  10360. description: 序号
  10361. type: integer
  10362. preclose:
  10363. description: 昨收
  10364. type: number
  10365. preholdvolume:
  10366. description: 昨持仓
  10367. type: integer
  10368. presettle:
  10369. description: 昨结价
  10370. type: number
  10371. publictradetype:
  10372. description: 公共交易标志类型 港股专用
  10373. type: string
  10374. putoptionpremiums:
  10375. description: 认沽期权1
  10376. type: integer
  10377. putoptionpremiums2:
  10378. description: 认沽期权2
  10379. type: integer
  10380. putoptionpremiums3:
  10381. description: 认沽期权3
  10382. type: integer
  10383. putoptionpremiums4:
  10384. description: 认沽期权4
  10385. type: integer
  10386. putoptionpremiums5:
  10387. description: 认沽期权5
  10388. type: integer
  10389. settle:
  10390. description: 结算价
  10391. type: number
  10392. strikeprice:
  10393. description: 发行价
  10394. type: number
  10395. totalaskvolume:
  10396. description: 内盘
  10397. type: integer
  10398. totalbidvolume:
  10399. description: 外盘
  10400. type: integer
  10401. totallot:
  10402. description: 总手数
  10403. type: integer
  10404. totalturnover:
  10405. description: 总金额
  10406. type: number
  10407. totalvolume:
  10408. description: 总量
  10409. type: integer
  10410. utclasttime:
  10411. description: utc的行情时间
  10412. type: string
  10413. type: object
  10414. quote.QueryTSDataRsp:
  10415. properties:
  10416. Count:
  10417. description: 交易日应有数据个数
  10418. type: integer
  10419. decimalPlace:
  10420. description: 小数位
  10421. type: integer
  10422. endTime:
  10423. description: 结束时间
  10424. type: string
  10425. goodsCode:
  10426. description: 商品代码
  10427. type: string
  10428. historyDatas:
  10429. description: 历史数据
  10430. items:
  10431. $ref: '#/definitions/quote.HistoryData'
  10432. type: array
  10433. outGoodsCode:
  10434. description: 外部商品代码
  10435. type: string
  10436. preSettle:
  10437. description: 昨结价
  10438. type: number
  10439. runSteps:
  10440. description: 交易日开休市计划
  10441. items:
  10442. $ref: '#/definitions/quote.TSDataRunStep'
  10443. type: array
  10444. startTime:
  10445. description: 开始时间
  10446. type: string
  10447. tradeDate:
  10448. description: 交易日
  10449. type: string
  10450. type: object
  10451. quote.TSDataRunStep:
  10452. properties:
  10453. end:
  10454. description: 真实结束时间
  10455. type: string
  10456. endflag:
  10457. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  10458. type: integer
  10459. endtime:
  10460. description: 结束时间(HH:mm)
  10461. type: string
  10462. endweekday:
  10463. description: 结束周几
  10464. type: integer
  10465. groupid:
  10466. description: 分组ID
  10467. type: integer
  10468. runstep:
  10469. description: 运行阶段 - 2:连续交易
  10470. type: integer
  10471. sectionid:
  10472. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  10473. 结束时间=结算时间 结束周几=结算周几
  10474. type: integer
  10475. start:
  10476. description: 真实开始时间
  10477. type: string
  10478. startflag:
  10479. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  10480. type: integer
  10481. starttime:
  10482. description: 起始时间(HH:mm)
  10483. type: string
  10484. startweekday:
  10485. description: 起始周几
  10486. type: integer
  10487. tradeweekday:
  10488. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  10489. type: integer
  10490. type: object
  10491. szdz.QueryConvertLogRsp:
  10492. properties:
  10493. accountid:
  10494. description: 资金账户ID
  10495. type: integer
  10496. clientticket:
  10497. description: 客户端流水号
  10498. type: string
  10499. converttype:
  10500. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  10501. type: integer
  10502. createtime:
  10503. description: 记账时间
  10504. type: string
  10505. daymaxvalue:
  10506. description: 配置当日最大转入限制
  10507. type: number
  10508. daymaxvalue2:
  10509. description: 配置当日最大转入限制(转入)
  10510. type: number
  10511. goodscode:
  10512. description: 商品代码
  10513. type: string
  10514. goodsname:
  10515. description: 商品名称
  10516. type: string
  10517. handlestatus:
  10518. description: 处理状态
  10519. type: integer
  10520. innergoodsid:
  10521. description: 内部商品ID
  10522. type: integer
  10523. inratio:
  10524. description: 配置转入比值
  10525. type: integer
  10526. invalue:
  10527. description: 目标值
  10528. type: number
  10529. logid:
  10530. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10531. type: integer
  10532. mobile:
  10533. description: 手机号码(加密存储)
  10534. type: string
  10535. outergoodscode:
  10536. description: 外部商品代码[JD\PD]
  10537. type: string
  10538. outratio:
  10539. description: 配置转出比值
  10540. type: integer
  10541. outvalue:
  10542. description: 源值
  10543. type: number
  10544. pddecimalplace:
  10545. description: PD小数位
  10546. type: integer
  10547. qty:
  10548. description: 数量
  10549. type: string
  10550. remark:
  10551. description: 备注
  10552. type: string
  10553. sessionid:
  10554. description: 会话ID
  10555. type: integer
  10556. timemaxvalue:
  10557. description: 配置单次最大转入限制
  10558. type: number
  10559. timemaxvalue2:
  10560. description: 配置单次最大转入限制(转入)
  10561. type: number
  10562. timeminvalue:
  10563. description: 配置单次最小数量限制
  10564. type: number
  10565. timeminvalue2:
  10566. description: 配置单次最小数量限制(转入)
  10567. type: number
  10568. tradedate:
  10569. description: 交易日(yyyyMMdd)
  10570. type: string
  10571. userid:
  10572. description: 用户ID
  10573. type: integer
  10574. required:
  10575. - logid
  10576. type: object
  10577. szdz.QueryGoodsPickupRsp:
  10578. properties:
  10579. accountid:
  10580. description: 账户ID
  10581. type: integer
  10582. address:
  10583. description: 提货人详细地址
  10584. type: string
  10585. auditer:
  10586. description: 审核人
  10587. type: integer
  10588. audittime:
  10589. description: 审核时间
  10590. type: string
  10591. cardnum:
  10592. description: 提货人证件号码
  10593. type: string
  10594. cardtypeid:
  10595. description: 提货人证件类型
  10596. type: integer
  10597. checkremark:
  10598. description: 审核备注
  10599. type: string
  10600. goodscode:
  10601. description: 商品代码
  10602. type: string
  10603. goodsid:
  10604. description: 商品ID
  10605. type: integer
  10606. goodsname:
  10607. description: 商品名称
  10608. type: string
  10609. handlestatus:
  10610. description: 处理状态
  10611. type: integer
  10612. marketid:
  10613. description: 市场ID
  10614. type: integer
  10615. phonenum:
  10616. description: 提货人联系方式
  10617. type: string
  10618. qty:
  10619. description: 提货数量
  10620. type: number
  10621. recivername:
  10622. description: 提货人姓名
  10623. type: string
  10624. reqtime:
  10625. description: 更新时间
  10626. type: string
  10627. takemode:
  10628. description: 提货方式 - 2:自提 3:配送
  10629. type: integer
  10630. takeorderid:
  10631. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  10632. type: string
  10633. takeorderstatus:
  10634. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  10635. type: integer
  10636. takeremark:
  10637. description: 提货备注
  10638. type: string
  10639. tradedate:
  10640. description: 交易日(yyyyMMdd)
  10641. type: string
  10642. userid:
  10643. description: 用户ID
  10644. type: integer
  10645. required:
  10646. - takeorderid
  10647. type: object
  10648. szdz.QueryRecieptOrderRsp:
  10649. properties:
  10650. accountName:
  10651. description: 所属账号名称(已脱敏)
  10652. type: string
  10653. accountid:
  10654. description: 资金账号
  10655. type: integer
  10656. buyorsell:
  10657. description: 方向 - 0:买 1:卖
  10658. type: integer
  10659. enableqty:
  10660. description: 可摘数量
  10661. type: integer
  10662. goodscode:
  10663. description: 商品代码
  10664. type: string
  10665. goodsid:
  10666. description: 商品ID
  10667. type: integer
  10668. goodsname:
  10669. description: 商品名称
  10670. type: string
  10671. orderid:
  10672. description: 委托单号
  10673. type: string
  10674. orderprice:
  10675. description: 委托价格
  10676. type: number
  10677. ordertime:
  10678. description: 委托时间
  10679. type: string
  10680. tradedate:
  10681. description: 交易日(yyyyMMdd)
  10682. type: string
  10683. required:
  10684. - ordertime
  10685. type: object
  10686. szdz.QuerySZDZTradePositionRsp:
  10687. properties:
  10688. accountid:
  10689. description: 账号Id
  10690. type: integer
  10691. agreeunit:
  10692. description: 合约单位
  10693. type: number
  10694. averageprice:
  10695. description: 持仓均价
  10696. type: number
  10697. buyorsell:
  10698. description: 方向 - 0:买 1:卖
  10699. type: integer
  10700. closetotalqty:
  10701. description: 平仓总数量
  10702. type: integer
  10703. curholderamount:
  10704. description: 当前持仓总金额
  10705. type: number
  10706. curpositionqty:
  10707. description: 当前持仓总数量
  10708. type: integer
  10709. currencyid:
  10710. description: 报价货币ID
  10711. type: integer
  10712. curtdposition:
  10713. description: 期末今日头寸
  10714. type: integer
  10715. decimalplace:
  10716. description: 报价小数位
  10717. type: integer
  10718. enableqty:
  10719. description: 可用量
  10720. type: integer
  10721. fretdposition:
  10722. description: 冻结今日头寸
  10723. type: integer
  10724. frozenqty:
  10725. description: 持仓冻结数量
  10726. type: integer
  10727. goodscode:
  10728. description: 商品代码(内部)
  10729. type: string
  10730. goodsid:
  10731. description: 商品Id
  10732. type: integer
  10733. goodsname:
  10734. description: 商品名称
  10735. type: string
  10736. goodunit:
  10737. description: 报价单位
  10738. type: string
  10739. goodunitid:
  10740. description: 报价单位ID
  10741. type: integer
  10742. holderamount:
  10743. description: 期初持仓总金额
  10744. type: number
  10745. marketid:
  10746. description: 市场ID
  10747. type: integer
  10748. openreqqty:
  10749. description: 开仓申请数量
  10750. type: integer
  10751. opentotalqty:
  10752. description: 开仓总数量
  10753. type: integer
  10754. otherfrozenqty:
  10755. description: 持仓其他冻结数量(交割冻结)
  10756. type: integer
  10757. positionqty:
  10758. description: 期初持仓数量
  10759. type: integer
  10760. szdz3freezqty:
  10761. description: 尚志大宗转换冻结总数量
  10762. type: integer
  10763. tnqty:
  10764. description: T+N冻结总量
  10765. type: integer
  10766. tnusedqty:
  10767. description: T+N使用量
  10768. type: integer
  10769. trademode:
  10770. description: 交易模式
  10771. type: integer
  10772. usedmargin:
  10773. description: 占用保证金
  10774. type: number
  10775. type: object
  10776. taaccount.QueryAmountLogRsp:
  10777. properties:
  10778. OPERATETYPENAME:
  10779. description: 资金操作类型名称
  10780. type: string
  10781. accountid:
  10782. description: 资金账户ID
  10783. type: integer
  10784. agoodscode:
  10785. description: 竞拍商品代码
  10786. type: string
  10787. agoodsname:
  10788. description: 竞拍商品名称
  10789. type: string
  10790. amount:
  10791. description: 资金金额
  10792. type: number
  10793. amountadjusttype:
  10794. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  10795. type: integer
  10796. autoid:
  10797. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  10798. type: integer
  10799. balance:
  10800. description: 期初余额
  10801. type: number
  10802. businesscode:
  10803. description: 业务编号
  10804. type: integer
  10805. createtime:
  10806. description: 发生时间
  10807. type: string
  10808. currencyid:
  10809. description: 币种ID
  10810. type: integer
  10811. currentbalance:
  10812. description: 期末余额(变动后金额)
  10813. type: number
  10814. dgoodscode:
  10815. description: 交割商品代码
  10816. type: string
  10817. dgoodsname:
  10818. description: 交割商品名称
  10819. type: string
  10820. goodscode:
  10821. description: 商品代码
  10822. type: string
  10823. goodsid:
  10824. description: 商品ID
  10825. type: integer
  10826. goodsname:
  10827. description: 商品名称
  10828. type: string
  10829. marketid:
  10830. description: 市场ID
  10831. type: integer
  10832. marketname:
  10833. description: 市场名称
  10834. type: string
  10835. moneyticket:
  10836. description: 资金流水号:银行端流水号
  10837. type: integer
  10838. operatetype:
  10839. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  10840. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  10841. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  10842. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  10843. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  10844. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  10845. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  10846. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  10847. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  10848. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  10849. type: integer
  10850. relationorderid:
  10851. description: 关联单号
  10852. type: string
  10853. remark:
  10854. description: 备注
  10855. type: string
  10856. trademode:
  10857. description: 交易模式
  10858. type: integer
  10859. required:
  10860. - accountid
  10861. - amount
  10862. - amountadjusttype
  10863. - autoid
  10864. - balance
  10865. - createtime
  10866. - currentbalance
  10867. - operatetype
  10868. type: object
  10869. taaccount.QueryHisAmountLogRsp:
  10870. properties:
  10871. OPERATETYPENAME:
  10872. description: 资金操作类型名称
  10873. type: string
  10874. accountid:
  10875. description: 资金账户ID
  10876. type: integer
  10877. agoodscode:
  10878. description: 竞拍商品代码
  10879. type: string
  10880. agoodsname:
  10881. description: 竞拍商品名称
  10882. type: string
  10883. amount:
  10884. description: 资金金额
  10885. type: number
  10886. amountadjusttype:
  10887. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  10888. type: integer
  10889. autoid:
  10890. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  10891. type: integer
  10892. balance:
  10893. description: 期初余额
  10894. type: number
  10895. businesscode:
  10896. description: 业务编号
  10897. type: integer
  10898. createtime:
  10899. description: 发生时间
  10900. type: string
  10901. currencyid:
  10902. description: 币种ID
  10903. type: integer
  10904. currentbalance:
  10905. description: 期末余额(变动后金额)
  10906. type: number
  10907. dgoodscode:
  10908. description: 交割商品代码
  10909. type: string
  10910. dgoodsname:
  10911. description: 交割商品名称
  10912. type: string
  10913. goodscode:
  10914. description: 商品代码
  10915. type: string
  10916. goodsid:
  10917. description: 商品ID
  10918. type: integer
  10919. goodsname:
  10920. description: 商品名称
  10921. type: string
  10922. histradedate:
  10923. description: 历史交易日
  10924. type: string
  10925. isvaliddata:
  10926. description: 是否有效 - 0:无效 1:有效
  10927. type: integer
  10928. marketid:
  10929. description: 市场ID
  10930. type: integer
  10931. marketname:
  10932. description: 市场名称
  10933. type: string
  10934. moneyticket:
  10935. description: 资金流水号:银行端流水号
  10936. type: integer
  10937. operatetype:
  10938. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  10939. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  10940. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  10941. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  10942. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  10943. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  10944. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  10945. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  10946. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  10947. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  10948. type: integer
  10949. relationorderid:
  10950. description: 关联单号
  10951. type: string
  10952. remark:
  10953. description: 备注
  10954. type: string
  10955. trademode:
  10956. description: 交易模式
  10957. type: integer
  10958. required:
  10959. - accountid
  10960. - amount
  10961. - amountadjusttype
  10962. - autoid
  10963. - balance
  10964. - createtime
  10965. - currentbalance
  10966. - histradedate
  10967. - operatetype
  10968. type: object
  10969. trade.QueryRecieptOrderRsp:
  10970. properties:
  10971. accountName:
  10972. description: 所属账号名称(已脱敏)
  10973. type: string
  10974. accountid:
  10975. description: 资金账号
  10976. type: integer
  10977. buyorsell:
  10978. description: 方向 - 0:买 1:卖
  10979. type: integer
  10980. enableqty:
  10981. description: 可摘数量
  10982. type: integer
  10983. goodscode:
  10984. description: 商品代码
  10985. type: string
  10986. goodsid:
  10987. description: 商品ID
  10988. type: integer
  10989. goodsname:
  10990. description: 商品名称
  10991. type: string
  10992. orderid:
  10993. description: 委托单号
  10994. type: string
  10995. orderprice:
  10996. description: 委托价格
  10997. type: number
  10998. ordertime:
  10999. description: 委托时间
  11000. type: string
  11001. tradedate:
  11002. description: 交易日(yyyyMMdd)
  11003. type: string
  11004. required:
  11005. - ordertime
  11006. type: object
  11007. user.LoginQueryRsp:
  11008. properties:
  11009. externalExchanges:
  11010. description: 外部交易所
  11011. items:
  11012. $ref: '#/definitions/models.Externalexchange'
  11013. type: array
  11014. goodsgroups:
  11015. description: 商品组
  11016. items:
  11017. $ref: '#/definitions/models.Goodsgroup'
  11018. type: array
  11019. loginAccount:
  11020. $ref: '#/definitions/models.Loginaccount'
  11021. description: 登录账号
  11022. type: object
  11023. markets:
  11024. description: 市场
  11025. items:
  11026. $ref: '#/definitions/models.Market'
  11027. type: array
  11028. systemParams:
  11029. description: 系统参数
  11030. items:
  11031. $ref: '#/definitions/models.Systemparam'
  11032. type: array
  11033. userAccount:
  11034. $ref: '#/definitions/models.Useraccount'
  11035. description: 用户账号
  11036. type: object
  11037. userInfo:
  11038. $ref: '#/definitions/models.Userinfo'
  11039. description: 用户信息
  11040. type: object
  11041. username:
  11042. description: 用户姓名
  11043. type: string
  11044. type: object
  11045. info:
  11046. contact: {}
  11047. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  11048. license: {}
  11049. termsOfService: http://muchinfo.cn
  11050. title: MTP2.0 查询服务 API
  11051. version: "1.0"
  11052. paths:
  11053. /CPTrade/QueryCPTradeMyBidInfos:
  11054. get:
  11055. parameters:
  11056. - description: 资金账户
  11057. in: query
  11058. name: accountid
  11059. required: true
  11060. type: integer
  11061. - description: 预售市场ID
  11062. in: query
  11063. name: marketid
  11064. type: integer
  11065. - description: 预售商品ID
  11066. in: query
  11067. name: goodsid
  11068. type: integer
  11069. produces:
  11070. - application/json
  11071. responses:
  11072. "200":
  11073. description: OK
  11074. schema:
  11075. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  11076. "500":
  11077. description: Internal Server Error
  11078. schema:
  11079. $ref: '#/definitions/app.Response'
  11080. security:
  11081. - ApiKeyAuth: []
  11082. summary: 查询产能预售我的出价信息
  11083. tags:
  11084. - 产能预售
  11085. /CPTrade/QueryCPTradeOrderDetail:
  11086. get:
  11087. parameters:
  11088. - description: 预售商品ID
  11089. in: query
  11090. name: goodsid
  11091. type: integer
  11092. - description: 预售市场ID
  11093. in: query
  11094. name: marketid
  11095. type: integer
  11096. - description: 预售商品ID列表 - 格式:1,2,3
  11097. in: query
  11098. name: goodsids
  11099. type: string
  11100. produces:
  11101. - application/json
  11102. responses:
  11103. "200":
  11104. description: OK
  11105. schema:
  11106. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  11107. "500":
  11108. description: Internal Server Error
  11109. schema:
  11110. $ref: '#/definitions/app.Response'
  11111. security:
  11112. - ApiKeyAuth: []
  11113. summary: 查询产能预售委托单信息
  11114. tags:
  11115. - 产能预售
  11116. /CPTrade/QueryMyCPTradeGoods:
  11117. get:
  11118. parameters:
  11119. - description: 资金账户
  11120. in: query
  11121. name: accountid
  11122. required: true
  11123. type: integer
  11124. produces:
  11125. - application/json
  11126. responses:
  11127. "200":
  11128. description: OK
  11129. schema:
  11130. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  11131. "500":
  11132. description: Internal Server Error
  11133. schema:
  11134. $ref: '#/definitions/app.Response'
  11135. security:
  11136. - ApiKeyAuth: []
  11137. summary: 查询我的预售信息
  11138. tags:
  11139. - 产能预售
  11140. /CPTrade/QueryPositionCancel:
  11141. get:
  11142. parameters:
  11143. - description: 账户ID
  11144. in: query
  11145. name: userid
  11146. required: true
  11147. type: integer
  11148. - description: 注销ID
  11149. in: query
  11150. name: cancelid
  11151. type: integer
  11152. - description: 资金账户ID
  11153. in: query
  11154. name: accountid
  11155. type: integer
  11156. produces:
  11157. - application/json
  11158. responses:
  11159. "200":
  11160. description: OK
  11161. schema:
  11162. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  11163. "500":
  11164. description: Internal Server Error
  11165. schema:
  11166. $ref: '#/definitions/app.Response'
  11167. security:
  11168. - ApiKeyAuth: []
  11169. summary: 查询远期订单注销申请信息
  11170. tags:
  11171. - 产能预售
  11172. /CPTrade/QueryPreasleApply:
  11173. get:
  11174. parameters:
  11175. - description: 账户ID
  11176. in: query
  11177. name: userid
  11178. required: true
  11179. type: integer
  11180. - description: 申请ID
  11181. in: query
  11182. name: applyid
  11183. type: integer
  11184. - description: 资金账户ID
  11185. in: query
  11186. name: accountid
  11187. type: integer
  11188. produces:
  11189. - application/json
  11190. responses:
  11191. "200":
  11192. description: OK
  11193. schema:
  11194. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  11195. "500":
  11196. description: Internal Server Error
  11197. schema:
  11198. $ref: '#/definitions/app.Response'
  11199. security:
  11200. - ApiKeyAuth: []
  11201. summary: 查询产能预售申请信息
  11202. tags:
  11203. - 产能预售
  11204. /CPTrade/QueryPresaleGoodsEx:
  11205. get:
  11206. parameters:
  11207. - description: 预售商品ID
  11208. in: query
  11209. name: goodsid
  11210. type: integer
  11211. - description: 预售市场ID
  11212. in: query
  11213. name: marketid
  11214. type: integer
  11215. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  11216. in: query
  11217. name: presalemode
  11218. type: integer
  11219. - description: 预售商品ID列表 - 格式:1,2,3
  11220. in: query
  11221. name: goodsids
  11222. type: string
  11223. - description: 预售商品代码
  11224. in: query
  11225. name: goodscode
  11226. type: string
  11227. produces:
  11228. - application/json
  11229. responses:
  11230. "200":
  11231. description: OK
  11232. schema:
  11233. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  11234. "500":
  11235. description: Internal Server Error
  11236. schema:
  11237. $ref: '#/definitions/app.Response'
  11238. security:
  11239. - ApiKeyAuth: []
  11240. summary: 查询产能预售商品扩展信息
  11241. tags:
  11242. - 产能预售
  11243. /CPTrade/QueryUserGoodsData:
  11244. get:
  11245. parameters:
  11246. - description: 资金账户ID
  11247. in: query
  11248. name: accountid
  11249. required: true
  11250. type: integer
  11251. produces:
  11252. - application/json
  11253. responses:
  11254. "200":
  11255. description: OK
  11256. schema:
  11257. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  11258. "500":
  11259. description: Internal Server Error
  11260. schema:
  11261. $ref: '#/definitions/app.Response'
  11262. security:
  11263. - ApiKeyAuth: []
  11264. summary: 查询远期订单信息
  11265. tags:
  11266. - 产能预售
  11267. /Common/GetAllEnums:
  11268. get:
  11269. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  11270. parameters:
  11271. - description: 起始自增ID
  11272. in: query
  11273. name: autoid
  11274. type: integer
  11275. produces:
  11276. - application/json
  11277. responses:
  11278. "200":
  11279. description: OK
  11280. schema:
  11281. $ref: '#/definitions/models.Enumdicitem'
  11282. "500":
  11283. description: Internal Server Error
  11284. schema:
  11285. $ref: '#/definitions/app.Response'
  11286. summary: 获取所有枚举信息
  11287. tags:
  11288. - 通用服务
  11289. /Common/GetClientMenus:
  11290. get:
  11291. parameters:
  11292. - description: 登录账号
  11293. in: query
  11294. name: loginID
  11295. required: true
  11296. type: integer
  11297. - description: 终端类型,0:PC 1:Mobile
  11298. in: query
  11299. name: clientType
  11300. type: integer
  11301. produces:
  11302. - application/json
  11303. responses:
  11304. "200":
  11305. description: OK
  11306. schema:
  11307. items:
  11308. $ref: '#/definitions/common.ClientMenu'
  11309. type: array
  11310. "500":
  11311. description: Internal Server Error
  11312. schema:
  11313. $ref: '#/definitions/app.Response'
  11314. security:
  11315. - ApiKeyAuth: []
  11316. summary: 获取交易端菜单
  11317. tags:
  11318. - 通用服务
  11319. /Common/GetDivisions:
  11320. get:
  11321. produces:
  11322. - application/json
  11323. responses:
  11324. "200":
  11325. description: OK
  11326. schema:
  11327. $ref: '#/definitions/models.Division'
  11328. "500":
  11329. description: Internal Server Error
  11330. schema:
  11331. $ref: '#/definitions/app.Response'
  11332. summary: 查询区域信息
  11333. tags:
  11334. - 通用服务
  11335. /Common/GetServerTime:
  11336. get:
  11337. produces:
  11338. - application/json
  11339. responses:
  11340. "200":
  11341. description: OK
  11342. schema:
  11343. $ref: '#/definitions/app.Response'
  11344. "500":
  11345. description: Internal Server Error
  11346. schema:
  11347. $ref: '#/definitions/app.Response'
  11348. summary: 获取服务器时间
  11349. tags:
  11350. - 通用服务
  11351. /Common/NoticeReaded:
  11352. post:
  11353. parameters:
  11354. - description: 登录账号
  11355. in: query
  11356. name: loginID
  11357. required: true
  11358. type: integer
  11359. - description: 通知公告ID
  11360. in: query
  11361. name: noticeID
  11362. required: true
  11363. type: integer
  11364. produces:
  11365. - application/json
  11366. responses:
  11367. "200":
  11368. description: OK
  11369. schema:
  11370. $ref: '#/definitions/app.Response'
  11371. "500":
  11372. description: Internal Server Error
  11373. schema:
  11374. $ref: '#/definitions/app.Response'
  11375. security:
  11376. - ApiKeyAuth: []
  11377. summary: 通知公告设置已读请求
  11378. tags:
  11379. - 通用服务
  11380. /Common/QueryErrorInfos:
  11381. get:
  11382. description: 如果传入rowNumber,则返回此rowNumber后的数据
  11383. parameters:
  11384. - description: 起始行号前索引
  11385. in: query
  11386. name: rowNumber
  11387. type: string
  11388. produces:
  11389. - application/json
  11390. responses:
  11391. "200":
  11392. description: OK
  11393. schema:
  11394. $ref: '#/definitions/models.QueryErrorInfosRsp'
  11395. "500":
  11396. description: Internal Server Error
  11397. schema:
  11398. $ref: '#/definitions/app.Response'
  11399. summary: 获取数据库错误信息
  11400. tags:
  11401. - 通用服务
  11402. /Common/QueryImageConfigs:
  11403. get:
  11404. parameters:
  11405. - description: 类型 - 1:App首页轮播 2:我的
  11406. in: query
  11407. name: imageType
  11408. type: integer
  11409. produces:
  11410. - application/json
  11411. responses:
  11412. "200":
  11413. description: OK
  11414. schema:
  11415. $ref: '#/definitions/common.QueryImageConfigsRsp'
  11416. "500":
  11417. description: Internal Server Error
  11418. schema:
  11419. $ref: '#/definitions/app.Response'
  11420. summary: 查询轮播图配置信息
  11421. tags:
  11422. - 通用服务
  11423. /Common/QueryNotice:
  11424. get:
  11425. parameters:
  11426. - description: 页码
  11427. in: query
  11428. name: page
  11429. type: integer
  11430. - description: 每页条数
  11431. in: query
  11432. name: pagesize
  11433. type: integer
  11434. - description: 登录账号
  11435. in: query
  11436. name: loginID
  11437. required: true
  11438. type: integer
  11439. - description: 消息类型 - 1:公告通知 2:系统消息
  11440. in: query
  11441. name: msgType
  11442. type: integer
  11443. - description: 是否只获取未读信息
  11444. in: query
  11445. name: onlyUnRead
  11446. type: boolean
  11447. - description: 自增ID,传入后会返回这个ID后面的记录
  11448. in: query
  11449. name: lastID
  11450. type: integer
  11451. produces:
  11452. - application/json
  11453. responses:
  11454. "200":
  11455. description: OK
  11456. schema:
  11457. $ref: '#/definitions/common.QueryNoticeRsp'
  11458. "500":
  11459. description: Internal Server Error
  11460. schema:
  11461. $ref: '#/definitions/app.Response'
  11462. security:
  11463. - ApiKeyAuth: []
  11464. summary: 通知公告系统消息查询
  11465. tags:
  11466. - 通用服务
  11467. /Common/QueryProvincesAndCities:
  11468. get:
  11469. parameters:
  11470. - description: 省ID
  11471. in: query
  11472. name: provinceID
  11473. type: integer
  11474. produces:
  11475. - application/json
  11476. responses:
  11477. "200":
  11478. description: OK
  11479. schema:
  11480. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  11481. "500":
  11482. description: Internal Server Error
  11483. schema:
  11484. $ref: '#/definitions/app.Response'
  11485. summary: 查询省市信息(不包括区)
  11486. tags:
  11487. - 通用服务
  11488. /Common/QueryTableDefine:
  11489. get:
  11490. parameters:
  11491. - description: 表key
  11492. in: query
  11493. name: tableKey
  11494. type: string
  11495. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  11496. in: query
  11497. name: tableType
  11498. type: integer
  11499. produces:
  11500. - application/json
  11501. responses:
  11502. "200":
  11503. description: OK
  11504. schema:
  11505. $ref: '#/definitions/common.QueryTableDefineRsp'
  11506. "500":
  11507. description: Internal Server Error
  11508. schema:
  11509. $ref: '#/definitions/app.Response'
  11510. summary: 查询交易端列表头信息
  11511. tags:
  11512. - 通用服务
  11513. /Common/QueryTraderMenu:
  11514. get:
  11515. parameters:
  11516. - description: 登录账号
  11517. in: query
  11518. name: loginid
  11519. required: true
  11520. type: integer
  11521. produces:
  11522. - application/json
  11523. responses:
  11524. "200":
  11525. description: OK
  11526. schema:
  11527. $ref: '#/definitions/common.QueryTraderMenuRsp'
  11528. "500":
  11529. description: Internal Server Error
  11530. schema:
  11531. $ref: '#/definitions/app.Response'
  11532. summary: 查询交易端菜单
  11533. tags:
  11534. - 通用服务
  11535. /Delivery/QueryDeliveryRelation:
  11536. get:
  11537. parameters:
  11538. - description: 商品ID
  11539. in: query
  11540. name: goodsid
  11541. type: integer
  11542. - description: 品种ID
  11543. in: query
  11544. name: deliverygoodsid
  11545. type: integer
  11546. - description: 市场ID
  11547. in: query
  11548. name: marketid
  11549. type: integer
  11550. produces:
  11551. - application/json
  11552. responses:
  11553. "200":
  11554. description: OK
  11555. schema:
  11556. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  11557. "500":
  11558. description: Internal Server Error
  11559. schema:
  11560. $ref: '#/definitions/app.Response'
  11561. security:
  11562. - ApiKeyAuth: []
  11563. summary: 查询商品交割关系表
  11564. tags:
  11565. - 交割服务
  11566. /Ermcp/GetErmcpGoods:
  11567. get:
  11568. parameters:
  11569. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  11570. in: query
  11571. name: lastUpdateTime
  11572. type: string
  11573. produces:
  11574. - application/json
  11575. responses:
  11576. "200":
  11577. description: OK
  11578. schema:
  11579. $ref: '#/definitions/models.Goods'
  11580. "500":
  11581. description: Internal Server Error
  11582. schema:
  11583. $ref: '#/definitions/app.Response'
  11584. security:
  11585. - ApiKeyAuth: []
  11586. summary: 查询企业风管期货商品信息
  11587. tags:
  11588. - 企业风险管理(app)
  11589. /Ermcp/GetErmcpGoodsSortByPosition:
  11590. get:
  11591. parameters:
  11592. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  11593. in: query
  11594. name: sortIndex
  11595. type: string
  11596. produces:
  11597. - application/json
  11598. responses:
  11599. "200":
  11600. description: OK
  11601. schema:
  11602. $ref: '#/definitions/models.Goodssortbypreposition'
  11603. "500":
  11604. description: Internal Server Error
  11605. schema:
  11606. $ref: '#/definitions/app.Response'
  11607. security:
  11608. - ApiKeyAuth: []
  11609. summary: 查询企业风管期货主力、次主力商品信息
  11610. tags:
  11611. - 企业风险管理(app)
  11612. /Ermcp/GetErmcpOutAccountStatus:
  11613. get:
  11614. parameters:
  11615. - description: 登录账号
  11616. in: query
  11617. name: loginID
  11618. required: true
  11619. type: integer
  11620. produces:
  11621. - application/json
  11622. responses:
  11623. "200":
  11624. description: OK
  11625. schema:
  11626. $ref: '#/definitions/models.Hedgemarketopenlog'
  11627. "500":
  11628. description: Internal Server Error
  11629. schema:
  11630. $ref: '#/definitions/app.Response'
  11631. security:
  11632. - ApiKeyAuth: []
  11633. summary: 获取目标登录账号当前对冲账号在线状态
  11634. tags:
  11635. - 企业风险管理(app)
  11636. /Ermcp/GetErmcpRoleFuncMenuLists:
  11637. get:
  11638. parameters:
  11639. - description: 登录账号
  11640. in: query
  11641. name: loginID
  11642. required: true
  11643. type: integer
  11644. produces:
  11645. - application/json
  11646. responses:
  11647. "200":
  11648. description: OK
  11649. schema:
  11650. $ref: '#/definitions/models.Funcmenulist'
  11651. "500":
  11652. description: Internal Server Error
  11653. schema:
  11654. $ref: '#/definitions/app.Response'
  11655. security:
  11656. - ApiKeyAuth: []
  11657. summary: 获取企业风管终端权限
  11658. tags:
  11659. - 企业风险管理(app)
  11660. /Ermcp/QueryAccMgrBizGroupSet:
  11661. get:
  11662. parameters:
  11663. - description: 用户ID
  11664. in: query
  11665. name: userid
  11666. required: true
  11667. type: integer
  11668. - description: 现货商品id
  11669. in: query
  11670. name: deliverygoodsid
  11671. type: integer
  11672. produces:
  11673. - application/json
  11674. responses:
  11675. "200":
  11676. description: OK
  11677. schema:
  11678. items:
  11679. $ref: '#/definitions/models.ErmcpBizGroupEx'
  11680. type: array
  11681. "500":
  11682. description: Internal Server Error
  11683. schema:
  11684. $ref: '#/definitions/app.Response'
  11685. security:
  11686. - ApiKeyAuth: []
  11687. summary: 查询业务类型分组(账户管理/账户设置)
  11688. tags:
  11689. - 企业风险管理(app)
  11690. /Ermcp/QueryAccMgrLoginUser:
  11691. get:
  11692. parameters:
  11693. - description: 用户ID
  11694. in: query
  11695. name: userid
  11696. required: true
  11697. type: integer
  11698. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  11699. in: query
  11700. name: querytype
  11701. required: true
  11702. type: integer
  11703. produces:
  11704. - application/json
  11705. responses:
  11706. "200":
  11707. description: OK
  11708. schema:
  11709. items:
  11710. $ref: '#/definitions/models.ErmcpLoginUserEx'
  11711. type: array
  11712. "500":
  11713. description: Internal Server Error
  11714. schema:
  11715. $ref: '#/definitions/app.Response'
  11716. security:
  11717. - ApiKeyAuth: []
  11718. summary: 查询账户管理登录账号(账户管理/登录账号)
  11719. tags:
  11720. - 企业风险管理(app)
  11721. /Ermcp/QueryAccMgrMainAccountInfo:
  11722. get:
  11723. parameters:
  11724. - description: 用户ID
  11725. in: query
  11726. name: userid
  11727. type: integer
  11728. - description: 主账号id
  11729. in: query
  11730. name: accountid
  11731. type: integer
  11732. produces:
  11733. - application/json
  11734. responses:
  11735. "200":
  11736. description: OK
  11737. schema:
  11738. items:
  11739. $ref: '#/definitions/models.MainAccountInfo'
  11740. type: array
  11741. "500":
  11742. description: Internal Server Error
  11743. schema:
  11744. $ref: '#/definitions/app.Response'
  11745. security:
  11746. - ApiKeyAuth: []
  11747. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  11748. tags:
  11749. - 企业风险管理(app)
  11750. /Ermcp/QueryAccMgrRole:
  11751. get:
  11752. parameters:
  11753. - description: 用户ID
  11754. in: query
  11755. name: userid
  11756. required: true
  11757. type: integer
  11758. produces:
  11759. - application/json
  11760. responses:
  11761. "200":
  11762. description: OK
  11763. schema:
  11764. items:
  11765. $ref: '#/definitions/models.ErmcpRole'
  11766. type: array
  11767. "500":
  11768. description: Internal Server Error
  11769. schema:
  11770. $ref: '#/definitions/app.Response'
  11771. security:
  11772. - ApiKeyAuth: []
  11773. summary: 查询账户管理角色设置(账户管理/角色设置)
  11774. tags:
  11775. - 企业风险管理(app)
  11776. /Ermcp/QueryAccMgrRoleMenu:
  11777. get:
  11778. parameters:
  11779. - description: 用户ID
  11780. in: query
  11781. name: userid
  11782. required: true
  11783. type: integer
  11784. - description: 角色id(可多个,逗号隔开)
  11785. in: query
  11786. name: roleid
  11787. type: string
  11788. produces:
  11789. - application/json
  11790. responses:
  11791. "200":
  11792. description: OK
  11793. schema:
  11794. items:
  11795. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  11796. type: array
  11797. "500":
  11798. description: Internal Server Error
  11799. schema:
  11800. $ref: '#/definitions/app.Response'
  11801. security:
  11802. - ApiKeyAuth: []
  11803. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  11804. tags:
  11805. - 企业风险管理(app)
  11806. /Ermcp/QueryAccMgrTaAccountInfo:
  11807. get:
  11808. parameters:
  11809. - description: 用户ID
  11810. in: query
  11811. name: userid
  11812. required: true
  11813. type: integer
  11814. - description: 账号id
  11815. in: query
  11816. name: accountid
  11817. type: integer
  11818. produces:
  11819. - application/json
  11820. responses:
  11821. "200":
  11822. description: OK
  11823. schema:
  11824. items:
  11825. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  11826. type: array
  11827. "500":
  11828. description: Internal Server Error
  11829. schema:
  11830. $ref: '#/definitions/app.Response'
  11831. security:
  11832. - ApiKeyAuth: []
  11833. summary: 查询账户管理授信(账户管理/账户设置/授信)
  11834. tags:
  11835. - 企业风险管理(app)
  11836. /Ermcp/QueryAccMgrTaaccount:
  11837. get:
  11838. parameters:
  11839. - description: 用户ID
  11840. in: query
  11841. name: userid
  11842. required: true
  11843. type: integer
  11844. produces:
  11845. - application/json
  11846. responses:
  11847. "200":
  11848. description: OK
  11849. schema:
  11850. items:
  11851. $ref: '#/definitions/models.ErmcpTaAccountEx'
  11852. type: array
  11853. "500":
  11854. description: Internal Server Error
  11855. schema:
  11856. $ref: '#/definitions/app.Response'
  11857. security:
  11858. - ApiKeyAuth: []
  11859. summary: 查询账户管理期货账号(账户管理/期货账号)
  11860. tags:
  11861. - 企业风险管理(app)
  11862. /Ermcp/QueryAvaildGoodsGroup:
  11863. get:
  11864. parameters:
  11865. - description: 所属机构ID
  11866. in: query
  11867. name: userid
  11868. required: true
  11869. type: integer
  11870. produces:
  11871. - application/json
  11872. responses:
  11873. "200":
  11874. description: OK
  11875. schema:
  11876. items:
  11877. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  11878. type: array
  11879. "500":
  11880. description: Internal Server Error
  11881. schema:
  11882. $ref: '#/definitions/app.Response'
  11883. security:
  11884. - ApiKeyAuth: []
  11885. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  11886. tags:
  11887. - 企业风险管理(app)
  11888. /Ermcp/QueryChangeLog:
  11889. get:
  11890. parameters:
  11891. - description: 合同ID
  11892. in: query
  11893. name: RelatedId
  11894. required: true
  11895. type: string
  11896. produces:
  11897. - application/json
  11898. responses:
  11899. "200":
  11900. description: OK
  11901. schema:
  11902. items:
  11903. $ref: '#/definitions/ermcp.QryOPLogRsp'
  11904. type: array
  11905. "500":
  11906. description: Internal Server Error
  11907. schema:
  11908. $ref: '#/definitions/app.Response'
  11909. security:
  11910. - ApiKeyAuth: []
  11911. summary: 查询变更记录
  11912. tags:
  11913. - 企业风险管理(app)
  11914. /Ermcp/QueryErmcpHisOrderDetails:
  11915. get:
  11916. parameters:
  11917. - description: 资金账户ID
  11918. in: query
  11919. name: accountID
  11920. required: true
  11921. type: integer
  11922. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  11923. in: query
  11924. name: startDate
  11925. type: string
  11926. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  11927. in: query
  11928. name: endDate
  11929. type: string
  11930. produces:
  11931. - application/json
  11932. responses:
  11933. "200":
  11934. description: OK
  11935. schema:
  11936. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  11937. "500":
  11938. description: Internal Server Error
  11939. schema:
  11940. $ref: '#/definitions/app.Response'
  11941. security:
  11942. - ApiKeyAuth: []
  11943. summary: 获取企业风管期货历史委托单信息
  11944. tags:
  11945. - 企业风险管理(app)
  11946. /Ermcp/QueryErmcpHisTradeDetails:
  11947. get:
  11948. parameters:
  11949. - description: 资金账户ID
  11950. in: query
  11951. name: accountID
  11952. required: true
  11953. type: integer
  11954. - description: 商品ID
  11955. in: query
  11956. name: goodsID
  11957. type: integer
  11958. - description: 买卖方向,0:买 1:卖
  11959. in: query
  11960. name: buyOrSell
  11961. type: integer
  11962. - description: 关联委托单号
  11963. in: query
  11964. name: orderID
  11965. type: integer
  11966. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  11967. in: query
  11968. name: startDate
  11969. type: string
  11970. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  11971. in: query
  11972. name: endDate
  11973. type: string
  11974. produces:
  11975. - application/json
  11976. responses:
  11977. "200":
  11978. description: OK
  11979. schema:
  11980. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  11981. "500":
  11982. description: Internal Server Error
  11983. schema:
  11984. $ref: '#/definitions/app.Response'
  11985. security:
  11986. - ApiKeyAuth: []
  11987. summary: 获取企业风管期货历史成交单信息
  11988. tags:
  11989. - 企业风险管理(app)
  11990. /Ermcp/QueryErmcpInnerHolderDetails:
  11991. get:
  11992. parameters:
  11993. - description: 资金账户ID
  11994. in: query
  11995. name: accountID
  11996. required: true
  11997. type: integer
  11998. - description: 商品ID
  11999. in: query
  12000. name: goodsID
  12001. type: integer
  12002. - description: 买卖方向,0:买 1:卖
  12003. in: query
  12004. name: buyOrSell
  12005. type: integer
  12006. produces:
  12007. - application/json
  12008. responses:
  12009. "200":
  12010. description: OK
  12011. schema:
  12012. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  12013. "500":
  12014. description: Internal Server Error
  12015. schema:
  12016. $ref: '#/definitions/app.Response'
  12017. security:
  12018. - ApiKeyAuth: []
  12019. summary: 获取企业风管期货内部持仓单信息
  12020. tags:
  12021. - 企业风险管理(app)
  12022. /Ermcp/QueryErmcpOrderDetails:
  12023. get:
  12024. parameters:
  12025. - description: 资金账户ID
  12026. in: query
  12027. name: accountID
  12028. required: true
  12029. type: integer
  12030. produces:
  12031. - application/json
  12032. responses:
  12033. "200":
  12034. description: OK
  12035. schema:
  12036. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  12037. "500":
  12038. description: Internal Server Error
  12039. schema:
  12040. $ref: '#/definitions/app.Response'
  12041. security:
  12042. - ApiKeyAuth: []
  12043. summary: 获取企业风管期货委托单信息
  12044. tags:
  12045. - 企业风险管理(app)
  12046. /Ermcp/QueryErmcpTradeDetails:
  12047. get:
  12048. parameters:
  12049. - description: 资金账户ID
  12050. in: query
  12051. name: accountID
  12052. required: true
  12053. type: integer
  12054. - description: 商品ID
  12055. in: query
  12056. name: goodsID
  12057. type: integer
  12058. - description: 买卖方向,0:买 1:卖
  12059. in: query
  12060. name: buyOrSell
  12061. type: integer
  12062. - description: 关联委托单号
  12063. in: query
  12064. name: orderID
  12065. type: integer
  12066. produces:
  12067. - application/json
  12068. responses:
  12069. "200":
  12070. description: OK
  12071. schema:
  12072. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  12073. "500":
  12074. description: Internal Server Error
  12075. schema:
  12076. $ref: '#/definitions/app.Response'
  12077. security:
  12078. - ApiKeyAuth: []
  12079. summary: 获取企业风管期货成交单信息
  12080. tags:
  12081. - 企业风险管理(app)
  12082. /Ermcp/QueryErmcpTradePosition:
  12083. get:
  12084. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  12085. parameters:
  12086. - description: 资金账户ID
  12087. in: query
  12088. name: accountID
  12089. required: true
  12090. type: integer
  12091. - description: 所属市场ID
  12092. in: query
  12093. name: marketID
  12094. type: integer
  12095. produces:
  12096. - application/json
  12097. responses:
  12098. "200":
  12099. description: OK
  12100. schema:
  12101. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  12102. "500":
  12103. description: Internal Server Error
  12104. schema:
  12105. $ref: '#/definitions/app.Response'
  12106. security:
  12107. - ApiKeyAuth: []
  12108. summary: 获取企业风管期货持仓头寸信息
  12109. tags:
  12110. - 企业风险管理(app)
  12111. /Ermcp/QueryExposureDetail:
  12112. get:
  12113. parameters:
  12114. - description: 所属机构ID
  12115. in: query
  12116. name: areaUserId
  12117. required: true
  12118. type: integer
  12119. - description: 套保商品
  12120. in: query
  12121. name: middleGoodsId
  12122. required: true
  12123. type: integer
  12124. produces:
  12125. - application/json
  12126. responses:
  12127. "200":
  12128. description: OK
  12129. schema:
  12130. items:
  12131. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  12132. type: array
  12133. "500":
  12134. description: Internal Server Error
  12135. schema:
  12136. $ref: '#/definitions/app.Response'
  12137. security:
  12138. - ApiKeyAuth: []
  12139. summary: 查询敞口现货明细
  12140. tags:
  12141. - 企业风险管理(app)
  12142. /Ermcp/QueryExposureHedgePosition:
  12143. get:
  12144. parameters:
  12145. - description: 用户id
  12146. in: query
  12147. name: userid
  12148. required: true
  12149. type: integer
  12150. produces:
  12151. - application/json
  12152. responses:
  12153. "200":
  12154. description: OK
  12155. schema:
  12156. items:
  12157. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  12158. type: array
  12159. "500":
  12160. description: Internal Server Error
  12161. schema:
  12162. $ref: '#/definitions/app.Response'
  12163. security:
  12164. - ApiKeyAuth: []
  12165. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  12166. tags:
  12167. - 企业风险管理(app)
  12168. /Ermcp/QueryExposureHedgePositionDetail:
  12169. get:
  12170. parameters:
  12171. - description: 所属机构ID
  12172. in: query
  12173. name: userid
  12174. required: true
  12175. type: integer
  12176. - description: 商品id
  12177. in: query
  12178. name: goodsId
  12179. required: true
  12180. type: integer
  12181. produces:
  12182. - application/json
  12183. responses:
  12184. "200":
  12185. description: OK
  12186. schema:
  12187. items:
  12188. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  12189. type: array
  12190. "500":
  12191. description: Internal Server Error
  12192. schema:
  12193. $ref: '#/definitions/app.Response'
  12194. security:
  12195. - ApiKeyAuth: []
  12196. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  12197. tags:
  12198. - 企业风险管理(app)
  12199. /Ermcp/QueryExposureSpot:
  12200. get:
  12201. parameters:
  12202. - description: 所属机构ID
  12203. in: query
  12204. name: areaUserId
  12205. required: true
  12206. type: integer
  12207. produces:
  12208. - application/json
  12209. responses:
  12210. "200":
  12211. description: OK
  12212. schema:
  12213. items:
  12214. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  12215. type: array
  12216. "500":
  12217. description: Internal Server Error
  12218. schema:
  12219. $ref: '#/definitions/app.Response'
  12220. security:
  12221. - ApiKeyAuth: []
  12222. summary: 查询敞口现货头寸(敞口/现货头寸)
  12223. tags:
  12224. - 企业风险管理(app)
  12225. /Ermcp/QueryExposureSpotDetail:
  12226. get:
  12227. parameters:
  12228. - description: 所属机构ID
  12229. in: query
  12230. name: areaUserId
  12231. required: true
  12232. type: integer
  12233. - description: 现货品种ID
  12234. in: query
  12235. name: wrstandardId
  12236. required: true
  12237. type: integer
  12238. produces:
  12239. - application/json
  12240. responses:
  12241. "200":
  12242. description: OK
  12243. schema:
  12244. items:
  12245. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  12246. type: array
  12247. "500":
  12248. description: Internal Server Error
  12249. schema:
  12250. $ref: '#/definitions/app.Response'
  12251. security:
  12252. - ApiKeyAuth: []
  12253. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  12254. tags:
  12255. - 企业风险管理(app)
  12256. /Ermcp/QueryFuturesCompany:
  12257. get:
  12258. produces:
  12259. - application/json
  12260. responses:
  12261. "200":
  12262. description: OK
  12263. schema:
  12264. items:
  12265. $ref: '#/definitions/models.ErmcpFuturesCompany'
  12266. type: array
  12267. "500":
  12268. description: Internal Server Error
  12269. schema:
  12270. $ref: '#/definitions/app.Response'
  12271. security:
  12272. - ApiKeyAuth: []
  12273. summary: 查询期货公司
  12274. tags:
  12275. - 企业风险管理(app)
  12276. /Ermcp/QueryGGConvertConfig:
  12277. get:
  12278. parameters:
  12279. - description: 品种id(不填则查所有)
  12280. in: query
  12281. name: goodsgroupid
  12282. type: integer
  12283. produces:
  12284. - application/json
  12285. responses:
  12286. "200":
  12287. description: OK
  12288. schema:
  12289. items:
  12290. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  12291. type: array
  12292. "500":
  12293. description: Internal Server Error
  12294. schema:
  12295. $ref: '#/definitions/app.Response'
  12296. security:
  12297. - ApiKeyAuth: []
  12298. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  12299. tags:
  12300. - 企业风险管理(app)
  12301. /Ermcp/QueryGoodsBrand:
  12302. get:
  12303. parameters:
  12304. - description: 用户ID
  12305. in: query
  12306. name: userid
  12307. required: true
  12308. type: integer
  12309. - description: 现货商品ID
  12310. in: query
  12311. name: wrstandardid
  12312. type: integer
  12313. produces:
  12314. - application/json
  12315. responses:
  12316. "200":
  12317. description: OK
  12318. schema:
  12319. items:
  12320. $ref: '#/definitions/models.ErmcpGoodsBrand'
  12321. type: array
  12322. "500":
  12323. description: Internal Server Error
  12324. schema:
  12325. $ref: '#/definitions/app.Response'
  12326. security:
  12327. - ApiKeyAuth: []
  12328. summary: 查询商品品牌
  12329. tags:
  12330. - 企业风险管理(app)
  12331. /Ermcp/QueryGoodsModel:
  12332. get:
  12333. parameters:
  12334. - description: 用户ID
  12335. in: query
  12336. name: userid
  12337. required: true
  12338. type: integer
  12339. produces:
  12340. - application/json
  12341. responses:
  12342. "200":
  12343. description: OK
  12344. schema:
  12345. items:
  12346. $ref: '#/definitions/models.ErmcpGoodsModel'
  12347. type: array
  12348. "500":
  12349. description: Internal Server Error
  12350. schema:
  12351. $ref: '#/definitions/app.Response'
  12352. security:
  12353. - ApiKeyAuth: []
  12354. summary: 查询商品型号
  12355. tags:
  12356. - 企业风险管理(app)
  12357. /Ermcp/QueryHisExposure:
  12358. get:
  12359. parameters:
  12360. - description: 用户id
  12361. in: query
  12362. name: userid
  12363. required: true
  12364. type: integer
  12365. - description: 每个品种记录数
  12366. in: query
  12367. name: lastNum
  12368. required: true
  12369. type: integer
  12370. produces:
  12371. - application/json
  12372. responses:
  12373. "200":
  12374. description: OK
  12375. schema:
  12376. items:
  12377. $ref: '#/definitions/ermcp.HisExposureRsp'
  12378. type: array
  12379. "500":
  12380. description: Internal Server Error
  12381. schema:
  12382. $ref: '#/definitions/app.Response'
  12383. security:
  12384. - ApiKeyAuth: []
  12385. summary: 查询历史敞口(菜单:敞口/历史敞口)
  12386. tags:
  12387. - 企业风险管理(app)
  12388. /Ermcp/QueryMiddleGoods:
  12389. get:
  12390. parameters:
  12391. - description: 所属机构ID
  12392. in: query
  12393. name: userid
  12394. required: true
  12395. type: integer
  12396. - description: 状态 0-停用 1-正常
  12397. in: query
  12398. name: status
  12399. required: true
  12400. type: integer
  12401. produces:
  12402. - application/json
  12403. responses:
  12404. "200":
  12405. description: OK
  12406. schema:
  12407. items:
  12408. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  12409. type: array
  12410. "500":
  12411. description: Internal Server Error
  12412. schema:
  12413. $ref: '#/definitions/app.Response'
  12414. security:
  12415. - ApiKeyAuth: []
  12416. summary: 查询套保品种(菜单:套保品种)
  12417. tags:
  12418. - 企业风险管理(app)
  12419. /Ermcp/QueryMiddleGoodsChangeLog:
  12420. get:
  12421. parameters:
  12422. - description: 所属机构ID
  12423. in: query
  12424. name: userid
  12425. required: true
  12426. type: integer
  12427. - description: 套保品种id
  12428. in: query
  12429. name: middlegoodsid
  12430. required: true
  12431. type: integer
  12432. produces:
  12433. - application/json
  12434. responses:
  12435. "200":
  12436. description: OK
  12437. schema:
  12438. items:
  12439. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  12440. type: array
  12441. "500":
  12442. description: Internal Server Error
  12443. schema:
  12444. $ref: '#/definitions/app.Response'
  12445. security:
  12446. - ApiKeyAuth: []
  12447. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  12448. tags:
  12449. - 企业风险管理(app)
  12450. /Ermcp/QueryMiddleGoodsDetail:
  12451. get:
  12452. parameters:
  12453. - description: 所属机构ID
  12454. in: query
  12455. name: userid
  12456. required: true
  12457. type: integer
  12458. - description: 套保品种id
  12459. in: query
  12460. name: middlegoodsid
  12461. type: integer
  12462. produces:
  12463. - application/json
  12464. responses:
  12465. "200":
  12466. description: OK
  12467. schema:
  12468. items:
  12469. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  12470. type: array
  12471. "500":
  12472. description: Internal Server Error
  12473. schema:
  12474. $ref: '#/definitions/app.Response'
  12475. security:
  12476. - ApiKeyAuth: []
  12477. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  12478. tags:
  12479. - 企业风险管理(app)
  12480. /Ermcp/QueryPendingAuditInfo:
  12481. get:
  12482. parameters:
  12483. - description: 用户ID
  12484. in: query
  12485. name: UserId
  12486. required: true
  12487. type: integer
  12488. produces:
  12489. - application/json
  12490. responses:
  12491. "200":
  12492. description: OK
  12493. schema:
  12494. items:
  12495. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  12496. type: array
  12497. "500":
  12498. description: Internal Server Error
  12499. schema:
  12500. $ref: '#/definitions/app.Response'
  12501. security:
  12502. - ApiKeyAuth: []
  12503. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  12504. tags:
  12505. - 企业风险管理(app)
  12506. /Ermcp/QueryRealtimeExposure:
  12507. get:
  12508. parameters:
  12509. - description: 所属机构ID
  12510. in: query
  12511. name: userid
  12512. required: true
  12513. type: integer
  12514. produces:
  12515. - application/json
  12516. responses:
  12517. "200":
  12518. description: OK
  12519. schema:
  12520. items:
  12521. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  12522. type: array
  12523. "500":
  12524. description: Internal Server Error
  12525. schema:
  12526. $ref: '#/definitions/app.Response'
  12527. security:
  12528. - ApiKeyAuth: []
  12529. summary: 查询实时敞口
  12530. tags:
  12531. - 企业风险管理(app)
  12532. /Ermcp/QueryRealtimeExposurePosition:
  12533. get:
  12534. parameters:
  12535. - description: 用户id
  12536. in: query
  12537. name: userid
  12538. required: true
  12539. type: integer
  12540. - description: 套保商品ID
  12541. in: query
  12542. name: middleGoodsId
  12543. required: true
  12544. type: integer
  12545. produces:
  12546. - application/json
  12547. responses:
  12548. "200":
  12549. description: OK
  12550. schema:
  12551. items:
  12552. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  12553. type: array
  12554. "500":
  12555. description: Internal Server Error
  12556. schema:
  12557. $ref: '#/definitions/app.Response'
  12558. security:
  12559. - ApiKeyAuth: []
  12560. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  12561. tags:
  12562. - 企业风险管理(app)
  12563. /Ermcp/QueryTradeConfigTMP:
  12564. get:
  12565. parameters:
  12566. - description: 所属机构id
  12567. in: query
  12568. name: areauserid
  12569. type: integer
  12570. produces:
  12571. - application/json
  12572. responses:
  12573. "200":
  12574. description: OK
  12575. schema:
  12576. items:
  12577. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  12578. type: array
  12579. "500":
  12580. description: Internal Server Error
  12581. schema:
  12582. $ref: '#/definitions/app.Response'
  12583. security:
  12584. - ApiKeyAuth: []
  12585. summary: 查询交易模板配置
  12586. tags:
  12587. - 企业风险管理(app)
  12588. /Ermcp/QueryUserInfo:
  12589. get:
  12590. parameters:
  12591. - description: 所属机构用户ID
  12592. in: query
  12593. name: MemberUserID
  12594. required: true
  12595. type: integer
  12596. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  12597. in: query
  12598. name: queryType
  12599. required: true
  12600. type: integer
  12601. produces:
  12602. - application/json
  12603. responses:
  12604. "200":
  12605. description: OK
  12606. schema:
  12607. items:
  12608. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  12609. type: array
  12610. "500":
  12611. description: Internal Server Error
  12612. schema:
  12613. $ref: '#/definitions/app.Response'
  12614. security:
  12615. - ApiKeyAuth: []
  12616. summary: 查询客户资料
  12617. tags:
  12618. - 企业风险管理(app)
  12619. /Ermcp/QueryWarehouseInfo:
  12620. get:
  12621. parameters:
  12622. - description: 用户ID
  12623. in: query
  12624. name: userid
  12625. required: true
  12626. type: integer
  12627. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  12628. in: query
  12629. name: status
  12630. type: string
  12631. produces:
  12632. - application/json
  12633. responses:
  12634. "200":
  12635. description: OK
  12636. schema:
  12637. items:
  12638. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  12639. type: array
  12640. "500":
  12641. description: Internal Server Error
  12642. schema:
  12643. $ref: '#/definitions/app.Response'
  12644. security:
  12645. - ApiKeyAuth: []
  12646. summary: 查询仓库信息
  12647. tags:
  12648. - 企业风险管理(app)
  12649. /Ermcp3/QryReckonAreaExpourse:
  12650. get:
  12651. parameters:
  12652. - description: 用户ID
  12653. in: query
  12654. name: userid
  12655. required: true
  12656. type: integer
  12657. - description: 交易日(YYYYMMDD)
  12658. in: query
  12659. name: tradedate
  12660. required: true
  12661. type: string
  12662. produces:
  12663. - application/json
  12664. responses:
  12665. "200":
  12666. description: OK
  12667. schema:
  12668. items:
  12669. $ref: '#/definitions/models.Ermcp3ReckonExpourse'
  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. - 企业风险管理v3(app)
  12680. /Ermcp3/QryReportAreaExpourse:
  12681. get:
  12682. parameters:
  12683. - description: 用户ID
  12684. in: query
  12685. name: userid
  12686. required: true
  12687. type: integer
  12688. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  12689. in: query
  12690. name: cycletype
  12691. required: true
  12692. type: integer
  12693. - description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  12694. in: query
  12695. name: cycletime
  12696. required: true
  12697. type: string
  12698. produces:
  12699. - application/json
  12700. responses:
  12701. "200":
  12702. description: OK
  12703. schema:
  12704. items:
  12705. $ref: '#/definitions/models.Ermcp3ReportExpourse'
  12706. type: array
  12707. "500":
  12708. description: Internal Server Error
  12709. schema:
  12710. $ref: '#/definitions/app.Response'
  12711. security:
  12712. - ApiKeyAuth: []
  12713. summary: 查询敞口周期报表(报表/敞口报表/周(月、季、年)报表)
  12714. tags:
  12715. - 企业风险管理v3(app)
  12716. /Ermcp3/QryReportAreaSpotPL:
  12717. get:
  12718. parameters:
  12719. - description: 用户ID
  12720. in: query
  12721. name: userid
  12722. required: true
  12723. type: integer
  12724. - description: 查询类型 1-日报表 2-月报表
  12725. in: query
  12726. name: querytype
  12727. required: true
  12728. type: integer
  12729. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  12730. in: query
  12731. name: querydate
  12732. required: true
  12733. type: string
  12734. - description: 现货商品ID
  12735. in: query
  12736. name: deliverygoodsid
  12737. type: integer
  12738. - description: 品牌ID
  12739. in: query
  12740. name: spotgoodsbrandid
  12741. type: integer
  12742. - description: 品类ID
  12743. in: query
  12744. name: wrstandardid
  12745. type: integer
  12746. produces:
  12747. - application/json
  12748. responses:
  12749. "200":
  12750. description: OK
  12751. schema:
  12752. items:
  12753. $ref: '#/definitions/models.Ermcp3ReportAreaSpotPL'
  12754. type: array
  12755. "500":
  12756. description: Internal Server Error
  12757. schema:
  12758. $ref: '#/definitions/app.Response'
  12759. security:
  12760. - ApiKeyAuth: []
  12761. summary: 查询现货损益报表(现货损益报表)
  12762. tags:
  12763. - 企业风险管理v3(app)
  12764. /Ermcp3/QryReportDayFinanceFp:
  12765. get:
  12766. parameters:
  12767. - description: 用户ID
  12768. in: query
  12769. name: userid
  12770. required: true
  12771. type: integer
  12772. - description: 交易日(格式:yyyyMMdd)
  12773. in: query
  12774. name: tradedate
  12775. required: true
  12776. type: string
  12777. produces:
  12778. - application/json
  12779. responses:
  12780. "200":
  12781. description: OK
  12782. schema:
  12783. items:
  12784. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  12785. type: array
  12786. "500":
  12787. description: Internal Server Error
  12788. schema:
  12789. $ref: '#/definitions/app.Response'
  12790. security:
  12791. - ApiKeyAuth: []
  12792. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  12793. tags:
  12794. - 企业风险管理v3(app)
  12795. /Ermcp3/QryReportDayFinanceKx:
  12796. get:
  12797. parameters:
  12798. - description: 用户ID
  12799. in: query
  12800. name: userid
  12801. required: true
  12802. type: integer
  12803. - description: 交易日(格式:yyyyMMdd)
  12804. in: query
  12805. name: tradedate
  12806. required: true
  12807. type: string
  12808. produces:
  12809. - application/json
  12810. responses:
  12811. "200":
  12812. description: OK
  12813. schema:
  12814. items:
  12815. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  12816. type: array
  12817. "500":
  12818. description: Internal Server Error
  12819. schema:
  12820. $ref: '#/definitions/app.Response'
  12821. security:
  12822. - ApiKeyAuth: []
  12823. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  12824. tags:
  12825. - 企业风险管理v3(app)
  12826. /Ermcp3/QryReportDaySpot:
  12827. get:
  12828. parameters:
  12829. - description: 用户id
  12830. in: query
  12831. name: userid
  12832. required: true
  12833. type: integer
  12834. - description: 交易日(格式:yyyyMMdd)
  12835. in: query
  12836. name: reckondate
  12837. required: true
  12838. type: string
  12839. - description: 期货账户ID
  12840. in: query
  12841. name: accountid
  12842. type: integer
  12843. - description: 现货品种ID
  12844. in: query
  12845. name: deliverygoodsid
  12846. type: integer
  12847. - description: 品类ID
  12848. in: query
  12849. name: wrstandardid
  12850. type: integer
  12851. - description: 现货品牌ID
  12852. in: query
  12853. name: spotgoodsbrandid
  12854. type: integer
  12855. produces:
  12856. - application/json
  12857. responses:
  12858. "200":
  12859. description: OK
  12860. schema:
  12861. items:
  12862. $ref: '#/definitions/models.Ermcp3ReckonAreaSpotSub'
  12863. type: array
  12864. "500":
  12865. description: Internal Server Error
  12866. schema:
  12867. $ref: '#/definitions/app.Response'
  12868. security:
  12869. - ApiKeyAuth: []
  12870. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  12871. tags:
  12872. - 企业风险管理v3(app)
  12873. /Ermcp3/QryReportDaySpotDetail:
  12874. get:
  12875. parameters:
  12876. - description: 用户ID
  12877. in: query
  12878. name: userid
  12879. required: true
  12880. type: integer
  12881. - description: 现货商品id
  12882. in: query
  12883. name: deliverygoodsid
  12884. required: true
  12885. type: integer
  12886. - description: 交易日(格式:yyyyMMdd)
  12887. in: query
  12888. name: tradedate
  12889. required: true
  12890. type: string
  12891. - description: 品类ID
  12892. in: query
  12893. name: wrstandardid
  12894. type: integer
  12895. - description: 现货品牌ID
  12896. in: query
  12897. name: spotgoodsbrandid
  12898. type: integer
  12899. produces:
  12900. - application/json
  12901. responses:
  12902. "200":
  12903. description: OK
  12904. schema:
  12905. items:
  12906. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  12907. type: array
  12908. "500":
  12909. description: Internal Server Error
  12910. schema:
  12911. $ref: '#/definitions/app.Response'
  12912. security:
  12913. - ApiKeyAuth: []
  12914. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  12915. tags:
  12916. - 企业风险管理v3(app)
  12917. /Ermcp3/QryReportMonthSpot:
  12918. get:
  12919. parameters:
  12920. - description: 用户id
  12921. in: query
  12922. name: userid
  12923. required: true
  12924. type: integer
  12925. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  12926. in: query
  12927. name: cycletype
  12928. required: true
  12929. type: integer
  12930. - description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  12931. in: query
  12932. name: cycletime
  12933. required: true
  12934. type: string
  12935. - description: 期货账户ID
  12936. in: query
  12937. name: accountid
  12938. type: integer
  12939. - description: 现货品种ID
  12940. in: query
  12941. name: deliverygoodsid
  12942. type: integer
  12943. - description: 品类ID
  12944. in: query
  12945. name: wrstandardid
  12946. type: integer
  12947. - description: 现货品牌ID
  12948. in: query
  12949. name: spotgoodsbrandid
  12950. type: integer
  12951. produces:
  12952. - application/json
  12953. responses:
  12954. "200":
  12955. description: OK
  12956. schema:
  12957. items:
  12958. $ref: '#/definitions/models.Ermcp3ReportAreaSpotSub'
  12959. type: array
  12960. "500":
  12961. description: Internal Server Error
  12962. schema:
  12963. $ref: '#/definitions/app.Response'
  12964. security:
  12965. - ApiKeyAuth: []
  12966. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  12967. tags:
  12968. - 企业风险管理v3(app)
  12969. /Ermcp3/QryReportMonthSpotDetail:
  12970. get:
  12971. parameters:
  12972. - description: 用户id
  12973. in: query
  12974. name: userid
  12975. required: true
  12976. type: integer
  12977. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  12978. in: query
  12979. name: cycletype
  12980. required: true
  12981. type: integer
  12982. - description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  12983. in: query
  12984. name: cycletime
  12985. required: true
  12986. type: string
  12987. - description: 期货账户ID
  12988. in: query
  12989. name: accountid
  12990. type: integer
  12991. - description: 现货品种ID
  12992. in: query
  12993. name: deliverygoodsid
  12994. type: integer
  12995. - description: 品类ID
  12996. in: query
  12997. name: wrstandardid
  12998. type: integer
  12999. - description: 现货品牌ID
  13000. in: query
  13001. name: spotgoodsbrandid
  13002. type: integer
  13003. produces:
  13004. - application/json
  13005. responses:
  13006. "200":
  13007. description: OK
  13008. schema:
  13009. items:
  13010. $ref: '#/definitions/models.Ermcp3ReportAreaSpotSub'
  13011. type: array
  13012. "500":
  13013. description: Internal Server Error
  13014. schema:
  13015. $ref: '#/definitions/app.Response'
  13016. security:
  13017. - ApiKeyAuth: []
  13018. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  13019. tags:
  13020. - 企业风险管理v3(app)
  13021. /Ermcp3/QueryAreaStock:
  13022. get:
  13023. parameters:
  13024. - description: 用户ID
  13025. in: query
  13026. name: userid
  13027. required: true
  13028. type: integer
  13029. produces:
  13030. - application/json
  13031. responses:
  13032. "200":
  13033. description: OK
  13034. schema:
  13035. items:
  13036. $ref: '#/definitions/models.Ermcp3AreaStock'
  13037. type: array
  13038. "500":
  13039. description: Internal Server Error
  13040. schema:
  13041. $ref: '#/definitions/app.Response'
  13042. security:
  13043. - ApiKeyAuth: []
  13044. summary: 查询机构库存(库存管理/当前库存)
  13045. tags:
  13046. - 企业风险管理v3(app)
  13047. /Ermcp3/QueryAreaStockApply:
  13048. get:
  13049. parameters:
  13050. - description: 用户ID
  13051. in: query
  13052. name: userid
  13053. required: true
  13054. type: integer
  13055. - description: 现货商品ID
  13056. in: query
  13057. name: deliverygoodsid
  13058. type: integer
  13059. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  13060. in: query
  13061. name: inouttype
  13062. type: string
  13063. - description: 合同ID
  13064. in: query
  13065. name: spotcontractid
  13066. type: integer
  13067. - description: 品类ID
  13068. in: query
  13069. name: wrstandardid
  13070. type: integer
  13071. - description: 品牌ID
  13072. in: query
  13073. name: spotgoodsbrandid
  13074. type: integer
  13075. - description: 仓库ID
  13076. in: query
  13077. name: warehouseinfoid
  13078. type: integer
  13079. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13080. in: query
  13081. name: applystatus
  13082. type: string
  13083. produces:
  13084. - application/json
  13085. responses:
  13086. "200":
  13087. description: OK
  13088. schema:
  13089. items:
  13090. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  13091. type: array
  13092. "500":
  13093. description: Internal Server Error
  13094. schema:
  13095. $ref: '#/definitions/app.Response'
  13096. security:
  13097. - ApiKeyAuth: []
  13098. summary: 查询库存申请(出入库记录|库存审核)
  13099. tags:
  13100. - 企业风险管理v3(app)
  13101. /Ermcp3/QueryAreaStockApplySum:
  13102. get:
  13103. parameters:
  13104. - description: 合同ID
  13105. in: query
  13106. name: spotcontractid
  13107. type: integer
  13108. produces:
  13109. - application/json
  13110. responses:
  13111. "200":
  13112. description: OK
  13113. schema:
  13114. items:
  13115. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  13116. type: array
  13117. "500":
  13118. description: Internal Server Error
  13119. schema:
  13120. $ref: '#/definitions/app.Response'
  13121. security:
  13122. - ApiKeyAuth: []
  13123. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  13124. tags:
  13125. - 企业风险管理v3(app)
  13126. /Ermcp3/QueryAreaStockReport:
  13127. get:
  13128. parameters:
  13129. - description: 用户ID
  13130. in: query
  13131. name: userid
  13132. required: true
  13133. type: integer
  13134. - description: 查询类型 1-日报表 2-月报表
  13135. in: query
  13136. name: querytype
  13137. required: true
  13138. type: integer
  13139. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  13140. in: query
  13141. name: querydate
  13142. required: true
  13143. type: string
  13144. - description: 现货商品ID
  13145. in: query
  13146. name: deliverygoodsid
  13147. type: integer
  13148. - description: 品类ID
  13149. in: query
  13150. name: wrstandardid
  13151. type: integer
  13152. - description: 品牌ID
  13153. in: query
  13154. name: spotgoodsbrandid
  13155. type: integer
  13156. - description: 仓库ID
  13157. in: query
  13158. name: warehouseinfoid
  13159. type: integer
  13160. produces:
  13161. - application/json
  13162. responses:
  13163. "200":
  13164. description: OK
  13165. schema:
  13166. items:
  13167. $ref: '#/definitions/models.Ermcp3AreaStockReport'
  13168. type: array
  13169. "500":
  13170. description: Internal Server Error
  13171. schema:
  13172. $ref: '#/definitions/app.Response'
  13173. security:
  13174. - ApiKeyAuth: []
  13175. summary: 查询库存报表
  13176. tags:
  13177. - 企业风险管理v3(app)
  13178. /Ermcp3/QueryAreaStockReportDetail:
  13179. get:
  13180. parameters:
  13181. - description: 用户ID
  13182. in: query
  13183. name: userid
  13184. required: true
  13185. type: integer
  13186. - description: 查询类型 1-日报表明细 2-月报表明细
  13187. in: query
  13188. name: querytype
  13189. required: true
  13190. type: integer
  13191. - description: 明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)
  13192. in: query
  13193. name: detailtype
  13194. required: true
  13195. type: integer
  13196. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  13197. in: query
  13198. name: querydate
  13199. required: true
  13200. type: string
  13201. - description: 现货商品ID
  13202. in: query
  13203. name: deliverygoodsid
  13204. type: integer
  13205. - description: 品类ID
  13206. in: query
  13207. name: wrstandardid
  13208. type: integer
  13209. - description: 品牌ID
  13210. in: query
  13211. name: spotgoodsbrandid
  13212. type: integer
  13213. - description: 仓库ID
  13214. in: query
  13215. name: warehouseinfoid
  13216. type: integer
  13217. produces:
  13218. - application/json
  13219. responses:
  13220. "200":
  13221. description: OK
  13222. schema:
  13223. items:
  13224. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  13225. type: array
  13226. "500":
  13227. description: Internal Server Error
  13228. schema:
  13229. $ref: '#/definitions/app.Response'
  13230. security:
  13231. - ApiKeyAuth: []
  13232. summary: 查询库存报表明细
  13233. tags:
  13234. - 企业风险管理v3(app)
  13235. /Ermcp3/QueryDGFactoryItem:
  13236. get:
  13237. parameters:
  13238. - description: 用户id
  13239. in: query
  13240. name: userid
  13241. type: integer
  13242. - description: 用户类型 2-机构 7-企业成员
  13243. in: query
  13244. name: usertype
  13245. type: integer
  13246. - description: 选择项ID(SEQ_DGFACTORYITEM)
  13247. in: query
  13248. name: dgfactoryitemid
  13249. type: integer
  13250. - description: 现货品种ID
  13251. in: query
  13252. name: deliverygoodsid
  13253. type: integer
  13254. - description: 要素项类型
  13255. in: query
  13256. name: dgfactoryitemtypeid
  13257. type: integer
  13258. - description: 顺序
  13259. in: query
  13260. name: orderindex
  13261. type: integer
  13262. produces:
  13263. - application/json
  13264. responses:
  13265. "200":
  13266. description: OK
  13267. schema:
  13268. items:
  13269. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  13270. type: array
  13271. "500":
  13272. description: Internal Server Error
  13273. schema:
  13274. $ref: '#/definitions/app.Response'
  13275. security:
  13276. - ApiKeyAuth: []
  13277. summary: 查询品种要素定义项
  13278. tags:
  13279. - 企业风险管理v3(app)
  13280. /Ermcp3/QueryDeliveryGoods:
  13281. get:
  13282. parameters:
  13283. - description: 用户id
  13284. in: query
  13285. name: userid
  13286. required: true
  13287. type: integer
  13288. - description: 用户类型 2-机构 7-企业成员
  13289. in: query
  13290. name: usertype
  13291. type: integer
  13292. - description: 排除已配置的业务类型商品 1-套保 2-套利
  13293. in: query
  13294. name: excludecfg
  13295. type: integer
  13296. produces:
  13297. - application/json
  13298. responses:
  13299. "200":
  13300. description: OK
  13301. schema:
  13302. items:
  13303. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  13304. type: array
  13305. "500":
  13306. description: Internal Server Error
  13307. schema:
  13308. $ref: '#/definitions/app.Response'
  13309. security:
  13310. - ApiKeyAuth: []
  13311. summary: 查询现货商品
  13312. tags:
  13313. - 企业风险管理v3(app)
  13314. /Ermcp3/QueryDeliveryGoodsDetail:
  13315. get:
  13316. parameters:
  13317. - description: 用户id
  13318. in: query
  13319. name: userid
  13320. required: true
  13321. type: integer
  13322. - description: 用户类型 2-机构 7-企业成员
  13323. in: query
  13324. name: usertype
  13325. type: integer
  13326. - description: 现货商品id
  13327. in: query
  13328. name: deliverygoodsid
  13329. type: integer
  13330. produces:
  13331. - application/json
  13332. responses:
  13333. "200":
  13334. description: OK
  13335. schema:
  13336. items:
  13337. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  13338. type: array
  13339. "500":
  13340. description: Internal Server Error
  13341. schema:
  13342. $ref: '#/definitions/app.Response'
  13343. security:
  13344. - ApiKeyAuth: []
  13345. summary: 查询现货商品详情
  13346. tags:
  13347. - 企业风险管理v3(app)
  13348. /Ermcp3/QueryExposureDetail:
  13349. get:
  13350. parameters:
  13351. - description: 用户id
  13352. in: query
  13353. name: userid
  13354. required: true
  13355. type: integer
  13356. - description: 用户类型 2-机构 7-企业成员
  13357. in: query
  13358. name: usertype
  13359. type: integer
  13360. - description: 套保商品
  13361. in: query
  13362. name: middlegoodsid
  13363. required: true
  13364. type: integer
  13365. produces:
  13366. - application/json
  13367. responses:
  13368. "200":
  13369. description: OK
  13370. schema:
  13371. items:
  13372. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  13373. type: array
  13374. "500":
  13375. description: Internal Server Error
  13376. schema:
  13377. $ref: '#/definitions/app.Response'
  13378. security:
  13379. - ApiKeyAuth: []
  13380. summary: 查询敞口现货明细
  13381. tags:
  13382. - 企业风险管理v3(app)
  13383. /Ermcp3/QueryExposureSpot:
  13384. get:
  13385. parameters:
  13386. - description: 用户id
  13387. in: query
  13388. name: userid
  13389. required: true
  13390. type: integer
  13391. - description: 用户类型 2-机构 7-企业成员
  13392. in: query
  13393. name: usertype
  13394. type: integer
  13395. produces:
  13396. - application/json
  13397. responses:
  13398. "200":
  13399. description: OK
  13400. schema:
  13401. items:
  13402. $ref: '#/definitions/models.Ermcp3AreaSpot'
  13403. type: array
  13404. "500":
  13405. description: Internal Server Error
  13406. schema:
  13407. $ref: '#/definitions/app.Response'
  13408. security:
  13409. - ApiKeyAuth: []
  13410. summary: 查询敞口现货头寸(敞口/现货头寸)
  13411. tags:
  13412. - 企业风险管理v3(app)
  13413. /Ermcp3/QueryExposureSpotDetail:
  13414. get:
  13415. parameters:
  13416. - description: 用户id
  13417. in: query
  13418. name: userid
  13419. required: true
  13420. type: integer
  13421. - description: 用户类型 2-机构 7-企业成员
  13422. in: query
  13423. name: usertype
  13424. type: integer
  13425. - description: 现货品种ID
  13426. in: query
  13427. name: deliverygoodsid
  13428. required: true
  13429. type: integer
  13430. produces:
  13431. - application/json
  13432. responses:
  13433. "200":
  13434. description: OK
  13435. schema:
  13436. items:
  13437. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  13438. type: array
  13439. "500":
  13440. description: Internal Server Error
  13441. schema:
  13442. $ref: '#/definitions/app.Response'
  13443. security:
  13444. - ApiKeyAuth: []
  13445. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  13446. tags:
  13447. - 企业风险管理v3(app)
  13448. /Ermcp3/QueryGoodsGroup:
  13449. get:
  13450. parameters:
  13451. - description: 用户id
  13452. in: query
  13453. name: userid
  13454. required: true
  13455. type: integer
  13456. - description: 用户类型 2-机构 7-企业成员
  13457. in: query
  13458. name: usertype
  13459. type: integer
  13460. - description: 排除套保品中已关联的商品组 1-排除
  13461. in: query
  13462. name: excludecfg
  13463. type: integer
  13464. produces:
  13465. - application/json
  13466. responses:
  13467. "200":
  13468. description: OK
  13469. schema:
  13470. items:
  13471. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  13472. type: array
  13473. "500":
  13474. description: Internal Server Error
  13475. schema:
  13476. $ref: '#/definitions/app.Response'
  13477. security:
  13478. - ApiKeyAuth: []
  13479. summary: 查询期货商品组
  13480. tags:
  13481. - 企业风险管理v3(app)
  13482. /Ermcp3/QueryGoodsWrstandard:
  13483. get:
  13484. parameters:
  13485. - description: 用户id
  13486. in: query
  13487. name: userid
  13488. required: true
  13489. type: integer
  13490. - description: 用户类型 2-机构 7-企业成员
  13491. in: query
  13492. name: usertype
  13493. type: integer
  13494. - description: 现货商品id
  13495. in: query
  13496. name: deliverygoodsid
  13497. type: integer
  13498. produces:
  13499. - application/json
  13500. responses:
  13501. "200":
  13502. description: OK
  13503. schema:
  13504. items:
  13505. $ref: '#/definitions/models.Ermcp3Wrstandard'
  13506. type: array
  13507. "500":
  13508. description: Internal Server Error
  13509. schema:
  13510. $ref: '#/definitions/app.Response'
  13511. security:
  13512. - ApiKeyAuth: []
  13513. summary: 查询商品品类
  13514. tags:
  13515. - 企业风险管理v3(app)
  13516. /Ermcp3/QueryGoodsbrand:
  13517. get:
  13518. parameters:
  13519. - description: 用户id
  13520. in: query
  13521. name: userid
  13522. required: true
  13523. type: integer
  13524. - description: 用户类型 2-机构 7-企业成员
  13525. in: query
  13526. name: usertype
  13527. type: integer
  13528. produces:
  13529. - application/json
  13530. responses:
  13531. "200":
  13532. description: OK
  13533. schema:
  13534. items:
  13535. $ref: '#/definitions/models.Ermcp3Brand'
  13536. type: array
  13537. "500":
  13538. description: Internal Server Error
  13539. schema:
  13540. $ref: '#/definitions/app.Response'
  13541. security:
  13542. - ApiKeyAuth: []
  13543. summary: 查询商品品牌
  13544. tags:
  13545. - 企业风险管理v3(app)
  13546. /Ermcp3/QueryHedgePlan:
  13547. get:
  13548. parameters:
  13549. - description: 用户ID
  13550. in: query
  13551. name: userid
  13552. required: true
  13553. type: integer
  13554. - description: 用户类型 2-机构 7-企业成员
  13555. in: query
  13556. name: usertype
  13557. type: integer
  13558. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  13559. in: query
  13560. name: hedgeplanstatus
  13561. required: true
  13562. type: string
  13563. produces:
  13564. - application/json
  13565. responses:
  13566. "200":
  13567. description: OK
  13568. schema:
  13569. items:
  13570. $ref: '#/definitions/models.Ermcp3HedgePlan'
  13571. type: array
  13572. "500":
  13573. description: Internal Server Error
  13574. schema:
  13575. $ref: '#/definitions/app.Response'
  13576. security:
  13577. - ApiKeyAuth: []
  13578. summary: 查询套保计划
  13579. tags:
  13580. - 企业风险管理v3(app)
  13581. /Ermcp3/QueryMiddleGoodsDetail:
  13582. get:
  13583. parameters:
  13584. - description: 用户id
  13585. in: query
  13586. name: userid
  13587. required: true
  13588. type: integer
  13589. - description: 用户类型 2-机构 7-企业成员
  13590. in: query
  13591. name: usertype
  13592. type: integer
  13593. - description: 套保品种id
  13594. in: query
  13595. name: middlegoodsid
  13596. type: integer
  13597. produces:
  13598. - application/json
  13599. responses:
  13600. "200":
  13601. description: OK
  13602. schema:
  13603. items:
  13604. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  13605. type: array
  13606. "500":
  13607. description: Internal Server Error
  13608. schema:
  13609. $ref: '#/definitions/app.Response'
  13610. security:
  13611. - ApiKeyAuth: []
  13612. summary: 查询套保品种详情(套保品种/商品详情)
  13613. tags:
  13614. - 企业风险管理v3(app)
  13615. /Ermcp3/QuerySpotContract:
  13616. get:
  13617. parameters:
  13618. - description: 用户id
  13619. in: query
  13620. name: userid
  13621. required: true
  13622. type: integer
  13623. - description: 用户类型 2-机构 7-企业成员
  13624. in: query
  13625. name: usertype
  13626. type: integer
  13627. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  13628. in: query
  13629. name: querytype
  13630. required: true
  13631. type: integer
  13632. - description: 合同ID(SpotContractId)
  13633. in: query
  13634. name: contractid
  13635. type: string
  13636. produces:
  13637. - application/json
  13638. responses:
  13639. "200":
  13640. description: OK
  13641. schema:
  13642. items:
  13643. $ref: '#/definitions/models.Ermcp3Contract'
  13644. type: array
  13645. "500":
  13646. description: Internal Server Error
  13647. schema:
  13648. $ref: '#/definitions/app.Response'
  13649. security:
  13650. - ApiKeyAuth: []
  13651. summary: 查询现货合同
  13652. tags:
  13653. - 企业风险管理v3(app)
  13654. /Ermcp3/QuerySpotContractBS:
  13655. get:
  13656. parameters:
  13657. - description: 用户id
  13658. in: query
  13659. name: userid
  13660. required: true
  13661. type: integer
  13662. - description: 用户类型 2-机构 7-企业成员
  13663. in: query
  13664. name: usertype
  13665. type: integer
  13666. - description: 合同类型 1-采购, -1-销售
  13667. in: query
  13668. name: contracttype
  13669. required: true
  13670. type: integer
  13671. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  13672. in: query
  13673. name: querytype
  13674. required: true
  13675. type: integer
  13676. - description: 合同ID(SpotContractId)
  13677. in: query
  13678. name: contractid
  13679. type: string
  13680. produces:
  13681. - application/json
  13682. responses:
  13683. "200":
  13684. description: OK
  13685. schema:
  13686. items:
  13687. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  13688. type: array
  13689. "500":
  13690. description: Internal Server Error
  13691. schema:
  13692. $ref: '#/definitions/app.Response'
  13693. security:
  13694. - ApiKeyAuth: []
  13695. summary: 查询合同(采购/销售)
  13696. tags:
  13697. - 企业风险管理v3(app)
  13698. /Ermcp3/QuerySpotGoodsPrice:
  13699. get:
  13700. parameters:
  13701. - description: 用户ID
  13702. in: query
  13703. name: userid
  13704. required: true
  13705. type: integer
  13706. produces:
  13707. - application/json
  13708. responses:
  13709. "200":
  13710. description: OK
  13711. schema:
  13712. items:
  13713. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  13714. type: array
  13715. "500":
  13716. description: Internal Server Error
  13717. schema:
  13718. $ref: '#/definitions/app.Response'
  13719. security:
  13720. - ApiKeyAuth: []
  13721. summary: 查询现货市价(现货市价)
  13722. tags:
  13723. - 企业风险管理v3(app)
  13724. /Ermcp3/QuerySpotGoodsPriceLog:
  13725. get:
  13726. parameters:
  13727. - description: 用户ID
  13728. in: query
  13729. name: userid
  13730. required: true
  13731. type: integer
  13732. - description: 现货商品ID
  13733. in: query
  13734. name: deliverygoodsid
  13735. required: true
  13736. type: integer
  13737. - description: 品牌ID
  13738. in: query
  13739. name: brandid
  13740. type: integer
  13741. - description: 品类ID
  13742. in: query
  13743. name: wrstandardid
  13744. type: integer
  13745. produces:
  13746. - application/json
  13747. responses:
  13748. "200":
  13749. description: OK
  13750. schema:
  13751. items:
  13752. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  13753. type: array
  13754. "500":
  13755. description: Internal Server Error
  13756. schema:
  13757. $ref: '#/definitions/app.Response'
  13758. security:
  13759. - ApiKeyAuth: []
  13760. summary: 查询现货市价详情(现货市价/详情)
  13761. tags:
  13762. - 企业风险管理v3(app)
  13763. /Erms2/QueryArbitrageStrategy:
  13764. get:
  13765. parameters:
  13766. - description: 账户ID
  13767. in: query
  13768. name: userid
  13769. required: true
  13770. type: integer
  13771. - description: 商品组ID(品种ID)
  13772. in: query
  13773. name: goodsgroupid
  13774. type: string
  13775. produces:
  13776. - application/json
  13777. responses:
  13778. "200":
  13779. description: OK
  13780. schema:
  13781. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  13782. "500":
  13783. description: Internal Server Error
  13784. schema:
  13785. $ref: '#/definitions/app.Response'
  13786. security:
  13787. - ApiKeyAuth: []
  13788. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  13789. tags:
  13790. - 风险管理
  13791. /Erms2/QueryInnerTradeDetail:
  13792. get:
  13793. parameters:
  13794. - description: 资金账户
  13795. in: query
  13796. name: accountid
  13797. required: true
  13798. type: integer
  13799. produces:
  13800. - application/json
  13801. responses:
  13802. "200":
  13803. description: OK
  13804. schema:
  13805. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  13806. "500":
  13807. description: Internal Server Error
  13808. schema:
  13809. $ref: '#/definitions/app.Response'
  13810. security:
  13811. - ApiKeyAuth: []
  13812. summary: 查询内部成交单信息
  13813. tags:
  13814. - 风险管理
  13815. /Erms2/QuerySpotContract:
  13816. get:
  13817. parameters:
  13818. - description: 策略申请ID
  13819. in: query
  13820. name: asapplyid
  13821. required: true
  13822. type: integer
  13823. - description: 现货合同ID
  13824. in: query
  13825. name: spotcontractid
  13826. type: integer
  13827. produces:
  13828. - application/json
  13829. responses:
  13830. "200":
  13831. description: OK
  13832. schema:
  13833. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  13834. "500":
  13835. description: Internal Server Error
  13836. schema:
  13837. $ref: '#/definitions/app.Response'
  13838. security:
  13839. - ApiKeyAuth: []
  13840. summary: 查询现货合同表信息(指定策略ID、未结束的)
  13841. tags:
  13842. - 风险管理
  13843. /Erms3/AddErms2ASApply:
  13844. post:
  13845. parameters:
  13846. - description: 申请参数
  13847. in: body
  13848. name: jsonBody
  13849. required: true
  13850. schema:
  13851. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  13852. produces:
  13853. - application/json
  13854. responses:
  13855. "200":
  13856. description: OK
  13857. schema:
  13858. $ref: '#/definitions/app.Response'
  13859. "500":
  13860. description: Internal Server Error
  13861. schema:
  13862. $ref: '#/definitions/app.Response'
  13863. security:
  13864. - ApiKeyAuth: []
  13865. summary: 新增期现套利业务申请
  13866. tags:
  13867. - 风险管理v3
  13868. /Erms3/AddErms2SpotTradeApply:
  13869. post:
  13870. parameters:
  13871. - description: 申请参数
  13872. in: body
  13873. name: jsonBody
  13874. required: true
  13875. schema:
  13876. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  13877. produces:
  13878. - application/json
  13879. responses:
  13880. "200":
  13881. description: OK
  13882. schema:
  13883. $ref: '#/definitions/app.Response'
  13884. "500":
  13885. description: Internal Server Error
  13886. schema:
  13887. $ref: '#/definitions/app.Response'
  13888. security:
  13889. - ApiKeyAuth: []
  13890. summary: 新增现货贸易业务申请
  13891. tags:
  13892. - 风险管理v3
  13893. /Erms3/AddSpotContractApply:
  13894. post:
  13895. parameters:
  13896. - description: 申请参数
  13897. in: body
  13898. name: jsonBody
  13899. required: true
  13900. schema:
  13901. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  13902. produces:
  13903. - application/json
  13904. responses:
  13905. "200":
  13906. description: OK
  13907. schema:
  13908. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  13909. "500":
  13910. description: Internal Server Error
  13911. schema:
  13912. $ref: '#/definitions/app.Response'
  13913. security:
  13914. - ApiKeyAuth: []
  13915. summary: 新增现货合同申请
  13916. tags:
  13917. - 风险管理v3
  13918. /Erms3/AddUserInfoApply:
  13919. post:
  13920. parameters:
  13921. - description: 用户信息
  13922. in: body
  13923. name: jsonBody
  13924. required: true
  13925. schema:
  13926. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  13927. produces:
  13928. - application/json
  13929. responses:
  13930. "200":
  13931. description: OK
  13932. schema:
  13933. $ref: '#/definitions/app.Response'
  13934. "500":
  13935. description: Internal Server Error
  13936. schema:
  13937. $ref: '#/definitions/app.Response'
  13938. security:
  13939. - ApiKeyAuth: []
  13940. summary: 新增客户申请
  13941. tags:
  13942. - 风险管理v3
  13943. /Erms3/DeleteUserInfoApply:
  13944. get:
  13945. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  13946. parameters:
  13947. - description: 用户ID
  13948. in: query
  13949. name: userID
  13950. required: true
  13951. type: integer
  13952. produces:
  13953. - application/json
  13954. responses:
  13955. "200":
  13956. description: OK
  13957. schema:
  13958. $ref: '#/definitions/app.Response'
  13959. "500":
  13960. description: Internal Server Error
  13961. schema:
  13962. $ref: '#/definitions/app.Response'
  13963. security:
  13964. - ApiKeyAuth: []
  13965. summary: 删除客户申请
  13966. tags:
  13967. - 风险管理v3
  13968. /Erms3/ModifyUserInfoApply:
  13969. post:
  13970. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  13971. int, "userstate": 2 }'
  13972. parameters:
  13973. - description: 用户信息
  13974. in: body
  13975. name: jsonBody
  13976. required: true
  13977. schema:
  13978. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  13979. produces:
  13980. - application/json
  13981. responses:
  13982. "200":
  13983. description: OK
  13984. schema:
  13985. $ref: '#/definitions/app.Response'
  13986. "500":
  13987. description: Internal Server Error
  13988. schema:
  13989. $ref: '#/definitions/app.Response'
  13990. security:
  13991. - ApiKeyAuth: []
  13992. summary: 修改客户申请
  13993. tags:
  13994. - 风险管理v3
  13995. /Erms3/QueryBusinessInfo:
  13996. get:
  13997. parameters:
  13998. - description: 资金账号ID列表,用逗号分隔
  13999. in: query
  14000. name: accountids
  14001. required: true
  14002. type: string
  14003. - description: 状态,0为未结束 1为已结束
  14004. in: query
  14005. name: status
  14006. required: true
  14007. type: integer
  14008. produces:
  14009. - application/json
  14010. responses:
  14011. "200":
  14012. description: OK
  14013. schema:
  14014. items:
  14015. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  14016. type: array
  14017. "500":
  14018. description: Internal Server Error
  14019. schema:
  14020. $ref: '#/definitions/app.Response'
  14021. security:
  14022. - ApiKeyAuth: []
  14023. summary: 查询业务表单数据
  14024. tags:
  14025. - 风险管理v3
  14026. /Erms3/QueryPendingAuditContract:
  14027. get:
  14028. parameters:
  14029. - description: 资金账号ID列表,逗号隔开
  14030. in: query
  14031. name: accountids
  14032. required: true
  14033. type: string
  14034. - description: 合同类型 1-采购 -1-销售
  14035. in: query
  14036. name: contracttype
  14037. required: true
  14038. type: integer
  14039. - description: 合同模式 1-普通 2-回购
  14040. in: query
  14041. name: contractmode
  14042. required: true
  14043. type: integer
  14044. produces:
  14045. - application/json
  14046. responses:
  14047. "200":
  14048. description: OK
  14049. schema:
  14050. items:
  14051. $ref: '#/definitions/erms3.QryAuditContractRsp'
  14052. type: array
  14053. "500":
  14054. description: Internal Server Error
  14055. schema:
  14056. $ref: '#/definitions/app.Response'
  14057. security:
  14058. - ApiKeyAuth: []
  14059. summary: 查询待审核合同
  14060. tags:
  14061. - 风险管理v3
  14062. /Erms3/QueryPendingBusiness:
  14063. get:
  14064. parameters:
  14065. - description: 资金账号ID列表,逗号隔开
  14066. in: query
  14067. name: accountids
  14068. required: true
  14069. type: string
  14070. produces:
  14071. - application/json
  14072. responses:
  14073. "200":
  14074. description: OK
  14075. schema:
  14076. items:
  14077. $ref: '#/definitions/erms3.QryPendingBizRsp'
  14078. type: array
  14079. "500":
  14080. description: Internal Server Error
  14081. schema:
  14082. $ref: '#/definitions/app.Response'
  14083. security:
  14084. - ApiKeyAuth: []
  14085. summary: 查询待审核基差贸易业务
  14086. tags:
  14087. - 风险管理v3
  14088. /Erms3/QuerySpotContractAppleForm:
  14089. get:
  14090. parameters:
  14091. - description: 登录账号
  14092. in: query
  14093. name: loginID
  14094. required: true
  14095. type: integer
  14096. produces:
  14097. - application/json
  14098. responses:
  14099. "200":
  14100. description: OK
  14101. schema:
  14102. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  14103. "500":
  14104. description: Internal Server Error
  14105. schema:
  14106. $ref: '#/definitions/app.Response'
  14107. security:
  14108. - ApiKeyAuth: []
  14109. summary: 查询合同申请表单数据
  14110. tags:
  14111. - 风险管理v3
  14112. /Erms3/QuerySpotContractDetail:
  14113. get:
  14114. parameters:
  14115. - description: 资金账号ID列表,用逗号分隔
  14116. in: query
  14117. name: accountids
  14118. required: true
  14119. type: string
  14120. - description: 合同类型,1为采购合同 -1为销售合同
  14121. in: query
  14122. name: contracttype
  14123. required: true
  14124. type: integer
  14125. - description: 合同模式,1为普通合同 2为回购销售合同
  14126. in: query
  14127. name: contractmode
  14128. required: true
  14129. type: integer
  14130. - description: 状态,0为履约中 1为已完成
  14131. in: query
  14132. name: status
  14133. required: true
  14134. type: integer
  14135. produces:
  14136. - application/json
  14137. responses:
  14138. "200":
  14139. description: OK
  14140. schema:
  14141. items:
  14142. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  14143. type: array
  14144. "500":
  14145. description: Internal Server Error
  14146. schema:
  14147. $ref: '#/definitions/app.Response'
  14148. security:
  14149. - ApiKeyAuth: []
  14150. summary: 查询合同详细信息
  14151. tags:
  14152. - 风险管理v3
  14153. /Erms3/QueryUserInfoApplies:
  14154. get:
  14155. parameters:
  14156. - description: 页码
  14157. in: query
  14158. name: page
  14159. type: integer
  14160. - description: 每页条数
  14161. in: query
  14162. name: pagesize
  14163. type: integer
  14164. - description: 客户名称,支持模糊查询
  14165. in: query
  14166. name: userName
  14167. type: string
  14168. produces:
  14169. - application/json
  14170. responses:
  14171. "200":
  14172. description: OK
  14173. schema:
  14174. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  14175. "500":
  14176. description: Internal Server Error
  14177. schema:
  14178. $ref: '#/definitions/app.Response'
  14179. security:
  14180. - ApiKeyAuth: []
  14181. summary: 客户申请信息查询
  14182. tags:
  14183. - 风险管理v3
  14184. /Erms3/QueryUserInfos:
  14185. get:
  14186. parameters:
  14187. - description: 页码
  14188. in: query
  14189. name: page
  14190. type: integer
  14191. - description: 每页条数
  14192. in: query
  14193. name: pagesize
  14194. type: integer
  14195. - description: 客户名称,支持模糊查询
  14196. in: query
  14197. name: userName
  14198. type: string
  14199. produces:
  14200. - application/json
  14201. responses:
  14202. "200":
  14203. description: OK
  14204. schema:
  14205. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  14206. "500":
  14207. description: Internal Server Error
  14208. schema:
  14209. $ref: '#/definitions/app.Response'
  14210. security:
  14211. - ApiKeyAuth: []
  14212. summary: 客户信息查询
  14213. tags:
  14214. - 风险管理v3
  14215. /HSBY/GetHsbyMyCount:
  14216. get:
  14217. description: 说明: 不包括已完成的数量。
  14218. parameters:
  14219. - description: 资金账户列表,格式:1,2,3
  14220. in: query
  14221. name: accountIDs
  14222. required: true
  14223. type: string
  14224. produces:
  14225. - application/json
  14226. responses:
  14227. "200":
  14228. description: OK
  14229. schema:
  14230. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  14231. "500":
  14232. description: Internal Server Error
  14233. schema:
  14234. $ref: '#/definitions/app.Response'
  14235. security:
  14236. - ApiKeyAuth: []
  14237. summary: 获取我的订单与包裹数量
  14238. tags:
  14239. - 定制【海商报业】
  14240. /HSBY/QueryClientFixedADConfigs:
  14241. get:
  14242. produces:
  14243. - application/json
  14244. responses:
  14245. "200":
  14246. description: OK
  14247. schema:
  14248. $ref: '#/definitions/models.Clientfixedadconfig'
  14249. "500":
  14250. description: Internal Server Error
  14251. schema:
  14252. $ref: '#/definitions/app.Response'
  14253. security:
  14254. - ApiKeyAuth: []
  14255. summary: 获取终端固定广告配置
  14256. tags:
  14257. - 定制【海商报业】
  14258. /HSBY/QueryHsbyBuyMyTradeDetail:
  14259. get:
  14260. parameters:
  14261. - description: 页码
  14262. in: query
  14263. name: page
  14264. type: integer
  14265. - description: 每页条数
  14266. in: query
  14267. name: pagesize
  14268. type: integer
  14269. - description: 资金账户列表,格式:1,2,3
  14270. in: query
  14271. name: accountIDs
  14272. required: true
  14273. type: string
  14274. produces:
  14275. - application/json
  14276. responses:
  14277. "200":
  14278. description: OK
  14279. schema:
  14280. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  14281. "500":
  14282. description: Internal Server Error
  14283. schema:
  14284. $ref: '#/definitions/app.Response'
  14285. security:
  14286. - ApiKeyAuth: []
  14287. summary: 查询"我的订单 - 已完成"单据信息
  14288. tags:
  14289. - 定制【海商报业】
  14290. /HSBY/QueryHsbyGoodsOrderDetails:
  14291. get:
  14292. description: 说明:查询结果已按委托价格和委托时间排序
  14293. parameters:
  14294. - description: 商品ID
  14295. in: query
  14296. name: goodsID
  14297. required: true
  14298. type: integer
  14299. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  14300. in: query
  14301. name: accountIDs
  14302. type: string
  14303. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  14304. in: query
  14305. name: buyOrSell
  14306. type: integer
  14307. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  14308. in: query
  14309. name: price
  14310. type: number
  14311. - description: 档位,不传则默认为3档
  14312. in: query
  14313. name: speed
  14314. type: integer
  14315. produces:
  14316. - application/json
  14317. responses:
  14318. "200":
  14319. description: OK
  14320. schema:
  14321. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  14322. "500":
  14323. description: Internal Server Error
  14324. schema:
  14325. $ref: '#/definitions/app.Response'
  14326. security:
  14327. - ApiKeyAuth: []
  14328. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  14329. tags:
  14330. - 定制【海商报业】
  14331. /HSBY/QueryHsbyListingGoodsDetail:
  14332. get:
  14333. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  14334. parameters:
  14335. - description: 商品ID
  14336. in: query
  14337. name: goodsID
  14338. required: true
  14339. type: integer
  14340. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  14341. in: query
  14342. name: accountID
  14343. type: integer
  14344. produces:
  14345. - application/json
  14346. responses:
  14347. "200":
  14348. description: OK
  14349. schema:
  14350. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  14351. "500":
  14352. description: Internal Server Error
  14353. schema:
  14354. $ref: '#/definitions/app.Response'
  14355. security:
  14356. - ApiKeyAuth: []
  14357. summary: 查询二级市场(挂牌点选)商品信息详情
  14358. tags:
  14359. - 定制【海商报业】
  14360. /HSBY/QueryHsbyMarketGoodsDetail:
  14361. get:
  14362. parameters:
  14363. - description: 委托单号
  14364. in: query
  14365. name: orderID
  14366. required: true
  14367. type: integer
  14368. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  14369. in: query
  14370. name: accountID
  14371. type: integer
  14372. produces:
  14373. - application/json
  14374. responses:
  14375. "200":
  14376. description: OK
  14377. schema:
  14378. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  14379. "500":
  14380. description: Internal Server Error
  14381. schema:
  14382. $ref: '#/definitions/app.Response'
  14383. security:
  14384. - ApiKeyAuth: []
  14385. summary: 查询三级市场(商城)商品信息详情
  14386. tags:
  14387. - 定制【海商报业】
  14388. /HSBY/QueryHsbyMarketGoodses:
  14389. get:
  14390. parameters:
  14391. - description: 页码
  14392. in: query
  14393. name: page
  14394. type: integer
  14395. - description: 每页条数
  14396. in: query
  14397. name: pagesize
  14398. type: integer
  14399. - description: 市场ID列表,格式:1,2,3
  14400. in: query
  14401. name: marketIDs
  14402. required: true
  14403. type: string
  14404. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  14405. in: query
  14406. name: accountID
  14407. required: true
  14408. type: integer
  14409. - description: 类别ID
  14410. in: query
  14411. name: categoryID
  14412. type: integer
  14413. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  14414. in: query
  14415. name: goodsIDs
  14416. type: string
  14417. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  14418. in: query
  14419. name: couponTypeID
  14420. type: integer
  14421. produces:
  14422. - application/json
  14423. responses:
  14424. "200":
  14425. description: OK
  14426. schema:
  14427. $ref: '#/definitions/models.HsbyMarketGoods'
  14428. "500":
  14429. description: Internal Server Error
  14430. schema:
  14431. $ref: '#/definitions/app.Response'
  14432. security:
  14433. - ApiKeyAuth: []
  14434. summary: 查询特卖商品列表(三级商城)
  14435. tags:
  14436. - 定制【海商报业】
  14437. /HSBY/QueryHsbyMarkets:
  14438. get:
  14439. produces:
  14440. - application/json
  14441. responses:
  14442. "200":
  14443. description: OK
  14444. schema:
  14445. $ref: '#/definitions/models.HsbyMarketInfo'
  14446. "500":
  14447. description: Internal Server Error
  14448. schema:
  14449. $ref: '#/definitions/app.Response'
  14450. security:
  14451. - ApiKeyAuth: []
  14452. summary: 查询海商报业相关市场信息
  14453. tags:
  14454. - 定制【海商报业】
  14455. /HSBY/QueryHsbyMyBuyOrderDetails:
  14456. get:
  14457. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  14458. parameters:
  14459. - description: 资金账户列表,格式:1,2,3
  14460. in: query
  14461. name: accountIDs
  14462. required: true
  14463. type: string
  14464. produces:
  14465. - application/json
  14466. responses:
  14467. "200":
  14468. description: OK
  14469. schema:
  14470. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  14471. "500":
  14472. description: Internal Server Error
  14473. schema:
  14474. $ref: '#/definitions/app.Response'
  14475. security:
  14476. - ApiKeyAuth: []
  14477. summary: 查询“我的订单”信息
  14478. tags:
  14479. - 定制【海商报业】
  14480. /HSBY/QueryHsbyMyGoods:
  14481. get:
  14482. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  14483. parameters:
  14484. - description: 资金账户列表,格式:1,2,3
  14485. in: query
  14486. name: accountIDs
  14487. required: true
  14488. type: string
  14489. produces:
  14490. - application/json
  14491. responses:
  14492. "200":
  14493. description: OK
  14494. schema:
  14495. $ref: '#/definitions/models.HsbyMyGoods'
  14496. "500":
  14497. description: Internal Server Error
  14498. schema:
  14499. $ref: '#/definitions/app.Response'
  14500. security:
  14501. - ApiKeyAuth: []
  14502. summary: 查询“我的商品”信息
  14503. tags:
  14504. - 定制【海商报业】
  14505. /HSBY/QueryHsbyMyPackages:
  14506. get:
  14507. parameters:
  14508. - description: 资金账户列表,格式:1,2,3
  14509. in: query
  14510. name: accountIDs
  14511. required: true
  14512. type: string
  14513. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  14514. in: query
  14515. name: takeOrderStatus
  14516. type: integer
  14517. produces:
  14518. - application/json
  14519. responses:
  14520. "200":
  14521. description: OK
  14522. schema:
  14523. $ref: '#/definitions/models.HsbyMyPackage'
  14524. "500":
  14525. description: Internal Server Error
  14526. schema:
  14527. $ref: '#/definitions/app.Response'
  14528. security:
  14529. - ApiKeyAuth: []
  14530. summary: 查询我的包裹信息
  14531. tags:
  14532. - 定制【海商报业】
  14533. /HSBY/QueryHsbyPreGoodsDetail:
  14534. get:
  14535. parameters:
  14536. - description: 商品ID
  14537. in: query
  14538. name: goodsID
  14539. required: true
  14540. type: integer
  14541. - description: 资金账户,主要用于获取预售商品购买上限
  14542. in: query
  14543. name: accountID
  14544. type: integer
  14545. produces:
  14546. - application/json
  14547. responses:
  14548. "200":
  14549. description: OK
  14550. schema:
  14551. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  14552. "500":
  14553. description: Internal Server Error
  14554. schema:
  14555. $ref: '#/definitions/app.Response'
  14556. security:
  14557. - ApiKeyAuth: []
  14558. summary: 查询一级市场(预售)商品信息详情
  14559. tags:
  14560. - 定制【海商报业】
  14561. /HSBY/QueryHsbyPreGoodses:
  14562. get:
  14563. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  14564. parameters:
  14565. - description: 页码
  14566. in: query
  14567. name: page
  14568. type: integer
  14569. - description: 每页条数
  14570. in: query
  14571. name: pagesize
  14572. type: integer
  14573. - description: 市场ID列表,格式:1,2,3
  14574. in: query
  14575. name: marketIDs
  14576. required: true
  14577. type: string
  14578. - description: 目的地(省)ID
  14579. in: query
  14580. name: descProvinceID
  14581. type: integer
  14582. - description: 目的地(市)ID
  14583. in: query
  14584. name: descCityID
  14585. type: integer
  14586. produces:
  14587. - application/json
  14588. responses:
  14589. "200":
  14590. description: OK
  14591. schema:
  14592. $ref: '#/definitions/models.HsbyPreGoods'
  14593. "500":
  14594. description: Internal Server Error
  14595. schema:
  14596. $ref: '#/definitions/app.Response'
  14597. security:
  14598. - ApiKeyAuth: []
  14599. summary: 查询新品上市商品列表(一级市场预售)
  14600. tags:
  14601. - 定制【海商报业】
  14602. /HSBY/QueryHsbySellMyDetails:
  14603. get:
  14604. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  14605. parameters:
  14606. - description: 页码
  14607. in: query
  14608. name: page
  14609. type: integer
  14610. - description: 每页条数
  14611. in: query
  14612. name: pagesize
  14613. type: integer
  14614. - description: 资金账户列表,格式:1,2,3
  14615. in: query
  14616. name: accountIDs
  14617. required: true
  14618. type: string
  14619. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  14620. in: query
  14621. name: orderType
  14622. type: integer
  14623. produces:
  14624. - application/json
  14625. responses:
  14626. "200":
  14627. description: OK
  14628. schema:
  14629. $ref: '#/definitions/models.HsbySellMyDetail'
  14630. "500":
  14631. description: Internal Server Error
  14632. schema:
  14633. $ref: '#/definitions/app.Response'
  14634. security:
  14635. - ApiKeyAuth: []
  14636. summary: 查询"我的闲置"单据信息
  14637. tags:
  14638. - 定制【海商报业】
  14639. /HSBY/QueryHsbyTopGoodses:
  14640. get:
  14641. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  14642. parameters:
  14643. - description: 页码
  14644. in: query
  14645. name: page
  14646. type: integer
  14647. - description: 每页条数
  14648. in: query
  14649. name: pagesize
  14650. type: integer
  14651. - description: 市场ID列表,格式:1,2,3
  14652. in: query
  14653. name: marketIDs
  14654. required: true
  14655. type: string
  14656. - description: 目的地(省)ID
  14657. in: query
  14658. name: descProvinceID
  14659. type: integer
  14660. - description: 目的地(市)ID
  14661. in: query
  14662. name: descCityID
  14663. type: integer
  14664. produces:
  14665. - application/json
  14666. responses:
  14667. "200":
  14668. description: OK
  14669. schema:
  14670. $ref: '#/definitions/models.HsbyTopGoods'
  14671. "500":
  14672. description: Internal Server Error
  14673. schema:
  14674. $ref: '#/definitions/app.Response'
  14675. security:
  14676. - ApiKeyAuth: []
  14677. summary: 查询热卖商品列表(二级市场挂牌点选)
  14678. tags:
  14679. - 定制【海商报业】
  14680. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  14681. get:
  14682. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  14683. parameters:
  14684. - description: 商品ID
  14685. in: query
  14686. name: goodsID
  14687. required: true
  14688. type: integer
  14689. produces:
  14690. - application/json
  14691. responses:
  14692. "200":
  14693. description: OK
  14694. schema:
  14695. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  14696. "500":
  14697. description: Internal Server Error
  14698. schema:
  14699. $ref: '#/definitions/app.Response'
  14700. security:
  14701. - ApiKeyAuth: []
  14702. summary: 查询游客三级市场(商城)商品信息详情
  14703. tags:
  14704. - 定制【海商报业】
  14705. /HSBY/QueryHsbyVisitorMarketGoodses:
  14706. get:
  14707. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  14708. parameters:
  14709. - description: 页码
  14710. in: query
  14711. name: page
  14712. type: integer
  14713. - description: 每页条数
  14714. in: query
  14715. name: pagesize
  14716. type: integer
  14717. - description: 市场ID列表,格式:1,2,3
  14718. in: query
  14719. name: marketIDs
  14720. required: true
  14721. type: string
  14722. - description: 类别ID
  14723. in: query
  14724. name: categoryID
  14725. type: integer
  14726. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  14727. in: query
  14728. name: goodsIDs
  14729. type: string
  14730. produces:
  14731. - application/json
  14732. responses:
  14733. "200":
  14734. description: OK
  14735. schema:
  14736. $ref: '#/definitions/models.HsbyMarketGoods'
  14737. "500":
  14738. description: Internal Server Error
  14739. schema:
  14740. $ref: '#/definitions/app.Response'
  14741. security:
  14742. - ApiKeyAuth: []
  14743. summary: 查询游客特卖商品列表(三级商城)
  14744. tags:
  14745. - 定制【海商报业】
  14746. /HSBY/QueryMyCollectionOrders:
  14747. get:
  14748. parameters:
  14749. - description: 页码
  14750. in: query
  14751. name: page
  14752. type: integer
  14753. - description: 每页条数
  14754. in: query
  14755. name: pagesize
  14756. type: integer
  14757. - description: 资金账户,格式:1,2,3
  14758. in: query
  14759. name: accountIDs
  14760. required: true
  14761. type: string
  14762. produces:
  14763. - application/json
  14764. responses:
  14765. "200":
  14766. description: OK
  14767. schema:
  14768. $ref: '#/definitions/models.HsbySellCollectionOrder'
  14769. "500":
  14770. description: Internal Server Error
  14771. schema:
  14772. $ref: '#/definitions/app.Response'
  14773. security:
  14774. - ApiKeyAuth: []
  14775. summary: 我的闲置中收款信息查询
  14776. tags:
  14777. - 定制【海商报业】
  14778. /HSBY/QueryMyCouponHolds:
  14779. get:
  14780. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  14781. parameters:
  14782. - description: 资金账户列表,格式:1,2,3
  14783. in: query
  14784. name: accountIDs
  14785. required: true
  14786. type: string
  14787. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  14788. in: query
  14789. name: holdStatus
  14790. type: string
  14791. produces:
  14792. - application/json
  14793. responses:
  14794. "200":
  14795. description: OK
  14796. schema:
  14797. $ref: '#/definitions/models.MyCouponHold'
  14798. "500":
  14799. description: Internal Server Error
  14800. schema:
  14801. $ref: '#/definitions/app.Response'
  14802. security:
  14803. - ApiKeyAuth: []
  14804. summary: 我的优惠卷持仓查询
  14805. tags:
  14806. - 定制【海商报业】
  14807. /HSBY/QueryMyCoupons:
  14808. get:
  14809. parameters:
  14810. - description: 资金账户列表,格式:1,2,3
  14811. in: query
  14812. name: accountIDs
  14813. required: true
  14814. type: string
  14815. - description: 商品ID, 一般与sellUserID配套传入
  14816. in: query
  14817. name: goodsID
  14818. type: integer
  14819. - description: 卖方UserID
  14820. in: query
  14821. name: sellUserID
  14822. type: integer
  14823. produces:
  14824. - application/json
  14825. responses:
  14826. "200":
  14827. description: OK
  14828. schema:
  14829. $ref: '#/definitions/models.MyCoupon'
  14830. "500":
  14831. description: Internal Server Error
  14832. schema:
  14833. $ref: '#/definitions/app.Response'
  14834. security:
  14835. - ApiKeyAuth: []
  14836. summary: 我的优惠卷查询
  14837. tags:
  14838. - 定制【海商报业】
  14839. /HSBY/QueryMyPayOrders:
  14840. get:
  14841. parameters:
  14842. - description: 页码
  14843. in: query
  14844. name: page
  14845. type: integer
  14846. - description: 每页条数
  14847. in: query
  14848. name: pagesize
  14849. type: integer
  14850. - description: 资金账户列表,格式:1,2,3
  14851. in: query
  14852. name: accountIDs
  14853. required: true
  14854. type: string
  14855. - description: 买方委托单号
  14856. in: query
  14857. name: buyOrderID
  14858. type: integer
  14859. - description: 卖方委托单号
  14860. in: query
  14861. name: sellOrderID
  14862. type: integer
  14863. produces:
  14864. - application/json
  14865. responses:
  14866. "200":
  14867. description: OK
  14868. schema:
  14869. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  14870. "500":
  14871. description: Internal Server Error
  14872. schema:
  14873. $ref: '#/definitions/app.Response'
  14874. security:
  14875. - ApiKeyAuth: []
  14876. summary: 获取我的订单中待付款信息
  14877. tags:
  14878. - 定制【海商报业】
  14879. /HSBY/QueryMyUsedCoupon:
  14880. get:
  14881. parameters:
  14882. - description: 资金账户列表,格式:1,2,3
  14883. in: query
  14884. name: accountIDs
  14885. required: true
  14886. type: string
  14887. produces:
  14888. - application/json
  14889. responses:
  14890. "200":
  14891. description: OK
  14892. schema:
  14893. $ref: '#/definitions/models.MyUsedCoupon'
  14894. "500":
  14895. description: Internal Server Error
  14896. schema:
  14897. $ref: '#/definitions/app.Response'
  14898. security:
  14899. - ApiKeyAuth: []
  14900. summary: 已使用优惠卷查询
  14901. tags:
  14902. - 定制【海商报业】
  14903. /HSBY/QueryProvincesAndCities:
  14904. get:
  14905. description: 查询结果只包括二级市场商品已关连的省市信息。
  14906. parameters:
  14907. - description: 省ID
  14908. in: query
  14909. name: provinceID
  14910. type: integer
  14911. produces:
  14912. - application/json
  14913. responses:
  14914. "200":
  14915. description: OK
  14916. schema:
  14917. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  14918. "500":
  14919. description: Internal Server Error
  14920. schema:
  14921. $ref: '#/definitions/app.Response'
  14922. security:
  14923. - ApiKeyAuth: []
  14924. summary: 查询省市信息(不包括区)
  14925. tags:
  14926. - 定制【海商报业】
  14927. /HSBY/SetHsbyMyPackagesStatus:
  14928. post:
  14929. parameters:
  14930. - description: 提货单号
  14931. in: query
  14932. name: takeOrderID
  14933. required: true
  14934. type: string
  14935. - description: 资金账号
  14936. in: query
  14937. name: accountID
  14938. required: true
  14939. type: integer
  14940. produces:
  14941. - application/json
  14942. responses:
  14943. "200":
  14944. description: OK
  14945. schema:
  14946. $ref: '#/definitions/app.Response'
  14947. "500":
  14948. description: Internal Server Error
  14949. schema:
  14950. $ref: '#/definitions/app.Response'
  14951. security:
  14952. - ApiKeyAuth: []
  14953. summary: 设置我的包裹已收货状态
  14954. tags:
  14955. - 定制【海商报业】
  14956. /Market/QueryGoodsesByLoginID:
  14957. get:
  14958. parameters:
  14959. - description: 登录账号
  14960. in: query
  14961. name: loginID
  14962. required: true
  14963. type: integer
  14964. - description: 市场ID列表,格式:1,2,3
  14965. in: query
  14966. name: marketIDs
  14967. type: string
  14968. produces:
  14969. - application/json
  14970. responses:
  14971. "200":
  14972. description: OK
  14973. schema:
  14974. $ref: '#/definitions/models.Goods'
  14975. "500":
  14976. description: Internal Server Error
  14977. schema:
  14978. $ref: '#/definitions/app.Response'
  14979. security:
  14980. - ApiKeyAuth: []
  14981. summary: 获取登录账号有权限的商品信息
  14982. tags:
  14983. - 通用市场
  14984. /Market/QueryMarketRun:
  14985. get:
  14986. parameters:
  14987. - description: 市场ID,不传返回所有
  14988. in: query
  14989. name: marketID
  14990. type: integer
  14991. produces:
  14992. - application/json
  14993. responses:
  14994. "200":
  14995. description: OK
  14996. schema:
  14997. $ref: '#/definitions/models.Marketrun'
  14998. "500":
  14999. description: Internal Server Error
  15000. schema:
  15001. $ref: '#/definitions/app.Response'
  15002. security:
  15003. - ApiKeyAuth: []
  15004. summary: 查询市场运行信息
  15005. tags:
  15006. - 通用市场
  15007. /Market/QueryMarketsByLoginID:
  15008. get:
  15009. parameters:
  15010. - description: 登录账号
  15011. in: query
  15012. name: loginID
  15013. required: true
  15014. type: integer
  15015. produces:
  15016. - application/json
  15017. responses:
  15018. "200":
  15019. description: OK
  15020. schema:
  15021. $ref: '#/definitions/models.Market'
  15022. "500":
  15023. description: Internal Server Error
  15024. schema:
  15025. $ref: '#/definitions/app.Response'
  15026. security:
  15027. - ApiKeyAuth: []
  15028. summary: 获取登录账号有权限的市场信息
  15029. tags:
  15030. - 通用市场
  15031. /Order/QueryHisTradeDetail:
  15032. get:
  15033. parameters:
  15034. - description: 资金账户 - 格式:1,2,3
  15035. in: query
  15036. name: accountID
  15037. required: true
  15038. type: string
  15039. - description: 成交单号
  15040. in: query
  15041. name: tradeID
  15042. type: integer
  15043. - description: 委托单号
  15044. in: query
  15045. name: orderID
  15046. type: integer
  15047. - description: 交易模式 - 格式:1,2,3
  15048. in: query
  15049. name: tradeMode
  15050. type: string
  15051. - description: 委托单据类型
  15052. in: query
  15053. name: buildType
  15054. type: integer
  15055. - description: 成交类别 - 格式:1,2,3
  15056. in: query
  15057. name: tradeType
  15058. type: string
  15059. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  15060. in: query
  15061. name: startDate
  15062. type: string
  15063. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  15064. in: query
  15065. name: endDate
  15066. type: string
  15067. produces:
  15068. - application/json
  15069. responses:
  15070. "200":
  15071. description: OK
  15072. schema:
  15073. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  15074. "500":
  15075. description: Internal Server Error
  15076. schema:
  15077. $ref: '#/definitions/app.Response'
  15078. security:
  15079. - ApiKeyAuth: []
  15080. summary: 历史成交单查询(合约市场)
  15081. tags:
  15082. - 通用单据
  15083. /Order/QueryHisTradeOrderDetail:
  15084. get:
  15085. parameters:
  15086. - description: 资金账户 - 格式:1,2,3
  15087. in: query
  15088. name: accountID
  15089. required: true
  15090. type: string
  15091. - description: 交易模式 - 格式:1,2,3
  15092. in: query
  15093. name: tradeMode
  15094. type: string
  15095. - description: 委托状态 - 格式:1,2,3
  15096. in: query
  15097. name: orderStatus
  15098. type: string
  15099. - description: 委托单号
  15100. in: query
  15101. name: orderID
  15102. type: integer
  15103. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  15104. in: query
  15105. name: startDate
  15106. type: string
  15107. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  15108. in: query
  15109. name: endDate
  15110. type: string
  15111. produces:
  15112. - application/json
  15113. responses:
  15114. "200":
  15115. description: OK
  15116. schema:
  15117. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  15118. "500":
  15119. description: Internal Server Error
  15120. schema:
  15121. $ref: '#/definitions/app.Response'
  15122. security:
  15123. - ApiKeyAuth: []
  15124. summary: 历史委托单查询请求(合约市场)
  15125. tags:
  15126. - 通用单据
  15127. /Order/QueryTradeDetail:
  15128. get:
  15129. parameters:
  15130. - description: 资金账户 - 格式:1,2,3
  15131. in: query
  15132. name: accountID
  15133. required: true
  15134. type: string
  15135. - description: 成交单号
  15136. in: query
  15137. name: tradeID
  15138. type: integer
  15139. - description: 委托单号
  15140. in: query
  15141. name: orderID
  15142. type: integer
  15143. - description: 交易模式 - 格式:1,2,3
  15144. in: query
  15145. name: tradeMode
  15146. type: string
  15147. - description: 委托单据类型
  15148. in: query
  15149. name: buildType
  15150. type: integer
  15151. - description: 成交类别 - 格式:1,2,3
  15152. in: query
  15153. name: tradeType
  15154. type: string
  15155. produces:
  15156. - application/json
  15157. responses:
  15158. "200":
  15159. description: OK
  15160. schema:
  15161. $ref: '#/definitions/order.QueryTradeDetailRsp'
  15162. "500":
  15163. description: Internal Server Error
  15164. schema:
  15165. $ref: '#/definitions/app.Response'
  15166. security:
  15167. - ApiKeyAuth: []
  15168. summary: 成交单查询(合约市场)
  15169. tags:
  15170. - 通用单据
  15171. /Order/QueryTradeOrderDetail:
  15172. get:
  15173. parameters:
  15174. - description: 资金账户 - 格式:1,2,3
  15175. in: query
  15176. name: accountID
  15177. required: true
  15178. type: string
  15179. - description: 交易模式 - 格式:1,2,3
  15180. in: query
  15181. name: tradeMode
  15182. type: string
  15183. - description: 委托状态 - 格式:1,2,3
  15184. in: query
  15185. name: orderStatus
  15186. type: string
  15187. - description: 委托单号
  15188. in: query
  15189. name: orderID
  15190. type: integer
  15191. produces:
  15192. - application/json
  15193. responses:
  15194. "200":
  15195. description: OK
  15196. schema:
  15197. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  15198. "500":
  15199. description: Internal Server Error
  15200. schema:
  15201. $ref: '#/definitions/app.Response'
  15202. security:
  15203. - ApiKeyAuth: []
  15204. summary: 委托单查询请求(合约市场)
  15205. tags:
  15206. - 通用单据
  15207. /Order/QueryTradePosition:
  15208. get:
  15209. parameters:
  15210. - description: 资金账户 - 格式:1,2,3
  15211. in: query
  15212. name: accountID
  15213. required: true
  15214. type: string
  15215. - description: 交易模式 - 格式:1,2,3
  15216. in: query
  15217. name: tradeMode
  15218. type: string
  15219. produces:
  15220. - application/json
  15221. responses:
  15222. "200":
  15223. description: OK
  15224. schema:
  15225. $ref: '#/definitions/order.QueryTradePositionRsp'
  15226. "500":
  15227. description: Internal Server Error
  15228. schema:
  15229. $ref: '#/definitions/app.Response'
  15230. security:
  15231. - ApiKeyAuth: []
  15232. summary: 持仓汇总查询(合约市场)
  15233. tags:
  15234. - 通用单据
  15235. /Quote/QueryHistoryDatas:
  15236. get:
  15237. parameters:
  15238. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  15239. 日线'
  15240. in: query
  15241. name: cycleType
  15242. required: true
  15243. type: integer
  15244. - description: 商品代码
  15245. in: query
  15246. name: goodsCode
  15247. required: true
  15248. type: string
  15249. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  15250. in: query
  15251. name: startTime
  15252. type: string
  15253. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  15254. in: query
  15255. name: endTime
  15256. type: string
  15257. - description: 条数
  15258. in: query
  15259. name: count
  15260. type: integer
  15261. - description: 是否按时间顺序排序(默认为时间倒序排序)
  15262. in: query
  15263. name: isAsc
  15264. type: boolean
  15265. produces:
  15266. - application/json
  15267. responses:
  15268. "200":
  15269. description: OK
  15270. schema:
  15271. $ref: '#/definitions/quote.HistoryData'
  15272. "500":
  15273. description: Internal Server Error
  15274. schema:
  15275. $ref: '#/definitions/app.Response'
  15276. security:
  15277. - ApiKeyAuth: []
  15278. summary: 查询行情历史数据
  15279. tags:
  15280. - 行情服务
  15281. /Quote/QueryHistoryTikDatas:
  15282. get:
  15283. parameters:
  15284. - description: 商品代码
  15285. in: query
  15286. name: goodsCode
  15287. required: true
  15288. type: string
  15289. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  15290. in: query
  15291. name: startTime
  15292. type: string
  15293. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  15294. in: query
  15295. name: endTime
  15296. type: string
  15297. - description: 条数
  15298. in: query
  15299. name: count
  15300. type: integer
  15301. - description: 是否按时间顺序排序(默认为时间倒序排序)
  15302. in: query
  15303. name: isAsc
  15304. type: boolean
  15305. produces:
  15306. - application/json
  15307. responses:
  15308. "200":
  15309. description: OK
  15310. schema:
  15311. $ref: '#/definitions/quote.HistoryTikData'
  15312. "500":
  15313. description: Internal Server Error
  15314. schema:
  15315. $ref: '#/definitions/app.Response'
  15316. security:
  15317. - ApiKeyAuth: []
  15318. summary: 查询行情Tik数据
  15319. tags:
  15320. - 行情服务
  15321. /Quote/QueryQuoteDay:
  15322. get:
  15323. parameters:
  15324. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  15325. in: query
  15326. name: goodsCodes
  15327. required: true
  15328. type: string
  15329. produces:
  15330. - application/json
  15331. responses:
  15332. "200":
  15333. description: OK
  15334. schema:
  15335. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  15336. "500":
  15337. description: Internal Server Error
  15338. schema:
  15339. $ref: '#/definitions/app.Response'
  15340. security:
  15341. - ApiKeyAuth: []
  15342. summary: 获取商品盘面信息
  15343. tags:
  15344. - 行情服务
  15345. /Quote/QueryTSData:
  15346. get:
  15347. parameters:
  15348. - description: 商品代码
  15349. in: query
  15350. name: goodsCode
  15351. required: true
  15352. type: string
  15353. produces:
  15354. - application/json
  15355. responses:
  15356. "200":
  15357. description: OK
  15358. schema:
  15359. $ref: '#/definitions/quote.QueryTSDataRsp'
  15360. "500":
  15361. description: Internal Server Error
  15362. schema:
  15363. $ref: '#/definitions/app.Response'
  15364. security:
  15365. - ApiKeyAuth: []
  15366. summary: 分时图数据查询
  15367. tags:
  15368. - 行情服务
  15369. /SZDZ/QueryConvertConfig:
  15370. get:
  15371. parameters:
  15372. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  15373. 6:交易转花生米(不设置)
  15374. in: query
  15375. name: convertType
  15376. type: integer
  15377. - description: 外部商品代码[JD\PD]
  15378. in: query
  15379. name: outerGoodsCode
  15380. type: string
  15381. - description: 内部商品ID列表[交易],格式:1,2,3
  15382. in: query
  15383. name: innerGoodsIDs
  15384. type: string
  15385. produces:
  15386. - application/json
  15387. responses:
  15388. "200":
  15389. description: OK
  15390. schema:
  15391. $ref: '#/definitions/models.Szdz3convertconfig'
  15392. "500":
  15393. description: Internal Server Error
  15394. schema:
  15395. $ref: '#/definitions/app.Response'
  15396. security:
  15397. - ApiKeyAuth: []
  15398. summary: 查询交易系统转换设置
  15399. tags:
  15400. - 定制【尚志大宗】
  15401. /SZDZ/QueryConvertLog:
  15402. get:
  15403. parameters:
  15404. - description: 资金账户 - 格式:1,2,3
  15405. in: query
  15406. name: accountID
  15407. required: true
  15408. type: string
  15409. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  15410. in: query
  15411. name: startDate
  15412. type: string
  15413. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  15414. in: query
  15415. name: endDate
  15416. type: string
  15417. produces:
  15418. - application/json
  15419. responses:
  15420. "200":
  15421. description: OK
  15422. schema:
  15423. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  15424. "500":
  15425. description: Internal Server Error
  15426. schema:
  15427. $ref: '#/definitions/app.Response'
  15428. security:
  15429. - ApiKeyAuth: []
  15430. summary: 交易系统转换流水查询
  15431. tags:
  15432. - 定制【尚志大宗】
  15433. /SZDZ/QueryGoodsPickup:
  15434. get:
  15435. parameters:
  15436. - description: 资金账户 - 格式:1,2,3
  15437. in: query
  15438. name: accountID
  15439. required: true
  15440. type: string
  15441. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  15442. in: query
  15443. name: takeOrderStatus
  15444. type: integer
  15445. produces:
  15446. - application/json
  15447. responses:
  15448. "200":
  15449. description: OK
  15450. schema:
  15451. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  15452. "500":
  15453. description: Internal Server Error
  15454. schema:
  15455. $ref: '#/definitions/app.Response'
  15456. security:
  15457. - ApiKeyAuth: []
  15458. summary: 商品提货单查询
  15459. tags:
  15460. - 定制【尚志大宗】
  15461. /SZDZ/QueryRecieptOrder:
  15462. get:
  15463. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  15464. parameters:
  15465. - description: 页码
  15466. in: query
  15467. name: page
  15468. type: integer
  15469. - description: 每页条数
  15470. in: query
  15471. name: pagesize
  15472. type: integer
  15473. - description: 商品ID
  15474. in: query
  15475. name: goodsID
  15476. required: true
  15477. type: integer
  15478. - description: 所属账户名称
  15479. in: query
  15480. name: accountName
  15481. type: string
  15482. - description: 市场ID
  15483. in: query
  15484. name: marketID
  15485. type: integer
  15486. - description: 方向 - 0:买 1:卖
  15487. in: query
  15488. name: buyorsell
  15489. required: true
  15490. type: integer
  15491. produces:
  15492. - application/json
  15493. responses:
  15494. "200":
  15495. description: OK
  15496. schema:
  15497. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  15498. "500":
  15499. description: Internal Server Error
  15500. schema:
  15501. $ref: '#/definitions/app.Response'
  15502. security:
  15503. - ApiKeyAuth: []
  15504. summary: 点选挂牌委托单据查询(摘牌大厅)
  15505. tags:
  15506. - 定制【尚志大宗】
  15507. /SZDZ/QuerySZDZTradePosition:
  15508. get:
  15509. parameters:
  15510. - description: 资金账户
  15511. in: query
  15512. name: accountID
  15513. required: true
  15514. type: integer
  15515. produces:
  15516. - application/json
  15517. responses:
  15518. "200":
  15519. description: OK
  15520. schema:
  15521. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  15522. "500":
  15523. description: Internal Server Error
  15524. schema:
  15525. $ref: '#/definitions/app.Response'
  15526. security:
  15527. - ApiKeyAuth: []
  15528. summary: 持仓汇总查询(尚志大宗)
  15529. tags:
  15530. - 定制【尚志大宗】
  15531. /SZDZ/SearchWhite:
  15532. get:
  15533. parameters:
  15534. - description: 用户ID
  15535. in: query
  15536. name: userID
  15537. required: true
  15538. type: integer
  15539. produces:
  15540. - application/json
  15541. responses:
  15542. "200":
  15543. description: OK
  15544. schema:
  15545. $ref: '#/definitions/models.Szdz3searchwhitelist'
  15546. "500":
  15547. description: Internal Server Error
  15548. schema:
  15549. $ref: '#/definitions/app.Response'
  15550. security:
  15551. - ApiKeyAuth: []
  15552. summary: 搜索白名单
  15553. tags:
  15554. - 定制【尚志大宗】
  15555. /Search/SearchGoodses:
  15556. get:
  15557. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  15558. parameters:
  15559. - description: 检索内容
  15560. in: query
  15561. name: content
  15562. required: true
  15563. type: string
  15564. - description: 交易模式,格式:1,2,3
  15565. in: query
  15566. name: tradeModes
  15567. type: string
  15568. produces:
  15569. - application/json
  15570. responses:
  15571. "200":
  15572. description: OK
  15573. schema:
  15574. $ref: '#/definitions/models.SearchGoods'
  15575. "500":
  15576. description: Internal Server Error
  15577. schema:
  15578. $ref: '#/definitions/app.Response'
  15579. summary: 检索商品信息
  15580. tags:
  15581. - 检索服务
  15582. /TaAccount/GetTaAccounts:
  15583. get:
  15584. parameters:
  15585. - description: 登录账户
  15586. in: query
  15587. name: loginID
  15588. required: true
  15589. type: integer
  15590. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  15591. in: query
  15592. name: taAccountType
  15593. type: integer
  15594. produces:
  15595. - application/json
  15596. responses:
  15597. "200":
  15598. description: OK
  15599. schema:
  15600. $ref: '#/definitions/models.Taaccount'
  15601. "500":
  15602. description: Internal Server Error
  15603. schema:
  15604. $ref: '#/definitions/app.Response'
  15605. security:
  15606. - ApiKeyAuth: []
  15607. summary: 获取资金账户信息
  15608. tags:
  15609. - 资金账户
  15610. /TaAccount/QueryAmountLog:
  15611. get:
  15612. parameters:
  15613. - description: 页码
  15614. in: query
  15615. name: page
  15616. type: integer
  15617. - description: 每页条数
  15618. in: query
  15619. name: pagesize
  15620. type: integer
  15621. - description: 资金账户 - 格式:1,2,3
  15622. in: query
  15623. name: accountID
  15624. required: true
  15625. type: string
  15626. - description: 资金操作类型 - 格式:1,2,3
  15627. in: query
  15628. name: OperateType
  15629. type: string
  15630. produces:
  15631. - application/json
  15632. responses:
  15633. "200":
  15634. description: OK
  15635. schema:
  15636. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  15637. "500":
  15638. description: Internal Server Error
  15639. schema:
  15640. $ref: '#/definitions/app.Response'
  15641. security:
  15642. - ApiKeyAuth: []
  15643. summary: 资金流水查询(当前)
  15644. tags:
  15645. - 资金账户
  15646. /TaAccount/QueryHisAmountLog:
  15647. get:
  15648. parameters:
  15649. - description: 页码
  15650. in: query
  15651. name: page
  15652. type: integer
  15653. - description: 每页条数
  15654. in: query
  15655. name: pagesize
  15656. type: integer
  15657. - description: 资金账户 - 格式:1,2,3
  15658. in: query
  15659. name: accountID
  15660. required: true
  15661. type: string
  15662. - description: 资金操作类型 - 格式:1,2,3
  15663. in: query
  15664. name: OperateType
  15665. type: string
  15666. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  15667. in: query
  15668. name: startDate
  15669. type: string
  15670. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  15671. in: query
  15672. name: endDate
  15673. type: string
  15674. produces:
  15675. - application/json
  15676. responses:
  15677. "200":
  15678. description: OK
  15679. schema:
  15680. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  15681. "500":
  15682. description: Internal Server Error
  15683. schema:
  15684. $ref: '#/definitions/app.Response'
  15685. security:
  15686. - ApiKeyAuth: []
  15687. summary: 资金流水查询(历史)
  15688. tags:
  15689. - 资金账户
  15690. /Trade/QueryRecieptOrder:
  15691. get:
  15692. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  15693. parameters:
  15694. - description: 页码
  15695. in: query
  15696. name: page
  15697. type: integer
  15698. - description: 每页条数
  15699. in: query
  15700. name: pagesize
  15701. type: integer
  15702. - description: 商品ID
  15703. in: query
  15704. name: goodsID
  15705. required: true
  15706. type: integer
  15707. - description: 所属账户名称
  15708. in: query
  15709. name: accountName
  15710. type: string
  15711. - description: 市场ID
  15712. in: query
  15713. name: marketID
  15714. type: integer
  15715. - description: 方向 - 0:买 1:卖
  15716. in: query
  15717. name: buyorsell
  15718. required: true
  15719. type: integer
  15720. produces:
  15721. - application/json
  15722. responses:
  15723. "200":
  15724. description: OK
  15725. schema:
  15726. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  15727. "500":
  15728. description: Internal Server Error
  15729. schema:
  15730. $ref: '#/definitions/app.Response'
  15731. security:
  15732. - ApiKeyAuth: []
  15733. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  15734. tags:
  15735. - 通用交易
  15736. /User/AddMessageBoard:
  15737. post:
  15738. parameters:
  15739. - description: 用户ID
  15740. in: query
  15741. name: userID
  15742. required: true
  15743. type: integer
  15744. - description: 留言信息
  15745. in: query
  15746. name: message
  15747. required: true
  15748. type: string
  15749. - description: 联系电话
  15750. in: query
  15751. name: contactNum
  15752. required: true
  15753. type: string
  15754. produces:
  15755. - application/json
  15756. responses:
  15757. "200":
  15758. description: OK
  15759. schema:
  15760. $ref: '#/definitions/app.Response'
  15761. "500":
  15762. description: Internal Server Error
  15763. schema:
  15764. $ref: '#/definitions/app.Response'
  15765. security:
  15766. - ApiKeyAuth: []
  15767. summary: 添加用户留言板信息
  15768. tags:
  15769. - 用户信息
  15770. /User/AddUserFavoriteGoods:
  15771. post:
  15772. parameters:
  15773. - description: 用户ID
  15774. in: query
  15775. name: userID
  15776. required: true
  15777. type: integer
  15778. - description: 商品ID
  15779. in: query
  15780. name: goodsID
  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. /User/GetLoginID:
  15800. get:
  15801. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  15802. parameters:
  15803. - description: 登录代码
  15804. in: query
  15805. name: username
  15806. required: true
  15807. type: string
  15808. produces:
  15809. - application/json
  15810. responses:
  15811. "200":
  15812. description: OK
  15813. schema:
  15814. $ref: '#/definitions/app.Response'
  15815. "500":
  15816. description: Internal Server Error
  15817. schema:
  15818. $ref: '#/definitions/app.Response'
  15819. summary: 获取登录ID
  15820. tags:
  15821. - 用户信息
  15822. /User/GetUserAccount:
  15823. get:
  15824. parameters:
  15825. - description: 用户ID
  15826. in: query
  15827. name: userID
  15828. required: true
  15829. type: integer
  15830. produces:
  15831. - application/json
  15832. responses:
  15833. "200":
  15834. description: OK
  15835. schema:
  15836. $ref: '#/definitions/models.Useraccount'
  15837. "500":
  15838. description: Internal Server Error
  15839. schema:
  15840. $ref: '#/definitions/app.Response'
  15841. security:
  15842. - ApiKeyAuth: []
  15843. summary: 获取用户账号信息
  15844. tags:
  15845. - 用户信息
  15846. /User/GetUserAuthStatus:
  15847. get:
  15848. parameters:
  15849. - description: 用户ID
  15850. in: query
  15851. name: userID
  15852. required: true
  15853. type: integer
  15854. produces:
  15855. - application/json
  15856. responses:
  15857. "200":
  15858. description: OK
  15859. schema:
  15860. $ref: '#/definitions/app.Response'
  15861. "500":
  15862. description: Internal Server Error
  15863. schema:
  15864. $ref: '#/definitions/app.Response'
  15865. security:
  15866. - ApiKeyAuth: []
  15867. summary: 获取用户实名认证状态
  15868. tags:
  15869. - 用户信息
  15870. /User/LoginQuery:
  15871. get:
  15872. parameters:
  15873. - description: 登录账号
  15874. in: query
  15875. name: loginID
  15876. required: true
  15877. type: integer
  15878. produces:
  15879. - application/json
  15880. responses:
  15881. "200":
  15882. description: OK
  15883. schema:
  15884. $ref: '#/definitions/user.LoginQueryRsp'
  15885. "500":
  15886. description: Internal Server Error
  15887. schema:
  15888. $ref: '#/definitions/app.Response'
  15889. security:
  15890. - ApiKeyAuth: []
  15891. summary: 账户登录后信息查询
  15892. tags:
  15893. - 用户信息
  15894. /User/QueryMessageBoard:
  15895. get:
  15896. parameters:
  15897. - description: 用户ID
  15898. in: query
  15899. name: userID
  15900. required: true
  15901. type: integer
  15902. produces:
  15903. - application/json
  15904. responses:
  15905. "200":
  15906. description: OK
  15907. schema:
  15908. $ref: '#/definitions/models.Messageboard'
  15909. "500":
  15910. description: Internal Server Error
  15911. schema:
  15912. $ref: '#/definitions/app.Response'
  15913. security:
  15914. - ApiKeyAuth: []
  15915. summary: 获取用户留言板信息
  15916. tags:
  15917. - 用户信息
  15918. /User/QueryUserFavoriteGoodses:
  15919. get:
  15920. parameters:
  15921. - description: 用户ID
  15922. in: query
  15923. name: userID
  15924. required: true
  15925. type: integer
  15926. produces:
  15927. - application/json
  15928. responses:
  15929. "200":
  15930. description: OK
  15931. schema:
  15932. $ref: '#/definitions/models.Userfavoritegoods'
  15933. "500":
  15934. description: Internal Server Error
  15935. schema:
  15936. $ref: '#/definitions/app.Response'
  15937. security:
  15938. - ApiKeyAuth: []
  15939. summary: 获取用户商品收藏信息
  15940. tags:
  15941. - 用户信息
  15942. /User/QueryUserInfo:
  15943. get:
  15944. parameters:
  15945. - description: 用户ID
  15946. in: query
  15947. name: userID
  15948. required: true
  15949. type: integer
  15950. - description: 是否解密
  15951. in: query
  15952. name: isDecrypt
  15953. type: boolean
  15954. produces:
  15955. - application/json
  15956. responses:
  15957. "200":
  15958. description: OK
  15959. schema:
  15960. $ref: '#/definitions/models.Userinfo'
  15961. "500":
  15962. description: Internal Server Error
  15963. schema:
  15964. $ref: '#/definitions/app.Response'
  15965. security:
  15966. - ApiKeyAuth: []
  15967. summary: 获取用户信息
  15968. tags:
  15969. - 用户信息
  15970. /User/QueryUserReferNum:
  15971. get:
  15972. parameters:
  15973. - description: 用户ID
  15974. in: query
  15975. name: userID
  15976. required: true
  15977. type: integer
  15978. produces:
  15979. - application/json
  15980. responses:
  15981. "200":
  15982. description: OK
  15983. schema:
  15984. $ref: '#/definitions/app.Response'
  15985. "500":
  15986. description: Internal Server Error
  15987. schema:
  15988. $ref: '#/definitions/app.Response'
  15989. summary: 获取用户邀请码
  15990. tags:
  15991. - 用户信息
  15992. /User/RemoveUserFavoriteGoods:
  15993. post:
  15994. parameters:
  15995. - description: 用户ID
  15996. in: query
  15997. name: userID
  15998. required: true
  15999. type: integer
  16000. - description: 商品ID
  16001. in: query
  16002. name: goodsID
  16003. required: true
  16004. type: integer
  16005. produces:
  16006. - application/json
  16007. responses:
  16008. "200":
  16009. description: OK
  16010. schema:
  16011. $ref: '#/definitions/app.Response'
  16012. "500":
  16013. description: Internal Server Error
  16014. schema:
  16015. $ref: '#/definitions/app.Response'
  16016. security:
  16017. - ApiKeyAuth: []
  16018. summary: 移除用户商品收藏信息
  16019. tags:
  16020. - 用户信息
  16021. /User/UpdateUserAccountStatus:
  16022. post:
  16023. parameters:
  16024. - description: 用户ID
  16025. in: query
  16026. name: userID
  16027. required: true
  16028. type: integer
  16029. - description: 账户状态 - 4:正常 6:注销(停用)
  16030. in: query
  16031. name: accountStatus
  16032. required: true
  16033. type: integer
  16034. produces:
  16035. - application/json
  16036. responses:
  16037. "200":
  16038. description: OK
  16039. schema:
  16040. $ref: '#/definitions/app.Response'
  16041. "500":
  16042. description: Internal Server Error
  16043. schema:
  16044. $ref: '#/definitions/app.Response'
  16045. security:
  16046. - ApiKeyAuth: []
  16047. summary: 更新用户状态
  16048. tags:
  16049. - 用户信息
  16050. /WRTrade/GetAllDeliveryGoods:
  16051. get:
  16052. produces:
  16053. - application/json
  16054. - application/json
  16055. responses:
  16056. "200":
  16057. description: OK
  16058. schema:
  16059. $ref: '#/definitions/app.Response'
  16060. "500":
  16061. description: Internal Server Error
  16062. schema:
  16063. $ref: '#/definitions/app.Response'
  16064. security:
  16065. - ApiKeyAuth: []
  16066. - ApiKeyAuth: []
  16067. summary: 获取带仓单分类的种类信息
  16068. tags:
  16069. - 仓单贸易
  16070. - 仓单贸易
  16071. securityDefinitions:
  16072. ApiKeyAuth:
  16073. in: header
  16074. name: Authorization
  16075. type: apiKey
  16076. swagger: "2.0"