swagger.yaml 459 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. rulekey:
  35. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  36. type: string
  37. sort:
  38. description: 排序
  39. type: integer
  40. title:
  41. description: 标题
  42. type: string
  43. type:
  44. description: 类型,1:菜单 2:按钮
  45. type: integer
  46. type: object
  47. common.QueryImageConfigsRsp:
  48. properties:
  49. areauserid:
  50. description: 所属机构ID
  51. type: integer
  52. configid:
  53. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  54. type: integer
  55. createdate:
  56. description: 创建时间
  57. type: string
  58. creatorid:
  59. description: 创建人
  60. type: integer
  61. imagepath:
  62. description: 图片
  63. type: string
  64. imagetype:
  65. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  66. type: integer
  67. isshow:
  68. description: 是否展示 - 0:不展示 1:展示
  69. type: integer
  70. marketid:
  71. description: 市场ID
  72. type: integer
  73. modifierid:
  74. description: 操作人
  75. type: integer
  76. sort:
  77. description: 排序
  78. type: integer
  79. title:
  80. description: 标题
  81. type: string
  82. trademode:
  83. description: 交易模式
  84. type: integer
  85. updatedate:
  86. description: 修改时间
  87. type: string
  88. url:
  89. description: 链接(地址或商品ID)
  90. type: string
  91. urltype:
  92. description: 链接类型 - 1:直接地址 2:商品ID
  93. type: integer
  94. required:
  95. - configid
  96. type: object
  97. common.QueryNoticeRsp:
  98. properties:
  99. auditoruserid:
  100. description: 审核人
  101. type: integer
  102. auditremark:
  103. description: 审核备注
  104. type: string
  105. audittime:
  106. description: 审核日期
  107. type: string
  108. autoid:
  109. description: 自增ID
  110. type: integer
  111. content:
  112. description: 内容
  113. type: string
  114. createtime:
  115. description: 创建时间
  116. type: string
  117. creatorid:
  118. description: 建仓人
  119. type: integer
  120. endtime:
  121. description: 结束时间
  122. type: string
  123. istop:
  124. description: 是否置顶 - 0:不置顶 1:置顶
  125. type: integer
  126. msgiconurl:
  127. description: 消息图标Url
  128. type: string
  129. msgtype:
  130. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  131. type: integer
  132. publisher:
  133. description: 消息发布者
  134. type: string
  135. readed:
  136. description: 是否已读
  137. type: boolean
  138. scheduletime:
  139. description: 计划发送时间
  140. type: string
  141. sendtype:
  142. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  143. type: integer
  144. sentstatus:
  145. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  146. type: integer
  147. title:
  148. description: 标题
  149. type: string
  150. userid:
  151. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  152. type: integer
  153. required:
  154. - autoid
  155. type: object
  156. common.QueryProvincesAndCitiesRsp:
  157. properties:
  158. cities:
  159. description: 市
  160. items:
  161. $ref: '#/definitions/models.Division'
  162. type: array
  163. province:
  164. $ref: '#/definitions/models.Division'
  165. description: 省
  166. type: object
  167. type: object
  168. common.QueryTableDefineRsp:
  169. properties:
  170. columns:
  171. description: 列头信息数组
  172. items:
  173. $ref: '#/definitions/models.Tablecolumnconfig'
  174. type: array
  175. remark:
  176. description: Remark
  177. type: string
  178. tabelmenu:
  179. description: 列表菜单
  180. type: string
  181. tablekey:
  182. description: 列表Key
  183. type: string
  184. tablename:
  185. description: 列表名称
  186. type: string
  187. tabletype:
  188. description: 列表类型 - 1:管理端 2:终端
  189. type: integer
  190. required:
  191. - tablekey
  192. type: object
  193. common.QueryTraderMenuRsp:
  194. properties:
  195. OperationMenu:
  196. description: 功能菜单
  197. items:
  198. $ref: '#/definitions/models.OperationPrimaryMenu'
  199. type: array
  200. QuoteMenu:
  201. description: 报价牌分类菜单
  202. items:
  203. $ref: '#/definitions/models.QuotePrimaryMenu'
  204. type: array
  205. type: object
  206. cptrade.Cptradepositioncancel:
  207. properties:
  208. accountid:
  209. description: 申请人账户ID
  210. type: integer
  211. applystatus:
  212. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  213. type: integer
  214. applytime:
  215. description: 申请时间
  216. type: string
  217. cancelid:
  218. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  219. type: integer
  220. cancelqty:
  221. description: 注销数量
  222. type: integer
  223. createtime:
  224. description: 创建时间
  225. type: string
  226. creatorid:
  227. description: 创建人ID
  228. type: integer
  229. creatorname:
  230. description: 创建人
  231. type: string
  232. goodscode:
  233. description: 订单商品代码
  234. type: string
  235. goodsid:
  236. description: 商品ID
  237. type: integer
  238. goodsname:
  239. description: 订单商品名称
  240. type: string
  241. goodunit:
  242. description: 报价单位
  243. type: string
  244. handlestatus:
  245. description: 处理状态
  246. type: integer
  247. marketid:
  248. description: 市场ID
  249. type: integer
  250. marketname:
  251. description: 市场名称
  252. type: string
  253. tradedate:
  254. description: 交易日(yyyyMMdd)
  255. type: string
  256. userid:
  257. description: 申请人ID
  258. type: integer
  259. required:
  260. - cancelid
  261. type: object
  262. cptrade.Cptradepresaleapply:
  263. properties:
  264. accountid:
  265. description: 申请人账户ID
  266. type: integer
  267. applyid:
  268. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  269. type: integer
  270. applyremark:
  271. description: 申请备注
  272. type: string
  273. applystatus:
  274. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  275. type: integer
  276. applytime:
  277. description: 申请时间
  278. type: string
  279. attachmenturl:
  280. description: 附件地址
  281. type: string
  282. endtime:
  283. description: 预售结束时间
  284. type: string
  285. goodscode:
  286. description: 商品代码
  287. type: string
  288. goodsid:
  289. description: 商品ID
  290. type: integer
  291. goodsname:
  292. description: 商品名称
  293. type: string
  294. goodunit:
  295. description: 报价单位
  296. type: string
  297. handlestatus:
  298. description: 处理状态
  299. type: integer
  300. marketid:
  301. description: 预售市场ID
  302. type: integer
  303. marketname:
  304. description: 预售市场名称
  305. type: string
  306. presaleqty:
  307. description: 预售数量
  308. type: integer
  309. relatedgoodscode:
  310. description: 关联交易合约代码
  311. type: string
  312. relatedgoodsid:
  313. description: 关联交易合约ID
  314. type: integer
  315. relatedgoodsname:
  316. description: 关联交易合约名称
  317. type: string
  318. starttime:
  319. description: 预售开始时间
  320. type: string
  321. tradedate:
  322. description: 交易日(yyyyMMdd)
  323. type: string
  324. trademode:
  325. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  326. type: integer
  327. userid:
  328. description: 申请人ID
  329. type: integer
  330. required:
  331. - applyid
  332. type: object
  333. cptrade.Cptradeusergoodsdata:
  334. properties:
  335. EnabledQty:
  336. description: 可用量
  337. type: integer
  338. GoodsCode:
  339. description: 订单商品代码
  340. type: string
  341. GoodsName:
  342. description: 订单商品名称
  343. type: string
  344. WRStandardCode:
  345. description: 仓单标准代码
  346. type: string
  347. WRStandardName:
  348. description: 仓单标准名称
  349. type: string
  350. accountid:
  351. description: 账户ID
  352. type: integer
  353. cancelqty:
  354. description: 注销量
  355. type: integer
  356. curpresaleqty:
  357. description: 当前预售量
  358. type: integer
  359. deliveryqty:
  360. description: 交割量
  361. type: integer
  362. freezeamount:
  363. description: 冻结金额
  364. type: number
  365. goodsid:
  366. description: 商品ID
  367. type: integer
  368. goodunit:
  369. description: 报价单位
  370. type: string
  371. hasspotfreeze:
  372. description: 是否有现货冻结 - 0:否 1:有
  373. type: integer
  374. inqty:
  375. description: 转入量(总数量)
  376. type: integer
  377. marketid:
  378. description: 市场ID
  379. type: integer
  380. presaledamount:
  381. description: 已预售总金额
  382. type: integer
  383. presaledqty:
  384. description: 已预售量
  385. type: integer
  386. userid:
  387. description: 用户ID
  388. type: integer
  389. wrstandardid:
  390. description: 仓单标准ID
  391. type: integer
  392. required:
  393. - accountid
  394. - goodsid
  395. type: object
  396. cptrade.QueryCPTradeMyBidRsp:
  397. properties:
  398. accountid:
  399. description: 账户ID[报价币种]
  400. type: integer
  401. goodsid:
  402. description: 商品ID
  403. type: integer
  404. goodunit:
  405. description: 报价单位
  406. type: string
  407. marketid:
  408. description: 市场ID
  409. type: integer
  410. orderid:
  411. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  412. type: integer
  413. orderprice:
  414. description: 委托价格
  415. type: number
  416. orderqty:
  417. description: 委托数量
  418. type: integer
  419. ordertime:
  420. description: 委托时间
  421. type: string
  422. ordertotalprice:
  423. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  424. type: number
  425. ordertotalweight:
  426. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  427. type: integer
  428. totaltotalprice:
  429. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  430. type: number
  431. tradeprice:
  432. description: 成交价格
  433. type: number
  434. tradeqty:
  435. description: 成交数量
  436. type: integer
  437. required:
  438. - accountid
  439. - goodsid
  440. - marketid
  441. - orderid
  442. - orderqty
  443. - ordertime
  444. - tradeprice
  445. - tradeqty
  446. type: object
  447. cptrade.QueryCPTradeOrderDetailRsq:
  448. properties:
  449. accountid:
  450. description: 账户ID[报价币种]
  451. type: integer
  452. buildtype:
  453. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  454. type: integer
  455. buyorsell:
  456. description: 买卖 - 0:买 1:卖
  457. type: integer
  458. cancelorderid:
  459. description: 撤单单号(撤单时填写)
  460. type: integer
  461. cancelqty:
  462. description: 撤单数量
  463. type: integer
  464. clientordertime:
  465. description: 客户端委托时间
  466. type: string
  467. clientticket:
  468. description: 客户端流水号
  469. type: string
  470. clienttype:
  471. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  472. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  473. type: integer
  474. closeexchagechargevalue:
  475. description: 平仓交易所手续费设置值
  476. type: number
  477. closefeealgorithm:
  478. description: 平仓手续费收取方式 1:比率 2:固定
  479. type: integer
  480. closefreezecharge:
  481. description: 平仓冻结手续费(先建后平操作,需要记录)
  482. type: number
  483. closememberchargevalue:
  484. description: 平仓会员手续费设置值
  485. type: number
  486. closeqty:
  487. description: 平仓数量(先建后平操作 需要记录)
  488. type: integer
  489. closetradeqty:
  490. description: 平仓成交数量(先建后平操作,需要记录)
  491. type: integer
  492. closeunfreezecharge:
  493. description: 平仓解冻手续费(先建后平操作,需要记录)
  494. type: number
  495. delistingtype:
  496. description: 摘牌类型 - 1:价格最优 2:点选成交
  497. type: integer
  498. freezecharge:
  499. description: 冻结手续费
  500. type: number
  501. freezemargin:
  502. description: 冻结保证金(冻结交易金额)
  503. type: number
  504. gcaccountid:
  505. description: 账户ID[合约币种]
  506. type: integer
  507. goodsid:
  508. description: 商品ID
  509. type: integer
  510. isconfirmexercise:
  511. description: 是否确认行权- 0:否 1:是
  512. type: integer
  513. ispreexercise:
  514. description: 是否预申报- 0:否 1:是
  515. type: integer
  516. listingselecttype:
  517. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  518. type: integer
  519. marginalgorithm:
  520. description: 保证金收取方式 1:比率 2:固定
  521. type: integer
  522. marginvalue:
  523. description: 即市保证金设置值
  524. type: number
  525. marketid:
  526. description: 市场ID
  527. type: integer
  528. marketmaxsub:
  529. description: 市价最大偏移范围
  530. type: number
  531. memberuserid:
  532. description: 所属会员UserID
  533. type: integer
  534. openexchagechargevalue:
  535. description: 建仓交易所手续费设置值
  536. type: number
  537. openfeealgorithm:
  538. description: 建仓手续费收取方式 1:比率 2:固定
  539. type: integer
  540. openfreezecharge:
  541. description: 开仓冻结手续费(先建后平操作,需要记录)
  542. type: number
  543. openmemberchargevalue:
  544. description: 建仓会员手续费设置值
  545. type: number
  546. openqty:
  547. description: 开仓数量(先建后平操作,需要记录)
  548. type: integer
  549. opentradeqty:
  550. description: 开仓成交数量(先建后平操作,需要记录)
  551. type: integer
  552. openunfreezecharge:
  553. description: 开仓解冻手续费(先建后平操作,需要记录)
  554. type: number
  555. operatetype:
  556. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  557. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  558. 15:管理端协议转让
  559. type: integer
  560. operatorid:
  561. description: 登录账号(LoginID)
  562. type: integer
  563. optiontype:
  564. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  565. type: integer
  566. orderprice:
  567. description: 委托价格
  568. type: number
  569. orderqty:
  570. description: 委托数量
  571. type: integer
  572. ordersrc:
  573. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  574. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  575. type: integer
  576. orderstatus:
  577. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  578. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  579. 16:成交失败违约(荷兰式竞拍专用)
  580. type: integer
  581. ordertime:
  582. description: 委托时间
  583. type: string
  584. preexerciseprice:
  585. description: 预申报价格
  586. type: number
  587. premium:
  588. description: 权利金
  589. type: number
  590. preorderid:
  591. description: 关联预埋单号(止盈止损单时填写)
  592. type: integer
  593. pricemode:
  594. description: '取价方式 - 1:市价 2: 限价'
  595. type: integer
  596. quoteid:
  597. description: 报价单ID
  598. type: integer
  599. relatedid:
  600. description: 关联单号(交割单)
  601. type: integer
  602. retcode:
  603. description: 错误代码
  604. type: integer
  605. sessionid:
  606. description: 会话ID
  607. type: integer
  608. strorderid:
  609. description: 委托单号
  610. type: string
  611. tradedate:
  612. description: 交易日(yyyyMMdd)
  613. type: string
  614. tradeproperty:
  615. description: 交易属性
  616. type: integer
  617. tradeqty:
  618. description: 成交数量
  619. type: integer
  620. unfreezecharge:
  621. description: 解冻手续费
  622. type: number
  623. unfreezemargin:
  624. description: 解冻保证金
  625. type: number
  626. updatetime:
  627. description: 更新时间
  628. type: string
  629. uuid:
  630. description: 发起端唯一id
  631. type: string
  632. validtime:
  633. description: 有效期限
  634. type: string
  635. validtype:
  636. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  637. type: integer
  638. volumetype:
  639. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  640. type: integer
  641. required:
  642. - accountid
  643. - buildtype
  644. - buyorsell
  645. - goodsid
  646. - marketid
  647. - memberuserid
  648. - operatetype
  649. - orderqty
  650. - ordertime
  651. - pricemode
  652. - strorderid
  653. - tradedate
  654. - validtype
  655. type: object
  656. cptrade.QueryMyCPTradeGoodsRsp:
  657. properties:
  658. accountid:
  659. description: 卖方账户ID
  660. type: integer
  661. agreeunit:
  662. description: 合约单位
  663. type: number
  664. applyid:
  665. description: 关联申请ID
  666. type: integer
  667. attachmenturl:
  668. description: 附件地址
  669. type: string
  670. createtime:
  671. description: 创建时间
  672. type: string
  673. currencyid:
  674. description: 报价货币ID
  675. type: integer
  676. decimalplace:
  677. description: 报价小数位
  678. type: integer
  679. endtime:
  680. description: 预售结束时间
  681. type: string
  682. floorprice:
  683. description: 底价[大宗式竞拍]
  684. type: number
  685. goodscode:
  686. description: 商品代码(预售)
  687. type: string
  688. goodsdetail:
  689. description: 详情[大宗]
  690. type: string
  691. goodsid:
  692. description: 商品ID(自增ID SEQ_GOODS)
  693. type: integer
  694. goodsname:
  695. description: 商品名称(预售)
  696. type: string
  697. goodunit:
  698. description: 报价单位
  699. type: string
  700. goodunitid:
  701. description: 报价单位ID
  702. type: integer
  703. marketid:
  704. description: 所属市场ID
  705. type: integer
  706. marketname:
  707. description: 预售市场名称
  708. type: string
  709. presaledamount:
  710. description: 已预售总金额(预售结束时更新)
  711. type: number
  712. presaledqty:
  713. description: 已预售量(预售结束时更新)
  714. type: integer
  715. presalemode:
  716. description: 预售模式 - 1:一口价 2:大宗式竞拍
  717. type: integer
  718. presaleqty:
  719. description: 预售数量
  720. type: integer
  721. refprice:
  722. description: 参考价格[一口价]
  723. type: number
  724. relatedgoodscode:
  725. description: 商品代码(订单)
  726. type: string
  727. relatedgoodsid:
  728. description: 关联交易合约ID
  729. type: integer
  730. relatedgoodsname:
  731. description: 商品名称(订单)
  732. type: string
  733. relatedmarketid:
  734. description: 关联交易合约市场ID
  735. type: integer
  736. sellstatus:
  737. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  738. type: integer
  739. startprice:
  740. description: 起拍价[大宗式竞拍]
  741. type: number
  742. starttime:
  743. description: 预售开始时间
  744. type: string
  745. tradedate:
  746. description: 交易日(yyyyMMdd)
  747. type: string
  748. tradeprice:
  749. description: 成交价[大宗]
  750. type: number
  751. userid:
  752. description: 卖方用户ID
  753. type: integer
  754. required:
  755. - goodscode
  756. - goodsid
  757. - goodsname
  758. - marketid
  759. - relatedgoodscode
  760. - relatedgoodsname
  761. type: object
  762. cptrade.QueryPresaleGoodsExRsp:
  763. properties:
  764. attachmenturl:
  765. description: 附件地址
  766. type: string
  767. createtime:
  768. description: 创建时间
  769. type: string
  770. endtime:
  771. description: 预售结束时间
  772. type: string
  773. floorprice:
  774. description: 底价[大宗式竞拍]
  775. type: number
  776. goodsdetail:
  777. description: 详情[大宗]
  778. type: string
  779. goodsid:
  780. description: 商品ID(预售)
  781. type: integer
  782. goodunit:
  783. description: 报价单位
  784. type: string
  785. marketid:
  786. description: 预售市场ID - 根据预售模式选择市场
  787. type: integer
  788. presaledamount:
  789. description: 已预售总金额(预售结束时更新)
  790. type: number
  791. presaledqty:
  792. description: 已预售量(预售结束时更新)
  793. type: integer
  794. presalemode:
  795. description: 预售模式 - 1:一口价 2:大宗式竞拍
  796. type: integer
  797. presaleqty:
  798. description: 预售数量
  799. type: integer
  800. refprice:
  801. description: 参考价格[一口价]
  802. type: number
  803. relatedgoodsid:
  804. description: 关联交易合约ID
  805. type: integer
  806. relatedmarketid:
  807. description: 关联交易合约市场ID
  808. type: integer
  809. sellstatus:
  810. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  811. type: integer
  812. startprice:
  813. description: 起拍价[大宗式竞拍]
  814. type: number
  815. starttime:
  816. description: 预售开始时间
  817. type: string
  818. tradedate:
  819. description: 交易日(yyyyMMdd)
  820. type: string
  821. tradeprice:
  822. description: 成交价[大宗]
  823. type: number
  824. required:
  825. - goodsid
  826. type: object
  827. delivery.QueryDeliveryRelationRsp:
  828. properties:
  829. begindate:
  830. description: 起始日期(yyyyMMdd)
  831. type: string
  832. buytemplateid:
  833. description: 买履约计划模板ID
  834. type: integer
  835. deliverygoodscode:
  836. description: 品种代码
  837. type: string
  838. deliverygoodsid:
  839. description: 交割商品
  840. type: integer
  841. deliverygoodsname:
  842. description: 品种名称
  843. type: string
  844. deliverymode:
  845. description: 交割方式 - 1:点选式 2:申报式
  846. type: integer
  847. deliverypricerule:
  848. description: 交割价规则- 1:行情价 2:建仓价
  849. type: integer
  850. deliverytype:
  851. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  852. type: integer
  853. enddate:
  854. description: 结束日期(yyyyMMdd)
  855. type: string
  856. goodscode:
  857. description: 商品代码
  858. type: string
  859. goodsid:
  860. description: 交易合约ID
  861. type: integer
  862. goodsname:
  863. description: 商品名称
  864. type: string
  865. marketid:
  866. description: 市场ID
  867. type: integer
  868. mindeliveryqty:
  869. description: 最小交割系数(K)
  870. type: integer
  871. p2deliveryprice:
  872. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  873. type: number
  874. p2deliveryratio:
  875. description: P2合约系数(p)
  876. type: integer
  877. p2goodsid:
  878. description: P2合约ID
  879. type: integer
  880. p2pricemode:
  881. description: P2合约价格方式 - 1:商品价 2:固定值
  882. type: integer
  883. pdeliveryprice:
  884. description: P合约价格(商品价时填写0,固定值时填写固定值)
  885. type: number
  886. pdeliveryratio:
  887. description: P合约系数(n)
  888. type: integer
  889. pgoodsid:
  890. description: P合约ID
  891. type: integer
  892. ppricemode:
  893. description: P合约价格方式 - 1:商品价 2:固定值
  894. type: integer
  895. rratio:
  896. description: 兑换系数(R)
  897. type: integer
  898. rratio1:
  899. description: 兑换系数(交易合约)(R1)
  900. type: integer
  901. rratio2:
  902. description: 兑换系数(仓单标准)(R2)
  903. type: integer
  904. selltemplateid:
  905. description: 卖履约计划模板ID
  906. type: integer
  907. wrstandardid:
  908. description: 仓单标准ID
  909. type: integer
  910. xdeliveryratio:
  911. description: 交易合约系数(m)
  912. type: integer
  913. required:
  914. - begindate
  915. - enddate
  916. - goodsid
  917. - mindeliveryqty
  918. - xdeliveryratio
  919. type: object
  920. ermcp.ExposureDetailRsp:
  921. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  922. ermcp.ExposureHedgePosDetailRsp:
  923. $ref: '#/definitions/models.ErmcpHedgePositionDetail'
  924. ermcp.ExposureHedgePositionRsp:
  925. $ref: '#/definitions/models.ErmcpHedgePosition'
  926. ermcp.ExposureSpotDetailRsp:
  927. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  928. ermcp.ExposureSpotRsp:
  929. $ref: '#/definitions/models.AreaSpotModel'
  930. ermcp.HisExposureRsp:
  931. $ref: '#/definitions/models.ErmcpHisExposureS'
  932. ermcp.PendingAuditCntRsp:
  933. $ref: '#/definitions/models.ErmcpPendingAudit'
  934. ermcp.QryAvalidGPRsp:
  935. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  936. ermcp.QryBusinessDjRsp:
  937. properties:
  938. amount:
  939. description: 点价金额=(点价价格+升贴水)*点价数量
  940. type: number
  941. applyid:
  942. description: 申请人
  943. type: string
  944. applyname:
  945. description: 申请人名称
  946. type: string
  947. applystatus:
  948. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  949. type: integer
  950. applytime:
  951. description: 申请时间
  952. type: string
  953. attachurl:
  954. description: 附件
  955. type: string
  956. auditid:
  957. description: 审核人ID
  958. type: string
  959. auditname:
  960. description: 审核人名称
  961. type: string
  962. audittime:
  963. description: 审核时间
  964. type: string
  965. buyusername:
  966. description: 采购方名称
  967. type: string
  968. contractno:
  969. description: 合同编号
  970. type: string
  971. contractstatus:
  972. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  973. type: integer
  974. contracttype:
  975. description: 现货合同类型 - 1:采购 -1:销售
  976. type: integer
  977. deliverygoodscode:
  978. description: 现货品种代码
  979. type: string
  980. deliverygoodsid:
  981. description: 现货商品ID
  982. type: integer
  983. deliverygoodsname:
  984. description: 现货品种名称
  985. type: string
  986. enumdicname:
  987. description: 单位名称
  988. type: string
  989. goodscode:
  990. description: 点价合约
  991. type: string
  992. goodsname:
  993. description: 商品名称
  994. type: string
  995. operateapplyid:
  996. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  997. type: string
  998. operateapplytype:
  999. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1000. type: integer
  1001. pricedPrice:
  1002. description: 点价价格(非必填)
  1003. type: number
  1004. pricedQty:
  1005. description: 点价数量(非必填)
  1006. type: number
  1007. pricemove:
  1008. description: 升贴水
  1009. type: number
  1010. pricetype:
  1011. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1012. type: integer
  1013. relatedid:
  1014. description: 现货合同ID
  1015. type: string
  1016. sellusername:
  1017. description: 销售方名字
  1018. type: string
  1019. userid:
  1020. description: 用户ID
  1021. type: integer
  1022. wrstandardcode:
  1023. description: 品类代码
  1024. type: string
  1025. wrstandardid:
  1026. description: 品类id
  1027. type: integer
  1028. wrstandardname:
  1029. description: 品类名称
  1030. type: string
  1031. type: object
  1032. ermcp.QryBussinessFpRsp:
  1033. properties:
  1034. applyid:
  1035. description: 申请人
  1036. type: string
  1037. applyname:
  1038. description: 申请人名称
  1039. type: string
  1040. applystatus:
  1041. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1042. type: integer
  1043. applytime:
  1044. description: 申请时间
  1045. type: string
  1046. attachurl:
  1047. description: 附件
  1048. type: string
  1049. auditid:
  1050. description: 审核人ID
  1051. type: string
  1052. auditname:
  1053. description: 审核人名称
  1054. type: string
  1055. audittime:
  1056. description: 审核时间
  1057. type: string
  1058. buyusername:
  1059. description: 采购方名称
  1060. type: string
  1061. contractno:
  1062. description: 合同编号
  1063. type: string
  1064. contractstatus:
  1065. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1066. type: integer
  1067. contracttype:
  1068. description: 现货合同类型 - 1:采购 -1:销售
  1069. type: integer
  1070. deliverygoodscode:
  1071. description: 现货品种代码
  1072. type: string
  1073. deliverygoodsid:
  1074. description: 现货商品ID
  1075. type: integer
  1076. deliverygoodsname:
  1077. description: 现货品种名称
  1078. type: string
  1079. enumdicname:
  1080. description: 单位名称
  1081. type: string
  1082. goodscode:
  1083. description: 点价合约
  1084. type: string
  1085. goodsname:
  1086. description: 商品名称
  1087. type: string
  1088. invoiceAmount:
  1089. description: 已开收票金额(销售为开票,采购为收票)
  1090. type: number
  1091. operateapplyid:
  1092. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1093. type: string
  1094. operateapplytype:
  1095. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1096. type: integer
  1097. pricemove:
  1098. description: 升贴水
  1099. type: number
  1100. pricetype:
  1101. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1102. type: integer
  1103. relatedid:
  1104. description: 现货合同ID
  1105. type: string
  1106. sellusername:
  1107. description: 销售方名字
  1108. type: string
  1109. userid:
  1110. description: 用户ID
  1111. type: integer
  1112. wrstandardcode:
  1113. description: 品类代码
  1114. type: string
  1115. wrstandardid:
  1116. description: 品类id
  1117. type: integer
  1118. wrstandardname:
  1119. description: 品类名称
  1120. type: string
  1121. type: object
  1122. ermcp.QryBussinessJsExRsp:
  1123. properties:
  1124. applyid:
  1125. description: 申请人
  1126. type: string
  1127. applyname:
  1128. description: 申请人名称
  1129. type: string
  1130. applystatus:
  1131. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1132. type: integer
  1133. applytime:
  1134. description: 申请时间
  1135. type: string
  1136. attachurl:
  1137. description: 附件
  1138. type: string
  1139. auditid:
  1140. description: 审核人ID
  1141. type: string
  1142. auditname:
  1143. description: 审核人名称
  1144. type: string
  1145. audittime:
  1146. description: 审核时间
  1147. type: string
  1148. buyusername:
  1149. description: 采购方名称
  1150. type: string
  1151. contractno:
  1152. description: 合同编号
  1153. type: string
  1154. contractstatus:
  1155. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1156. type: integer
  1157. contracttype:
  1158. description: 现货合同类型 - 1:采购 -1:销售
  1159. type: integer
  1160. deliverygoodscode:
  1161. description: 现货品种代码
  1162. type: string
  1163. deliverygoodsid:
  1164. description: 现货商品ID
  1165. type: integer
  1166. deliverygoodsname:
  1167. description: 现货品种名称
  1168. type: string
  1169. enumdicname:
  1170. description: 单位名称
  1171. type: string
  1172. goodscode:
  1173. description: 点价合约
  1174. type: string
  1175. goodsname:
  1176. description: 商品名称
  1177. type: string
  1178. operateapplyid:
  1179. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1180. type: string
  1181. operateapplytype:
  1182. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1183. type: integer
  1184. pricemove:
  1185. description: 升贴水
  1186. type: number
  1187. pricetype:
  1188. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1189. type: integer
  1190. reckontype:
  1191. description: 结算类型
  1192. type: string
  1193. reckonvalue:
  1194. description: 值
  1195. type: number
  1196. relatedid:
  1197. description: 现货合同ID
  1198. type: string
  1199. sellusername:
  1200. description: 销售方名字
  1201. type: string
  1202. userid:
  1203. description: 用户ID
  1204. type: integer
  1205. wrstandardcode:
  1206. description: 品类代码
  1207. type: string
  1208. wrstandardid:
  1209. description: 品类id
  1210. type: integer
  1211. wrstandardname:
  1212. description: 品类名称
  1213. type: string
  1214. type: object
  1215. ermcp.QryBussinessJsRsp:
  1216. properties:
  1217. addmargin:
  1218. description: 追加保证金(非必填)
  1219. type: number
  1220. applyid:
  1221. description: 申请人
  1222. type: string
  1223. applyname:
  1224. description: 申请人名称
  1225. type: string
  1226. applystatus:
  1227. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1228. type: integer
  1229. applytime:
  1230. description: 申请时间
  1231. type: string
  1232. attachurl:
  1233. description: 附件
  1234. type: string
  1235. auditid:
  1236. description: 审核人ID
  1237. type: string
  1238. auditname:
  1239. description: 审核人名称
  1240. type: string
  1241. audittime:
  1242. description: 审核时间
  1243. type: string
  1244. buyusername:
  1245. description: 采购方名称
  1246. type: string
  1247. contractno:
  1248. description: 合同编号
  1249. type: string
  1250. contractstatus:
  1251. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1252. type: integer
  1253. contracttype:
  1254. description: 现货合同类型 - 1:采购 -1:销售
  1255. type: integer
  1256. decmargin:
  1257. description: 减少保证金(非必填)
  1258. type: number
  1259. deliverygoodscode:
  1260. description: 现货品种代码
  1261. type: string
  1262. deliverygoodsid:
  1263. description: 现货商品ID
  1264. type: integer
  1265. deliverygoodsname:
  1266. description: 现货品种名称
  1267. type: string
  1268. enumdicname:
  1269. description: 单位名称
  1270. type: string
  1271. goodscode:
  1272. description: 点价合约
  1273. type: string
  1274. goodsname:
  1275. description: 商品名称
  1276. type: string
  1277. operateapplyid:
  1278. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1279. type: string
  1280. operateapplytype:
  1281. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1282. type: integer
  1283. pricemove:
  1284. description: 升贴水
  1285. type: number
  1286. pricetype:
  1287. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1288. type: integer
  1289. reckonadjustamount:
  1290. description: 结算调整金额(非必填)
  1291. type: number
  1292. reckonosamount:
  1293. description: 结算溢短金额(非必填)
  1294. type: number
  1295. reckonotheramount:
  1296. description: 结算其他费用(非必填)
  1297. type: number
  1298. reckonrealqty:
  1299. description: 结算实际数量(非必填)
  1300. type: number
  1301. relatedid:
  1302. description: 现货合同ID
  1303. type: string
  1304. sellusername:
  1305. description: 销售方名字
  1306. type: string
  1307. userid:
  1308. description: 用户ID
  1309. type: integer
  1310. wrstandardcode:
  1311. description: 品类代码
  1312. type: string
  1313. wrstandardid:
  1314. description: 品类id
  1315. type: integer
  1316. wrstandardname:
  1317. description: 品类名称
  1318. type: string
  1319. type: object
  1320. ermcp.QryBussinessKxRsp:
  1321. properties:
  1322. applyid:
  1323. description: 申请人
  1324. type: string
  1325. applyname:
  1326. description: 申请人名称
  1327. type: string
  1328. applystatus:
  1329. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1330. type: integer
  1331. applytime:
  1332. description: 申请时间
  1333. type: string
  1334. attachurl:
  1335. description: 附件
  1336. type: string
  1337. auditid:
  1338. description: 审核人ID
  1339. type: string
  1340. auditname:
  1341. description: 审核人名称
  1342. type: string
  1343. audittime:
  1344. description: 审核时间
  1345. type: string
  1346. buyusername:
  1347. description: 采购方名称
  1348. type: string
  1349. contractno:
  1350. description: 合同编号
  1351. type: string
  1352. contractstatus:
  1353. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1354. type: integer
  1355. contracttype:
  1356. description: 现货合同类型 - 1:采购 -1:销售
  1357. type: integer
  1358. deductamount:
  1359. description: 退款(非必填)
  1360. type: number
  1361. deliverygoodscode:
  1362. description: 现货品种代码
  1363. type: string
  1364. deliverygoodsid:
  1365. description: 现货商品ID
  1366. type: integer
  1367. deliverygoodsname:
  1368. description: 现货品种名称
  1369. type: string
  1370. enumdicname:
  1371. description: 单位名称
  1372. type: string
  1373. goodscode:
  1374. description: 点价合约
  1375. type: string
  1376. goodsname:
  1377. description: 商品名称
  1378. type: string
  1379. kxtype:
  1380. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1381. type: integer
  1382. operateapplyid:
  1383. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1384. type: string
  1385. operateapplytype:
  1386. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1387. type: integer
  1388. payamount:
  1389. description: 收付款(非必填)
  1390. type: number
  1391. pricemove:
  1392. description: 升贴水
  1393. type: number
  1394. pricetype:
  1395. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1396. type: integer
  1397. relatedid:
  1398. description: 现货合同ID
  1399. type: string
  1400. sellusername:
  1401. description: 销售方名字
  1402. type: string
  1403. userid:
  1404. description: 用户ID
  1405. type: integer
  1406. wrstandardcode:
  1407. description: 品类代码
  1408. type: string
  1409. wrstandardid:
  1410. description: 品类id
  1411. type: integer
  1412. wrstandardname:
  1413. description: 品类名称
  1414. type: string
  1415. type: object
  1416. ermcp.QryGGCovertCfgRsp:
  1417. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1418. ermcp.QryMGChangeLogRsp:
  1419. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1420. ermcp.QryMiddleGoodsDetailRsp:
  1421. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1422. ermcp.QryMiddleGoodsRsp:
  1423. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1424. ermcp.QryOPLogRsp:
  1425. $ref: '#/definitions/models.ErmcpOPLogModel'
  1426. ermcp.QryUserInfoRsp:
  1427. $ref: '#/definitions/models.ErmcpUserModel'
  1428. ermcp.QryWarehouseRsp:
  1429. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  1430. ermcp.QueryErmcpTradePositionRsp:
  1431. properties:
  1432. agreeunit:
  1433. description: 合约单位
  1434. type: number
  1435. buyorsell:
  1436. description: 方向 - 0:买 1:卖
  1437. type: integer
  1438. curpositionqty:
  1439. description: 持仓(总仓数量, 期末头寸)
  1440. type: integer
  1441. curtdposition:
  1442. description: 今仓数量(期末今日头寸)
  1443. type: integer
  1444. curtdpositionenabled:
  1445. description: 今仓可用
  1446. type: integer
  1447. decimalplace:
  1448. description: 报价小数位
  1449. type: integer
  1450. enableqty:
  1451. description: 可用(总仓可用)
  1452. type: integer
  1453. exexchangename:
  1454. description: 外部交易所名称
  1455. type: string
  1456. goodscode:
  1457. description: 商品代码(内部)
  1458. type: string
  1459. goodsid:
  1460. description: 商品ID(自增ID SEQ_GOODS)
  1461. type: integer
  1462. goodsname:
  1463. description: 商品名称
  1464. type: string
  1465. last:
  1466. description: 现价
  1467. type: number
  1468. marketid:
  1469. description: 所属市场ID
  1470. type: integer
  1471. openaverageprice:
  1472. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  1473. type: number
  1474. opencost:
  1475. description: 开仓成本
  1476. type: number
  1477. openpl:
  1478. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  1479. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1480. type: number
  1481. outgoodscode:
  1482. description: 商品代码(外部)
  1483. type: string
  1484. positionaverageprice:
  1485. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1486. type: number
  1487. positioncost:
  1488. description: 持仓成本
  1489. type: number
  1490. positionpl:
  1491. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1492. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1493. type: number
  1494. positionplrate:
  1495. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1496. type: number
  1497. usedmargin:
  1498. description: 占用保证金
  1499. type: number
  1500. type: object
  1501. ermcp.RealtimeExposurePositionRsp:
  1502. $ref: '#/definitions/models.ErmcpExposurePostion'
  1503. ermcp.RealtimeExposureRsp:
  1504. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1505. erms2.QueryArbitrageStrategyRsp:
  1506. properties:
  1507. applybasis:
  1508. description: 申请基差
  1509. type: number
  1510. asapplyid:
  1511. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1512. type: string
  1513. asname:
  1514. description: 策略名称
  1515. type: string
  1516. asno:
  1517. description: 策略编号
  1518. type: string
  1519. basischangepl:
  1520. description: 基差变动损益[结算更新]
  1521. type: number
  1522. biztype:
  1523. description: 业务类型 - 1:正向套利 -1:反向套利
  1524. type: integer
  1525. closetradedate:
  1526. description: 完结交易日(yyyyMMdd)
  1527. type: string
  1528. curbasis:
  1529. description: 当前基差[结算更新]
  1530. type: number
  1531. deliverygoodsid:
  1532. description: 现货品种ID
  1533. type: integer
  1534. futureavgprice:
  1535. description: 期货建仓均价
  1536. type: number
  1537. futurecloseamount:
  1538. description: 期货平仓金额
  1539. type: number
  1540. futurecloseqty:
  1541. description: 期货平仓数量
  1542. type: number
  1543. futureopenamount:
  1544. description: 期货开仓金额
  1545. type: number
  1546. futureopenqty:
  1547. description: 期货开仓数量
  1548. type: number
  1549. futurepl:
  1550. description: 期货总盈亏[结算更新]
  1551. type: number
  1552. futureqty:
  1553. description: 期货持仓数量
  1554. type: number
  1555. futurequote:
  1556. description: 期货额度
  1557. type: number
  1558. goodsgroupid:
  1559. description: 期货品种ID
  1560. type: integer
  1561. marketid:
  1562. description: 市场ID
  1563. type: integer
  1564. netexposure:
  1565. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1566. type: number
  1567. netexposurepl:
  1568. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1569. type: number
  1570. netexposurerate:
  1571. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1572. type: number
  1573. openbasis:
  1574. description: 建仓基差
  1575. type: number
  1576. pricedspotqty:
  1577. description: 已定价现货数量
  1578. type: number
  1579. pricedspotqtynotax:
  1580. description: 已定价现货不含税数量
  1581. type: number
  1582. remark:
  1583. description: 备注
  1584. type: string
  1585. spotavgprice:
  1586. description: 现货均价
  1587. type: number
  1588. spotbuyamount:
  1589. description: 现货采购金额
  1590. type: number
  1591. spotbuyqty:
  1592. description: 现货采购数量
  1593. type: number
  1594. spotpl:
  1595. description: 现货总盈亏[结算更新]
  1596. type: number
  1597. spotquota:
  1598. description: 现货额度
  1599. type: number
  1600. spotsellamount:
  1601. description: 现货销售金额
  1602. type: number
  1603. spotsellqty:
  1604. description: 现货销售数量
  1605. type: number
  1606. spotusedquota:
  1607. description: 现货占用资金
  1608. type: number
  1609. strategystatus:
  1610. description: 策略状态 - 0:未结束 1:已结束
  1611. type: integer
  1612. totalpl:
  1613. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1614. type: number
  1615. tradedate:
  1616. description: 交易日(yyyyMMdd)
  1617. type: string
  1618. updatetime:
  1619. description: 更新时间
  1620. type: string
  1621. usedquota:
  1622. description: 已占用资金
  1623. type: number
  1624. userid:
  1625. description: 所属机构
  1626. type: integer
  1627. required:
  1628. - asapplyid
  1629. type: object
  1630. erms2.QueryInnerTradeDetailRsp:
  1631. properties:
  1632. accountid:
  1633. description: 账号ID
  1634. type: integer
  1635. agreeunit:
  1636. description: 合约单位
  1637. type: number
  1638. asapplyid:
  1639. description: 策略申请ID
  1640. type: integer
  1641. asname:
  1642. description: 策略名称
  1643. type: string
  1644. asno:
  1645. description: 策略编号
  1646. type: string
  1647. buyorsell:
  1648. description: 方向 - 0:买 1:卖
  1649. type: integer
  1650. channelbuildtype:
  1651. description: 委托单据类型 0:无 1:建仓 2:平仓
  1652. type: integer
  1653. closetype:
  1654. description: 平仓方式 - 0:无 1:平今 2:平昨
  1655. type: integer
  1656. decimalplace:
  1657. description: 报价小数位
  1658. type: integer
  1659. detailtype:
  1660. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1661. type: integer
  1662. exexchangecode:
  1663. description: 外部交易所代码
  1664. type: string
  1665. exexchangename:
  1666. description: 外部交易所名称
  1667. type: string
  1668. goodscode:
  1669. description: 商品代码(合约)
  1670. type: string
  1671. goodsgroupid:
  1672. description: 商品组ID(品种ID)
  1673. type: integer
  1674. goodsgroupname:
  1675. description: 商品组名称(品种)
  1676. type: string
  1677. goodsid:
  1678. description: 商品ID
  1679. type: integer
  1680. goodsname:
  1681. description: 商品名称(合约)
  1682. type: string
  1683. goodunit:
  1684. description: 报价单位
  1685. type: string
  1686. marketid:
  1687. description: 市场ID
  1688. type: integer
  1689. orderid:
  1690. description: 委托单号
  1691. type: string
  1692. outgoodscode:
  1693. description: 商品代码(外部)
  1694. type: string
  1695. relatedouttradeid:
  1696. description: 关联外部成交单ID
  1697. type: string
  1698. remark:
  1699. description: 备注
  1700. type: string
  1701. spotcontractid:
  1702. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1703. type: integer
  1704. spotcontractno:
  1705. description: 现货合同编号
  1706. type: string
  1707. tradeid:
  1708. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1709. type: string
  1710. tradeprice:
  1711. description: 成交价格
  1712. type: number
  1713. tradeqty:
  1714. description: 成交数量
  1715. type: integer
  1716. tradetime:
  1717. description: 成交时间
  1718. type: string
  1719. updatetime:
  1720. description: 更新时间
  1721. type: string
  1722. required:
  1723. - asapplyid
  1724. - buyorsell
  1725. - goodscode
  1726. - goodsgroupid
  1727. - goodsgroupname
  1728. - goodsname
  1729. - tradeid
  1730. type: object
  1731. erms2.QuerySpotContractRsp:
  1732. properties:
  1733. accountid:
  1734. description: 资金账户ID
  1735. type: integer
  1736. areauserid:
  1737. description: 所属机构
  1738. type: integer
  1739. closedate:
  1740. description: 终止日期
  1741. type: string
  1742. closeremark:
  1743. description: 结束备注
  1744. type: string
  1745. closetradedate:
  1746. description: 完结交易日(yyyyMMdd)
  1747. type: string
  1748. closetype:
  1749. description: 终止类型 - 1:违约 2:提前终止
  1750. type: integer
  1751. contractamount:
  1752. description: 合同金额
  1753. type: number
  1754. contractattachment:
  1755. description: 合同附件
  1756. type: string
  1757. contractno:
  1758. description: 现货合同编号
  1759. type: string
  1760. contractqty:
  1761. description: 合同数量(数值) (用于计算)
  1762. type: number
  1763. contractqtychar:
  1764. description: 合同数量\已订价数量 (用于显示)
  1765. type: string
  1766. contractstatus:
  1767. description: 合同状态 - 0:未结束 1:已结束
  1768. type: integer
  1769. contracttype:
  1770. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1771. type: integer
  1772. customeraccountid:
  1773. description: 客户资金账户ID
  1774. type: integer
  1775. customeruserid:
  1776. description: 客户ID
  1777. type: integer
  1778. deliverygoodsdesc:
  1779. description: 品种说明
  1780. type: string
  1781. deliverygoodsid:
  1782. description: 现货品种ID
  1783. type: integer
  1784. handlestatus:
  1785. description: 处理状态
  1786. type: integer
  1787. invoiceatt:
  1788. description: 发票附件
  1789. type: string
  1790. invoicedatetime:
  1791. description: 开收票更新时间
  1792. type: string
  1793. invoiceopentime:
  1794. description: 开票时间
  1795. type: string
  1796. invoiceremark:
  1797. description: 发票备注
  1798. type: string
  1799. invoicestatus:
  1800. description: 开收票状态 - 0:未开票 1:已开票
  1801. type: integer
  1802. lastdate:
  1803. description: 交货时间
  1804. type: string
  1805. marketid:
  1806. description: 市场ID
  1807. type: integer
  1808. paydatetime:
  1809. description: 收付款更新时间
  1810. type: string
  1811. payremark:
  1812. description: 收付款备注
  1813. type: string
  1814. paystatus:
  1815. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1816. type: integer
  1817. positionqty:
  1818. description: 头寸数量 - 合同数量去小数部分
  1819. type: integer
  1820. producttype:
  1821. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1822. type: integer
  1823. relatedqty:
  1824. description: 已关联数量
  1825. type: number
  1826. relatedstatus:
  1827. description: 关联完结状态 - 0:未结束 1:已结束
  1828. type: integer
  1829. remark:
  1830. description: 备注
  1831. type: string
  1832. signdate:
  1833. description: 签订日期
  1834. type: string
  1835. spotcontractid:
  1836. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1837. type: string
  1838. spotdatetime:
  1839. description: 收发货更新时间
  1840. type: string
  1841. spotprice:
  1842. description: 价格
  1843. type: number
  1844. spotremark:
  1845. description: 收发货备注
  1846. type: string
  1847. spotstatus:
  1848. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1849. type: integer
  1850. tradedate:
  1851. description: 交易日(yyyyMMdd)
  1852. type: string
  1853. userid:
  1854. description: 业务员用户ID
  1855. type: integer
  1856. warehouseid:
  1857. description: 仓库ID
  1858. type: integer
  1859. wrfactortypeid:
  1860. description: 仓单要素类型ID
  1861. type: integer
  1862. wrstandardid:
  1863. description: 仓单标准ID(SEQ_WRSTANDARD)
  1864. type: integer
  1865. required:
  1866. - spotcontractid
  1867. type: object
  1868. erms3.AddErms2ASApplyReq:
  1869. properties:
  1870. applybasis:
  1871. description: 申请基差
  1872. type: number
  1873. applystatus:
  1874. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1875. type: integer
  1876. asapplyid:
  1877. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1878. type: integer
  1879. asname:
  1880. description: 策略名称
  1881. type: string
  1882. asno:
  1883. description: 策略编号
  1884. type: string
  1885. auditid:
  1886. description: 审核人
  1887. type: integer
  1888. auditremark:
  1889. description: 审核备注
  1890. type: string
  1891. audittime:
  1892. description: 审核时间
  1893. type: string
  1894. biztype:
  1895. description: 业务类型 - 1:正向套利 2:反向套利
  1896. type: integer
  1897. createtime:
  1898. description: 创建时间
  1899. type: string
  1900. creatorid:
  1901. description: 创建人
  1902. type: integer
  1903. deliverygoodsid:
  1904. description: 现货品种ID
  1905. type: integer
  1906. futurequote:
  1907. description: 期货额度
  1908. type: number
  1909. goodsgroupid:
  1910. description: 期货品种ID
  1911. type: integer
  1912. marketid:
  1913. description: 市场ID
  1914. type: integer
  1915. remark:
  1916. description: 备注
  1917. type: string
  1918. spotquota:
  1919. description: 现货额度
  1920. type: number
  1921. tradedate:
  1922. description: 交易日(yyyyMMdd)
  1923. type: string
  1924. userid:
  1925. description: 所属机构
  1926. type: integer
  1927. required:
  1928. - asapplyid
  1929. type: object
  1930. erms3.AddErms2SpotTradeApplyReq:
  1931. properties:
  1932. applyjsondetail:
  1933. description: 申请明细(JSON)
  1934. type: string
  1935. applystatus:
  1936. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1937. type: integer
  1938. areauserid:
  1939. description: 所属机构
  1940. type: integer
  1941. auditid:
  1942. description: 审核人
  1943. type: integer
  1944. auditremark:
  1945. description: 审核备注
  1946. type: string
  1947. audittime:
  1948. description: 审核时间
  1949. type: string
  1950. createtime:
  1951. description: 创建时间
  1952. type: string
  1953. creatorid:
  1954. description: 创建人
  1955. type: integer
  1956. deliverygoodsid:
  1957. description: 现货品种ID
  1958. type: integer
  1959. futureaccountid:
  1960. description: 期货资金账户
  1961. type: integer
  1962. goodsgroupid:
  1963. description: 期货品种
  1964. type: integer
  1965. marketid:
  1966. description: 市场ID
  1967. type: integer
  1968. remark:
  1969. description: 备注
  1970. type: string
  1971. spotaccountid:
  1972. description: 现货资金账户
  1973. type: integer
  1974. spottradeid:
  1975. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1976. type: integer
  1977. spottradename:
  1978. description: 业务名称
  1979. type: string
  1980. spottradeno:
  1981. description: 业务编号
  1982. type: string
  1983. tradedate:
  1984. description: 交易日(yyyyMMdd)
  1985. type: string
  1986. wrstandardid:
  1987. description: 仓单标准ID
  1988. type: integer
  1989. required:
  1990. - spottradeid
  1991. type: object
  1992. erms3.AddSpotContractApplyReq:
  1993. properties:
  1994. accountid:
  1995. description: 资金账户ID
  1996. type: integer
  1997. areauserid:
  1998. description: 所属机构
  1999. type: integer
  2000. contractattachment:
  2001. description: 合同附件
  2002. type: string
  2003. contractno:
  2004. description: 现货合同编号
  2005. type: string
  2006. contracttype:
  2007. description: 现货合同类型 - 1:采购 -1:销售
  2008. type: integer
  2009. creatorid:
  2010. description: 申请人
  2011. type: integer
  2012. customeraccountid:
  2013. description: 客户资金账户ID
  2014. type: integer
  2015. customeruserid:
  2016. description: 客户ID
  2017. type: integer
  2018. details:
  2019. description: 明细
  2020. items:
  2021. $ref: '#/definitions/erms3.SoptContractDetail'
  2022. type: array
  2023. orimargin:
  2024. description: 初始保证金
  2025. type: number
  2026. remark:
  2027. description: 备注
  2028. type: string
  2029. signdate:
  2030. description: 签订日期
  2031. type: string
  2032. required:
  2033. - accountid
  2034. - areauserid
  2035. - contractno
  2036. - contracttype
  2037. - customeraccountid
  2038. - customeruserid
  2039. - details
  2040. - orimargin
  2041. - signdate
  2042. type: object
  2043. erms3.AddSpotContractApplyRsp:
  2044. properties:
  2045. contractno:
  2046. description: 现货合同编号
  2047. type: string
  2048. spotcontractid:
  2049. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2050. type: integer
  2051. required:
  2052. - contractno
  2053. type: object
  2054. erms3.AddUserInfoApplyReq:
  2055. properties:
  2056. accountid:
  2057. description: 交易系统帐号Id (加密存储)
  2058. type: integer
  2059. areacode:
  2060. description: 机构代码
  2061. type: string
  2062. areaid:
  2063. description: 机构Id
  2064. type: integer
  2065. attachment1:
  2066. description: 附件1
  2067. type: string
  2068. attachment2:
  2069. description: 附件2
  2070. type: string
  2071. attachment3:
  2072. description: 附件3
  2073. type: string
  2074. attachment4:
  2075. description: 附件4
  2076. type: string
  2077. attachment5:
  2078. description: 附件5
  2079. type: string
  2080. auditedby:
  2081. description: 审核人
  2082. type: string
  2083. auditime:
  2084. description: 审核时间
  2085. type: string
  2086. auditsrc:
  2087. description: 审核来源 - 1:管理端 2:终端
  2088. type: integer
  2089. bankaccount:
  2090. description: 银行帐号 (加密存储)
  2091. type: string
  2092. bankaccountname:
  2093. description: 收款人名称
  2094. type: string
  2095. bankcardbackphotourl:
  2096. description: 银行卡背面照地址
  2097. type: string
  2098. bankcardfrontphotourl:
  2099. description: 银行卡正面照地址
  2100. type: string
  2101. bankid:
  2102. description: 银行编码
  2103. type: string
  2104. bankname:
  2105. description: 银行名称
  2106. type: string
  2107. bankpictureurl:
  2108. description: 银行卡正面地址
  2109. type: string
  2110. biznature:
  2111. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2112. type: integer
  2113. bizscope:
  2114. description: 企业经营范围(企业)
  2115. type: string
  2116. biztype:
  2117. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2118. type: integer
  2119. brokerid:
  2120. description: 经纪人ID(加密存储)
  2121. type: string
  2122. cardaddress:
  2123. description: 证件地址 (加密存储)
  2124. type: string
  2125. cardbackphotourl:
  2126. description: 背面证件照地址
  2127. type: string
  2128. cardfrontphotourl:
  2129. description: 正面证件照地址
  2130. type: string
  2131. cardnum:
  2132. description: 证件号码 (加密存储)
  2133. type: string
  2134. cardtype:
  2135. description: 证件类型
  2136. type: integer
  2137. cityid:
  2138. description: 市
  2139. type: integer
  2140. company:
  2141. description: 公司(个人)
  2142. type: string
  2143. contactcardbackphotourl:
  2144. description: 联系人证件背面图片地址
  2145. type: string
  2146. contactcardfrontphotourl:
  2147. description: 联系人证件正面图片地址
  2148. type: string
  2149. contactname:
  2150. description: 联系人
  2151. type: string
  2152. countryid:
  2153. description: 国家
  2154. type: integer
  2155. createtime:
  2156. description: 开户申请时间
  2157. type: string
  2158. cusbankid:
  2159. description: 签约类型
  2160. type: string
  2161. cusbankname:
  2162. description: 签约类型名称
  2163. type: string
  2164. customername:
  2165. description: 客户名称(企业名称)
  2166. type: string
  2167. districtid:
  2168. description: 地区
  2169. type: integer
  2170. email:
  2171. description: Email地址(加密存储)
  2172. type: string
  2173. halfbodyphotourl:
  2174. description: 半身照地址
  2175. type: string
  2176. headurl:
  2177. description: 头像地址
  2178. type: string
  2179. ipaddress:
  2180. description: IP地址
  2181. type: string
  2182. isvalidate:
  2183. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2184. type: string
  2185. legalcardbackphotourl:
  2186. description: 法人身份证背面照地址
  2187. type: string
  2188. legalcardfrontphotourl:
  2189. description: 法人身份证正面照地址
  2190. type: string
  2191. legalpersonname:
  2192. description: 法人姓名(企业)
  2193. type: string
  2194. logincode:
  2195. description: 登录帐号 (加密存储)
  2196. type: string
  2197. memberareaid:
  2198. description: 所属会员ID
  2199. type: integer
  2200. mobile2:
  2201. description: 手机号码[明文-尚志]
  2202. type: string
  2203. mobilephone:
  2204. description: 手机号码 (加密存储)
  2205. type: string
  2206. modifiedby:
  2207. description: 修改人帐号
  2208. type: integer
  2209. modifiedtime:
  2210. description: 修改时间
  2211. type: string
  2212. nickname:
  2213. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2214. type: string
  2215. openmode:
  2216. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2217. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2218. type: integer
  2219. otherurl:
  2220. description: 其它图片地址[使用分号分隔]
  2221. type: string
  2222. postalcode:
  2223. description: 邮政编码
  2224. type: string
  2225. provinceid:
  2226. description: 省
  2227. type: integer
  2228. proxystatementurl:
  2229. description: 授权委托书
  2230. type: string
  2231. qq:
  2232. description: QQ(加密存储
  2233. type: string
  2234. referral:
  2235. description: 推荐人编码
  2236. type: string
  2237. remark:
  2238. description: 备注
  2239. type: string
  2240. removebeforestatus:
  2241. description: REMOVEBEFORESTATUS
  2242. type: integer
  2243. sex:
  2244. description: 性别 - 0:女 1:男
  2245. type: integer
  2246. signedstatus:
  2247. description: 账户一号签签约状态
  2248. type: integer
  2249. signpdfurl:
  2250. description: 签约pdf文件
  2251. type: string
  2252. subbranch:
  2253. description: 开户支行
  2254. type: string
  2255. taxpayernum:
  2256. description: 纳税人识别号
  2257. type: string
  2258. telphone:
  2259. description: 联系电话(加密存储)
  2260. type: string
  2261. userid:
  2262. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2263. type: integer
  2264. userinfotype:
  2265. description: 用户信息类型 - 1:个人 2:企业
  2266. type: integer
  2267. username:
  2268. description: 用户姓名
  2269. type: string
  2270. userstate:
  2271. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2272. type: integer
  2273. usertype:
  2274. description: 用户类型 - 1:投资者 2:机构
  2275. type: integer
  2276. videourl:
  2277. description: 视频地址
  2278. type: string
  2279. wechat:
  2280. description: 微信号 (加密存储)
  2281. type: string
  2282. required:
  2283. - userid
  2284. type: object
  2285. erms3.CustomerInfo:
  2286. properties:
  2287. accountids:
  2288. description: 资金账户ID列表
  2289. items:
  2290. type: integer
  2291. type: array
  2292. customername:
  2293. description: 名称(企业名称)
  2294. type: string
  2295. mobile:
  2296. description: 手机号码
  2297. type: string
  2298. userid:
  2299. description: 用户ID
  2300. type: integer
  2301. required:
  2302. - userid
  2303. type: object
  2304. erms3.ModifyUserInfoApplyReq:
  2305. properties:
  2306. accountid:
  2307. description: 交易系统帐号Id (加密存储)
  2308. type: integer
  2309. areacode:
  2310. description: 机构代码
  2311. type: string
  2312. areaid:
  2313. description: 机构Id
  2314. type: integer
  2315. attachment1:
  2316. description: 附件1
  2317. type: string
  2318. attachment2:
  2319. description: 附件2
  2320. type: string
  2321. attachment3:
  2322. description: 附件3
  2323. type: string
  2324. attachment4:
  2325. description: 附件4
  2326. type: string
  2327. attachment5:
  2328. description: 附件5
  2329. type: string
  2330. auditedby:
  2331. description: 审核人
  2332. type: string
  2333. auditime:
  2334. description: 审核时间
  2335. type: string
  2336. auditsrc:
  2337. description: 审核来源 - 1:管理端 2:终端
  2338. type: integer
  2339. bankaccount:
  2340. description: 银行帐号 (加密存储)
  2341. type: string
  2342. bankaccountname:
  2343. description: 收款人名称
  2344. type: string
  2345. bankcardbackphotourl:
  2346. description: 银行卡背面照地址
  2347. type: string
  2348. bankcardfrontphotourl:
  2349. description: 银行卡正面照地址
  2350. type: string
  2351. bankid:
  2352. description: 银行编码
  2353. type: string
  2354. bankname:
  2355. description: 银行名称
  2356. type: string
  2357. bankpictureurl:
  2358. description: 银行卡正面地址
  2359. type: string
  2360. biznature:
  2361. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2362. type: integer
  2363. bizscope:
  2364. description: 企业经营范围(企业)
  2365. type: string
  2366. biztype:
  2367. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2368. type: integer
  2369. brokerid:
  2370. description: 经纪人ID(加密存储)
  2371. type: string
  2372. cardaddress:
  2373. description: 证件地址 (加密存储)
  2374. type: string
  2375. cardbackphotourl:
  2376. description: 背面证件照地址
  2377. type: string
  2378. cardfrontphotourl:
  2379. description: 正面证件照地址
  2380. type: string
  2381. cardnum:
  2382. description: 证件号码 (加密存储)
  2383. type: string
  2384. cardtype:
  2385. description: 证件类型
  2386. type: integer
  2387. cityid:
  2388. description: 市
  2389. type: integer
  2390. company:
  2391. description: 公司(个人)
  2392. type: string
  2393. contactcardbackphotourl:
  2394. description: 联系人证件背面图片地址
  2395. type: string
  2396. contactcardfrontphotourl:
  2397. description: 联系人证件正面图片地址
  2398. type: string
  2399. contactname:
  2400. description: 联系人
  2401. type: string
  2402. countryid:
  2403. description: 国家
  2404. type: integer
  2405. createtime:
  2406. description: 开户申请时间
  2407. type: string
  2408. cusbankid:
  2409. description: 签约类型
  2410. type: string
  2411. cusbankname:
  2412. description: 签约类型名称
  2413. type: string
  2414. customername:
  2415. description: 客户名称(企业名称)
  2416. type: string
  2417. districtid:
  2418. description: 地区
  2419. type: integer
  2420. email:
  2421. description: Email地址(加密存储)
  2422. type: string
  2423. halfbodyphotourl:
  2424. description: 半身照地址
  2425. type: string
  2426. headurl:
  2427. description: 头像地址
  2428. type: string
  2429. ipaddress:
  2430. description: IP地址
  2431. type: string
  2432. isvalidate:
  2433. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2434. type: string
  2435. legalcardbackphotourl:
  2436. description: 法人身份证背面照地址
  2437. type: string
  2438. legalcardfrontphotourl:
  2439. description: 法人身份证正面照地址
  2440. type: string
  2441. legalpersonname:
  2442. description: 法人姓名(企业)
  2443. type: string
  2444. logincode:
  2445. description: 登录帐号 (加密存储)
  2446. type: string
  2447. memberareaid:
  2448. description: 所属会员ID
  2449. type: integer
  2450. mobile2:
  2451. description: 手机号码[明文-尚志]
  2452. type: string
  2453. mobilephone:
  2454. description: 手机号码 (加密存储)
  2455. type: string
  2456. modifiedby:
  2457. description: 修改人帐号
  2458. type: integer
  2459. modifiedtime:
  2460. description: 修改时间
  2461. type: string
  2462. nickname:
  2463. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2464. type: string
  2465. openmode:
  2466. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2467. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2468. type: integer
  2469. otherurl:
  2470. description: 其它图片地址[使用分号分隔]
  2471. type: string
  2472. postalcode:
  2473. description: 邮政编码
  2474. type: string
  2475. provinceid:
  2476. description: 省
  2477. type: integer
  2478. proxystatementurl:
  2479. description: 授权委托书
  2480. type: string
  2481. qq:
  2482. description: QQ(加密存储
  2483. type: string
  2484. referral:
  2485. description: 推荐人编码
  2486. type: string
  2487. remark:
  2488. description: 备注
  2489. type: string
  2490. removebeforestatus:
  2491. description: REMOVEBEFORESTATUS
  2492. type: integer
  2493. sex:
  2494. description: 性别 - 0:女 1:男
  2495. type: integer
  2496. signedstatus:
  2497. description: 账户一号签签约状态
  2498. type: integer
  2499. signpdfurl:
  2500. description: 签约pdf文件
  2501. type: string
  2502. subbranch:
  2503. description: 开户支行
  2504. type: string
  2505. taxpayernum:
  2506. description: 纳税人识别号
  2507. type: string
  2508. telphone:
  2509. description: 联系电话(加密存储)
  2510. type: string
  2511. userid:
  2512. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2513. type: integer
  2514. userinfotype:
  2515. description: 用户信息类型 - 1:个人 2:企业
  2516. type: integer
  2517. username:
  2518. description: 用户姓名
  2519. type: string
  2520. userstate:
  2521. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2522. type: integer
  2523. usertype:
  2524. description: 用户类型 - 1:投资者 2:机构
  2525. type: integer
  2526. videourl:
  2527. description: 视频地址
  2528. type: string
  2529. wechat:
  2530. description: 微信号 (加密存储)
  2531. type: string
  2532. required:
  2533. - userid
  2534. type: object
  2535. erms3.QryAuditContractRsp:
  2536. properties:
  2537. accountid:
  2538. description: 交易员ID
  2539. type: string
  2540. applystatus:
  2541. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2542. type: integer
  2543. curdeliveryqty:
  2544. description: 未交收量
  2545. type: integer
  2546. customername:
  2547. description: 采购方ID
  2548. type: string
  2549. deliverygoodsid:
  2550. description: 品种ID
  2551. type: string
  2552. deliveryqty:
  2553. description: 交收量
  2554. type: integer
  2555. enumdicname:
  2556. description: 单位名称
  2557. type: string
  2558. matchaccountid:
  2559. description: 业务员ID
  2560. type: string
  2561. matchcustomername:
  2562. description: 销售方ID
  2563. type: string
  2564. pricedqty:
  2565. description: 定价量
  2566. type: number
  2567. signdate:
  2568. description: 签订日期
  2569. type: string
  2570. spotcontractid:
  2571. description: 合同ID
  2572. type: string
  2573. totaldqty:
  2574. description: 合同量
  2575. type: number
  2576. unpricedqty:
  2577. description: 未定价量
  2578. type: number
  2579. wrstandardname:
  2580. description: 商品名称
  2581. type: string
  2582. required:
  2583. - matchcustomername
  2584. - spotcontractid
  2585. type: object
  2586. erms3.QryPendingBizRsp:
  2587. $ref: '#/definitions/models.PendingAuditBizModel'
  2588. erms3.QueryBusinessInfoRsp:
  2589. properties:
  2590. businessid:
  2591. description: 业务ID.
  2592. type: integer
  2593. buyamount:
  2594. description: 采购额.
  2595. type: number
  2596. buyqty:
  2597. description: 采购量.
  2598. type: string
  2599. futurepl:
  2600. description: 期货盈亏.
  2601. type: number
  2602. futureqty:
  2603. description: 期货敞口.
  2604. type: string
  2605. goodsid:
  2606. description: 商品名称/商品代码.
  2607. type: string
  2608. hedgingqty:
  2609. description: 套保量.
  2610. type: string
  2611. sellamount:
  2612. description: 销售额.
  2613. type: number
  2614. sellqty:
  2615. description: 销售量.
  2616. type: string
  2617. spotmarketvalue:
  2618. description: 现货市值.
  2619. type: number
  2620. spotpl:
  2621. description: 浮动权益.
  2622. type: number
  2623. spotqty:
  2624. description: 现货量.
  2625. type: string
  2626. statu:
  2627. description: 状态,0-未结束 1-已结束.
  2628. type: integer
  2629. totalpl:
  2630. description: 总盈亏.
  2631. type: number
  2632. totalqty:
  2633. description: 总敞口.
  2634. type: string
  2635. type:
  2636. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2637. type: integer
  2638. type: object
  2639. erms3.QuerySpotContractAppleFormRsp:
  2640. properties:
  2641. goodses:
  2642. description: 合约列表
  2643. items:
  2644. $ref: '#/definitions/models.GoodsIDAndName'
  2645. type: array
  2646. oppositeusers:
  2647. description: 对方账号列表
  2648. items:
  2649. $ref: '#/definitions/erms3.CustomerInfo'
  2650. type: array
  2651. ouruser:
  2652. $ref: '#/definitions/erms3.CustomerInfo'
  2653. description: 我方账号
  2654. type: object
  2655. warehouseinfos:
  2656. description: 仓库信息列表
  2657. items:
  2658. $ref: '#/definitions/models.Warehouseinfo'
  2659. type: array
  2660. wrstandards:
  2661. description: 仓单标准列表
  2662. items:
  2663. $ref: '#/definitions/models.WRStandardInfo'
  2664. type: array
  2665. type: object
  2666. erms3.QuerySpotContractInfoRsp:
  2667. properties:
  2668. accountid:
  2669. description: 表示交易员ID.
  2670. type: integer
  2671. curdeliveryqty:
  2672. description: 表示未交收量.
  2673. type: number
  2674. customername:
  2675. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2676. type: string
  2677. deliverygoodsid:
  2678. description: 表示品种ID.
  2679. type: string
  2680. deliveryqty:
  2681. description: 表示交收量.
  2682. type: number
  2683. matchaccountid:
  2684. description: 表示业务员ID.
  2685. type: integer
  2686. matchcustomername:
  2687. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2688. type: string
  2689. priceqty:
  2690. description: 表示定价量.
  2691. type: number
  2692. relatedbizid:
  2693. description: 表示业务ID.
  2694. type: string
  2695. signdate:
  2696. description: 表示签订日期.
  2697. type: string
  2698. spotcontractid:
  2699. description: 合同ID
  2700. type: string
  2701. status:
  2702. description: 表示状态,0-履约中 1-已完成.
  2703. type: integer
  2704. totalqty:
  2705. description: 表示合同量.
  2706. type: number
  2707. unpricedqty:
  2708. description: 表示未定价量.
  2709. type: number
  2710. wrstandardname:
  2711. description: 表示商品ID.
  2712. type: string
  2713. type: object
  2714. erms3.QueryUserInfoAppliesRsp:
  2715. properties:
  2716. biznature:
  2717. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2718. type: integer
  2719. contactname:
  2720. description: 联系人
  2721. type: string
  2722. createtime:
  2723. description: 开户申请时间
  2724. type: string
  2725. userid:
  2726. description: 用户ID(自增ID)
  2727. type: integer
  2728. userinfotype:
  2729. description: 用户信息类型 - 1:个人 2:企业
  2730. type: integer
  2731. username:
  2732. description: 用户姓名
  2733. type: string
  2734. userstate:
  2735. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2736. type: integer
  2737. required:
  2738. - userid
  2739. type: object
  2740. erms3.QueryUserInfosRsp:
  2741. properties:
  2742. biznature:
  2743. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2744. type: integer
  2745. contactname:
  2746. description: 联系人
  2747. type: string
  2748. customername:
  2749. description: 客户名称(企业名称)
  2750. type: string
  2751. userid:
  2752. description: 用户ID
  2753. type: integer
  2754. userinfotype:
  2755. description: 用户信息类型 - 1:个人 2:企业
  2756. type: integer
  2757. userstatus:
  2758. description: 用户状态 - 1:正常 2:注销
  2759. type: integer
  2760. required:
  2761. - userid
  2762. type: object
  2763. erms3.SoptContractDetail:
  2764. properties:
  2765. deliverygoodsdesc:
  2766. description: 现货品种说明
  2767. type: string
  2768. deliverygoodsid:
  2769. description: 现货品种ID
  2770. type: integer
  2771. deliverygoodsname:
  2772. description: 现货品种名称
  2773. type: string
  2774. pointdesc:
  2775. description: 点价描述
  2776. type: string
  2777. producttype:
  2778. description: 产品类型 1:标准仓单 2:等标 3:非标
  2779. type: integer
  2780. producttypename:
  2781. description: 产品类型名称
  2782. type: string
  2783. spotPointOrderVoList:
  2784. description: 点价列表
  2785. items:
  2786. $ref: '#/definitions/erms3.SpotPointOrder'
  2787. type: array
  2788. spotPriceOrderList:
  2789. description: 定价列表
  2790. items:
  2791. $ref: '#/definitions/erms3.SpotPriceOrder'
  2792. type: array
  2793. unitname:
  2794. description: 单位名称
  2795. type: string
  2796. warehouseid:
  2797. description: 仓库ID
  2798. type: integer
  2799. warehousename:
  2800. description: 仓库名称
  2801. type: string
  2802. wrstandardid:
  2803. description: 交易标的ID
  2804. type: integer
  2805. wrstandardname:
  2806. description: 交易标的名称
  2807. type: string
  2808. required:
  2809. - deliverygoodsid
  2810. - producttype
  2811. - unitname
  2812. - warehouseid
  2813. - wrstandardid
  2814. - wrstandardname
  2815. type: object
  2816. erms3.SpotPointOrder:
  2817. properties:
  2818. basic:
  2819. description: 基差
  2820. type: number
  2821. deliveryenddate:
  2822. description: 交收结束日期
  2823. type: string
  2824. deliverystartdate:
  2825. description: 交收开始日期
  2826. type: string
  2827. enddate:
  2828. description: 点价结束日期
  2829. type: string
  2830. goodsid:
  2831. description: 商品ID
  2832. type: integer
  2833. goodsname:
  2834. description: 商品名称
  2835. type: string
  2836. qty:
  2837. description: 数量
  2838. type: number
  2839. startdate:
  2840. description: 点价开始日期
  2841. type: string
  2842. required:
  2843. - basic
  2844. - goodsid
  2845. - qty
  2846. type: object
  2847. erms3.SpotPriceOrder:
  2848. properties:
  2849. amount:
  2850. description: 金额
  2851. type: number
  2852. deliveryenddate:
  2853. description: 交收结束日期
  2854. type: string
  2855. deliverystartdate:
  2856. description: 交收开始日期
  2857. type: string
  2858. price:
  2859. description: 价格
  2860. type: number
  2861. qty:
  2862. description: 数量
  2863. type: number
  2864. required:
  2865. - amount
  2866. - price
  2867. - qty
  2868. type: object
  2869. hsby.GetHsbyMyCountRsp:
  2870. properties:
  2871. myCouponCount:
  2872. description: 我的优惠卷数量
  2873. type: integer
  2874. myOrderDetailListingCount:
  2875. description: 我的订单求购中数量
  2876. type: integer
  2877. myOrderDetailPreCount:
  2878. description: 我的订单抢购中数量
  2879. type: integer
  2880. myPackageUnReceiveCount:
  2881. description: 我的包裹待收货数量
  2882. type: integer
  2883. myPackageUnSendCount:
  2884. description: 我的包裹待发货数量
  2885. type: integer
  2886. myPayOrderCount:
  2887. description: 我的订单待付款数量
  2888. type: integer
  2889. type: object
  2890. hsby.QueryProvincesAndCitiesRsp:
  2891. properties:
  2892. cities:
  2893. description: 市
  2894. items:
  2895. $ref: '#/definitions/models.Division'
  2896. type: array
  2897. province:
  2898. $ref: '#/definitions/models.Division'
  2899. description: 省
  2900. type: object
  2901. type: object
  2902. models.AreaSpotModel:
  2903. properties:
  2904. areauserid:
  2905. description: 所属机构
  2906. type: integer
  2907. decreaseqty:
  2908. description: 减少数量=-(销售已定价数量+采购计划数量)
  2909. type: number
  2910. increaseqty:
  2911. description: 增加数量=销售计划数量+采购已定价数量
  2912. type: number
  2913. oritoalspotqty:
  2914. description: 昨日数量
  2915. type: number
  2916. totalspotqty:
  2917. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2918. type: number
  2919. updatetime:
  2920. description: 更新时间
  2921. type: string
  2922. wrstandardcode:
  2923. description: 现货品种代码
  2924. type: string
  2925. wrstandardid:
  2926. description: 现货商品ID
  2927. type: integer
  2928. wrstandardname:
  2929. description: 现货品种
  2930. type: string
  2931. type: object
  2932. models.Arearole:
  2933. properties:
  2934. createtime:
  2935. description: 创建时间
  2936. type: string
  2937. creatorid:
  2938. description: 创建人ID
  2939. type: integer
  2940. isreturnscore:
  2941. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  2942. type: integer
  2943. modifierid:
  2944. description: 修改人ID
  2945. type: integer
  2946. modifytime:
  2947. description: 修改时间
  2948. type: string
  2949. orgtype:
  2950. description: 组织机构类型 1:机构 2:交易员
  2951. type: integer
  2952. outuserid:
  2953. description: 外部账户[场外期权做市商]
  2954. type: string
  2955. parentuserid:
  2956. description: 上级组织机构(组织机构)
  2957. type: integer
  2958. roletype:
  2959. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  2960. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  2961. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员
  2962. type: integer
  2963. rootuserid:
  2964. description: 顶级组织机构用户ID(组织机构)
  2965. type: integer
  2966. shoppassword:
  2967. description: 商城店铺登陆密码(商城店铺角色使用)
  2968. type: string
  2969. sublevelpath:
  2970. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  2971. type: string
  2972. tradeaccountid:
  2973. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  2974. type: integer
  2975. transurl:
  2976. description: 物流地址(物流机构)
  2977. type: string
  2978. userid:
  2979. description: 机构用户ID其他做市关系,都设置为 1
  2980. type: integer
  2981. required:
  2982. - roletype
  2983. - userid
  2984. type: object
  2985. models.Clientfixedadconfig:
  2986. properties:
  2987. adsort:
  2988. description: 排序
  2989. type: integer
  2990. adtype:
  2991. description: 广告位类型 - 1:新品抢购(HSBY)
  2992. type: integer
  2993. areauserid:
  2994. description: 所属机构ID
  2995. type: integer
  2996. createdate:
  2997. description: 创建时间
  2998. type: string
  2999. creatorid:
  3000. description: 创建人
  3001. type: integer
  3002. imagepath:
  3003. description: 图片
  3004. type: string
  3005. isshow:
  3006. description: 是否展示 - 0:不展示 1:展示
  3007. type: integer
  3008. modifierid:
  3009. description: 操作人
  3010. type: integer
  3011. recsize:
  3012. description: 推荐尺寸
  3013. type: string
  3014. title:
  3015. description: 标题
  3016. type: string
  3017. updatedate:
  3018. description: 更新时间
  3019. type: string
  3020. urlcontent:
  3021. description: 链接(地址或商品ID)
  3022. type: string
  3023. urltype:
  3024. description: 链接类型 - 1:直接地址 2:商品ID
  3025. type: integer
  3026. required:
  3027. - adsort
  3028. - adtype
  3029. type: object
  3030. models.Division:
  3031. properties:
  3032. autoid:
  3033. description: 自增ID
  3034. type: integer
  3035. divisioncode:
  3036. description: 行政代码
  3037. type: string
  3038. divisionlevel:
  3039. description: 行政级别
  3040. type: string
  3041. divisionname:
  3042. description: 行政名称
  3043. type: string
  3044. modifierid:
  3045. description: 修改人
  3046. type: integer
  3047. modifytime:
  3048. description: 修改时间
  3049. type: string
  3050. parentcode:
  3051. description: 上级行政代码
  3052. type: string
  3053. pathname:
  3054. description: 路径名称
  3055. type: string
  3056. postcode:
  3057. description: 邮政编码
  3058. type: string
  3059. separablename:
  3060. description: 可拆分的全称
  3061. type: string
  3062. shortcode:
  3063. description: 地区简码
  3064. type: string
  3065. required:
  3066. - autoid
  3067. - divisioncode
  3068. type: object
  3069. models.Enumdicitem:
  3070. properties:
  3071. autoid:
  3072. description: 自增ID
  3073. type: integer
  3074. bankmappedvalue:
  3075. description: 银行服务对应值
  3076. type: string
  3077. enumdiccode:
  3078. description: 所属枚举代码
  3079. type: string
  3080. enumdicid:
  3081. description: 所属枚举ID
  3082. type: integer
  3083. enumdicname:
  3084. description: 枚举项名称
  3085. type: string
  3086. enumitemname:
  3087. description: 枚举项值
  3088. type: integer
  3089. enumitemstatus:
  3090. description: 枚举项状态 - 1.启用 2.不启用
  3091. type: integer
  3092. enumitemvalue:
  3093. description: 通用值 - [币种通用简写]
  3094. type: string
  3095. param1:
  3096. description: 参数1[币种:币种小数位]
  3097. type: string
  3098. param2:
  3099. description: 参数1[币种:币种显示单位]
  3100. type: string
  3101. remark:
  3102. description: 备注
  3103. type: string
  3104. required:
  3105. - autoid
  3106. - enumdiccode
  3107. - enumdicid
  3108. - enumitemname
  3109. type: object
  3110. models.Ermcp3AreaSpot:
  3111. properties:
  3112. areauserid:
  3113. description: 所属机构
  3114. type: integer
  3115. decreaseqty:
  3116. description: 减少数量=-(销售已定价数量+采购计划数量)
  3117. type: number
  3118. deliverygoodscode:
  3119. description: 现货品种代码
  3120. type: string
  3121. deliverygoodsid:
  3122. description: 现货品种id
  3123. type: integer
  3124. deliverygoodsname:
  3125. description: 现货品种名称
  3126. type: string
  3127. enumdicname:
  3128. description: 单位名称
  3129. type: string
  3130. goodsunitid:
  3131. description: 现货品种单位id
  3132. type: integer
  3133. increaseqty:
  3134. description: 增加数量=销售计划数量+采购已定价数量
  3135. type: number
  3136. oritoalspotqty:
  3137. description: 昨日数量
  3138. type: number
  3139. totalspotqty:
  3140. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3141. type: number
  3142. updatetime:
  3143. description: 更新时间
  3144. type: string
  3145. type: object
  3146. models.Ermcp3AreaSpotDetail:
  3147. properties:
  3148. contracttype:
  3149. description: 合同类型 1-采购 -1-销售
  3150. type: integer
  3151. createtime:
  3152. description: 创建时间
  3153. type: string
  3154. deliverygoodscode:
  3155. description: 现货品种代码
  3156. type: string
  3157. deliverygoodsid:
  3158. description: 现货品种id
  3159. type: integer
  3160. deliverygoodsname:
  3161. description: 现货品种名称
  3162. type: string
  3163. enumdicname:
  3164. description: 现货商品单位名称
  3165. type: string
  3166. logtype:
  3167. description: 记录类型 1-套保 2-现货合同
  3168. type: integer
  3169. qty:
  3170. description: 数量
  3171. type: number
  3172. recordname:
  3173. description: 类型名称
  3174. type: string
  3175. relatedid:
  3176. description: 套保计划ID/现货合同ID
  3177. type: string
  3178. relatedno:
  3179. description: 编号
  3180. type: string
  3181. strtime:
  3182. description: 时间
  3183. type: string
  3184. type: object
  3185. models.Ermcp3AreaSpotPLReport:
  3186. properties:
  3187. accountid:
  3188. description: 期货账户ID (作废, 默认为0)
  3189. type: integer
  3190. accountname:
  3191. description: 机构名称
  3192. type: string
  3193. actualpl:
  3194. description: 现货损益
  3195. type: number
  3196. areauserid:
  3197. description: 所属机构\交易用户ID
  3198. type: integer
  3199. begindate:
  3200. description: 开始交易日
  3201. type: string
  3202. biztype:
  3203. description: 业务类型 - 1:套保 2:套利
  3204. type: integer
  3205. brandname:
  3206. description: 品牌名称
  3207. type: string
  3208. curamount:
  3209. description: 期末额
  3210. type: number
  3211. curaverageprice:
  3212. description: 期末均价
  3213. type: number
  3214. curbuyamount:
  3215. description: 期末采购总额
  3216. type: number
  3217. curbuyqty:
  3218. description: 期末采购总量
  3219. type: number
  3220. curmarketvalue:
  3221. description: 参考市值(期末市值)
  3222. type: number
  3223. curqty:
  3224. description: 期末量
  3225. type: number
  3226. currencyid:
  3227. description: 结算币种ID【原值】
  3228. type: integer
  3229. currencyname:
  3230. description: 币种名称
  3231. type: string
  3232. cursellamount:
  3233. description: 期末销售总额
  3234. type: number
  3235. cursellqty:
  3236. description: 期末销售总量
  3237. type: number
  3238. curspotprice:
  3239. description: 参考市价(最新价)
  3240. type: number
  3241. cycletime:
  3242. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3243. type: string
  3244. cycletype:
  3245. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3246. type: integer
  3247. deliverygoodscode:
  3248. description: 现货商品代码
  3249. type: string
  3250. deliverygoodsid:
  3251. description: 现货品种ID
  3252. type: integer
  3253. deliverygoodsname:
  3254. description: 现货商品名称
  3255. type: string
  3256. enddate:
  3257. description: 结束交易日
  3258. type: string
  3259. enumdicname:
  3260. description: 现货商品单位名称
  3261. type: string
  3262. floatpl:
  3263. description: 浮动损益
  3264. type: number
  3265. goodsunitid:
  3266. description: 现货商品单位id
  3267. type: integer
  3268. oriamount:
  3269. description: 期初额
  3270. type: number
  3271. oriaverageprice:
  3272. description: 期初均价
  3273. type: number
  3274. oribuyamount:
  3275. description: 期初采购总额
  3276. type: number
  3277. oribuyqty:
  3278. description: 期初采购总量
  3279. type: number
  3280. oriqty:
  3281. description: 期初量
  3282. type: number
  3283. orisellamount:
  3284. description: 期初销售总额
  3285. type: number
  3286. orisellqty:
  3287. description: 期初销售总量
  3288. type: number
  3289. reckondate:
  3290. description: 日照时期(yyyyMMdd)
  3291. type: string
  3292. spotgoodsbrandid:
  3293. description: 现货品牌ID
  3294. type: integer
  3295. todaybuyamount:
  3296. description: 今日采购额(今采购额)
  3297. type: number
  3298. todaybuyaverageprice:
  3299. description: 今日采购均价
  3300. type: number
  3301. todaybuyqty:
  3302. description: 今日采购量(今采购量)
  3303. type: number
  3304. todayinqty:
  3305. description: 今日入库量(今入库量)
  3306. type: number
  3307. todayoutqty:
  3308. description: 今日出库量(今出库量)
  3309. type: number
  3310. todaysellamount:
  3311. description: 今日销售额(今销售额)
  3312. type: number
  3313. todaysellaverageprice:
  3314. description: 今日销售均价
  3315. type: number
  3316. todaysellqty:
  3317. description: 今日销售量(今销售量)
  3318. type: number
  3319. unitid:
  3320. description: 品类单位id
  3321. type: integer
  3322. unitidname:
  3323. description: 品类单位名称
  3324. type: string
  3325. updatetime:
  3326. description: 更新时间
  3327. type: string
  3328. wrfactortypeid:
  3329. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  3330. type: integer
  3331. wrstandardcode:
  3332. description: 品类代码
  3333. type: string
  3334. wrstandardid:
  3335. description: 现货品类ID
  3336. type: integer
  3337. wrstandardname:
  3338. description: 品类名称
  3339. type: string
  3340. type: object
  3341. models.Ermcp3AreaStock:
  3342. properties:
  3343. brandname:
  3344. description: 品牌名称
  3345. type: string
  3346. curstock:
  3347. description: 期末库存量(今日量)
  3348. type: number
  3349. deliverygoodscode:
  3350. description: 现货品种代码
  3351. type: string
  3352. deliverygoodsid:
  3353. description: 现货品种id
  3354. type: integer
  3355. deliverygoodsname:
  3356. description: 现货品种名称
  3357. type: string
  3358. enumdicname:
  3359. description: 单位名称
  3360. type: string
  3361. goodsunitid:
  3362. description: 现货商品单位id
  3363. type: integer
  3364. oristock:
  3365. description: 期初库存量(昨日量)
  3366. type: number
  3367. spotgoodsbrandid:
  3368. description: 现货品牌ID
  3369. type: integer
  3370. todaybuyinqty:
  3371. description: 今日采购入库量
  3372. type: number
  3373. todayproduceinqty:
  3374. description: 今日生产入库量
  3375. type: number
  3376. todayproduceoutqty:
  3377. description: 今日生产出库量
  3378. type: number
  3379. todayselloutqty:
  3380. description: 今日销售出库量
  3381. type: number
  3382. unitid:
  3383. description: 单位id
  3384. type: integer
  3385. updatetime:
  3386. description: 更新时间
  3387. type: string
  3388. userid:
  3389. description: 机构ID
  3390. type: integer
  3391. username:
  3392. description: 机构名称
  3393. type: string
  3394. warehousecode:
  3395. description: 仓库代码
  3396. type: string
  3397. warehouseinfoid:
  3398. description: 仓库ID
  3399. type: string
  3400. warehousename:
  3401. description: 仓库名称
  3402. type: string
  3403. warehousetype:
  3404. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3405. type: integer
  3406. wrstandardcode:
  3407. description: 品类代码
  3408. type: string
  3409. wrstandardid:
  3410. description: 品类ID
  3411. type: string
  3412. wrstandardname:
  3413. description: 品类名称
  3414. type: string
  3415. required:
  3416. - userid
  3417. type: object
  3418. models.Ermcp3AreaStockApply:
  3419. properties:
  3420. applyid:
  3421. description: 申请人
  3422. type: integer
  3423. applyname:
  3424. description: 申请人名称
  3425. type: string
  3426. applyremark:
  3427. description: 申请备注
  3428. type: string
  3429. applysrc:
  3430. description: 申请来源 - 1:管理端 2:终端
  3431. type: integer
  3432. applystatus:
  3433. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3434. type: integer
  3435. applytime:
  3436. description: 申请时间
  3437. type: string
  3438. auditid:
  3439. description: 审核人
  3440. type: integer
  3441. auditname:
  3442. description: 审核人名称
  3443. type: string
  3444. auditremark:
  3445. description: 审核备注
  3446. type: string
  3447. auditsrc:
  3448. description: 审核来源 - 1:管理端 2:终端
  3449. type: integer
  3450. audittime:
  3451. description: 审核时间
  3452. type: string
  3453. audittradedate:
  3454. description: 审核交易日(yyyyMMdd)
  3455. type: string
  3456. brandname:
  3457. description: 品牌名称
  3458. type: string
  3459. buynickname:
  3460. description: 采购方昵称
  3461. type: string
  3462. buyuserid:
  3463. description: 采购方userid
  3464. type: integer
  3465. buyusername:
  3466. description: 采购方名称
  3467. type: string
  3468. contractno:
  3469. description: 合同编号
  3470. type: string
  3471. contractqty:
  3472. description: 合同量
  3473. type: number
  3474. contracttype:
  3475. description: 现货合同类型 - 1:采购 -1:销售
  3476. type: integer
  3477. deliverygoodscode:
  3478. description: 现货品种代码
  3479. type: string
  3480. deliverygoodsid:
  3481. description: 现货品种id
  3482. type: integer
  3483. deliverygoodsname:
  3484. description: 现货品种名称
  3485. type: string
  3486. detailjson:
  3487. description: 明细数据
  3488. type: string
  3489. enumdicname:
  3490. description: 现货商品单位名称
  3491. type: string
  3492. inoutapplyid:
  3493. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3494. type: string
  3495. inouttype:
  3496. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3497. type: integer
  3498. pricetype:
  3499. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3500. type: integer
  3501. qty:
  3502. description: 数量
  3503. type: number
  3504. sellnickname:
  3505. description: 销售方昵称
  3506. type: string
  3507. selluserid:
  3508. description: 销售方userid
  3509. type: integer
  3510. sellusername:
  3511. description: 销售方名称
  3512. type: string
  3513. spotcontractid:
  3514. description: 关联现货合同ID
  3515. type: string
  3516. spotgoodsbrandid:
  3517. description: 现货品牌ID
  3518. type: integer
  3519. unitid:
  3520. description: 单位id
  3521. type: integer
  3522. userid:
  3523. description: 机构ID
  3524. type: integer
  3525. warehousecode:
  3526. description: 仓库代码
  3527. type: string
  3528. warehouseinfoid:
  3529. description: 现货仓库ID
  3530. type: string
  3531. warehousename:
  3532. description: 仓库名称
  3533. type: string
  3534. warehousetype:
  3535. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3536. type: integer
  3537. wrstandardcode:
  3538. description: 品类代码
  3539. type: string
  3540. wrstandardid:
  3541. description: 品类ID
  3542. type: integer
  3543. wrstandardname:
  3544. description: 品类名称
  3545. type: string
  3546. type: object
  3547. models.Ermcp3AreaStockApplySum:
  3548. properties:
  3549. brandname:
  3550. description: 品牌名称
  3551. type: string
  3552. inouttype:
  3553. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3554. type: integer
  3555. spotcontractid:
  3556. description: 关联现货合同ID
  3557. type: string
  3558. spotgoodsbrandid:
  3559. description: 品牌id
  3560. type: integer
  3561. totalqty:
  3562. description: 总数量
  3563. type: number
  3564. wrstandardid:
  3565. description: 品类id
  3566. type: integer
  3567. wrstandardname:
  3568. description: 品类名称
  3569. type: string
  3570. type: object
  3571. models.Ermcp3AreaStockReportEx:
  3572. properties:
  3573. begindate:
  3574. description: 开始交易日
  3575. type: string
  3576. brandname:
  3577. description: 品牌名称
  3578. type: string
  3579. curstock:
  3580. description: 期末库存量
  3581. type: number
  3582. cycletime:
  3583. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3584. type: string
  3585. cycletype:
  3586. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3587. type: integer
  3588. deliverygoodscode:
  3589. description: 现货品种代码
  3590. type: string
  3591. deliverygoodsid:
  3592. description: 现货品种id
  3593. type: integer
  3594. deliverygoodsname:
  3595. description: 现货品种名称
  3596. type: string
  3597. diffqty:
  3598. description: 库存变化量 = 期末 - 期初
  3599. type: number
  3600. enddate:
  3601. description: 结束交易日
  3602. type: string
  3603. enumdicname:
  3604. description: 单位名称
  3605. type: string
  3606. goodsunitid:
  3607. description: 现货单位id
  3608. type: integer
  3609. oristock:
  3610. description: 期初库存量
  3611. type: number
  3612. reckondate:
  3613. description: 日照时期(yyyyMMdd)
  3614. type: string
  3615. spotgoodsbrandid:
  3616. description: 现货品牌ID
  3617. type: integer
  3618. todaybuyinqty:
  3619. description: 今采购入库量
  3620. type: number
  3621. todayproduceinqty:
  3622. description: 今内部入库量
  3623. type: number
  3624. todayproduceoutqty:
  3625. description: 今内部出库量
  3626. type: number
  3627. todayselloutqty:
  3628. description: 今销售出库量
  3629. type: number
  3630. unbuyinqty:
  3631. description: 采购未入库量(数据库未找到相关字段?)
  3632. type: number
  3633. unitid:
  3634. description: 品类单位id
  3635. type: integer
  3636. unselloutqty:
  3637. description: 销售未出库量(数据库未找到相关字段?)
  3638. type: number
  3639. updatetime:
  3640. description: 更新时间
  3641. type: string
  3642. userid:
  3643. description: 机构ID
  3644. type: integer
  3645. username:
  3646. description: 机构名称
  3647. type: string
  3648. warehousecode:
  3649. description: 仓库代码
  3650. type: string
  3651. warehouseinfoid:
  3652. description: 仓库ID
  3653. type: string
  3654. warehousename:
  3655. description: 仓库名称
  3656. type: string
  3657. warehousetype:
  3658. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3659. type: integer
  3660. wrstandardcode:
  3661. description: 品类代码
  3662. type: string
  3663. wrstandardid:
  3664. description: 品类ID
  3665. type: integer
  3666. wrstandardname:
  3667. description: 品类名称
  3668. type: string
  3669. type: object
  3670. models.Ermcp3ArealSumPL:
  3671. properties:
  3672. areauserid:
  3673. description: 所属机构\交易用户ID
  3674. type: integer
  3675. begindate:
  3676. description: 开始交易日
  3677. type: string
  3678. currencyid:
  3679. description: 结算币种ID
  3680. type: integer
  3681. currencyname:
  3682. description: 币种名称
  3683. type: string
  3684. cycletime:
  3685. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3686. type: string
  3687. cycletype:
  3688. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3689. type: integer
  3690. enddate:
  3691. description: 结束交易日
  3692. type: string
  3693. enumdicname:
  3694. description: 单位名称(套保品种)
  3695. type: string
  3696. futureactualpl:
  3697. description: 期货损益
  3698. type: number
  3699. futurefloatpl:
  3700. description: 期货浮动损益
  3701. type: number
  3702. goodsunitid:
  3703. description: 套保品种单位id
  3704. type: integer
  3705. middlegoodscode:
  3706. description: 套保品种代码
  3707. type: string
  3708. middlegoodsid:
  3709. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  3710. type: integer
  3711. middlegoodsname:
  3712. description: 套保品种名称
  3713. type: string
  3714. reckondate:
  3715. description: 日照时期(yyyyMMdd)
  3716. type: string
  3717. spotactualpl:
  3718. description: 现货损益
  3719. type: number
  3720. spotfloatpl:
  3721. description: 现货浮动损益
  3722. type: number
  3723. sumactualpl:
  3724. description: 实际损益 = (ActualPL + FutureActualPL)
  3725. type: number
  3726. sumpl:
  3727. description: 汇总损益
  3728. type: number
  3729. updatetime:
  3730. description: 更新时间
  3731. type: string
  3732. type: object
  3733. models.Ermcp3Brand:
  3734. properties:
  3735. areauserid:
  3736. description: 用户id
  3737. type: integer
  3738. brandid:
  3739. description: 品牌id
  3740. type: integer
  3741. brandname:
  3742. description: 品牌名称
  3743. type: string
  3744. deliverygoodsid:
  3745. description: 品种ID
  3746. type: integer
  3747. type: object
  3748. models.Ermcp3Contract:
  3749. properties:
  3750. accountid:
  3751. description: 期货账户id
  3752. type: string
  3753. amount:
  3754. description: 金额 [1:一口价、3:暂定价]
  3755. type: number
  3756. attachment:
  3757. description: 附件
  3758. type: string
  3759. auditremark:
  3760. description: 审核意见
  3761. type: string
  3762. audittime:
  3763. description: 审核时间
  3764. type: string
  3765. biztype:
  3766. description: 业务类型 1-套保 2-套利
  3767. type: integer
  3768. brandname:
  3769. description: 品牌名称
  3770. type: string
  3771. buynickname:
  3772. description: 销售方昵称
  3773. type: string
  3774. buyuserid:
  3775. description: 采购方ID
  3776. type: integer
  3777. buyusername:
  3778. description: 采购方名称
  3779. type: string
  3780. contracctstatus:
  3781. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3782. type: integer
  3783. contractmargin:
  3784. description: 合同保证金
  3785. type: number
  3786. contractno:
  3787. description: 现货合同编号
  3788. type: string
  3789. contracttype:
  3790. description: 现货合同类型 - 1:采购 -1:销售
  3791. type: integer
  3792. convertfactor:
  3793. description: 标仓系数(品类)
  3794. type: number
  3795. createtime:
  3796. description: 创建时间
  3797. type: string
  3798. currencyid:
  3799. description: 币种id
  3800. type: integer
  3801. currencyname:
  3802. description: 币种名称
  3803. type: string
  3804. deliveryenddate:
  3805. description: 交收期(结束)
  3806. type: string
  3807. deliverygoodscode:
  3808. description: 现货品种代码
  3809. type: string
  3810. deliverygoodsid:
  3811. description: 现货品种ID
  3812. type: integer
  3813. deliverygoodsname:
  3814. description: 现货品种名称
  3815. type: string
  3816. deliverystartdate:
  3817. description: 交收期(开始)
  3818. type: string
  3819. enddate:
  3820. description: 点价结束日期 [2:点价 3:暂定价]
  3821. type: string
  3822. enumdicname:
  3823. description: 单位名称
  3824. type: string
  3825. goodscode:
  3826. description: 点价合约代码
  3827. type: string
  3828. goodsid:
  3829. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3830. type: integer
  3831. goodsname:
  3832. description: 点价商品名称
  3833. type: string
  3834. margin:
  3835. description: 当前保证金
  3836. type: number
  3837. meruserid:
  3838. description: 跟单员id
  3839. type: integer
  3840. meruserlogincode:
  3841. description: 跟单员登录代码
  3842. type: string
  3843. price:
  3844. description: 价格\暂定价 [1:一口价、3:暂定价]
  3845. type: number
  3846. pricemove:
  3847. description: 升贴水 [2:点价 3:暂定价]
  3848. type: number
  3849. pricetype:
  3850. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3851. type: integer
  3852. producttype:
  3853. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3854. type: integer
  3855. qty:
  3856. description: 数量
  3857. type: number
  3858. remark:
  3859. description: 备注
  3860. type: string
  3861. saleuserid:
  3862. description: 业务员id
  3863. type: integer
  3864. saleuserlogincode:
  3865. description: 业务员登录代码
  3866. type: string
  3867. sellnickname:
  3868. description: 采购方昵称
  3869. type: string
  3870. selluserid:
  3871. description: 销售方ID
  3872. type: integer
  3873. sellusername:
  3874. description: 销售方名称
  3875. type: string
  3876. spotcontractid:
  3877. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3878. type: string
  3879. spotgoodsbrandid:
  3880. description: 现货品牌ID(DGFactoryItem表的ID)
  3881. type: integer
  3882. spotgoodsdesc:
  3883. description: 商品型号
  3884. type: string
  3885. startdate:
  3886. description: 点价开始日期 [2:点价 3:暂定价]
  3887. type: string
  3888. tradeuserid:
  3889. description: 交易员id
  3890. type: integer
  3891. tradeuserlogincode:
  3892. description: 交易员登录代码
  3893. type: string
  3894. tradeusername:
  3895. description: 交易员名称
  3896. type: string
  3897. unitid:
  3898. description: 单位id(取品类上的单位id)
  3899. type: integer
  3900. updatetime:
  3901. description: 更新时间
  3902. type: string
  3903. userid:
  3904. description: 所属机构ID
  3905. type: integer
  3906. wrstandardcode:
  3907. description: 品类代码
  3908. type: string
  3909. wrstandardid:
  3910. description: 品类ID
  3911. type: integer
  3912. wrstandardname:
  3913. description: 品类名称
  3914. type: string
  3915. type: object
  3916. models.Ermcp3ExposureContractDetail:
  3917. properties:
  3918. biztype:
  3919. description: 业务类型 1-套保 2-套利
  3920. type: integer
  3921. brandname:
  3922. description: 品牌名称
  3923. type: string
  3924. buyuserid:
  3925. description: 采购方id
  3926. type: integer
  3927. buyusername:
  3928. description: 采购方名称
  3929. type: string
  3930. contractno:
  3931. description: 合同编号
  3932. type: string
  3933. contracttype:
  3934. description: 现货合同类型 - 1:采购 -1:销售
  3935. type: integer
  3936. convertratio:
  3937. description: 折算系数(套保品种)
  3938. type: number
  3939. curqty:
  3940. description: 今定价量
  3941. type: number
  3942. deliverygoodscode:
  3943. description: 现货商品代码
  3944. type: string
  3945. deliverygoodsid:
  3946. description: 现货商品id
  3947. type: integer
  3948. deliverygoodsname:
  3949. description: 现货商品名称
  3950. type: string
  3951. diffqty:
  3952. description: 套保品种今变动量
  3953. type: number
  3954. enumdicname:
  3955. description: 单位名称
  3956. type: string
  3957. middlegoodscode:
  3958. description: 套保品种代码
  3959. type: string
  3960. middlegoodsid:
  3961. description: 套保品种id
  3962. type: integer
  3963. middlegoodsname:
  3964. description: 套保品种名称
  3965. type: string
  3966. needarbitrageratio:
  3967. description: 应套利比例
  3968. type: number
  3969. needhedgeratio:
  3970. description: 应套保比例
  3971. type: number
  3972. pricedqty:
  3973. description: 已定价量
  3974. type: number
  3975. qty:
  3976. description: 合同量
  3977. type: number
  3978. selluserid:
  3979. description: 销售方id
  3980. type: integer
  3981. sellusername:
  3982. description: 销售方名称
  3983. type: string
  3984. spotcontractid:
  3985. description: 合同id
  3986. type: string
  3987. tradedate:
  3988. description: 交易日
  3989. type: string
  3990. unitid:
  3991. description: 品类单位id
  3992. type: integer
  3993. userid:
  3994. description: 机构id
  3995. type: integer
  3996. wrstandardcode:
  3997. description: 品类代码
  3998. type: string
  3999. wrstandardid:
  4000. description: 品类id
  4001. type: integer
  4002. wrstandardname:
  4003. description: 品类名称
  4004. type: string
  4005. type: object
  4006. models.Ermcp3ExposureDetail:
  4007. properties:
  4008. areauserid:
  4009. description: 机构ID
  4010. type: integer
  4011. changeQty:
  4012. description: 套保变动量
  4013. type: number
  4014. contracttype:
  4015. description: 现货合同类型 - 1:采购 -1:销售
  4016. type: integer
  4017. convertfactor:
  4018. description: 标仓系数
  4019. type: number
  4020. convertratio:
  4021. description: 套保系数
  4022. type: number
  4023. createtime:
  4024. description: 时间
  4025. type: string
  4026. deliverygoodscode:
  4027. description: 现货品种代码
  4028. type: string
  4029. deliverygoodsid:
  4030. description: 现货品种id
  4031. type: integer
  4032. deliverygoodsname:
  4033. description: 现货品种名称
  4034. type: string
  4035. enumdicname:
  4036. description: 现货商品单位名称
  4037. type: string
  4038. logtype:
  4039. description: 类型 - 1:套保计划 2:现货合同
  4040. type: integer
  4041. mgunitid:
  4042. description: 套保品种单位id
  4043. type: integer
  4044. mgunitidname:
  4045. description: 套保品种单位名称
  4046. type: string
  4047. middlegoodsId:
  4048. description: 套保商品id
  4049. type: integer
  4050. middlegoodscode:
  4051. description: 套保商品代码
  4052. type: string
  4053. middlegoodsname:
  4054. description: 套保商品名称
  4055. type: string
  4056. qty:
  4057. description: 数量
  4058. type: number
  4059. relateNo:
  4060. description: 现货合同/套保计划编号
  4061. type: string
  4062. type: object
  4063. models.Ermcp3ExposureHedgeplanDetail:
  4064. properties:
  4065. biztype:
  4066. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  4067. type: integer
  4068. changqty:
  4069. description: 应套保总量变化量
  4070. type: number
  4071. contracttype:
  4072. description: 计划类型 - 1:采购 -1:销售
  4073. type: integer
  4074. convertratio:
  4075. description: 折算系数(套保品种)
  4076. type: number
  4077. deliverygoodscode:
  4078. description: 现货商品代码
  4079. type: string
  4080. deliverygoodsid:
  4081. description: 现货商品id
  4082. type: integer
  4083. deliverygoodsname:
  4084. description: 现货商吕名称
  4085. type: string
  4086. dgunitid:
  4087. description: 现货商品单位id
  4088. type: integer
  4089. dgunitidname:
  4090. description: 单位名称(现货商品)
  4091. type: string
  4092. diffqty:
  4093. description: 套保品种今变动量
  4094. type: number
  4095. enumdicname:
  4096. description: 单位名称(品类)
  4097. type: string
  4098. hedgeplanid:
  4099. description: 套保计划id
  4100. type: string
  4101. hedgeplanno:
  4102. description: 套保计划编号
  4103. type: string
  4104. hedgeplanstatus:
  4105. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4106. type: integer
  4107. mgunitidname:
  4108. description: 单位名称(套保商品)
  4109. type: string
  4110. middlegoodscode:
  4111. description: 套保品种代码
  4112. type: string
  4113. middlegoodsid:
  4114. description: 套保品种id
  4115. type: integer
  4116. middlegoodsname:
  4117. description: 套保品种名称
  4118. type: string
  4119. needarbitrageratio:
  4120. description: 应套利比例
  4121. type: number
  4122. needhedgeratio:
  4123. description: 应套保比例
  4124. type: number
  4125. pricedqty:
  4126. description: 已定价量
  4127. type: number
  4128. qty:
  4129. description: 合同量
  4130. type: number
  4131. tradedate:
  4132. description: 交易日(登记日)
  4133. type: string
  4134. unitid:
  4135. description: 品类单位id
  4136. type: integer
  4137. userid:
  4138. description: 机构id
  4139. type: integer
  4140. wrstandardcode:
  4141. description: 品类代码
  4142. type: string
  4143. wrstandardid:
  4144. description: 品类id
  4145. type: integer
  4146. wrstandardname:
  4147. description: 品类名称
  4148. type: string
  4149. type: object
  4150. models.Ermcp3ExpourseReport:
  4151. properties:
  4152. accountid:
  4153. description: 期货账户ID (作废, 默认为0)
  4154. type: integer
  4155. accountname:
  4156. description: 机构名称
  4157. type: string
  4158. arbitrageqty:
  4159. description: 套利量
  4160. type: number
  4161. areauserid:
  4162. description: 所属机构\交易用户ID
  4163. type: integer
  4164. begindate:
  4165. description: 开始交易日
  4166. type: string
  4167. buyfutureqty:
  4168. description: 买入期货数量
  4169. type: number
  4170. buyplanqty:
  4171. description: 采购计划数量
  4172. type: number
  4173. buypricedqty:
  4174. description: 采购合同已定价数量
  4175. type: number
  4176. cycletime:
  4177. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4178. type: string
  4179. cycletype:
  4180. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4181. type: integer
  4182. diffexposure:
  4183. description: 变动量(套保敞口)
  4184. type: number
  4185. difffutuqty:
  4186. description: 变动量(期货)
  4187. type: number
  4188. diffhedgeqty:
  4189. description: 变动量(现货应套保总量)
  4190. type: number
  4191. diffmgqtya:
  4192. description: 套保变动量
  4193. type: number
  4194. diffmgqtyb:
  4195. description: 套利变动量
  4196. type: number
  4197. diffqty:
  4198. description: 变动量(总敞口)
  4199. type: number
  4200. diffspotqty:
  4201. description: 变动量(现货)
  4202. type: number
  4203. enddate:
  4204. description: 结束交易日
  4205. type: string
  4206. enumdicname:
  4207. description: 单位名称
  4208. type: string
  4209. hedgeqty:
  4210. description: 套保量
  4211. type: number
  4212. mgneedhedgeratio:
  4213. description: 套保比例(套保品的)
  4214. type: number
  4215. middlegoodsid:
  4216. description: 套保品种ID
  4217. type: integer
  4218. middlegoodsname:
  4219. description: 套保商品名称
  4220. type: string
  4221. middlgoodscode:
  4222. description: 套保商品代码
  4223. type: string
  4224. needarbitrageqty:
  4225. description: 应套利量
  4226. type: number
  4227. needarbitrageratio:
  4228. description: 套利比例(套保品的)
  4229. type: number
  4230. needhedgeexposoure:
  4231. description: 应套保敞口(套保敞口)
  4232. type: number
  4233. needhedgeqty:
  4234. description: 应套保量
  4235. type: number
  4236. needhedgeratio:
  4237. description: 应套保敞口比例
  4238. type: number
  4239. oriarbitrageqty:
  4240. description: 期初套利量
  4241. type: number
  4242. oribuyfutureqty:
  4243. description: 期初买入期货数量
  4244. type: number
  4245. oribuyplanqty:
  4246. description: 期初采购计划数量
  4247. type: number
  4248. oribuypricedqty:
  4249. description: 期初采购合同已定价数量
  4250. type: number
  4251. orihedgeqty:
  4252. description: 期初套保量
  4253. type: number
  4254. orineedarbitrageqty:
  4255. description: 期初应套利量
  4256. type: number
  4257. orineedhedgeexposoure:
  4258. description: 期初应套保敞口
  4259. type: number
  4260. orineedhedgeqty:
  4261. description: 期初应套保量
  4262. type: number
  4263. orisellfutureqty:
  4264. description: 期初卖出期货数量
  4265. type: number
  4266. orisellplanqty:
  4267. description: 期初销售计划数量
  4268. type: number
  4269. orisellpricedqty:
  4270. description: 期初销售合同已定价数量
  4271. type: number
  4272. oritotalexposure:
  4273. description: 期初实时总敞口
  4274. type: number
  4275. oritotalfutureqty:
  4276. description: 期初期货头寸总量
  4277. type: number
  4278. oritotalneedhedgeqty:
  4279. description: 期初应套保总量
  4280. type: number
  4281. oritotalspotqty:
  4282. description: 期初现货头寸总量
  4283. type: number
  4284. reckondate:
  4285. description: 日照时期(yyyyMMdd)
  4286. type: string
  4287. sellfutureqty:
  4288. description: 卖出期货数量
  4289. type: number
  4290. sellplanqty:
  4291. description: 销售计划数量
  4292. type: number
  4293. sellpricedqty:
  4294. description: 销售合同已定价数量
  4295. type: number
  4296. totalexposure:
  4297. description: 实时总敞口(总敞口)
  4298. type: number
  4299. totalfutureqty:
  4300. description: 期货头寸总量(期货总量)
  4301. type: number
  4302. totalhedgeratio:
  4303. description: 敞口比例
  4304. type: number
  4305. totalneedhedgeqty:
  4306. description: 应套保总量(现货应套保总量)
  4307. type: number
  4308. totalspotqty:
  4309. description: 现货头寸总量
  4310. type: number
  4311. unitid:
  4312. description: 单位id
  4313. type: integer
  4314. updatetime:
  4315. description: 更新时间
  4316. type: string
  4317. type: object
  4318. models.Ermcp3FinanceReport:
  4319. properties:
  4320. areauserid:
  4321. description: 所属机构\交易用户ID
  4322. type: integer
  4323. begindate:
  4324. description: 开始交易日
  4325. type: string
  4326. biztype:
  4327. description: 业务类型 - 1:套保 2:套利
  4328. type: integer
  4329. brandname:
  4330. description: 品牌名称
  4331. type: string
  4332. buypreinvoicedamount:
  4333. description: 采购预收票额(预收票额)
  4334. type: number
  4335. buyprepaidamount:
  4336. description: 采购预付款额(预付货款额)
  4337. type: number
  4338. buytodayinvoiceamount:
  4339. description: 采购今收票额(今收票额)
  4340. type: number
  4341. buytodayrefundamount:
  4342. description: 采购今收退款额(今收退款额)
  4343. type: number
  4344. buytodaysettleamount:
  4345. description: 采购今付款额(今付货款额)
  4346. type: number
  4347. buyuninvoicedamount:
  4348. description: 采购应收票额(应收票额)
  4349. type: number
  4350. buyunpaidamount:
  4351. description: 采购应付款额(应付货款额)
  4352. type: number
  4353. currencyid:
  4354. description: 结算币种ID
  4355. type: integer
  4356. currencyname:
  4357. description: 币种名称
  4358. type: string
  4359. cycletime:
  4360. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4361. type: string
  4362. cycletype:
  4363. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4364. type: integer
  4365. deliverygoodscode:
  4366. description: 现货品种代码
  4367. type: string
  4368. deliverygoodsid:
  4369. description: 现货品种ID
  4370. type: integer
  4371. deliverygoodsname:
  4372. description: 现货品种名称
  4373. type: string
  4374. enddate:
  4375. description: 结束交易日
  4376. type: string
  4377. reckondate:
  4378. description: 日照时期(yyyyMMdd)
  4379. type: string
  4380. sellpreinvoicedamount:
  4381. description: 销售预开票额(预开票额)
  4382. type: number
  4383. sellprepaidamount:
  4384. description: 销售预收款额(预收货款额)
  4385. type: number
  4386. selltodayinvoiceamount:
  4387. description: 销售今开票额(今开票额)
  4388. type: number
  4389. selltodayrefundamount:
  4390. description: 销售今付退款额(今付退款额)
  4391. type: number
  4392. selltodaysettleamount:
  4393. description: 销售今收款额(今收货款额)
  4394. type: number
  4395. selluninvoicedamount:
  4396. description: 销售应开票额(应开票额)
  4397. type: number
  4398. sellunpaidamount:
  4399. description: 销售应收款额(应收货款额)
  4400. type: number
  4401. spotgoodsbrandid:
  4402. description: 现货品牌ID
  4403. type: integer
  4404. todaypaysum:
  4405. description: 今付款合计
  4406. type: number
  4407. todayreceivesum:
  4408. description: 今收款合计
  4409. type: number
  4410. updatetime:
  4411. description: 更新时间
  4412. type: string
  4413. wrfactortypeid:
  4414. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4415. type: integer
  4416. wrstandardcode:
  4417. description: 品类代码
  4418. type: string
  4419. wrstandardid:
  4420. description: 现货商品ID
  4421. type: integer
  4422. wrstandardname:
  4423. description: 品类名称
  4424. type: string
  4425. type: object
  4426. models.Ermcp3Goods:
  4427. properties:
  4428. agreeunit:
  4429. description: 合约单位(合约乘数)
  4430. type: number
  4431. enumdicname:
  4432. description: 单位名称
  4433. type: string
  4434. exexchangecode:
  4435. description: 交易所代码
  4436. type: string
  4437. goodscode:
  4438. description: 期货商品代码
  4439. type: string
  4440. goodsid:
  4441. description: 期货商品id
  4442. type: integer
  4443. goodsname:
  4444. description: 期货商品名称
  4445. type: string
  4446. type: object
  4447. models.Ermcp3GoodsGroup:
  4448. properties:
  4449. agreeunit:
  4450. description: 合约单位
  4451. type: number
  4452. areauserid:
  4453. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  4454. type: integer
  4455. canshort:
  4456. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  4457. type: integer
  4458. closepricemode:
  4459. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4460. type: integer
  4461. createtime:
  4462. description: 创建时间
  4463. type: string
  4464. creatorid:
  4465. description: 创建人
  4466. type: integer
  4467. currencyid:
  4468. description: 报价货币ID
  4469. type: integer
  4470. decimalplace:
  4471. description: 报价小数位
  4472. type: integer
  4473. enumdicname:
  4474. description: 单位名称
  4475. type: string
  4476. excludecfg:
  4477. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  4478. type: integer
  4479. exexchangeid:
  4480. description: 外部交易所ID[通道交易]
  4481. type: integer
  4482. goodsgroupid:
  4483. description: 商品组ID(自增ID)
  4484. type: integer
  4485. goodsgroupname:
  4486. description: 商品组名称
  4487. type: string
  4488. goodsgroupstatus:
  4489. description: 商品组状态 - 1:正常 2:注销
  4490. type: integer
  4491. goodunitid:
  4492. description: 报价单位ID
  4493. type: integer
  4494. groupcategroyid:
  4495. description: 品种分类ID
  4496. type: integer
  4497. innerdealmode:
  4498. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4499. type: integer
  4500. marketid:
  4501. description: 所属市场ID
  4502. type: integer
  4503. modifierid:
  4504. description: 修改人
  4505. type: integer
  4506. modifytime:
  4507. description: 修改时间
  4508. type: string
  4509. outerdealmode:
  4510. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4511. type: integer
  4512. outergroupcode:
  4513. description: 外部商品组代码[通道交易]
  4514. type: string
  4515. quoteminunit:
  4516. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4517. type: integer
  4518. quotesourcegroupid:
  4519. description: 所属行情源分组ID[参考行情市场用\通道交易]
  4520. type: integer
  4521. syncgoodsqty:
  4522. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  4523. type: integer
  4524. required:
  4525. - areauserid
  4526. type: object
  4527. models.Ermcp3GoodsGroupEx:
  4528. properties:
  4529. convertratio:
  4530. description: 折算系数(品种系数)
  4531. type: number
  4532. enumdicname:
  4533. description: 单位名称
  4534. type: string
  4535. exexchangecode:
  4536. description: 交易所代码
  4537. type: string
  4538. glist:
  4539. description: 合约列表
  4540. items:
  4541. $ref: '#/definitions/models.Ermcp3Goods'
  4542. type: array
  4543. goodsgroupid:
  4544. description: 商品组id
  4545. type: integer
  4546. goodsgroupname:
  4547. description: 商品组名称
  4548. type: string
  4549. goodsunitid:
  4550. description: 单位id
  4551. type: integer
  4552. middlegoodsid:
  4553. description: 套保商品id
  4554. type: integer
  4555. type: object
  4556. models.Ermcp3HedgePlan:
  4557. properties:
  4558. accountid:
  4559. description: 资金账号
  4560. type: integer
  4561. areauserid:
  4562. description: 用户ID
  4563. type: integer
  4564. audittime:
  4565. description: 审核时间
  4566. type: string
  4567. contracttype:
  4568. description: 计划类型 - 1:采购 -1:销售
  4569. type: integer
  4570. convertfactor:
  4571. description: 标仓系数
  4572. type: number
  4573. createtime:
  4574. description: 创建时间
  4575. type: string
  4576. currencyid:
  4577. description: 币种id
  4578. type: integer
  4579. currencyname:
  4580. description: 币种名称
  4581. type: string
  4582. deliverygoodscode:
  4583. description: 现货品种代码
  4584. type: string
  4585. deliverygoodsid:
  4586. description: 现货品种ID
  4587. type: integer
  4588. deliverygoodsname:
  4589. description: 现货品种名称
  4590. type: string
  4591. enumdicname:
  4592. description: 单位名称(现货商品)
  4593. type: string
  4594. hedgeplanid:
  4595. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  4596. type: string
  4597. hedgeplanno:
  4598. description: 套保计划编号(名称)
  4599. type: string
  4600. hedgeplanstatus:
  4601. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4602. type: integer
  4603. planqty:
  4604. description: 计划数量
  4605. type: number
  4606. plantime:
  4607. description: 计划时间
  4608. type: string
  4609. producttype:
  4610. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4611. type: integer
  4612. remark:
  4613. description: 备注
  4614. type: string
  4615. spotgoodsdesc:
  4616. description: 商品型号
  4617. type: string
  4618. taaccountname:
  4619. description: 资金账号名称
  4620. type: string
  4621. tradeuserid:
  4622. description: 交易用户id
  4623. type: integer
  4624. tradeusername:
  4625. description: 交易用户名称
  4626. type: string
  4627. unitid:
  4628. description: 单位id(现货商品)
  4629. type: integer
  4630. updatetime:
  4631. description: 更新时间
  4632. type: string
  4633. wrstandardcode:
  4634. description: 品类代码
  4635. type: string
  4636. wrstandardid:
  4637. description: 品类id
  4638. type: integer
  4639. wrstandardname:
  4640. description: 品类名称
  4641. type: string
  4642. wrunitid:
  4643. description: 品类单位id
  4644. type: integer
  4645. wrunitidame:
  4646. description: 品类单位名称
  4647. type: string
  4648. type: object
  4649. models.Ermcp3MiddleGoodsDetail2:
  4650. properties:
  4651. convertratio:
  4652. description: 套保系数(折算系数)
  4653. type: number
  4654. gplist:
  4655. description: 关联商品组列表
  4656. items:
  4657. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4658. type: array
  4659. mg:
  4660. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4661. description: 套保商品信息
  4662. type: object
  4663. type: object
  4664. models.Ermcp3MiddleGoodsDetailEx:
  4665. properties:
  4666. dglist:
  4667. description: 关联的现货品种列表
  4668. items:
  4669. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  4670. type: array
  4671. gplist:
  4672. description: 关联商品组列表
  4673. items:
  4674. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4675. type: array
  4676. mg:
  4677. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4678. description: 套保商品信息
  4679. type: object
  4680. type: object
  4681. models.Ermcp3SellBuyContract:
  4682. properties:
  4683. accountid:
  4684. description: 期货账户id
  4685. type: string
  4686. accountname:
  4687. description: 账户名称
  4688. type: string
  4689. attachment:
  4690. description: 附件
  4691. type: string
  4692. audittime:
  4693. description: 审核时间
  4694. type: string
  4695. biztype:
  4696. description: 业务类型 1-套保 2-套利
  4697. type: integer
  4698. brandname:
  4699. description: 品牌名称
  4700. type: string
  4701. contracctstatus:
  4702. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4703. type: integer
  4704. contractmargin:
  4705. description: 合同保证金
  4706. type: number
  4707. contractno:
  4708. description: 合同编号
  4709. type: string
  4710. contracttype:
  4711. description: 合同类型 1-采购, -1-销售
  4712. type: integer
  4713. convertfactor:
  4714. description: 标仓系数(品类)
  4715. type: number
  4716. createtime:
  4717. description: 创建时间
  4718. type: string
  4719. currencyid:
  4720. description: 币种id
  4721. type: integer
  4722. currencyname:
  4723. description: 币种名称
  4724. type: string
  4725. daikaiamount:
  4726. description: 应收(开)票额
  4727. type: number
  4728. deliveryenddate:
  4729. description: 交割结束日
  4730. type: string
  4731. deliverygoodscode:
  4732. description: 现货品种代码
  4733. type: string
  4734. deliverygoodsid:
  4735. description: 现货商品ID
  4736. type: integer
  4737. deliverygoodsname:
  4738. description: 现货品种名称
  4739. type: string
  4740. deliverystartdate:
  4741. description: 交割开始日
  4742. type: string
  4743. enddate:
  4744. description: 点价结束日
  4745. type: string
  4746. enumdicname:
  4747. description: 单位名称
  4748. type: string
  4749. goodscode:
  4750. description: 点价商品代码
  4751. type: string
  4752. goodsid:
  4753. description: 点价商品ID
  4754. type: integer
  4755. goodsname:
  4756. description: 点价商品名称
  4757. type: string
  4758. invoiceamount:
  4759. description: 已开票额
  4760. type: number
  4761. loanamount:
  4762. description: 贷款总额=已定价额+调整金额
  4763. type: number
  4764. margin:
  4765. description: 保证金
  4766. type: number
  4767. meruserid:
  4768. description: 跟单员id
  4769. type: integer
  4770. meruserlogincode:
  4771. description: 跟单员登录代码
  4772. type: string
  4773. nickname:
  4774. description: 账户昵称
  4775. type: string
  4776. payamount:
  4777. description: 已收付额(收款或付款)
  4778. type: number
  4779. preinvoiceamount:
  4780. description: 预收(开)票额
  4781. type: number
  4782. prepayamount:
  4783. description: 预收付额
  4784. type: number
  4785. price:
  4786. description: 价格
  4787. type: number
  4788. pricedamount:
  4789. description: 已定价额
  4790. type: number
  4791. pricedavg:
  4792. description: 已点均价
  4793. type: number
  4794. pricedqty:
  4795. description: 已定价量
  4796. type: number
  4797. pricemove:
  4798. description: 升贴水
  4799. type: number
  4800. pricetype:
  4801. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4802. type: integer
  4803. producttype:
  4804. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4805. type: integer
  4806. qty:
  4807. description: 合同量
  4808. type: number
  4809. reckonadjustamount:
  4810. description: 调整金额
  4811. type: number
  4812. reckonedamount:
  4813. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  4814. type: number
  4815. reckonotheramount:
  4816. description: 其它费用
  4817. type: number
  4818. reckonrealqty:
  4819. description: 已确定量
  4820. type: number
  4821. remark:
  4822. description: 备注
  4823. type: string
  4824. saleuserid:
  4825. description: 业务员id
  4826. type: integer
  4827. saleuserlogincode:
  4828. description: 业务员登录代码
  4829. type: string
  4830. spotcontractid:
  4831. description: 合同ID
  4832. type: string
  4833. spotgoodsbrandid:
  4834. description: 现货品牌ID(DGFactoryItem表的ID)
  4835. type: integer
  4836. spotgoodsdesc:
  4837. description: 商品型号(商品规格)
  4838. type: string
  4839. startdate:
  4840. description: 点价开始日
  4841. type: string
  4842. totalamount:
  4843. description: 合计总额
  4844. type: number
  4845. tradeuserid:
  4846. description: 交易员id
  4847. type: integer
  4848. tradeuserlogincode:
  4849. description: 交易员登录代码
  4850. type: string
  4851. tradeusername:
  4852. description: 交易员名称
  4853. type: string
  4854. unpayamount:
  4855. description: 应收付款额(应支付或应收款)
  4856. type: number
  4857. unpricedqty:
  4858. description: 未定价量
  4859. type: number
  4860. unsureqty:
  4861. description: 未确定量
  4862. type: number
  4863. userid:
  4864. description: 机构ID
  4865. type: integer
  4866. wrstandardcode:
  4867. description: 品类代码
  4868. type: string
  4869. wrstandardid:
  4870. description: 品类ID
  4871. type: integer
  4872. wrstandardname:
  4873. description: 品类名称
  4874. type: string
  4875. type: object
  4876. models.Ermcp3SpotGoodsPrice:
  4877. properties:
  4878. areauserid:
  4879. description: 所属机构id
  4880. type: integer
  4881. brandname:
  4882. description: 品牌名称
  4883. type: string
  4884. currencyid:
  4885. description: 报价货币ID
  4886. type: integer
  4887. currencyname:
  4888. description: 币种名称
  4889. type: string
  4890. deliverygoodscode:
  4891. description: 现货商品代码
  4892. type: string
  4893. deliverygoodsid:
  4894. description: 现货商品id
  4895. type: integer
  4896. deliverygoodsname:
  4897. description: 现货商品名称
  4898. type: string
  4899. enumdicname:
  4900. description: 现货商品单位名称
  4901. type: string
  4902. gbenumdicname:
  4903. description: 品类单位名称
  4904. type: string
  4905. gmunitid:
  4906. description: 品类单位id
  4907. type: integer
  4908. isvalid:
  4909. description: 是否有效 - 0:无效 1:有效
  4910. type: integer
  4911. operateid:
  4912. description: 最后操作人
  4913. type: integer
  4914. operatesrc:
  4915. description: 最后操作来源 - 1:管理端 2:终端
  4916. type: integer
  4917. operatetime:
  4918. description: 最后操作时间
  4919. type: string
  4920. operatorname:
  4921. description: 操作人名称
  4922. type: string
  4923. spotgoodsbrandid:
  4924. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  4925. type: integer
  4926. spotgoodsprice:
  4927. description: 现货价格
  4928. type: number
  4929. tradedate:
  4930. description: 交易日(yyyyMMdd)
  4931. type: string
  4932. unitid:
  4933. description: 现货商品单位id
  4934. type: integer
  4935. wrstandardcode:
  4936. description: 品类代码
  4937. type: string
  4938. wrstandardid:
  4939. description: 现货品类ID(通用则为0)
  4940. type: integer
  4941. wrstandardname:
  4942. description: 品类名称
  4943. type: string
  4944. type: object
  4945. models.Ermcp3SpotGoodsPriceLog:
  4946. properties:
  4947. areauserid:
  4948. description: 所属机构id
  4949. type: integer
  4950. brandname:
  4951. description: 品牌名称
  4952. type: string
  4953. currencyid:
  4954. description: 报价货币ID
  4955. type: integer
  4956. deliverygoodscode:
  4957. description: 现货商品代码
  4958. type: string
  4959. deliverygoodsid:
  4960. description: 现货商品id
  4961. type: integer
  4962. deliverygoodsname:
  4963. description: 现货商品名称
  4964. type: string
  4965. enumdicname:
  4966. description: 现货商品单位名称
  4967. type: string
  4968. gbenumdicname:
  4969. description: 品类单位名称
  4970. type: string
  4971. gmunitid:
  4972. description: 品类单位id
  4973. type: integer
  4974. logid:
  4975. description: 日志id
  4976. type: integer
  4977. operateid:
  4978. description: 最后操作人
  4979. type: integer
  4980. operatesrc:
  4981. description: 最后操作来源 - 1:管理端 2:终端
  4982. type: integer
  4983. operatetime:
  4984. description: 最后操作时间
  4985. type: string
  4986. operatorname:
  4987. description: 操作人名称
  4988. type: string
  4989. spotgoodsbrandid:
  4990. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  4991. type: integer
  4992. spotgoodsprice:
  4993. description: 现货价格
  4994. type: number
  4995. tradedate:
  4996. description: 交易日(yyyyMMdd)
  4997. type: string
  4998. unitid:
  4999. description: 现货商品单位id
  5000. type: integer
  5001. wrstandardcode:
  5002. description: 品类代码
  5003. type: string
  5004. wrstandardid:
  5005. description: 现货品类ID(通用则为0)
  5006. type: integer
  5007. wrstandardname:
  5008. description: 品类名称
  5009. type: string
  5010. type: object
  5011. models.Ermcp3Wrstandard:
  5012. properties:
  5013. areauserid:
  5014. description: 所属机构
  5015. type: integer
  5016. convertfactor:
  5017. description: 标仓系数
  5018. type: number
  5019. createtime:
  5020. description: 创建时间
  5021. type: string
  5022. creatorid:
  5023. description: 创建人
  5024. type: integer
  5025. deliverygoodsid:
  5026. description: 现货品种ID
  5027. type: integer
  5028. enumdicname:
  5029. description: 品类单位名称
  5030. type: string
  5031. isvalid:
  5032. description: 是否有效 0-无效(停用) 1-有效(正常)
  5033. type: integer
  5034. minivalue:
  5035. description: 最小变动值
  5036. type: integer
  5037. minivaluedp:
  5038. description: 最小变动值小数位
  5039. type: integer
  5040. realminivalue:
  5041. description: 实际最小变动值
  5042. type: integer
  5043. realminivaluedp:
  5044. description: 实际最小变动值小数位
  5045. type: integer
  5046. remark:
  5047. description: 备注
  5048. type: string
  5049. unitid:
  5050. description: 品类单位ID
  5051. type: integer
  5052. updatetime:
  5053. description: 更新时间
  5054. type: string
  5055. wrstandardcode:
  5056. description: 品类代码
  5057. type: string
  5058. wrstandardid:
  5059. description: 品类ID(SEQ_WRSTANDARD)
  5060. type: integer
  5061. wrstandardname:
  5062. description: 品类名称
  5063. type: string
  5064. type: object
  5065. models.ErmcpAreaSpotDetailModel:
  5066. properties:
  5067. contracttype:
  5068. description: 合同类型 1-采购 -1-销售
  5069. type: integer
  5070. createtime:
  5071. description: 创建时间
  5072. type: string
  5073. enumdicname:
  5074. description: 现货商品单位名称
  5075. type: string
  5076. logtype:
  5077. description: 记录类型 1-套保 2-现货合同
  5078. type: integer
  5079. qty:
  5080. description: 数量
  5081. type: number
  5082. recordname:
  5083. description: 类型名称
  5084. type: string
  5085. relatedid:
  5086. description: 套保计划ID/现货合同ID
  5087. type: string
  5088. relatedno:
  5089. description: 编号
  5090. type: string
  5091. strtime:
  5092. description: 时间
  5093. type: string
  5094. wrstandardcode:
  5095. description: 现货商品代码
  5096. type: string
  5097. wrstandardname:
  5098. description: 现货商品名称
  5099. type: string
  5100. type: object
  5101. models.ErmcpAvalidGoodsGroupModel:
  5102. properties:
  5103. goodsgroupid:
  5104. description: 期货品种id
  5105. type: integer
  5106. goodsgroupname:
  5107. description: 期货品种名称
  5108. type: string
  5109. goodunitid:
  5110. description: 品种单位id
  5111. type: integer
  5112. goodunitname:
  5113. description: 品种单位名称
  5114. type: string
  5115. outergroupcode:
  5116. description: 期货品种代码
  5117. type: string
  5118. type: object
  5119. models.ErmcpBizGroupEx:
  5120. properties:
  5121. acclist:
  5122. description: 账号列表
  5123. items:
  5124. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5125. type: array
  5126. bizgroupid:
  5127. description: 业务分组id
  5128. type: integer
  5129. biztype:
  5130. description: 业务类型 1-套保 2-套利
  5131. type: integer
  5132. wrlist:
  5133. description: 现货商品表
  5134. items:
  5135. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5136. type: array
  5137. type: object
  5138. models.ErmcpBizGroupSpotGoods:
  5139. properties:
  5140. areauserid:
  5141. description: 所属机构id
  5142. type: integer
  5143. bizgroupid:
  5144. description: 分组id
  5145. type: integer
  5146. biztype:
  5147. description: 业务类型 1-套保 2-套利
  5148. type: integer
  5149. deliverygoodscode:
  5150. description: 现货商品代码
  5151. type: string
  5152. deliverygoodsid:
  5153. description: 现货商品id
  5154. type: integer
  5155. deliverygoodsname:
  5156. description: 现货商品名称
  5157. type: string
  5158. unitid:
  5159. description: 现货商品单位id
  5160. type: integer
  5161. type: object
  5162. models.ErmcpBizGroupTaAccount:
  5163. properties:
  5164. accountid:
  5165. description: 账号id
  5166. type: integer
  5167. accountname:
  5168. description: 账号名称
  5169. type: string
  5170. areauserid:
  5171. description: 所属机构id
  5172. type: integer
  5173. bizgroupid:
  5174. description: 业务分组id
  5175. type: integer
  5176. ismain:
  5177. description: 是否主账号 1-是 0-否
  5178. type: integer
  5179. type: object
  5180. models.ErmcpDGFactoryItem:
  5181. properties:
  5182. areauserid:
  5183. description: 用户id
  5184. type: integer
  5185. deliverygoodsid:
  5186. description: 现货品种ID
  5187. type: integer
  5188. dgfactoryitemid:
  5189. description: 选择项ID(SEQ_DGFACTORYITEM)
  5190. type: integer
  5191. dgfactoryitemtypeid:
  5192. description: 要素项类型
  5193. type: integer
  5194. dgfactoryitemvalue:
  5195. description: 要素项值(类型为仓库时填写仓库名称)
  5196. type: string
  5197. isvalid:
  5198. description: 是否有效 - 0:无效 1:有效
  5199. type: integer
  5200. orderindex:
  5201. description: 顺序
  5202. type: integer
  5203. warehouseid:
  5204. description: 仓库ID(类型为仓库时填写)
  5205. type: integer
  5206. type: object
  5207. models.ErmcpDeliveryGoods:
  5208. properties:
  5209. agreeunit:
  5210. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5211. type: integer
  5212. areauserid:
  5213. description: 所属机构
  5214. type: integer
  5215. auditflag:
  5216. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5217. type: integer
  5218. categoryid:
  5219. description: 类别ID(SEQ_WRCATEGORY)
  5220. type: integer
  5221. deliverygoodscode:
  5222. description: 现货品种代码
  5223. type: string
  5224. deliverygoodsid:
  5225. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5226. type: integer
  5227. deliverygoodsname:
  5228. description: 现货品种名称
  5229. type: string
  5230. deliverygoodstype:
  5231. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5232. type: integer
  5233. dgstatus:
  5234. description: 品种状态 - 作废 - 0:未激活 1:正常
  5235. type: integer
  5236. enumdicname:
  5237. description: 现货品种单位名称
  5238. type: string
  5239. goodsunitid:
  5240. description: 现货品种单位ID
  5241. type: integer
  5242. isvalid:
  5243. description: 是否有效 - 0:无效 1:有效
  5244. type: integer
  5245. qtydecimalplace:
  5246. description: 成交量小数位
  5247. type: integer
  5248. remark:
  5249. description: 备注
  5250. type: string
  5251. standardqty:
  5252. description: 标准数量(库位数量) [标准品特有]
  5253. type: integer
  5254. standardqtyrange:
  5255. description: 标准数量偏差范围 [标准品特有]
  5256. type: integer
  5257. type: object
  5258. models.ErmcpDeliveryGoodsDetail2:
  5259. properties:
  5260. convertratio:
  5261. description: 套保系数(折算系数)
  5262. type: number
  5263. data:
  5264. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5265. description: 现货商品基本信息(交割品种)
  5266. type: object
  5267. gblist:
  5268. description: 品牌列表
  5269. items:
  5270. $ref: '#/definitions/models.Ermcp3Brand'
  5271. type: array
  5272. gmlist:
  5273. description: 品类列表(仓单标准)
  5274. items:
  5275. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5276. type: array
  5277. type: object
  5278. models.ErmcpDeliveryGoodsDetailEx:
  5279. properties:
  5280. data:
  5281. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5282. description: 现货商品基本信息(交割品种)
  5283. type: object
  5284. gblist:
  5285. description: 品牌列表
  5286. items:
  5287. $ref: '#/definitions/models.Ermcp3Brand'
  5288. type: array
  5289. gmlist:
  5290. description: 品类列表(仓单标准)
  5291. items:
  5292. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5293. type: array
  5294. mgList:
  5295. description: 套保列表
  5296. items:
  5297. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5298. type: array
  5299. type: object
  5300. models.ErmcpExposureDetailModel:
  5301. properties:
  5302. areauserid:
  5303. description: 机构ID
  5304. type: integer
  5305. changeQty:
  5306. description: 套保变动量
  5307. type: number
  5308. contracttype:
  5309. description: 现货合同类型 - 1:采购 -1:销售
  5310. type: integer
  5311. convertfactor:
  5312. description: 标仓系数
  5313. type: number
  5314. convertratio:
  5315. description: 套保系数
  5316. type: number
  5317. createtime:
  5318. description: 时间
  5319. type: string
  5320. enumdicname:
  5321. description: 现货商品单位名称
  5322. type: string
  5323. logtype:
  5324. description: 类型 - 1:套保计划 2:现货合同
  5325. type: integer
  5326. middlegoodsId:
  5327. description: 套保商品id
  5328. type: integer
  5329. middlegoodscode:
  5330. description: 套保商品代码
  5331. type: string
  5332. middlegoodsname:
  5333. description: 套保商品名称
  5334. type: string
  5335. qty:
  5336. description: 数量
  5337. type: number
  5338. relateNo:
  5339. description: 现货合同/套保计划编号
  5340. type: string
  5341. wrstandardcode:
  5342. description: 现货商品代码
  5343. type: string
  5344. wrstandardid:
  5345. description: 现货商品ID
  5346. type: integer
  5347. wrstandardname:
  5348. description: 现货商品名称
  5349. type: string
  5350. type: object
  5351. models.ErmcpExposurePostion:
  5352. properties:
  5353. agreeunit:
  5354. description: 合约单位
  5355. type: string
  5356. areauserid:
  5357. description: 所属机构id
  5358. type: integer
  5359. convertratio:
  5360. description: 期货品种系数(折算系数)
  5361. type: number
  5362. curqty:
  5363. description: 当前持仓
  5364. type: integer
  5365. diffhedgeqty:
  5366. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5367. type: number
  5368. diffqty:
  5369. description: 持仓变动量=当前持仓-昨日持仓
  5370. type: integer
  5371. goodscode:
  5372. description: 商品代码
  5373. type: string
  5374. goodsid:
  5375. description: 商品id
  5376. type: integer
  5377. goodsname:
  5378. description: 商品名称
  5379. type: string
  5380. middlegoodsid:
  5381. description: 套保商品id
  5382. type: integer
  5383. ydqty:
  5384. description: 昨日持仓
  5385. type: integer
  5386. type: object
  5387. models.ErmcpFuturesCompany:
  5388. properties:
  5389. brokerid:
  5390. description: 经纪公司代码
  5391. type: string
  5392. channeladdress:
  5393. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5394. type: string
  5395. channelid:
  5396. description: 对冲渠道ID
  5397. type: string
  5398. createtime:
  5399. description: 创建时间
  5400. type: string
  5401. creatorid:
  5402. description: 创建人
  5403. type: string
  5404. fcid:
  5405. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5406. type: integer
  5407. fcname:
  5408. description: 期货公司名称
  5409. type: string
  5410. isvalid:
  5411. description: 是否有效 - 0:无效 1:有效
  5412. type: integer
  5413. mhpaddress:
  5414. description: MHP服务地址(IP:Port)
  5415. type: string
  5416. riskrulegroupid:
  5417. description: 风控规则组ID
  5418. type: string
  5419. tradefeetmpid:
  5420. description: 手续费模板ID[TradeConfigTmpType为2]
  5421. type: string
  5422. trademargintmpid:
  5423. description: 保证金模板ID [TradeConfigTmpType为1]
  5424. type: string
  5425. traderatetmpid:
  5426. description: 汇率模板ID[TradeConfigTmpType为3]
  5427. type: string
  5428. updatetime:
  5429. description: 更新时间
  5430. type: string
  5431. updatorid:
  5432. description: 更新人
  5433. type: string
  5434. type: object
  5435. models.ErmcpGGConvertCfg:
  5436. properties:
  5437. convertratio:
  5438. description: 折算系数
  5439. type: number
  5440. destgoodsgroupid:
  5441. description: 目标品种ID
  5442. type: integer
  5443. dstcode:
  5444. description: 目录品种代码
  5445. type: string
  5446. dstexchangecode:
  5447. description: 目标期货交易所
  5448. type: string
  5449. dstname:
  5450. description: 目标品种名称
  5451. type: string
  5452. dstunitid:
  5453. description: 目标品种单位ID
  5454. type: integer
  5455. dstunitidname:
  5456. description: 目标品种单位名称
  5457. type: string
  5458. modifytime:
  5459. description: 修改时间
  5460. type: string
  5461. srccode:
  5462. description: 源品种代码
  5463. type: string
  5464. srcexchangecode:
  5465. description: 源期货交易所
  5466. type: string
  5467. srcgoodsgroupid:
  5468. description: 源品种ID
  5469. type: integer
  5470. srcname:
  5471. description: 源品种名称
  5472. type: string
  5473. srcunitid:
  5474. description: 源品种单位ID
  5475. type: integer
  5476. srcunitidname:
  5477. description: 源品种单位名称
  5478. type: string
  5479. type: object
  5480. models.ErmcpGoodsBrand:
  5481. properties:
  5482. areauserid:
  5483. description: 所属机构
  5484. type: integer
  5485. brandid:
  5486. description: BrandID(SEQ_SPOTGOODSBRAND)
  5487. type: integer
  5488. brandname:
  5489. description: 品牌名称
  5490. type: string
  5491. createtime:
  5492. description: 创建时间
  5493. type: string
  5494. creatorid:
  5495. description: 创建人
  5496. type: integer
  5497. creatorsrc:
  5498. description: 创建人来源 - 1:管理端 2:终端
  5499. type: integer
  5500. deliverygoodsid:
  5501. description: 现货品种ID
  5502. type: integer
  5503. isvalid:
  5504. description: 是否有效 - 0:无效 1:有效
  5505. type: integer
  5506. updatetime:
  5507. description: 更新时间
  5508. type: string
  5509. updatorid:
  5510. description: 更新人
  5511. type: integer
  5512. updatorsrc:
  5513. description: 更新人来源 - 1:管理端 2:终端
  5514. type: integer
  5515. wrstandardid:
  5516. description: 现货商品ID
  5517. type: integer
  5518. type: object
  5519. models.ErmcpGoodsModel:
  5520. properties:
  5521. areauserid:
  5522. description: 所属机构
  5523. type: integer
  5524. convertfactor:
  5525. description: 标仓系数
  5526. type: number
  5527. createtime:
  5528. description: 创建时间
  5529. type: string
  5530. creatorid:
  5531. description: 创建人
  5532. type: integer
  5533. creatorsrc:
  5534. description: 创建人来源 - 1:管理端 2:终端
  5535. type: integer
  5536. deliverygoodsid:
  5537. description: 现货品种ID
  5538. type: integer
  5539. isvalid:
  5540. description: 是否有效 - 0:无效 1:有效
  5541. type: integer
  5542. modelid:
  5543. description: ModelID(SEQ_SPOTGOODSMODEL)
  5544. type: integer
  5545. modelname:
  5546. description: 型号名称
  5547. type: string
  5548. updatetime:
  5549. description: 更新时间
  5550. type: string
  5551. updatorid:
  5552. description: 更新人
  5553. type: integer
  5554. updatorsrc:
  5555. description: 更新人来源 - 1:管理端 2:终端
  5556. type: integer
  5557. wrstandardid:
  5558. description: 现货商品ID
  5559. type: integer
  5560. type: object
  5561. models.ErmcpHedgePosition:
  5562. properties:
  5563. accountid:
  5564. description: 资金账号[外部母账户]
  5565. type: integer
  5566. curbuyposition:
  5567. description: 期末买头寸
  5568. type: integer
  5569. cursellposition:
  5570. description: 期末卖头寸
  5571. type: integer
  5572. curtdbuyposition:
  5573. description: 期末今日买头寸
  5574. type: integer
  5575. curtdsellposition:
  5576. description: 期末今日卖头寸
  5577. type: integer
  5578. curydbuyposition:
  5579. description: 期末上日买头寸
  5580. type: integer
  5581. curydsellposition:
  5582. description: 期末上日卖头寸
  5583. type: integer
  5584. decreaseqty:
  5585. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  5586. type: integer
  5587. fretdbuyposition:
  5588. description: 冻结今日买头寸
  5589. type: integer
  5590. fretdsellposition:
  5591. description: 冻结今日卖头寸
  5592. type: integer
  5593. freydbuyposition:
  5594. description: 冻结上日买头寸
  5595. type: integer
  5596. freydsellposition:
  5597. description: 冻结上日卖头寸
  5598. type: integer
  5599. goodscode:
  5600. description: 商品代码
  5601. type: string
  5602. goodsid:
  5603. description: 商品id
  5604. type: integer
  5605. goodsname:
  5606. description: 商品名称
  5607. type: string
  5608. hedgeaccountcode:
  5609. description: 对冲账号
  5610. type: string
  5611. hedgegoodsid:
  5612. description: 对冲合约ID
  5613. type: integer
  5614. increaseqty:
  5615. description: 增加数量 = 期末买头寸 - 期初买头寸
  5616. type: integer
  5617. marketid:
  5618. description: 市场ID
  5619. type: integer
  5620. relateduserid:
  5621. description: 关联用户id
  5622. type: integer
  5623. totalcurqty:
  5624. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  5625. type: integer
  5626. totalydqty:
  5627. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  5628. type: integer
  5629. tradedate:
  5630. description: 交易日(yyyyMMdd)
  5631. type: string
  5632. ydbuyposition:
  5633. description: 期初买头寸
  5634. type: integer
  5635. ydsellposition:
  5636. description: 期初卖头寸
  5637. type: integer
  5638. type: object
  5639. models.ErmcpHedgePositionDetail:
  5640. properties:
  5641. buyorsell:
  5642. description: 买卖方向 0-买 1-卖
  5643. type: integer
  5644. channelbuildtype:
  5645. description: 开平方向 1-建仓 2-平仓
  5646. type: integer
  5647. goodscode:
  5648. description: 商品代码
  5649. type: string
  5650. goodsname:
  5651. description: 商品名称
  5652. type: string
  5653. hedgegoodsid:
  5654. description: 商品id
  5655. type: integer
  5656. tradeqty:
  5657. description: 数量(成交数量)
  5658. type: integer
  5659. tradetime:
  5660. description: 时间(成交时间)
  5661. type: string
  5662. type: object
  5663. models.ErmcpHisExposure:
  5664. properties:
  5665. needhedgeexposoure:
  5666. description: 应套保敞口
  5667. type: number
  5668. reckondate:
  5669. description: 日照时期(yyyyMMdd)
  5670. type: string
  5671. totalexposure:
  5672. description: 总敞口
  5673. type: number
  5674. type: object
  5675. models.ErmcpHisExposureS:
  5676. properties:
  5677. data:
  5678. description: 历史敞口
  5679. items:
  5680. $ref: '#/definitions/models.ErmcpHisExposure'
  5681. type: array
  5682. enumdicname:
  5683. description: 单位名称
  5684. type: string
  5685. middlegoodscode:
  5686. description: 套保品种代码
  5687. type: string
  5688. middlegoodsid:
  5689. description: 套保品种ID
  5690. type: integer
  5691. middlegoodsname:
  5692. description: 套保品种名称
  5693. type: string
  5694. type: object
  5695. models.ErmcpLoginTaAccount:
  5696. properties:
  5697. accountid:
  5698. description: 账号id
  5699. type: integer
  5700. accountname:
  5701. description: 账号名称
  5702. type: string
  5703. type: object
  5704. models.ErmcpLoginUser:
  5705. properties:
  5706. acclist:
  5707. description: 关联资金账号
  5708. items:
  5709. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  5710. type: array
  5711. accountname:
  5712. description: 用户名称
  5713. type: string
  5714. clientroleid:
  5715. description: 角色id(usertype=2)
  5716. type: integer
  5717. createtime:
  5718. description: 创建时间
  5719. type: string
  5720. logincode:
  5721. description: 登录代码
  5722. type: string
  5723. loginid:
  5724. description: 登录id(LOGINID)
  5725. type: integer
  5726. loginname:
  5727. description: 登录名称(loginaccount表中的accountname字段)
  5728. type: string
  5729. loginstatus:
  5730. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  5731. type: integer
  5732. memberuserid:
  5733. description: 所属会员id
  5734. type: integer
  5735. mobile:
  5736. description: 手机号
  5737. type: string
  5738. modifytime:
  5739. description: 修改时间
  5740. type: string
  5741. password:
  5742. description: 密码(不可解密)
  5743. type: string
  5744. rolename:
  5745. description: 角色名称
  5746. type: string
  5747. rolestatus:
  5748. description: 角色状态 1-启用 2-停用
  5749. type: integer
  5750. roletype:
  5751. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  5752. type: string
  5753. userid:
  5754. description: 用户id
  5755. type: integer
  5756. usertype:
  5757. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  5758. type: integer
  5759. type: object
  5760. models.ErmcpLoginUserEx:
  5761. properties:
  5762. accountstatus:
  5763. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  5764. type: integer
  5765. mobile:
  5766. description: 手机号
  5767. type: string
  5768. querytype:
  5769. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  5770. type: integer
  5771. roleid:
  5772. description: 角色id(交易账户->用户id)
  5773. type: integer
  5774. rolename:
  5775. description: 角色名称(交易账户->用户名称)
  5776. type: string
  5777. userlist:
  5778. description: 用户列表
  5779. items:
  5780. $ref: '#/definitions/models.ErmcpLoginUser'
  5781. type: array
  5782. usertype:
  5783. description: 用户类型 2-机构 7-企业成员(云平台)
  5784. type: integer
  5785. type: object
  5786. models.ErmcpMiddleGoodsChangeLog:
  5787. properties:
  5788. aftervalue:
  5789. description: 变更后
  5790. type: number
  5791. applyid:
  5792. description: 操作人
  5793. type: integer
  5794. applyname:
  5795. description: 操作人名称
  5796. type: string
  5797. applysrc:
  5798. description: 操作来源 - 1:管理端 2:终端
  5799. type: integer
  5800. beforevalue:
  5801. description: 变更前
  5802. type: number
  5803. changelogtype:
  5804. description: 变更流水类型 - 1:套保比率变更
  5805. type: integer
  5806. handlestatus:
  5807. description: 处理状态
  5808. type: integer
  5809. logdatetime:
  5810. description: 流水日期
  5811. type: string
  5812. logid:
  5813. description: 流水ID
  5814. type: integer
  5815. logremark:
  5816. description: 流水备注
  5817. type: string
  5818. middlegoodsid:
  5819. description: 套保品种ID
  5820. type: integer
  5821. tradedate:
  5822. description: 交易日(yyyyMMdd)
  5823. type: string
  5824. updatetime:
  5825. description: 更新时间
  5826. type: string
  5827. type: object
  5828. models.ErmcpMiddleGoodsDetail:
  5829. properties:
  5830. cvList:
  5831. description: 期货品种折算列表
  5832. items:
  5833. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  5834. type: array
  5835. mg:
  5836. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  5837. description: 套保品种基本信息
  5838. type: object
  5839. wrcList:
  5840. description: 现货品种列表(现货商品折算配置)
  5841. items:
  5842. $ref: '#/definitions/models.WRSConverTDetail'
  5843. type: array
  5844. type: object
  5845. models.ErmcpMiddleGoodsModel:
  5846. properties:
  5847. areauserid:
  5848. description: 机构用户ID
  5849. type: integer
  5850. createtime:
  5851. description: 修改时间
  5852. type: string
  5853. enumdicname:
  5854. description: 单位名称
  5855. type: string
  5856. evaluateratio:
  5857. description: 估价系数
  5858. type: number
  5859. goodsgroupid:
  5860. description: 关联期货品种ID
  5861. type: integer
  5862. goodsunitid:
  5863. description: 单位ID
  5864. type: integer
  5865. isvalid:
  5866. description: 状态 0-无效(停用) 1-有效(正常)
  5867. type: integer
  5868. middlegoodscode:
  5869. description: 套保品种代码
  5870. type: string
  5871. middlegoodsid:
  5872. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5873. type: integer
  5874. middlegoodsname:
  5875. description: 套保品种名称
  5876. type: string
  5877. modifytime:
  5878. description: 修改时间
  5879. type: string
  5880. needarbitrageratio:
  5881. description: 套利比例
  5882. type: number
  5883. needhedgeratio:
  5884. description: 套保比率
  5885. type: number
  5886. qtydecimalplace:
  5887. description: 数量小数位
  5888. type: integer
  5889. relatedgoodsid:
  5890. description: 关联交易商品ID
  5891. type: integer
  5892. relatedgoodstype:
  5893. description: 关联商品类型 - 1:期货合约 2:现货品种
  5894. type: integer
  5895. remark:
  5896. description: 备注
  5897. type: string
  5898. type: object
  5899. models.ErmcpOPLogModel:
  5900. properties:
  5901. aftervalue:
  5902. description: 变更后
  5903. type: number
  5904. applyid:
  5905. description: 操作人ID
  5906. type: string
  5907. applyname:
  5908. description: 操作人名称
  5909. type: string
  5910. beforevalue:
  5911. description: 变更前
  5912. type: number
  5913. biztype:
  5914. description: 业务类型 - 1:套保计划 2:现货合同
  5915. type: integer
  5916. contracttype:
  5917. description: 现货合同类型 - 1:采购 -1:销售
  5918. type: integer
  5919. logvalue:
  5920. description: 数值
  5921. type: number
  5922. operatelogtype:
  5923. description: 操作流水类型
  5924. type: integer
  5925. operatelogtypedesc:
  5926. description: 操作流水类型名称
  5927. type: string
  5928. relatedid:
  5929. description: 现货合同ID\套保计划
  5930. type: string
  5931. updatetime:
  5932. description: 更新时间
  5933. type: string
  5934. type: object
  5935. models.ErmcpPendingAudit:
  5936. properties:
  5937. areastockqty:
  5938. description: '待审核数量: 库存申请'
  5939. type: integer
  5940. businessdjqty:
  5941. description: '待审核数量: 点价'
  5942. type: integer
  5943. businessfpqty:
  5944. description: '待审核数量: 发票'
  5945. type: integer
  5946. businessjsqty:
  5947. description: '待审核数量: 结算'
  5948. type: integer
  5949. businesskxqty:
  5950. description: '待审核数量: 款项'
  5951. type: integer
  5952. hedgeplanqty:
  5953. description: '待审核数量: 套保计划'
  5954. type: integer
  5955. spotcontractqty:
  5956. description: '待审核数量: 现货合同'
  5957. type: integer
  5958. userqty:
  5959. description: '待审核数量: 用户'
  5960. type: integer
  5961. type: object
  5962. models.ErmcpRealExposureModel:
  5963. properties:
  5964. AreaUserID:
  5965. description: 所属机构
  5966. type: integer
  5967. BuyFutureQty:
  5968. description: 买入期货数量
  5969. type: number
  5970. BuyPlanQty:
  5971. description: 采购计划数量
  5972. type: number
  5973. BuyPricedQty:
  5974. description: 采购合同已定价数量
  5975. type: number
  5976. MiddleGoodsCode:
  5977. description: 套保品种代码
  5978. type: string
  5979. MiddleGoodsHedgeRatio:
  5980. description: 套保比例
  5981. type: number
  5982. MiddleGoodsID:
  5983. description: 套保品种
  5984. type: integer
  5985. MiddleGoodsName:
  5986. description: 套保品种名称
  5987. type: string
  5988. NeedHedgeExposoure:
  5989. description: 应套保敞口(套保敞口)
  5990. type: number
  5991. NeedHedgeRatio:
  5992. description: 应套保敞口比例
  5993. type: number
  5994. OriBuyFutureQty:
  5995. description: 期初买入期货数量
  5996. type: number
  5997. OriBuyPlanQty:
  5998. description: 期初采购计划数量
  5999. type: number
  6000. OriBuyPricedQty:
  6001. description: 期初采购合同已定价数量
  6002. type: number
  6003. OriSellFutureQty:
  6004. description: 期初卖出期货数量
  6005. type: number
  6006. OriSellPlanQty:
  6007. description: 期初销售计划数量
  6008. type: number
  6009. OriSellPricedQty:
  6010. description: 期初销售合同已定价数量
  6011. type: number
  6012. SellFutureQty:
  6013. description: 卖出期货数量
  6014. type: number
  6015. SellPlanQty:
  6016. description: 销售计划数量
  6017. type: number
  6018. SellPricedQty:
  6019. description: 销售合同已定价数量
  6020. type: number
  6021. TotalExposure:
  6022. description: 总敞口
  6023. type: number
  6024. TotalFutureQty:
  6025. description: 期货总量
  6026. type: number
  6027. TotalHedgeRatio:
  6028. description: 敞口比例
  6029. type: number
  6030. TotalNeedHedgeQty:
  6031. description: 应套保总量(现货应套保总量)
  6032. type: number
  6033. TotalSpotQty:
  6034. description: 现货总量
  6035. type: number
  6036. arbitrageqty:
  6037. description: 套利量
  6038. type: number
  6039. diffArbitrageQty:
  6040. description: 套利变动量
  6041. type: number
  6042. diffExposoureQty:
  6043. description: 变动量(套保敞口)
  6044. type: number
  6045. diffFutuQty:
  6046. description: 变动量(期货总量)
  6047. type: number
  6048. diffHedgeQty:
  6049. description: 套保变动量
  6050. type: number
  6051. diffQty:
  6052. description: 变动量(总敞口)
  6053. type: number
  6054. diffSpotHedgeQty:
  6055. description: 变动量(现货应套保总量)
  6056. type: number
  6057. diffSpotQty:
  6058. description: 变动量(现货总量) = 现货数量 - 期初现货数量
  6059. type: number
  6060. enumdicname:
  6061. description: 单位名称
  6062. type: string
  6063. hedgeqty:
  6064. description: 套保量
  6065. type: number
  6066. needarbitrageqty:
  6067. description: 应套利量
  6068. type: number
  6069. needarbitrageratio:
  6070. description: 套利比例
  6071. type: number
  6072. needhedgeqty:
  6073. description: 应套保量
  6074. type: number
  6075. oriTotalFutuQty:
  6076. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6077. type: number
  6078. oriTotalSpotQty:
  6079. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6080. type: number
  6081. oriarbitrageqty:
  6082. description: 期初套利量
  6083. type: number
  6084. orihedgeqty:
  6085. description: 期初套保量
  6086. type: number
  6087. orineedhedgeexposoure:
  6088. description: 期初套保敞口
  6089. type: number
  6090. oritotalexposure:
  6091. description: 期初总敞口
  6092. type: number
  6093. oritotalfutureqty:
  6094. description: 期初期货总量
  6095. type: number
  6096. oritotalneedhedgeqty:
  6097. description: 期初现货应套保量
  6098. type: number
  6099. type: object
  6100. models.ErmcpRole:
  6101. properties:
  6102. areauserid:
  6103. description: 所属机构
  6104. type: integer
  6105. autoid:
  6106. description: 角色ID(自增ID)
  6107. type: integer
  6108. modifierid:
  6109. description: 修改人(创建人)
  6110. type: integer
  6111. modifiername:
  6112. description: 修改人名称
  6113. type: string
  6114. modifytime:
  6115. description: 修改时间(创建时间)
  6116. type: string
  6117. rolename:
  6118. description: 角色名称
  6119. type: string
  6120. rolestatus:
  6121. description: 角色状态 - 1:启用 2:停用
  6122. type: integer
  6123. roletype:
  6124. description: 角色类型 - 1- 管理端 2- 交易端
  6125. type: integer
  6126. type: object
  6127. models.ErmcpRoleMenu:
  6128. properties:
  6129. iconame:
  6130. description: 菜单图标
  6131. type: string
  6132. ishadrole:
  6133. description: 是否有权限
  6134. type: boolean
  6135. menutype:
  6136. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6137. type: integer
  6138. parentcode:
  6139. description: 上级资源代码
  6140. type: string
  6141. remark:
  6142. description: 菜单备注
  6143. type: string
  6144. resourcecode:
  6145. description: 菜单代码
  6146. type: string
  6147. resourcelevel:
  6148. description: 级别
  6149. type: integer
  6150. resourcename:
  6151. description: 菜单名称
  6152. type: string
  6153. roleid:
  6154. description: 角色id
  6155. type: integer
  6156. sort:
  6157. description: 排序
  6158. type: integer
  6159. url:
  6160. description: URL
  6161. type: string
  6162. userid:
  6163. description: 用户id
  6164. type: integer
  6165. type: object
  6166. models.ErmcpRoleMenuEx:
  6167. properties:
  6168. menu:
  6169. $ref: '#/definitions/models.ErmcpRoleMenu'
  6170. description: 父级菜单
  6171. type: object
  6172. subMenu:
  6173. description: 子级菜单
  6174. items:
  6175. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  6176. type: array
  6177. type: object
  6178. models.ErmcpTaAccount:
  6179. properties:
  6180. accountid:
  6181. description: 账户id
  6182. type: integer
  6183. accountname:
  6184. description: 账户名称
  6185. type: string
  6186. currencyid:
  6187. description: 币种id
  6188. type: integer
  6189. hedgeaccountcode:
  6190. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6191. type: string
  6192. ismain:
  6193. description: 是否主账户 0-否 1-是
  6194. type: integer
  6195. parentaccountid:
  6196. description: 父账户id
  6197. type: integer
  6198. relateduserid:
  6199. description: 关联userid
  6200. type: integer
  6201. tradestatus:
  6202. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6203. type: integer
  6204. userid:
  6205. description: 用户id
  6206. type: integer
  6207. type: object
  6208. models.ErmcpTaAccountEx:
  6209. properties:
  6210. mainAcc:
  6211. $ref: '#/definitions/models.ErmcpTaAccountM'
  6212. description: 主账号
  6213. type: object
  6214. subacclist:
  6215. description: 子账号列表
  6216. items:
  6217. $ref: '#/definitions/models.ErmcpTaAccount'
  6218. type: array
  6219. type: object
  6220. models.ErmcpTaAccountInfo:
  6221. properties:
  6222. accountid:
  6223. description: 资金账户ID
  6224. type: integer
  6225. accountname:
  6226. description: 账户名称
  6227. type: string
  6228. balance:
  6229. description: 期初余额
  6230. type: number
  6231. capitalbalance:
  6232. description: 本金余额[外部子账户实际出入金余额]
  6233. type: number
  6234. closepl:
  6235. description: 今日平仓盈亏
  6236. type: number
  6237. creditdecrease:
  6238. description: 今日授信减少
  6239. type: number
  6240. creditincrease:
  6241. description: 今日授信增加
  6242. type: number
  6243. curdebt:
  6244. description: 期末欠款
  6245. type: number
  6246. currencyid:
  6247. description: 货币ID
  6248. type: integer
  6249. currentbalance:
  6250. description: 期末余额
  6251. type: number
  6252. freezecharge:
  6253. description: 手续费冻结
  6254. type: number
  6255. freezemargin:
  6256. description: 冻结保证金
  6257. type: number
  6258. fromaccountid:
  6259. description: 所属上级账户
  6260. type: integer
  6261. inamount:
  6262. description: 今日入金金额(包括三方入金)
  6263. type: number
  6264. ismain:
  6265. description: 是否母账号 0:不是母账户 1:是母账户
  6266. type: integer
  6267. mortgagecredit:
  6268. description: 授信金额
  6269. type: number
  6270. oridebt:
  6271. description: 期初欠款
  6272. type: number
  6273. orifreezecharge:
  6274. description: 期初手续费冻结
  6275. type: number
  6276. orifreezemargin:
  6277. description: 期初冻结保证金
  6278. type: number
  6279. orimortgagecredit:
  6280. description: 期初授信金额
  6281. type: number
  6282. oriothercredit:
  6283. description: 期初其它授信金额
  6284. type: number
  6285. oriotherfreezemargin:
  6286. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6287. type: number
  6288. orioutamountfreeze:
  6289. description: 期初出金冻结
  6290. type: number
  6291. oriusedmargin:
  6292. description: 期初占用保证金
  6293. type: number
  6294. othercredit:
  6295. description: 其它授信金额
  6296. type: number
  6297. othercreditdecrease:
  6298. description: 今日其它授信减少
  6299. type: number
  6300. othercreditincrease:
  6301. description: 今日其它授信增加
  6302. type: number
  6303. otherfreezemargin:
  6304. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6305. type: number
  6306. outamount:
  6307. description: 今日出金金额(包括三方出金)
  6308. type: number
  6309. outamountfreeze:
  6310. description: 出金冻结
  6311. type: number
  6312. outthreshold:
  6313. description: 出金阈值
  6314. type: number
  6315. parentaccountid:
  6316. description: 所属根账号
  6317. type: integer
  6318. paycharge:
  6319. description: 今日手续费支出
  6320. type: number
  6321. relateduserid:
  6322. description: 关联用户
  6323. type: integer
  6324. signstatus:
  6325. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6326. type: integer
  6327. sublevelpath:
  6328. description: 账号层级路径(逗号分隔,首尾加逗号)
  6329. type: string
  6330. taaccounttype:
  6331. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6332. type: integer
  6333. thirdinamount:
  6334. description: 今日三方入金
  6335. type: number
  6336. thirdoutamount:
  6337. description: 今日三方出金
  6338. type: number
  6339. tradestatus:
  6340. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6341. type: integer
  6342. transferamount:
  6343. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  6344. type: number
  6345. usedmargin:
  6346. description: 占用保证金
  6347. type: number
  6348. userid:
  6349. description: 用户ID
  6350. type: integer
  6351. type: object
  6352. models.ErmcpTaAccountM:
  6353. properties:
  6354. accountid:
  6355. description: 账户id
  6356. type: integer
  6357. accountname:
  6358. description: 账户名称
  6359. type: string
  6360. currencyid:
  6361. description: 币种id
  6362. type: integer
  6363. fcid:
  6364. description: 期货公司id
  6365. type: integer
  6366. fcname:
  6367. description: 期货公司代码
  6368. type: string
  6369. hedgeaccountcode:
  6370. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6371. type: string
  6372. ismain:
  6373. description: 是否主账户 0-否 1-是
  6374. type: integer
  6375. parentaccountid:
  6376. description: 父账户id
  6377. type: integer
  6378. relateduserid:
  6379. description: 关联userid
  6380. type: integer
  6381. tradestatus:
  6382. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6383. type: integer
  6384. userid:
  6385. description: 用户id
  6386. type: integer
  6387. type: object
  6388. models.ErmcpTradeConfigTMP:
  6389. properties:
  6390. areauserid:
  6391. description: 所属机构
  6392. type: integer
  6393. basiccurrencyid:
  6394. description: 基本币种ID[汇率] - 目标币种
  6395. type: integer
  6396. mainaccountid:
  6397. description: 主账户ID
  6398. type: integer
  6399. modifierid:
  6400. description: 修改人
  6401. type: integer
  6402. remark:
  6403. description: 备注
  6404. type: string
  6405. tradeconfigtmpid:
  6406. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  6407. type: integer
  6408. tradeconfigtmpname:
  6409. description: 交易配置模板名称
  6410. type: string
  6411. tradeconfigtmptype:
  6412. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  6413. type: integer
  6414. updatetime:
  6415. description: 更新时间
  6416. type: string
  6417. type: object
  6418. models.ErmcpUserModel:
  6419. properties:
  6420. address:
  6421. description: 通讯地址
  6422. type: string
  6423. attachment1:
  6424. description: 附件1
  6425. type: string
  6426. audittime:
  6427. description: 审核时间
  6428. type: string
  6429. cardbackphotourl:
  6430. description: 证件反面图片地址
  6431. type: string
  6432. cardfrontphotourl:
  6433. description: 证件正面图片地址
  6434. type: string
  6435. cardnum:
  6436. description: 证件号码
  6437. type: string
  6438. cardtype:
  6439. description: 证件类型
  6440. type: integer
  6441. cardtypename:
  6442. description: 证件类型名称
  6443. type: string
  6444. cityid:
  6445. description: 市
  6446. type: integer
  6447. contactname:
  6448. description: 联系人
  6449. type: string
  6450. countryid:
  6451. description: 国家
  6452. type: integer
  6453. createtime:
  6454. description: 创建时间
  6455. type: string
  6456. customername:
  6457. description: 企业名称
  6458. type: string
  6459. districtid:
  6460. description: 区域
  6461. type: integer
  6462. email:
  6463. description: 邮件
  6464. type: string
  6465. legalpersonname:
  6466. description: 法人姓名(企业)
  6467. type: string
  6468. memberuserid:
  6469. description: 所属机构ID
  6470. type: integer
  6471. mobile:
  6472. description: 手机号码
  6473. type: string
  6474. modifytime:
  6475. description: 修改时间
  6476. type: string
  6477. nickname:
  6478. description: 昵称
  6479. type: string
  6480. provinceid:
  6481. description: 省
  6482. type: integer
  6483. remark:
  6484. description: 备注
  6485. type: string
  6486. status:
  6487. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  6488. type: integer
  6489. statusdesc:
  6490. description: 账户状态中文描述
  6491. type: string
  6492. taxpayernum:
  6493. description: 纳税人识别号
  6494. type: string
  6495. telphone:
  6496. description: 联系电话
  6497. type: string
  6498. userid:
  6499. description: 用户ID
  6500. type: integer
  6501. userinfotype:
  6502. description: 客户类型
  6503. type: string
  6504. type: object
  6505. models.ErmcpWareHouseInfo:
  6506. properties:
  6507. address:
  6508. description: 详细地址
  6509. type: string
  6510. areauserid:
  6511. description: 所属机构
  6512. type: integer
  6513. autoid:
  6514. description: 自增ID(仓库ID)
  6515. type: integer
  6516. cityid:
  6517. description: 市
  6518. type: integer
  6519. contactname:
  6520. description: 联系人
  6521. type: string
  6522. contactnum:
  6523. description: 联系电话
  6524. type: string
  6525. countryid:
  6526. description: 国家
  6527. type: integer
  6528. createtime:
  6529. description: 创建时间
  6530. type: string
  6531. districtid:
  6532. description: 区
  6533. type: integer
  6534. hasvideo:
  6535. description: 是否有视频 - 0:无 1:有
  6536. type: integer
  6537. provinceid:
  6538. description: 省
  6539. type: integer
  6540. remark:
  6541. description: 审核备注
  6542. type: string
  6543. videourl:
  6544. description: 视频地址
  6545. type: string
  6546. warehousecode:
  6547. description: 仓库代码
  6548. type: string
  6549. warehousename:
  6550. description: 仓库名称
  6551. type: string
  6552. warehousestatus:
  6553. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  6554. type: integer
  6555. warehousetype:
  6556. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  6557. type: integer
  6558. type: object
  6559. models.Externalexchange:
  6560. properties:
  6561. autoid:
  6562. description: AutoID - SEQ_EXTERNALEXCHANGE
  6563. type: integer
  6564. exchangefullname:
  6565. description: 外部交易所全称
  6566. type: string
  6567. exexchangecode:
  6568. description: 外部交易所代码
  6569. type: string
  6570. exexchangename:
  6571. description: 外部交易所名称(简称)
  6572. type: string
  6573. ismarketprice:
  6574. description: 是否支持市价 - 0:不支持 1:支持
  6575. type: integer
  6576. quotegear:
  6577. description: 行情档位(1-10)
  6578. type: integer
  6579. showbrokerflag:
  6580. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  6581. type: integer
  6582. updatetime:
  6583. description: 更新时间
  6584. type: string
  6585. required:
  6586. - autoid
  6587. type: object
  6588. models.Funcmenulist:
  6589. properties:
  6590. iconame:
  6591. description: 菜单图标
  6592. type: string
  6593. menutype:
  6594. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  6595. type: integer
  6596. parentcode:
  6597. description: 上级资源代码
  6598. type: string
  6599. remark:
  6600. description: 备注
  6601. type: string
  6602. resourcecode:
  6603. description: 资源代码
  6604. type: string
  6605. resourcelevel:
  6606. description: 级别 1-一级 2-二级 3-三级 4-四级
  6607. type: integer
  6608. resourcename:
  6609. description: 资源名
  6610. type: string
  6611. sort:
  6612. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  6613. type: integer
  6614. url:
  6615. description: URL
  6616. type: string
  6617. required:
  6618. - resourcecode
  6619. type: object
  6620. models.Goods:
  6621. properties:
  6622. agreeunit:
  6623. description: 合约单位
  6624. type: number
  6625. auditaccountid:
  6626. description: 审核操作员账号
  6627. type: integer
  6628. audittime:
  6629. description: 审核时间
  6630. type: string
  6631. cancelaccountid:
  6632. description: 注销操作员账号
  6633. type: integer
  6634. canceltime:
  6635. description: 注销时间
  6636. type: string
  6637. closepricemode:
  6638. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6639. type: integer
  6640. closepriceparam:
  6641. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  6642. type: number
  6643. createtime:
  6644. description: 创建时间
  6645. type: string
  6646. creatorid:
  6647. description: 创建人
  6648. type: integer
  6649. currencyid:
  6650. description: 报价货币ID
  6651. type: integer
  6652. cutmode:
  6653. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  6654. type: integer
  6655. decimalplace:
  6656. description: 报价小数位
  6657. type: integer
  6658. delistingdate:
  6659. description: 商品退市时间(状态:退市) -- 已作废
  6660. type: string
  6661. delistingmode:
  6662. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  6663. type: integer
  6664. deliveryflag:
  6665. description: 交割标志 - 0:不可交割 1:可交割
  6666. type: integer
  6667. forceclosemode:
  6668. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  6669. type: integer
  6670. forceclosevalue:
  6671. description: 定期强平参数 [收益权]
  6672. type: integer
  6673. goodscode:
  6674. description: 商品代码(内部)
  6675. type: string
  6676. goodscurrencyid:
  6677. description: 合约货币ID
  6678. type: integer
  6679. goodsgroupid:
  6680. description: 所属商品组ID
  6681. type: integer
  6682. goodsid:
  6683. description: 商品ID(自增ID SEQ_GOODS)
  6684. type: integer
  6685. goodsname:
  6686. description: 商品名称
  6687. type: string
  6688. goodsquotetype:
  6689. description: '合约报价类型: 1-直接报价 2-间接报价'
  6690. type: integer
  6691. goodsstatus:
  6692. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  6693. type: integer
  6694. goodstradetype:
  6695. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  6696. type: integer
  6697. goodunitid:
  6698. description: 报价单位ID
  6699. type: integer
  6700. hasquoter:
  6701. description: 是否有报价商 - 0:无报价商 1:有报价商
  6702. type: integer
  6703. hqprotecttime:
  6704. description: 行情保护时间(秒)
  6705. type: integer
  6706. innerdealmode:
  6707. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6708. type: integer
  6709. isbuylimited:
  6710. description: 是否限制建仓量 - 0:不限制 1:限制
  6711. type: integer
  6712. lasttradedate:
  6713. description: 最后交易日期(状态:待退市)
  6714. type: string
  6715. listingdate:
  6716. description: 交易开始日期
  6717. type: string
  6718. marketid:
  6719. description: 所属市场ID
  6720. type: integer
  6721. modifierid:
  6722. description: 修改人
  6723. type: integer
  6724. modifystatus:
  6725. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6726. type: integer
  6727. modifytime:
  6728. description: 修改时间
  6729. type: string
  6730. outerdealmode:
  6731. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6732. type: integer
  6733. outgoodscode:
  6734. description: 商品代码(外部)
  6735. type: string
  6736. qtydecimalplace:
  6737. description: 成交量小数位
  6738. type: integer
  6739. quotegear:
  6740. description: 行情档位(1-10)
  6741. type: integer
  6742. quoteminunit:
  6743. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6744. type: integer
  6745. quoteshowtype:
  6746. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6747. type: integer
  6748. quoteshowtypeinterval:
  6749. description: 行情报价间隔时间(秒)(成交价时为0)
  6750. type: integer
  6751. remark:
  6752. description: 备注
  6753. type: string
  6754. required:
  6755. - goodscode
  6756. - goodsid
  6757. - goodsname
  6758. - marketid
  6759. type: object
  6760. models.GoodsIDAndName:
  6761. properties:
  6762. goodscode:
  6763. description: 商品代码(内部)
  6764. type: string
  6765. goodsid:
  6766. description: 商品ID(自增ID SEQ_GOODS)
  6767. type: integer
  6768. goodsname:
  6769. description: 商品名称
  6770. type: string
  6771. marketid:
  6772. description: 所属市场ID
  6773. type: integer
  6774. required:
  6775. - goodscode
  6776. - goodsid
  6777. - goodsname
  6778. - marketid
  6779. type: object
  6780. models.Goodsgroup:
  6781. properties:
  6782. agreeunit:
  6783. description: 合约单位
  6784. type: number
  6785. canshort:
  6786. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6787. type: integer
  6788. closepricemode:
  6789. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6790. type: integer
  6791. closepriceparam:
  6792. description: 强平最新价浮动比例 - 方式为2时使用
  6793. type: number
  6794. createtime:
  6795. description: 创建时间
  6796. type: string
  6797. creatorid:
  6798. description: 创建人
  6799. type: integer
  6800. currencyid:
  6801. description: 报价货币ID
  6802. type: integer
  6803. decimalplace:
  6804. description: 报价小数位
  6805. type: integer
  6806. exercisetype:
  6807. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  6808. type: integer
  6809. exexchangeid:
  6810. description: 外部交易所ID[通道交易]
  6811. type: integer
  6812. goodsgroupid:
  6813. description: 商品组ID(自增ID)
  6814. type: integer
  6815. goodsgroupname:
  6816. description: 商品组名称
  6817. type: string
  6818. goodsgroupstatus:
  6819. description: 商品组状态 - 1:正常 2:注销
  6820. type: integer
  6821. goodunitid:
  6822. description: 报价单位ID
  6823. type: integer
  6824. innerdealmode:
  6825. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6826. type: integer
  6827. isbuylimited:
  6828. description: 是否限制建仓量 - 0:不限制 1:限制
  6829. type: integer
  6830. marketid:
  6831. description: 所属市场ID
  6832. type: integer
  6833. modifierid:
  6834. description: 修改人
  6835. type: integer
  6836. modifytime:
  6837. description: 修改时间
  6838. type: string
  6839. outerdealmode:
  6840. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6841. type: integer
  6842. outergroupcode:
  6843. description: 外部商品组代码[通道交易]
  6844. type: string
  6845. premiumdecimalplace:
  6846. description: 权利金小数位[场外期权]
  6847. type: integer
  6848. premiumspreadalgorithm:
  6849. description: 权利金点差方式[场外期权] 1:比率 2:固定
  6850. type: integer
  6851. premiumspreadvalue:
  6852. description: 权利金点差值[场外期权]
  6853. type: number
  6854. qtydecimalplace:
  6855. description: 成交量小数位
  6856. type: integer
  6857. quotegear:
  6858. description: 行情档位(1-10)
  6859. type: integer
  6860. quoteminunit:
  6861. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6862. type: integer
  6863. quoterid:
  6864. description: 报价商ID[场外期权]
  6865. type: integer
  6866. quotesourcegroupid:
  6867. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6868. type: integer
  6869. syncgoodsqty:
  6870. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6871. type: integer
  6872. required:
  6873. - goodsgroupid
  6874. - goodsgroupname
  6875. - goodsgroupstatus
  6876. - marketid
  6877. type: object
  6878. models.Goodssortbypreposition:
  6879. properties:
  6880. goodscode:
  6881. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  6882. type: string
  6883. goodsgroupcode:
  6884. description: 品种代码
  6885. type: string
  6886. prepositionqty:
  6887. description: 昨持仓量
  6888. type: integer
  6889. sortindex:
  6890. description: 排序
  6891. type: integer
  6892. tradedate:
  6893. description: 交易日
  6894. type: string
  6895. updatetime:
  6896. description: 更新时间
  6897. type: string
  6898. required:
  6899. - goodscode
  6900. - tradedate
  6901. type: object
  6902. models.Hedgeinnerholderdetail:
  6903. properties:
  6904. accountid:
  6905. description: 账号ID
  6906. type: integer
  6907. buyorsell:
  6908. description: 方向 - 0:买 1:卖
  6909. type: integer
  6910. freezeqty:
  6911. description: 冻结数量 - 按单平使用
  6912. type: integer
  6913. goodsid:
  6914. description: 商品ID
  6915. type: integer
  6916. holderamount:
  6917. description: 持仓金额 [商品币种]
  6918. type: number
  6919. holderdays:
  6920. description: 剩余冻结天数
  6921. type: integer
  6922. holderprice:
  6923. description: 持仓价格
  6924. type: number
  6925. holderqty:
  6926. description: 持仓数量
  6927. type: integer
  6928. marketid:
  6929. description: 市场ID
  6930. type: integer
  6931. openprice:
  6932. description: 建仓价格
  6933. type: number
  6934. openqty:
  6935. description: 建仓数量
  6936. type: integer
  6937. parentaccountid:
  6938. description: 所属母账户
  6939. type: integer
  6940. releaseamount:
  6941. description: 释放持仓金额[商品币种]
  6942. type: number
  6943. tradeamount:
  6944. description: 成交金额[账户]
  6945. type: number
  6946. tradedate:
  6947. description: 交易日(yyyyMMdd)
  6948. type: string
  6949. tradeid:
  6950. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6951. type: string
  6952. tradetime:
  6953. description: 交易时间
  6954. type: string
  6955. required:
  6956. - buyorsell
  6957. - tradeid
  6958. type: object
  6959. models.Hedgemarketopenlog:
  6960. properties:
  6961. accountid:
  6962. description: 资金账号[外部母账户]
  6963. type: integer
  6964. fcname:
  6965. description: 期货公司名称
  6966. type: string
  6967. handlestatus:
  6968. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  6969. type: integer
  6970. marketid:
  6971. description: 市场ID
  6972. type: integer
  6973. status:
  6974. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  6975. type: integer
  6976. tradedate:
  6977. description: 交易日(yyyyMMdd)
  6978. type: string
  6979. updatetime:
  6980. description: 更新时间
  6981. type: string
  6982. required:
  6983. - accountid
  6984. type: object
  6985. models.HsbyBuyMyPayOrder:
  6986. properties:
  6987. agreeunit:
  6988. description: 合约单位
  6989. type: number
  6990. buyaccountid:
  6991. description: 买方账号ID[报价币种]
  6992. type: integer
  6993. buyorderid:
  6994. description: 买方委托单号
  6995. type: string
  6996. createtime:
  6997. description: 创建时间
  6998. type: string
  6999. currencysign:
  7000. description: 货币符号
  7001. type: string
  7002. decimalplace:
  7003. description: 报价小数位
  7004. type: integer
  7005. goodscode:
  7006. description: 商品代码(内部)
  7007. type: string
  7008. goodsid:
  7009. description: 商品ID
  7010. type: integer
  7011. goodsname:
  7012. description: 商品名称
  7013. type: string
  7014. marketid:
  7015. description: 市场ID
  7016. type: integer
  7017. offamount:
  7018. description: 优惠金额
  7019. type: number
  7020. originalamount:
  7021. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7022. type: number
  7023. payamount:
  7024. description: 支付金额 = TradeAmount + TradeCharge
  7025. type: number
  7026. payflag:
  7027. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7028. type: integer
  7029. paylimitedtime:
  7030. description: 支付期限
  7031. type: string
  7032. paytime:
  7033. description: 付款时间
  7034. type: string
  7035. picurls1:
  7036. description: 预售商品介绍图片[多张用逗号分隔]
  7037. type: string
  7038. picurls2:
  7039. description: 挂牌商品介绍图片[多张用逗号分隔]
  7040. type: string
  7041. sellaccountid:
  7042. description: 卖方账号ID[报价币种]
  7043. type: integer
  7044. sellorderid:
  7045. description: 卖方委托单号
  7046. type: string
  7047. tradeamount:
  7048. description: 成交金额
  7049. type: number
  7050. tradecharge:
  7051. description: 成交手续费(买方)
  7052. type: number
  7053. tradedate:
  7054. description: 交易日(yyyyMMdd)
  7055. type: string
  7056. tradeid:
  7057. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7058. type: string
  7059. trademode:
  7060. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7061. 21:竞拍-大宗式 22:受托竞价
  7062. type: integer
  7063. tradeprice:
  7064. description: 成交价格
  7065. type: number
  7066. tradeqty:
  7067. description: 成交数量
  7068. type: integer
  7069. vendorname1:
  7070. description: 预售商品供应商名称
  7071. type: string
  7072. vendorname2:
  7073. description: 挂牌商品供应商名称
  7074. type: string
  7075. required:
  7076. - goodscode
  7077. - goodsname
  7078. - tradeid
  7079. - trademode
  7080. type: object
  7081. models.HsbyBuyMyTradeDetail:
  7082. properties:
  7083. accountid:
  7084. description: 账户ID[报价币种]
  7085. type: integer
  7086. agreeunit:
  7087. description: 合约单位
  7088. type: number
  7089. amount:
  7090. description: 金额 = 价格 * 数量 * 合约单位
  7091. type: number
  7092. buyorsell:
  7093. description: 买卖 - 0:买 1:卖
  7094. type: integer
  7095. currencysign:
  7096. description: 货币符号
  7097. type: string
  7098. decimalplace:
  7099. description: 报价小数位
  7100. type: integer
  7101. goodscode:
  7102. description: 商品代码(内部)
  7103. type: string
  7104. goodsid:
  7105. description: 商品ID
  7106. type: integer
  7107. goodsname:
  7108. description: 商品名称
  7109. type: string
  7110. marketid:
  7111. description: 市场ID
  7112. type: integer
  7113. orderamount:
  7114. description: 委托金额
  7115. type: number
  7116. orderid:
  7117. description: 单号(成交单号)
  7118. type: string
  7119. picurls1:
  7120. description: 预售商品介绍图片[多张用逗号分隔]
  7121. type: string
  7122. picurls2:
  7123. description: 挂牌商品介绍图片[多张用逗号分隔]
  7124. type: string
  7125. price:
  7126. description: 价格
  7127. type: number
  7128. qty:
  7129. description: 数量
  7130. type: integer
  7131. time:
  7132. description: 时间
  7133. type: string
  7134. trademode:
  7135. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7136. 21:竞拍-大宗式 22:受托竞价
  7137. type: integer
  7138. vendorname1:
  7139. description: 预售商品供应商名称
  7140. type: string
  7141. vendorname2:
  7142. description: 挂牌商品供应商名称
  7143. type: string
  7144. required:
  7145. - accountid
  7146. - buyorsell
  7147. - goodscode
  7148. - goodsid
  7149. - goodsname
  7150. - marketid
  7151. - orderid
  7152. - qty
  7153. - time
  7154. - trademode
  7155. type: object
  7156. models.HsbyGoodsOrderDetail:
  7157. properties:
  7158. buyorsell:
  7159. description: 买卖 - 0:买 1:卖
  7160. type: integer
  7161. currencysign:
  7162. description: 货币符号
  7163. type: string
  7164. customername:
  7165. description: 客户名称(企业名称),已脱敏
  7166. type: string
  7167. enableqty:
  7168. description: 可用数量
  7169. type: integer
  7170. goodunit:
  7171. description: 报价单位
  7172. type: string
  7173. orderid:
  7174. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7175. type: string
  7176. orderprice:
  7177. description: 委托价格
  7178. type: number
  7179. ordertime:
  7180. description: 委托时间
  7181. type: string
  7182. required:
  7183. - buyorsell
  7184. - orderid
  7185. - ordertime
  7186. type: object
  7187. models.HsbyListingGoodsDetail:
  7188. properties:
  7189. agreeunit:
  7190. description: 合约单位
  7191. type: number
  7192. buymaxqty:
  7193. description: 购买上限 [71] - 0为不限
  7194. type: integer
  7195. currency:
  7196. description: 货币
  7197. type: string
  7198. currencysign:
  7199. description: 货币符号
  7200. type: string
  7201. decimalplace:
  7202. description: 报价小数位
  7203. type: integer
  7204. desccityid:
  7205. description: 目的地(市)ID
  7206. type: integer
  7207. descprovinceid:
  7208. description: 目的地(省)ID
  7209. type: integer
  7210. goodscode:
  7211. description: 商品代码(内部)
  7212. type: string
  7213. goodsdesc:
  7214. description: 商品详情
  7215. type: string
  7216. goodsid:
  7217. description: 商品ID(自增ID SEQ_GOODS)
  7218. type: integer
  7219. goodsname:
  7220. description: 商品名称
  7221. type: string
  7222. goodsprice:
  7223. description: 商品价格
  7224. type: number
  7225. hotindex:
  7226. description: 景点热度
  7227. type: integer
  7228. last:
  7229. description: 现价
  7230. type: number
  7231. limitdown:
  7232. description: 跌停价
  7233. type: number
  7234. limitup:
  7235. description: 涨停价
  7236. type: number
  7237. lotsize:
  7238. description: 手数最小变动单位
  7239. type: integer
  7240. marketid:
  7241. description: 所属市场ID
  7242. type: integer
  7243. picurls:
  7244. description: 介绍图片[多张用逗号分隔]
  7245. type: string
  7246. quoteminunit:
  7247. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7248. type: integer
  7249. stepvalue:
  7250. description: 价格最小变动单位
  7251. type: number
  7252. trademode:
  7253. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7254. 21:竞拍-大宗式 22:受托竞价
  7255. type: integer
  7256. vendorattr:
  7257. description: 供应商附件(多张,逗号分隔)
  7258. type: string
  7259. vendorname:
  7260. description: 供应商名称
  7261. type: string
  7262. vendorphone:
  7263. description: 供应商客服电话
  7264. type: string
  7265. videourls:
  7266. description: 介绍视频[多张用逗号分隔]
  7267. type: string
  7268. required:
  7269. - goodscode
  7270. - goodsid
  7271. - goodsname
  7272. - marketid
  7273. - trademode
  7274. type: object
  7275. models.HsbyMarketGoods:
  7276. properties:
  7277. accountid:
  7278. description: 账户ID[报价币种]
  7279. type: integer
  7280. agreeunit:
  7281. description: 合约单位
  7282. type: number
  7283. buyorsell:
  7284. description: 买卖 - 0:买 1:卖
  7285. type: integer
  7286. categoryid:
  7287. description: 类别ID(WRCATEGORY)
  7288. type: integer
  7289. currency:
  7290. description: 货币
  7291. type: string
  7292. currencysign:
  7293. description: 货币符号
  7294. type: string
  7295. customername:
  7296. description: 卖家名称
  7297. type: string
  7298. decimalplace:
  7299. description: 报价小数位
  7300. type: integer
  7301. goodscode:
  7302. description: 商品代码(内部)
  7303. type: string
  7304. goodsid:
  7305. description: 商品ID
  7306. type: integer
  7307. goodsname:
  7308. description: 商品名称
  7309. type: string
  7310. goodsprice:
  7311. description: 商品价格
  7312. type: number
  7313. hascoupon:
  7314. description: 是否可用优惠卷
  7315. type: boolean
  7316. hotindex:
  7317. description: 景点热度
  7318. type: integer
  7319. marketid:
  7320. description: 市场ID
  7321. type: integer
  7322. orderid:
  7323. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7324. type: string
  7325. orderprice:
  7326. description: 委托价格
  7327. type: number
  7328. orderstatus:
  7329. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7330. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7331. 16:成交失败违约(荷兰式竞拍专用)
  7332. type: integer
  7333. picurls:
  7334. description: 介绍图片[多张用逗号分隔]
  7335. type: string
  7336. quoteminunit:
  7337. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7338. type: integer
  7339. sellUserID:
  7340. description: 卖方UserID
  7341. type: integer
  7342. trademode:
  7343. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7344. 21:竞拍-大宗式 22:受托竞价
  7345. type: integer
  7346. videourls:
  7347. description: 介绍视频[多张用逗号分隔]
  7348. type: string
  7349. required:
  7350. - accountid
  7351. - buyorsell
  7352. - goodscode
  7353. - goodsid
  7354. - goodsname
  7355. - marketid
  7356. - orderid
  7357. - trademode
  7358. type: object
  7359. models.HsbyMarketGoodsDetail:
  7360. properties:
  7361. accountid:
  7362. description: 账户ID[报价币种]
  7363. type: integer
  7364. agreeunit:
  7365. description: 合约单位
  7366. type: number
  7367. buymaxqty:
  7368. description: 购买上限 [71] - 0为不限
  7369. type: integer
  7370. buyorsell:
  7371. description: 买卖 - 0:买 1:卖
  7372. type: integer
  7373. cancelqty:
  7374. description: 撤单数量
  7375. type: integer
  7376. categoryid:
  7377. description: 类别ID(WRCATEGORY)
  7378. type: integer
  7379. currency:
  7380. description: 货币
  7381. type: string
  7382. currencysign:
  7383. description: 货币符号
  7384. type: string
  7385. customername:
  7386. description: 卖家名称
  7387. type: string
  7388. decimalplace:
  7389. description: 报价小数位
  7390. type: integer
  7391. goodscode:
  7392. description: 商品代码(内部)
  7393. type: string
  7394. goodsdesc:
  7395. description: 商品详情
  7396. type: string
  7397. goodsid:
  7398. description: 商品ID
  7399. type: integer
  7400. goodsname:
  7401. description: 商品名称
  7402. type: string
  7403. goodsprice:
  7404. description: 商品价格
  7405. type: number
  7406. hotindex:
  7407. description: 景点热度
  7408. type: integer
  7409. lotsize:
  7410. description: 手数最小变动单位
  7411. type: integer
  7412. marketid:
  7413. description: 市场ID
  7414. type: integer
  7415. orderid:
  7416. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7417. type: string
  7418. orderprice:
  7419. description: 委托价格
  7420. type: number
  7421. orderqty:
  7422. description: 委托数量
  7423. type: integer
  7424. orderstatus:
  7425. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7426. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7427. 16:成交失败违约(荷兰式竞拍专用)
  7428. type: integer
  7429. picurls:
  7430. description: 介绍图片[多张用逗号分隔]
  7431. type: string
  7432. quoteminunit:
  7433. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7434. type: integer
  7435. sellUserID:
  7436. description: 卖方UserID
  7437. type: integer
  7438. trademode:
  7439. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7440. 21:竞拍-大宗式 22:受托竞价
  7441. type: integer
  7442. tradeqty:
  7443. description: 成交数量
  7444. type: integer
  7445. vendorattr:
  7446. description: 供应商附件(多张,逗号分隔)
  7447. type: string
  7448. vendorname:
  7449. description: 供应商名称
  7450. type: string
  7451. vendorphone:
  7452. description: 供应商客服电话
  7453. type: string
  7454. videourls:
  7455. description: 介绍视频[多张用逗号分隔]
  7456. type: string
  7457. required:
  7458. - accountid
  7459. - buyorsell
  7460. - goodscode
  7461. - goodsid
  7462. - goodsname
  7463. - marketid
  7464. - orderid
  7465. - orderqty
  7466. - trademode
  7467. type: object
  7468. models.HsbyMarketInfo:
  7469. properties:
  7470. marketid:
  7471. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  7472. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  7473. type: integer
  7474. marketname:
  7475. description: 市场名称
  7476. type: string
  7477. marketstatus:
  7478. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  7479. type: integer
  7480. trademode:
  7481. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7482. 21:竞拍-大宗式 22:受托竞价
  7483. type: integer
  7484. required:
  7485. - marketid
  7486. - marketstatus
  7487. - trademode
  7488. type: object
  7489. models.HsbyMyGoods:
  7490. properties:
  7491. accountid:
  7492. description: 账号Id
  7493. type: integer
  7494. agreeunit:
  7495. description: 合约单位
  7496. type: number
  7497. buyaverageprice:
  7498. description: 持仓均价
  7499. type: number
  7500. buycurholderamount:
  7501. description: 买当前持仓总金额[商品币种]
  7502. type: number
  7503. buycurpositionqty:
  7504. description: 买当前持仓总数量
  7505. type: integer
  7506. buymaxqty:
  7507. description: 购买上限 [71] - 0为不限
  7508. type: integer
  7509. currencysign:
  7510. description: 货币符号
  7511. type: string
  7512. decimalplace:
  7513. description: 报价小数位
  7514. type: integer
  7515. enableqty:
  7516. description: 可用数量
  7517. type: integer
  7518. goodscode:
  7519. description: 商品代码(内部)
  7520. type: string
  7521. goodsid:
  7522. description: 商品Id
  7523. type: integer
  7524. goodsname:
  7525. description: 商品名称
  7526. type: string
  7527. goodsprice:
  7528. description: 商品价格
  7529. type: number
  7530. goodsstatus:
  7531. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7532. type: integer
  7533. last:
  7534. description: 现价(仅使用于挂牌点选)
  7535. type: number
  7536. limitdown:
  7537. description: 跌停价(仅使用于挂牌点选)
  7538. type: number
  7539. limitup:
  7540. description: 涨停价(仅使用于挂牌点选)
  7541. type: number
  7542. lotsize:
  7543. description: 手数最小变动单位
  7544. type: integer
  7545. marketid:
  7546. description: 所属市场ID
  7547. type: integer
  7548. picurls:
  7549. description: 介绍图片[多张用逗号分隔]
  7550. type: string
  7551. quoteminunit:
  7552. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7553. type: integer
  7554. stepvalue:
  7555. description: 价格最小变动单位
  7556. type: number
  7557. trademode:
  7558. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7559. 21:竞拍-大宗式 22:受托竞价
  7560. type: integer
  7561. required:
  7562. - accountid
  7563. - goodscode
  7564. - goodsid
  7565. - goodsname
  7566. - marketid
  7567. - trademode
  7568. type: object
  7569. models.HsbyMyPackage:
  7570. properties:
  7571. accountid:
  7572. description: 账户ID
  7573. type: integer
  7574. address:
  7575. description: 提货人详细地址
  7576. type: string
  7577. agreeunit:
  7578. description: 合约单位
  7579. type: number
  7580. amount:
  7581. description: 提货金额
  7582. type: number
  7583. auditer:
  7584. description: 审核人
  7585. type: integer
  7586. audittime:
  7587. description: 审核时间
  7588. type: string
  7589. averageprice:
  7590. description: 均价
  7591. type: number
  7592. cardnum:
  7593. description: 提货人证件号码
  7594. type: string
  7595. cardtypeid:
  7596. description: 提货人证件类型
  7597. type: integer
  7598. checkremark:
  7599. description: 审核备注
  7600. type: string
  7601. currencysign:
  7602. description: 货币符号
  7603. type: string
  7604. decimalplace:
  7605. description: 报价小数位
  7606. type: integer
  7607. goodscode:
  7608. description: 商品代码(内部)
  7609. type: string
  7610. goodsid:
  7611. description: 商品ID
  7612. type: integer
  7613. goodsname:
  7614. description: 商品名称
  7615. type: string
  7616. handlestatus:
  7617. description: 处理状态
  7618. type: integer
  7619. marketid:
  7620. description: 市场ID
  7621. type: integer
  7622. phonenum:
  7623. description: 提货人联系方式
  7624. type: string
  7625. picurls:
  7626. description: 介绍图片[多张用逗号分隔]
  7627. type: string
  7628. qty:
  7629. description: 提货数量
  7630. type: number
  7631. recivername:
  7632. description: 提货人姓名
  7633. type: string
  7634. reqtime:
  7635. description: 更新时间
  7636. type: string
  7637. takemode:
  7638. description: 提货方式 - 2:自提 3:配送
  7639. type: integer
  7640. takeorderid:
  7641. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  7642. type: string
  7643. takeorderstatus:
  7644. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  7645. type: integer
  7646. takeremark:
  7647. description: 提货备注
  7648. type: string
  7649. tradedate:
  7650. description: 交易日(yyyyMMdd)
  7651. type: string
  7652. trademode:
  7653. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7654. 21:竞拍-大宗式 22:受托竞价
  7655. type: integer
  7656. userid:
  7657. description: 用户ID
  7658. type: integer
  7659. vendorname:
  7660. description: 供应商名称
  7661. type: string
  7662. required:
  7663. - goodscode
  7664. - goodsname
  7665. - takeorderid
  7666. - trademode
  7667. type: object
  7668. models.HsbyPreGoods:
  7669. properties:
  7670. agreeunit:
  7671. description: 合约单位
  7672. type: number
  7673. currency:
  7674. description: 货币
  7675. type: string
  7676. currencysign:
  7677. description: 货币符号
  7678. type: string
  7679. decimalplace:
  7680. description: 报价小数位
  7681. type: integer
  7682. desccityid:
  7683. description: 目的地(市)
  7684. type: integer
  7685. descprovinceid:
  7686. description: 目的地(省)
  7687. type: integer
  7688. enableqty:
  7689. description: 剩余数量
  7690. type: integer
  7691. goodscode:
  7692. description: 商品代码(内部)
  7693. type: string
  7694. goodsid:
  7695. description: 商品ID(自增ID SEQ_GOODS)
  7696. type: integer
  7697. goodsname:
  7698. description: 商品名称
  7699. type: string
  7700. goodsstatus:
  7701. description: 商品状态- 2:未上市 3:上市
  7702. type: integer
  7703. lasttradedate:
  7704. description: 最后交易日期(状态:待退市)
  7705. type: string
  7706. listingdate:
  7707. description: 交易开始日期
  7708. type: string
  7709. marketid:
  7710. description: 所属市场ID
  7711. type: integer
  7712. picurls:
  7713. description: 介绍图片[多张用逗号分隔]
  7714. type: string
  7715. presaledqty:
  7716. description: 已预售量(预售结束时更新)
  7717. type: integer
  7718. presaleqty:
  7719. description: 预售数量
  7720. type: integer
  7721. quoteminunit:
  7722. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7723. type: integer
  7724. refprice:
  7725. description: 参考价格[一口价]
  7726. type: number
  7727. relatedgoodsid:
  7728. description: 关联交易合约ID
  7729. type: integer
  7730. trademode:
  7731. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7732. 21:竞拍-大宗式 22:受托竞价
  7733. type: integer
  7734. videourls:
  7735. description: 介绍视频[多张用逗号分隔]
  7736. type: string
  7737. required:
  7738. - goodscode
  7739. - goodsid
  7740. - goodsname
  7741. - marketid
  7742. - trademode
  7743. type: object
  7744. models.HsbyPreGoodsDetail:
  7745. properties:
  7746. agreeunit:
  7747. description: 合约单位
  7748. type: number
  7749. buymaxqty:
  7750. description: 购买上限 [71] - 0为不限
  7751. type: integer
  7752. currency:
  7753. description: 货币
  7754. type: string
  7755. currencysign:
  7756. description: 货币符号
  7757. type: string
  7758. customername:
  7759. description: 发行单位
  7760. type: string
  7761. decimalplace:
  7762. description: 报价小数位
  7763. type: integer
  7764. desccityid:
  7765. description: 目的地(市)ID
  7766. type: integer
  7767. descprovinceid:
  7768. description: 目的地(省)ID
  7769. type: integer
  7770. enableqty:
  7771. description: 剩余数量
  7772. type: integer
  7773. goodscode:
  7774. description: 商品代码(内部)
  7775. type: string
  7776. goodsdesc:
  7777. description: 商品详情
  7778. type: string
  7779. goodsid:
  7780. description: 商品ID(自增ID SEQ_GOODS)
  7781. type: integer
  7782. goodsname:
  7783. description: 商品名称
  7784. type: string
  7785. goodsstatus:
  7786. description: 商品状态- 2:未上市 3:上市
  7787. type: integer
  7788. goodunit:
  7789. description: 报价单位
  7790. type: string
  7791. lasttradedate:
  7792. description: 最后交易日期(状态:待退市)
  7793. type: string
  7794. listingdate:
  7795. description: 交易开始日期
  7796. type: string
  7797. lotsize:
  7798. description: 手数最小变动单位
  7799. type: integer
  7800. marketid:
  7801. description: 所属市场ID
  7802. type: integer
  7803. picurls:
  7804. description: 介绍图片[多张用逗号分隔]
  7805. type: string
  7806. presaledqty:
  7807. description: 已预售量(预售结束时更新)
  7808. type: integer
  7809. presaleqty:
  7810. description: 预售数量
  7811. type: integer
  7812. quoteminunit:
  7813. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7814. type: integer
  7815. refprice:
  7816. description: 参考价格[一口价]
  7817. type: number
  7818. relatedgoodsid:
  7819. description: 关联交易合约ID
  7820. type: integer
  7821. stepvalue:
  7822. description: 价格最小变动单位
  7823. type: number
  7824. trademode:
  7825. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7826. 21:竞拍-大宗式 22:受托竞价
  7827. type: integer
  7828. vendorattr:
  7829. description: 供应商附件(多张,逗号分隔)
  7830. type: string
  7831. vendorname:
  7832. description: 供应商名称
  7833. type: string
  7834. vendorphone:
  7835. description: 供应商客服电话
  7836. type: string
  7837. videourls:
  7838. description: 介绍视频[多张用逗号分隔]
  7839. type: string
  7840. required:
  7841. - goodscode
  7842. - goodsid
  7843. - goodsname
  7844. - marketid
  7845. - trademode
  7846. type: object
  7847. models.HsbySellCollectionOrder:
  7848. properties:
  7849. agreeunit:
  7850. description: 合约单位
  7851. type: number
  7852. buyaccountid:
  7853. description: 买方账号ID[报价币种]
  7854. type: integer
  7855. buyorderid:
  7856. description: 买方委托单号
  7857. type: string
  7858. createtime:
  7859. description: 创建时间
  7860. type: string
  7861. currencysign:
  7862. description: 货币符号
  7863. type: string
  7864. decimalplace:
  7865. description: 报价小数位
  7866. type: integer
  7867. goodscode:
  7868. description: 商品代码(内部)
  7869. type: string
  7870. goodsid:
  7871. description: 商品ID
  7872. type: integer
  7873. goodsname:
  7874. description: 商品名称
  7875. type: string
  7876. marketid:
  7877. description: 市场ID
  7878. type: integer
  7879. offamount:
  7880. description: 优惠金额
  7881. type: number
  7882. payamount:
  7883. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  7884. type: number
  7885. payflag:
  7886. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7887. type: integer
  7888. paylimitedtime:
  7889. description: 支付期限
  7890. type: string
  7891. paytime:
  7892. description: 付款时间
  7893. type: string
  7894. picurls:
  7895. description: 商品介绍图片[多张用逗号分隔]
  7896. type: string
  7897. sellaccountid:
  7898. description: 卖方账号ID[报价币种]
  7899. type: integer
  7900. sellorderid:
  7901. description: 卖方委托单号
  7902. type: string
  7903. tradeamount:
  7904. description: 成交金额
  7905. type: number
  7906. tradecharge:
  7907. description: 成交手续费(买方)
  7908. type: number
  7909. tradedate:
  7910. description: 交易日(yyyyMMdd)
  7911. type: string
  7912. tradeid:
  7913. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7914. type: string
  7915. trademode:
  7916. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7917. 21:竞拍-大宗式 22:受托竞价
  7918. type: integer
  7919. tradeprice:
  7920. description: 成交价格
  7921. type: number
  7922. tradeqty:
  7923. description: 成交数量
  7924. type: integer
  7925. required:
  7926. - goodscode
  7927. - goodsname
  7928. - tradeid
  7929. - trademode
  7930. type: object
  7931. models.HsbySellMyDetail:
  7932. properties:
  7933. accountid:
  7934. description: 账户ID[报价币种]
  7935. type: integer
  7936. agreeunit:
  7937. description: 合约单位
  7938. type: number
  7939. buyorsell:
  7940. description: 买卖 - 0:买 1:卖
  7941. type: integer
  7942. currencysign:
  7943. description: 货币符号
  7944. type: string
  7945. decimalplace:
  7946. description: 报价小数位
  7947. type: integer
  7948. goodscode:
  7949. description: 商品代码(内部)
  7950. type: string
  7951. goodsid:
  7952. description: 商品ID
  7953. type: integer
  7954. goodsname:
  7955. description: 商品名称
  7956. type: string
  7957. marketid:
  7958. description: 市场ID
  7959. type: integer
  7960. orderid:
  7961. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  7962. type: string
  7963. ordertype:
  7964. description: 单据类型:0 - 发布中, 1 - 已完成
  7965. type: integer
  7966. picurls:
  7967. description: 介绍图片[多张用逗号分隔]
  7968. type: string
  7969. price:
  7970. description: 价格
  7971. type: number
  7972. qty:
  7973. description: 数量
  7974. type: integer
  7975. time:
  7976. description: 时间
  7977. type: string
  7978. trademode:
  7979. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7980. 21:竞拍-大宗式 22:受托竞价
  7981. type: integer
  7982. vendorname:
  7983. description: 供应商名称
  7984. type: string
  7985. required:
  7986. - accountid
  7987. - buyorsell
  7988. - goodscode
  7989. - goodsid
  7990. - goodsname
  7991. - marketid
  7992. - orderid
  7993. - time
  7994. - trademode
  7995. type: object
  7996. models.HsbyTopGoods:
  7997. properties:
  7998. agreeunit:
  7999. description: 合约单位
  8000. type: number
  8001. currency:
  8002. description: 货币
  8003. type: string
  8004. currencysign:
  8005. description: 货币符号
  8006. type: string
  8007. decimalplace:
  8008. description: 报价小数位
  8009. type: integer
  8010. desccityid:
  8011. description: 目的地(市)
  8012. type: integer
  8013. descprovinceid:
  8014. description: 目的地(省)
  8015. type: integer
  8016. goodscode:
  8017. description: 商品代码(内部)
  8018. type: string
  8019. goodsid:
  8020. description: 商品ID(自增ID SEQ_GOODS)
  8021. type: integer
  8022. goodsname:
  8023. description: 商品名称
  8024. type: string
  8025. hotindex:
  8026. description: 景点热度
  8027. type: integer
  8028. last:
  8029. description: 现价
  8030. type: number
  8031. marketid:
  8032. description: 所属市场ID
  8033. type: integer
  8034. picurls:
  8035. description: 介绍图片[多张用逗号分隔]
  8036. type: string
  8037. quoteminunit:
  8038. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8039. type: integer
  8040. trademode:
  8041. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8042. 21:竞拍-大宗式 22:受托竞价
  8043. type: integer
  8044. videourls:
  8045. description: 介绍视频[多张用逗号分隔]
  8046. type: string
  8047. required:
  8048. - goodscode
  8049. - goodsid
  8050. - goodsname
  8051. - marketid
  8052. - trademode
  8053. type: object
  8054. models.HybsMyBuyOrderDetail:
  8055. properties:
  8056. accountid:
  8057. description: 账户ID[报价币种]
  8058. type: integer
  8059. agreeunit:
  8060. description: 合约单位
  8061. type: number
  8062. buyorsell:
  8063. description: 买卖 - 0:买 1:卖
  8064. type: integer
  8065. cancelqty:
  8066. description: 撤单数量
  8067. type: integer
  8068. currencysign:
  8069. description: 货币符号
  8070. type: string
  8071. decimalplace:
  8072. description: 报价小数位
  8073. type: integer
  8074. goodscode:
  8075. description: 商品代码(内部)
  8076. type: string
  8077. goodsid:
  8078. description: 商品ID
  8079. type: integer
  8080. goodsname:
  8081. description: 商品名称
  8082. type: string
  8083. listingselecttype:
  8084. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8085. type: integer
  8086. marketid:
  8087. description: 市场ID
  8088. type: integer
  8089. mybuystatus:
  8090. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8091. type: integer
  8092. orderamount:
  8093. description: 委托金额
  8094. type: number
  8095. orderid:
  8096. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8097. type: string
  8098. orderprice:
  8099. description: 委托价格
  8100. type: number
  8101. orderqty:
  8102. description: 委托数量
  8103. type: integer
  8104. orderstatus:
  8105. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8106. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8107. 16:成交失败违约(荷兰式竞拍专用)
  8108. type: integer
  8109. ordertime:
  8110. description: 委托时间
  8111. type: string
  8112. picurls1:
  8113. description: 预售商品介绍图片[多张用逗号分隔]
  8114. type: string
  8115. picurls2:
  8116. description: 挂牌商品介绍图片[多张用逗号分隔]
  8117. type: string
  8118. trademode:
  8119. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8120. 21:竞拍-大宗式 22:受托竞价
  8121. type: integer
  8122. tradeqty:
  8123. description: 成交数量
  8124. type: integer
  8125. vendorname1:
  8126. description: 预售商品供应商名称
  8127. type: string
  8128. vendorname2:
  8129. description: 挂牌商品供应商名称
  8130. type: string
  8131. required:
  8132. - accountid
  8133. - buyorsell
  8134. - goodscode
  8135. - goodsid
  8136. - goodsname
  8137. - marketid
  8138. - orderid
  8139. - orderqty
  8140. - ordertime
  8141. - trademode
  8142. type: object
  8143. models.Loginaccount:
  8144. properties:
  8145. canoutin:
  8146. description: 是否可出入金 - 0:不可 1:可
  8147. type: integer
  8148. clientroleid:
  8149. description: 终端角色ID
  8150. type: integer
  8151. haslogined:
  8152. description: 是否已登录 - 0:未登录 1:已登录
  8153. type: integer
  8154. hasupdatedpwd:
  8155. description: 是否已更改密码 - 0:未修改 1:已修改
  8156. type: integer
  8157. lastloginip:
  8158. description: 最新登录地址
  8159. type: string
  8160. lastloginmode:
  8161. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8162. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8163. type: integer
  8164. lastloginremark:
  8165. description: 最新登录描述
  8166. type: string
  8167. lastlogintime:
  8168. description: 最新登录时间
  8169. type: string
  8170. logincode:
  8171. description: 登录代码
  8172. type: string
  8173. loginfailnum:
  8174. description: 连续登录失败次数(登录成功时清零)
  8175. type: integer
  8176. loginid:
  8177. description: 登陆账号
  8178. type: integer
  8179. loginport:
  8180. description: 最新登录端口
  8181. type: integer
  8182. loginstatus:
  8183. description: 登录账号状态 1:正常 2:冻结 3:无效
  8184. type: integer
  8185. loginusertype:
  8186. description: 登录账号类型 - 1:投资者 2:机构交易员
  8187. type: integer
  8188. modifierid:
  8189. description: 修改人
  8190. type: integer
  8191. modifytime:
  8192. description: 修改时间
  8193. type: string
  8194. pwdwrongcount:
  8195. description: 密码错误次数
  8196. type: integer
  8197. taaccountrighttype:
  8198. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8199. type: integer
  8200. unfreezetime:
  8201. description: 账户解冻时间
  8202. type: string
  8203. userid:
  8204. description: 用户ID
  8205. type: integer
  8206. required:
  8207. - loginid
  8208. type: object
  8209. models.MainAccountInfo:
  8210. properties:
  8211. accountid:
  8212. description: 账号id
  8213. type: integer
  8214. accountname:
  8215. description: 账号名称(taaccount表中的名称)
  8216. type: string
  8217. appid:
  8218. description: AppID
  8219. type: string
  8220. authcode:
  8221. description: 授权码
  8222. type: string
  8223. brokerid:
  8224. description: 经纪商id
  8225. type: string
  8226. fcid:
  8227. description: 期货公司id
  8228. type: integer
  8229. fcname:
  8230. description: 期货公司代码
  8231. type: string
  8232. hedgeaccountcode:
  8233. description: 外部账号代码(主账号登录代码)
  8234. type: string
  8235. hedgeaccountpwd:
  8236. description: 密码
  8237. type: string
  8238. ismain:
  8239. description: 是否主账号
  8240. type: integer
  8241. relateduserid:
  8242. description: 关联用户id
  8243. type: integer
  8244. userid:
  8245. description: 关联用户id
  8246. type: integer
  8247. type: object
  8248. models.Market:
  8249. properties:
  8250. auctionwrtype:
  8251. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8252. type: integer
  8253. canacceptquote:
  8254. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8255. type: integer
  8256. cangoodsexercise:
  8257. description: '[期权]是否可现货行权- 0:否 1:是'
  8258. type: integer
  8259. cangoodsexercisetype:
  8260. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8261. type: integer
  8262. canmanualquotestrike:
  8263. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8264. type: integer
  8265. canmutistage:
  8266. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8267. type: integer
  8268. canpreexercise:
  8269. description: '[期权]是否可预申报- 0:否 1:是'
  8270. type: integer
  8271. clearinterval:
  8272. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8273. type: integer
  8274. contracttmp:
  8275. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8276. type: string
  8277. exchareaid:
  8278. description: 所属交易所,可以没有
  8279. type: integer
  8280. goodstype:
  8281. description: 商品类型 - 1:交易商品 2:仓单商品
  8282. type: integer
  8283. hasrebate:
  8284. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8285. type: integer
  8286. hastradecredit:
  8287. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8288. type: integer
  8289. haswr:
  8290. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8291. type: integer
  8292. isdeductmargin:
  8293. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8294. type: integer
  8295. isrecordsource:
  8296. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8297. type: integer
  8298. isreleasemargin:
  8299. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  8300. type: integer
  8301. marginformula:
  8302. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8303. type: integer
  8304. marginformula2:
  8305. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8306. type: integer
  8307. marketid:
  8308. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8309. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8310. type: integer
  8311. marketname:
  8312. description: 市场名称
  8313. type: string
  8314. marketserviceid:
  8315. description: 市场服务ID
  8316. type: integer
  8317. marketstatus:
  8318. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8319. type: integer
  8320. markettype:
  8321. description: 市场类型- 1:非交易服务 2:交易服务
  8322. type: integer
  8323. matchermode:
  8324. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  8325. type: integer
  8326. openmethod:
  8327. description: 开盘模式 - 0 自动 1手动
  8328. type: integer
  8329. otcuserid:
  8330. description: 场外期权做市商[场外期权]
  8331. type: integer
  8332. outersynctime:
  8333. description: 外部同步时间点(h24:mi:ss)[场外期权]
  8334. type: string
  8335. pendingflag:
  8336. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  8337. type: integer
  8338. pendingtime:
  8339. description: 待开市时间[通道交易-对冲](HH:mm)
  8340. type: string
  8341. performancetempid:
  8342. description: 履约计划模板ID - 作废
  8343. type: integer
  8344. premiumquotemode:
  8345. description: 权利金报价方式 - 1:自动 2:手动
  8346. type: integer
  8347. rebateratio:
  8348. description: 返利比率[竞价式]
  8349. type: number
  8350. reckonorder:
  8351. description: 结算顺序
  8352. type: integer
  8353. reckonpricealgorithm:
  8354. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  8355. 6.卖一价 7.买一卖一均价 8.外部结算价'
  8356. type: integer
  8357. reckonpriceparam:
  8358. description: 结算价参数
  8359. type: integer
  8360. reckontime:
  8361. description: 结算时间[通道交易-对冲](HH:mm)
  8362. type: string
  8363. roleprioritytype:
  8364. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  8365. type: integer
  8366. selllistingauditflag:
  8367. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  8368. type: integer
  8369. trademarkettype:
  8370. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  8371. type: integer
  8372. trademode:
  8373. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8374. 21:竞拍-大宗式 22:受托竞价
  8375. type: integer
  8376. tradeproperty:
  8377. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  8378. 8:场外期权
  8379. type: integer
  8380. tradetype:
  8381. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  8382. type: integer
  8383. required:
  8384. - marketid
  8385. - marketstatus
  8386. - openmethod
  8387. - reckonpricealgorithm
  8388. - trademode
  8389. - tradeproperty
  8390. type: object
  8391. models.Marketrun:
  8392. properties:
  8393. afternexttradedate:
  8394. description: 下下交易日
  8395. type: string
  8396. clearquoteflag:
  8397. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  8398. type: integer
  8399. lastreckondate:
  8400. description: 最新交易日(结算成功)
  8401. type: string
  8402. machinedate:
  8403. description: 机器时间
  8404. type: string
  8405. manualflag:
  8406. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  8407. type: integer
  8408. marketid:
  8409. description: 市场ID
  8410. type: integer
  8411. nexttradedate:
  8412. description: 下一交易日
  8413. type: string
  8414. pretradedate:
  8415. description: 上一交易日
  8416. type: string
  8417. reckonflag:
  8418. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  8419. type: integer
  8420. runstatus:
  8421. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  8422. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  8423. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  8424. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  8425. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  8426. 62.今日免清算
  8427. type: integer
  8428. sectionid:
  8429. description: 时间段号[多时段时用]
  8430. type: integer
  8431. tradedate:
  8432. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  8433. type: string
  8434. tradedate2:
  8435. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  8436. type: string
  8437. updatetime:
  8438. description: 更新时间
  8439. type: string
  8440. required:
  8441. - marketid
  8442. - nexttradedate
  8443. - reckonflag
  8444. - runstatus
  8445. - tradedate
  8446. - tradedate2
  8447. type: object
  8448. models.Messageboard:
  8449. properties:
  8450. contactnum:
  8451. description: 联系电话
  8452. type: string
  8453. createtime:
  8454. description: 创建时间
  8455. type: string
  8456. message:
  8457. description: 留言信息
  8458. type: string
  8459. messageboardid:
  8460. description: 留言簿ID(SEQ_MessageBoard)
  8461. type: integer
  8462. userid:
  8463. description: 用户ID
  8464. type: integer
  8465. required:
  8466. - messageboardid
  8467. type: object
  8468. models.MyCoupon:
  8469. properties:
  8470. accountid:
  8471. description: 资金账户ID
  8472. type: integer
  8473. areauserid:
  8474. description: 所属机构
  8475. type: integer
  8476. conditionvalue:
  8477. description: 条件阈值(可为0)
  8478. type: number
  8479. couponcategroy:
  8480. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  8481. type: integer
  8482. couponname:
  8483. description: 优惠券名称
  8484. type: string
  8485. coupontypeid:
  8486. description: 优惠券类型ID
  8487. type: string
  8488. couponvalue:
  8489. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  8490. type: number
  8491. curfreezeqty:
  8492. description: 期末冻结数量
  8493. type: integer
  8494. curqty:
  8495. description: 期末数量
  8496. type: integer
  8497. isgeneral:
  8498. description: 是否通用券 - 0:否 1:是
  8499. type: integer
  8500. isunusable:
  8501. description: 是否不可用
  8502. type: boolean
  8503. limitedflag:
  8504. description: 是否指定商品 - 0:不限 1:限制
  8505. type: integer
  8506. limitedgoodsids:
  8507. description: 指定商品IDs[逗号分隔,前后加逗号]
  8508. type: string
  8509. orifreezeqty:
  8510. description: 期初冻结数量
  8511. type: integer
  8512. oriqty:
  8513. description: 期初数量
  8514. type: integer
  8515. reasontype:
  8516. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  8517. type: integer
  8518. todaydecrease:
  8519. description: 今日减少
  8520. type: integer
  8521. todayincrease:
  8522. description: 今日增加
  8523. type: integer
  8524. userid:
  8525. description: 用户ID
  8526. type: integer
  8527. userscope:
  8528. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  8529. type: string
  8530. required:
  8531. - accountid
  8532. - coupontypeid
  8533. type: object
  8534. models.MyCouponHold:
  8535. properties:
  8536. accountid:
  8537. description: 资金账户ID
  8538. type: integer
  8539. conditionvalue:
  8540. description: 条件阈值(可为0)
  8541. type: number
  8542. couponcategroy:
  8543. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  8544. type: integer
  8545. couponholdid:
  8546. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  8547. type: string
  8548. couponname:
  8549. description: 优惠券名称
  8550. type: string
  8551. coupontypeid:
  8552. description: 优惠券类型ID - SEQ_COUPONTYPE
  8553. type: string
  8554. couponvalue:
  8555. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  8556. type: number
  8557. createtime:
  8558. description: 创建时间
  8559. type: string
  8560. enddate:
  8561. description: 结束日期
  8562. type: string
  8563. giveapplyid:
  8564. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  8565. type: integer
  8566. holdstatus:
  8567. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  8568. type: integer
  8569. isgeneral:
  8570. description: 是否通用券 - 0:否 1:是
  8571. type: integer
  8572. limitedflag:
  8573. description: 是否指定商品 - 0:不限 1:限制
  8574. type: integer
  8575. limitedgoodsids:
  8576. description: 指定商品IDs[逗号分隔]
  8577. type: string
  8578. qty:
  8579. description: 数量(按1平铺)
  8580. type: integer
  8581. startdate:
  8582. description: 开始日期
  8583. type: string
  8584. userid:
  8585. description: 用户ID
  8586. type: integer
  8587. userscope:
  8588. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  8589. type: string
  8590. required:
  8591. - couponholdid
  8592. type: object
  8593. models.MyUsedCoupon:
  8594. properties:
  8595. accountid:
  8596. description: 资金账户ID(买方)
  8597. type: integer
  8598. conditionvalue:
  8599. description: 条件阈值(可为0)
  8600. type: number
  8601. couponcategroy:
  8602. description: 种类 - 1:现金券 2:折扣券
  8603. type: integer
  8604. couponname:
  8605. description: 优惠券名称
  8606. type: string
  8607. coupontypeid:
  8608. description: 优惠券类型ID(买方)
  8609. type: string
  8610. couponvalue:
  8611. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  8612. type: number
  8613. createtime:
  8614. description: 创建时间
  8615. type: string
  8616. goodsid:
  8617. description: 商品ID
  8618. type: integer
  8619. handlestatus:
  8620. description: 处理状态
  8621. type: integer
  8622. marketid:
  8623. description: 市场ID
  8624. type: integer
  8625. offamount:
  8626. description: 优惠金额
  8627. type: number
  8628. orderid:
  8629. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8630. type: string
  8631. sellaccountid:
  8632. description: 资金账户ID(卖方)
  8633. type: integer
  8634. tradeamount:
  8635. description: 成交金额
  8636. type: number
  8637. tradeid:
  8638. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8639. type: string
  8640. usedqty:
  8641. description: 使用数量
  8642. type: integer
  8643. required:
  8644. - coupontypeid
  8645. - orderid
  8646. type: object
  8647. models.OperationPrimaryMenu:
  8648. properties:
  8649. Children:
  8650. description: 二级功能菜单
  8651. items:
  8652. $ref: '#/definitions/models.OperationSecondaryMenu'
  8653. type: array
  8654. Key:
  8655. description: 菜单KEY
  8656. type: string
  8657. Label:
  8658. description: 菜单标题
  8659. type: string
  8660. type: object
  8661. models.OperationSecondaryMenu:
  8662. properties:
  8663. Key:
  8664. description: 菜单KEY
  8665. type: string
  8666. Label:
  8667. description: 菜单标题
  8668. type: string
  8669. TabList:
  8670. description: 三级功能菜单
  8671. items:
  8672. $ref: '#/definitions/models.OperationTabMenu'
  8673. type: array
  8674. type: object
  8675. models.OperationTabMenu:
  8676. properties:
  8677. Key:
  8678. description: 菜单KEY
  8679. type: string
  8680. Label:
  8681. description: 菜单标题
  8682. type: string
  8683. type: object
  8684. models.PendingAuditBizModel:
  8685. properties:
  8686. accountid:
  8687. description: 现货账户
  8688. type: string
  8689. areaname:
  8690. description: 所属部门
  8691. type: string
  8692. bizid:
  8693. description: 业务ID
  8694. type: string
  8695. bizname:
  8696. description: 业务名称
  8697. type: string
  8698. status:
  8699. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  8700. type: integer
  8701. type:
  8702. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  8703. type: integer
  8704. type: object
  8705. models.QueryErrorInfosRsp:
  8706. properties:
  8707. description:
  8708. description: 异常描述
  8709. type: string
  8710. errorcode:
  8711. description: 异常代码
  8712. type: string
  8713. errorid:
  8714. description: 异常ID
  8715. type: integer
  8716. modulecode:
  8717. description: 所属模块
  8718. type: string
  8719. operatecode:
  8720. description: 所属操作
  8721. type: string
  8722. rownumber:
  8723. description: 行号
  8724. type: string
  8725. required:
  8726. - errorid
  8727. type: object
  8728. models.QueryHedgeOrderDetailRsp:
  8729. properties:
  8730. accountid:
  8731. description: 账户ID
  8732. type: integer
  8733. buyorsell:
  8734. description: 买卖 - 0:买 1:卖
  8735. type: integer
  8736. cancellogincode:
  8737. description: 撤单人
  8738. type: string
  8739. channelbuildtype:
  8740. description: 开平标志 - 0:无 1:建仓 2:平仓
  8741. type: integer
  8742. channelinnerorderstatus:
  8743. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  8744. 9:全部成交
  8745. type: integer
  8746. channeloperatetype:
  8747. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  8748. type: integer
  8749. closetype:
  8750. description: 平仓方式 - 0:无 1:平今 2:平昨
  8751. type: integer
  8752. curexchangerate:
  8753. description: 当前汇率
  8754. type: number
  8755. exchangefullname:
  8756. description: 外部交易所全称
  8757. type: string
  8758. goodscode:
  8759. description: 商品代码(内部)
  8760. type: string
  8761. goodsid:
  8762. description: 商品ID
  8763. type: integer
  8764. goodsname:
  8765. description: 商品名称
  8766. type: string
  8767. marketid:
  8768. description: 市场ID
  8769. type: integer
  8770. openfreezemargin:
  8771. description: 冻结保证金(冻结交易金额)
  8772. type: number
  8773. orderid:
  8774. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8775. type: string
  8776. orderlogincode:
  8777. description: 委托人
  8778. type: string
  8779. orderprice:
  8780. description: 委托价格(账户)
  8781. type: number
  8782. orderqty:
  8783. description: 委托数量
  8784. type: integer
  8785. ordertime:
  8786. description: 委托时间
  8787. type: string
  8788. pricemode:
  8789. description: '取价方式 - 1:市价 2: 限价'
  8790. type: integer
  8791. tradedate:
  8792. description: 交易日(yyyyMMdd)
  8793. type: string
  8794. tradeqty:
  8795. description: 成交数量
  8796. type: integer
  8797. type: object
  8798. models.QueryHedgeTradeDetailRsp:
  8799. properties:
  8800. accountid:
  8801. description: 账号ID
  8802. type: integer
  8803. buyorsell:
  8804. description: 方向 - 0:买 1:卖
  8805. type: integer
  8806. channelbuildtype:
  8807. description: 委托单据类型 0:无 1:建仓 2:平仓
  8808. type: integer
  8809. closecharge:
  8810. description: 平仓手续费(账户)
  8811. type: number
  8812. closecharge2:
  8813. description: 平仓手续费(商品)
  8814. type: number
  8815. closepl:
  8816. description: 平仓盈亏(账户)
  8817. type: number
  8818. closepl2:
  8819. description: 平仓盈亏(商品)
  8820. type: number
  8821. closepl3:
  8822. description: 平仓盈亏(账户)(逐笔)
  8823. type: number
  8824. closepl4:
  8825. description: 平仓盈亏(商品)(逐笔)
  8826. type: number
  8827. closetype:
  8828. description: 平仓方式 - 0:无 1:平今 2:平昨
  8829. type: integer
  8830. curexchangerate:
  8831. description: 当前汇率
  8832. type: number
  8833. exchangefullname:
  8834. description: 外部交易所全称
  8835. type: string
  8836. goodscode:
  8837. description: 商品代码(内部)
  8838. type: string
  8839. goodsid:
  8840. description: 商品ID
  8841. type: integer
  8842. goodsname:
  8843. description: 商品名称
  8844. type: string
  8845. marketid:
  8846. description: 市场ID
  8847. type: integer
  8848. opencharge:
  8849. description: 建仓手续费(账户)
  8850. type: number
  8851. opencharge2:
  8852. description: 建仓手续费(商品)
  8853. type: number
  8854. orderid:
  8855. description: 委托单号
  8856. type: string
  8857. orderlogincode:
  8858. description: 委托人
  8859. type: string
  8860. tradeamount:
  8861. description: 成交金额(账户)
  8862. type: number
  8863. tradedate:
  8864. description: 交易日(yyyyMMdd)
  8865. type: string
  8866. tradeid:
  8867. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8868. type: string
  8869. tradeprice:
  8870. description: 成交价格
  8871. type: number
  8872. tradeqty:
  8873. description: 成交数量
  8874. type: integer
  8875. tradetime:
  8876. description: 成交时间
  8877. type: string
  8878. tradetype:
  8879. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  8880. type: integer
  8881. type: object
  8882. models.QuotePrimaryMenu:
  8883. properties:
  8884. Index:
  8885. description: 序号
  8886. type: integer
  8887. Key:
  8888. description: 键名
  8889. type: string
  8890. Name:
  8891. description: 菜单名称
  8892. type: string
  8893. SubMenus:
  8894. description: 子菜单
  8895. items:
  8896. $ref: '#/definitions/models.QuoteSecondaryMenu'
  8897. type: array
  8898. SubTitleType:
  8899. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  8900. type: integer
  8901. TradeModes:
  8902. description: 包含市场交易类型
  8903. type: string
  8904. type: object
  8905. models.QuoteSecondaryMenu:
  8906. properties:
  8907. ExExchangeCode:
  8908. description: 外部交易所代码
  8909. type: string
  8910. ExExchangeID:
  8911. description: 外部交易所ID
  8912. type: integer
  8913. GoodsGroupIDs:
  8914. description: 商品组ID列表
  8915. items:
  8916. type: integer
  8917. type: array
  8918. Index:
  8919. description: 序号
  8920. type: integer
  8921. MarketID:
  8922. description: 市场ID
  8923. type: integer
  8924. MenuTitle:
  8925. description: 菜单标题(市场名称或外部交易所名称)
  8926. type: string
  8927. TradeMode:
  8928. description: 交易模式
  8929. type: integer
  8930. type: object
  8931. models.SearchGoods:
  8932. properties:
  8933. goodscode:
  8934. description: 商品代码(内部)
  8935. type: string
  8936. goodsid:
  8937. description: 商品ID(自增ID SEQ_GOODS)
  8938. type: integer
  8939. goodsname:
  8940. description: 商品名称
  8941. type: string
  8942. marketid:
  8943. description: 所属市场ID
  8944. type: integer
  8945. marketname:
  8946. description: 市场名称
  8947. type: string
  8948. trademode:
  8949. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8950. 21:竞拍-大宗式 22:受托竞价
  8951. type: integer
  8952. required:
  8953. - goodscode
  8954. - goodsid
  8955. - goodsname
  8956. - marketid
  8957. - trademode
  8958. type: object
  8959. models.Systemparam:
  8960. properties:
  8961. loginid:
  8962. description: 更新用户账号,登录账号
  8963. type: string
  8964. modifyflag:
  8965. description: 修改标志0 不允许修改 1 允许修改
  8966. type: integer
  8967. paramcode:
  8968. description: 参数代码
  8969. type: string
  8970. paramname:
  8971. description: 参数名
  8972. type: string
  8973. paramtype:
  8974. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  8975. type: integer
  8976. paramvalue:
  8977. description: 参数值
  8978. type: string
  8979. paramvalue2:
  8980. description: 参数值(CLOB)
  8981. type: string
  8982. regexpress:
  8983. description: 正则表达式
  8984. type: string
  8985. remark:
  8986. description: 备注
  8987. type: string
  8988. serverip:
  8989. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  8990. type: string
  8991. showflag:
  8992. description: 是否显示0 不显示 1 显示
  8993. type: integer
  8994. updatetime:
  8995. description: 更新时间
  8996. type: string
  8997. userid:
  8998. description: 更新用户ID
  8999. type: integer
  9000. required:
  9001. - paramcode
  9002. type: object
  9003. models.Szdz3convertconfig:
  9004. properties:
  9005. canin:
  9006. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  9007. type: integer
  9008. canout:
  9009. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  9010. type: integer
  9011. converttype:
  9012. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  9013. 6:交易转花生米(不设置)
  9014. type: integer
  9015. createtime:
  9016. description: 创建时间
  9017. type: string
  9018. creatorid:
  9019. description: 创建人
  9020. type: integer
  9021. daymaxvalue:
  9022. description: 当日最大转入限制
  9023. type: number
  9024. freezedays:
  9025. description: 冻结天数 [5:花生米转交易]
  9026. type: integer
  9027. innergoodsid:
  9028. description: 内部商品ID[交易]
  9029. type: integer
  9030. inratio:
  9031. description: 目标值
  9032. type: integer
  9033. modifierid:
  9034. description: 修改人
  9035. type: integer
  9036. modifytime:
  9037. description: 修改时间
  9038. type: string
  9039. outergoodscode:
  9040. description: 外部商品代码[JD\PD]
  9041. type: string
  9042. outratio:
  9043. description: 源值
  9044. type: integer
  9045. pddecimalplace:
  9046. description: PD小数位
  9047. type: integer
  9048. timemaxvalue:
  9049. description: 单次最大转入限制
  9050. type: number
  9051. timeminvalue:
  9052. description: 单次最小转入限制
  9053. type: number
  9054. required:
  9055. - converttype
  9056. - innergoodsid
  9057. - outergoodscode
  9058. type: object
  9059. models.Szdz3searchwhitelist:
  9060. properties:
  9061. createtime:
  9062. description: 创建时间
  9063. type: string
  9064. creatorid:
  9065. description: 创建人
  9066. type: integer
  9067. modifierid:
  9068. description: 修改人
  9069. type: integer
  9070. modifytime:
  9071. description: 修改时间
  9072. type: string
  9073. userid:
  9074. description: 用户ID
  9075. type: integer
  9076. required:
  9077. - userid
  9078. type: object
  9079. models.Taaccount:
  9080. properties:
  9081. accountflag:
  9082. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  9083. type: integer
  9084. accountid:
  9085. description: 资金账户ID
  9086. type: integer
  9087. accountname:
  9088. description: 账户名称
  9089. type: string
  9090. balance:
  9091. description: 期初余额
  9092. type: number
  9093. capitalbalance:
  9094. description: 本金余额[外部子账户实际出入金余额]
  9095. type: number
  9096. changeflag:
  9097. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  9098. type: integer
  9099. changetime:
  9100. description: 账户状态变更时间
  9101. type: string
  9102. closepl:
  9103. description: 今日平仓盈亏
  9104. type: number
  9105. creditdecrease:
  9106. description: 今日授信减少
  9107. type: number
  9108. creditincrease:
  9109. description: 今日授信增加
  9110. type: number
  9111. currencyid:
  9112. description: 货币ID
  9113. type: integer
  9114. currentbalance:
  9115. description: 期末余额
  9116. type: number
  9117. freezecharge:
  9118. description: 手续费冻结
  9119. type: number
  9120. freezemargin:
  9121. description: 冻结保证金
  9122. type: number
  9123. fromaccountid:
  9124. description: 所属上级账户
  9125. type: integer
  9126. inamount:
  9127. description: 今日入金金额(包括三方入金)
  9128. type: number
  9129. ismain:
  9130. description: 是否母账号 0:不是母账户 1:是母账户
  9131. type: integer
  9132. ismarketaccount:
  9133. description: 是否机构接单账号 0:不是 1:是
  9134. type: integer
  9135. isreckonaccount:
  9136. description: 是否机构分润账号 0:不是 1:是
  9137. type: integer
  9138. mortgagecredit:
  9139. description: 授信金额
  9140. type: number
  9141. orifreezecharge:
  9142. description: 期初手续费冻结
  9143. type: number
  9144. orifreezemargin:
  9145. description: 期初冻结保证金
  9146. type: number
  9147. orimortgagecredit:
  9148. description: 期初授信金额
  9149. type: number
  9150. oriothercredit:
  9151. description: 期初其它授信金额
  9152. type: number
  9153. oriotherfreezemargin:
  9154. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9155. type: number
  9156. orioutamountfreeze:
  9157. description: 期初出金冻结
  9158. type: number
  9159. oriusedmargin:
  9160. description: 期初占用保证金
  9161. type: number
  9162. othercredit:
  9163. description: 其它授信金额
  9164. type: number
  9165. othercreditdecrease:
  9166. description: 今日其它授信减少
  9167. type: number
  9168. othercreditincrease:
  9169. description: 今日其它授信增加
  9170. type: number
  9171. otherfreezemargin:
  9172. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9173. type: number
  9174. otherincome:
  9175. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  9176. type: number
  9177. otherpay:
  9178. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  9179. type: number
  9180. outamount:
  9181. description: 今日出金金额(包括三方出金)
  9182. type: number
  9183. outamountfreeze:
  9184. description: 出金冻结
  9185. type: number
  9186. outthreshold:
  9187. description: 出金阈值
  9188. type: number
  9189. parentaccountid:
  9190. description: 所属根账号
  9191. type: integer
  9192. paycharge:
  9193. description: 今日手续费支出
  9194. type: number
  9195. relatedaccountstatus:
  9196. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  9197. type: integer
  9198. relateduserid:
  9199. description: 关联用户
  9200. type: integer
  9201. serivcegroup:
  9202. description: 服务分组
  9203. type: integer
  9204. signstatus:
  9205. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9206. type: integer
  9207. sublevelpath:
  9208. description: 账号层级路径(逗号分隔,首尾加逗号)
  9209. type: string
  9210. taaccounttype:
  9211. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9212. type: integer
  9213. thirdinamount:
  9214. description: 今日三方入金
  9215. type: number
  9216. thirdoutamount:
  9217. description: 今日三方出金
  9218. type: number
  9219. tradestatus:
  9220. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9221. type: integer
  9222. tradestatuschangetime:
  9223. description: 激活时间
  9224. type: string
  9225. transferamount:
  9226. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9227. type: number
  9228. usedmargin:
  9229. description: 占用保证金
  9230. type: number
  9231. userid:
  9232. description: 用户ID
  9233. type: integer
  9234. required:
  9235. - accountid
  9236. - userid
  9237. type: object
  9238. models.Tablecolumnconfig:
  9239. properties:
  9240. aligntype:
  9241. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  9242. type: integer
  9243. autoid:
  9244. description: AutoID
  9245. type: integer
  9246. columnfield:
  9247. description: 列字段
  9248. type: string
  9249. columntitle:
  9250. description: 列Title
  9251. type: string
  9252. columnwidth:
  9253. description: 列宽
  9254. type: string
  9255. formatterstring:
  9256. description: 格式化字符
  9257. type: string
  9258. formattertype:
  9259. description: 格式化类型
  9260. type: string
  9261. groupname:
  9262. description: 表头分组名称
  9263. type: string
  9264. isshow:
  9265. description: 是否显示 - 0:不显示 1:显示
  9266. type: integer
  9267. needsummary:
  9268. description: 是否需要汇总 - 0:不需要 1:需要
  9269. type: integer
  9270. orderindex:
  9271. description: 顺序
  9272. type: integer
  9273. remark:
  9274. description: 备注
  9275. type: string
  9276. summarytype:
  9277. description: 汇总类型 - 1:加总 2:最后一个
  9278. type: integer
  9279. tablekey:
  9280. description: 列表Key
  9281. type: string
  9282. required:
  9283. - autoid
  9284. type: object
  9285. models.Useraccount:
  9286. properties:
  9287. accountname:
  9288. description: 账户名称(机构名称)
  9289. type: string
  9290. accountstatus:
  9291. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  9292. type: integer
  9293. auditremark:
  9294. description: 审核备注
  9295. type: string
  9296. audittime:
  9297. description: 审核时间
  9298. type: string
  9299. audituserid:
  9300. description: 审核人
  9301. type: integer
  9302. broker:
  9303. description: 所属经纪人ID
  9304. type: integer
  9305. canceltime:
  9306. description: 销户时间
  9307. type: string
  9308. canceluserid:
  9309. description: 销户人
  9310. type: integer
  9311. createtime:
  9312. description: 创建时间
  9313. type: string
  9314. creatorid:
  9315. description: 创建人
  9316. type: integer
  9317. hasauth:
  9318. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  9319. type: integer
  9320. isanonymous:
  9321. description: 是否匿名下单 - 0:否 1:是
  9322. type: integer
  9323. maxinvestornum:
  9324. description: 最大用户数(经纪会员下投资者个数)
  9325. type: integer
  9326. memberuserid:
  9327. description: 所属会员ID
  9328. type: integer
  9329. modifierid:
  9330. description: 修改人
  9331. type: integer
  9332. modifyremark:
  9333. description: 变更备注
  9334. type: string
  9335. modifystatus:
  9336. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  9337. type: integer
  9338. modifytime:
  9339. description: 修改时间
  9340. type: string
  9341. parentuserid:
  9342. description: 所属机构ID
  9343. type: integer
  9344. reckonaccountid:
  9345. description: 默认结算资金账号ID(机构分润使用) 作废
  9346. type: integer
  9347. refercount:
  9348. description: 推荐总人数
  9349. type: integer
  9350. refereeuserid:
  9351. description: 推荐人ID
  9352. type: integer
  9353. refernum:
  9354. description: 推荐码
  9355. type: string
  9356. subarealevelpath:
  9357. description: 子机构层级路径(逗号分隔,首尾加逗号)
  9358. type: string
  9359. userid:
  9360. description: 用户ID
  9361. type: integer
  9362. usertype:
  9363. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  9364. type: integer
  9365. required:
  9366. - userid
  9367. type: object
  9368. models.Userfavoritegoods:
  9369. properties:
  9370. goodsid:
  9371. description: 商品ID
  9372. type: integer
  9373. required:
  9374. - goodsid
  9375. type: object
  9376. models.Userinfo:
  9377. properties:
  9378. address:
  9379. description: 地址
  9380. type: string
  9381. attachment1:
  9382. description: 附件1
  9383. type: string
  9384. attachment2:
  9385. description: 附件2
  9386. type: string
  9387. bankaccount:
  9388. description: 银行帐号 (加密存储)
  9389. type: string
  9390. bankaccountname:
  9391. description: 收款人名称
  9392. type: string
  9393. bankcardfrontphotourl:
  9394. description: 银行卡正面照地址
  9395. type: string
  9396. bankid:
  9397. description: 银行编码
  9398. type: string
  9399. bankname:
  9400. description: 银行名称
  9401. type: string
  9402. biznature:
  9403. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  9404. type: integer
  9405. bizscope:
  9406. description: 企业经营范围(企业)
  9407. type: string
  9408. cardbackphotourl:
  9409. description: 证件背面图片地址
  9410. type: string
  9411. cardfrontphotourl:
  9412. description: 证件正面图片地址
  9413. type: string
  9414. cardnum:
  9415. description: 证件号码(加密存储)
  9416. type: string
  9417. cardtypeid:
  9418. description: 证件类型ID
  9419. type: integer
  9420. cityid:
  9421. description: 市
  9422. type: integer
  9423. company:
  9424. description: 公司(个人)
  9425. type: string
  9426. contactname:
  9427. description: 联系人
  9428. type: string
  9429. countryid:
  9430. description: 国家
  9431. type: integer
  9432. createtime:
  9433. description: 创建时间
  9434. type: string
  9435. creatorid:
  9436. description: 创建人
  9437. type: integer
  9438. customername:
  9439. description: 客户名称(企业名称)
  9440. type: string
  9441. districtid:
  9442. description: 地区
  9443. type: integer
  9444. email:
  9445. description: 邮件(加密存储)
  9446. type: string
  9447. fax:
  9448. description: 传真(加密存储)
  9449. type: string
  9450. halfbodyphotourl:
  9451. description: 半身照地址
  9452. type: string
  9453. hasencrypt:
  9454. description: 数据是否已加密 - 0:未加密 1:已加密
  9455. type: integer
  9456. headurl:
  9457. description: 头像地址
  9458. type: string
  9459. legalcardbackphotourl:
  9460. description: 法人身份证背面照地址
  9461. type: string
  9462. legalcardfrontphotourl:
  9463. description: 法人身份证正面照地址
  9464. type: string
  9465. legalpersonname:
  9466. description: 法人姓名(企业)
  9467. type: string
  9468. mobile:
  9469. description: 手机号码(加密存储)
  9470. type: string
  9471. mobile2:
  9472. description: 手机号码[明文-尚志]
  9473. type: string
  9474. modifierid:
  9475. description: 修改人
  9476. type: integer
  9477. modifiertime:
  9478. description: 修改时间
  9479. type: string
  9480. needinvoice:
  9481. description: 是否需要发票 - 0:不需要 1:需要
  9482. type: integer
  9483. nickname:
  9484. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  9485. type: string
  9486. openmode:
  9487. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  9488. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  9489. type: integer
  9490. otherurl:
  9491. description: 其它图片地址[使用分号分隔]
  9492. type: string
  9493. postalcode:
  9494. description: 邮政编码
  9495. type: string
  9496. provinceid:
  9497. description: 省
  9498. type: integer
  9499. qq:
  9500. description: QQ(加密存储
  9501. type: string
  9502. remark:
  9503. description: 备注
  9504. type: string
  9505. sex:
  9506. description: '用户性别 0: 女 1: 男'
  9507. type: integer
  9508. signpdfurl:
  9509. description: 签约pdf文件
  9510. type: string
  9511. telphone:
  9512. description: 联系电话(加密存储)
  9513. type: string
  9514. userid:
  9515. description: 用户ID
  9516. type: integer
  9517. userinfotype:
  9518. description: 用户信息类型 - 1:个人 2:企业
  9519. type: integer
  9520. userstatus:
  9521. description: 用户状态 - 1:正常 2:注销
  9522. type: integer
  9523. usertype:
  9524. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  9525. type: integer
  9526. wechat:
  9527. description: 微信(加密存储)
  9528. type: string
  9529. wskhinfo:
  9530. description: 开户申请信息(JSON)
  9531. type: string
  9532. required:
  9533. - userid
  9534. type: object
  9535. models.WRSConverTDetail:
  9536. properties:
  9537. convertratio:
  9538. description: 套保系数
  9539. type: number
  9540. deliverygoodscode:
  9541. description: 现货商品代码
  9542. type: string
  9543. deliverygoodsid:
  9544. description: 现货品种ID
  9545. type: integer
  9546. deliverygoodsname:
  9547. description: 现货商品名称
  9548. type: string
  9549. enumdicname:
  9550. description: 单位名称
  9551. type: string
  9552. goodsunitid:
  9553. description: 套保品种单位id
  9554. type: integer
  9555. middlegoodscode:
  9556. description: 套保品种代码
  9557. type: string
  9558. middlegoodsid:
  9559. description: 套保品种ID
  9560. type: integer
  9561. middlegoodsname:
  9562. description: 套保品种名称
  9563. type: string
  9564. modifytime:
  9565. description: 修改时间
  9566. type: string
  9567. wrstandardid:
  9568. description: 品类ID
  9569. type: integer
  9570. type: object
  9571. models.WRStandardInfo:
  9572. properties:
  9573. areauserid:
  9574. description: 所属机构
  9575. type: integer
  9576. convertfactor:
  9577. description: 标仓系数
  9578. type: number
  9579. createtime:
  9580. description: 创建时间
  9581. type: string
  9582. creatorid:
  9583. description: 创建人
  9584. type: integer
  9585. deliverygoodsid:
  9586. description: 品种ID
  9587. type: integer
  9588. deliverygoodsname:
  9589. description: 交割商品名称
  9590. type: string
  9591. factoryitemjson:
  9592. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  9593. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  9594. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  9595. 逗号分隔'
  9596. type: string
  9597. isvalid:
  9598. description: 是否有效 - 0:无效 1:有效
  9599. type: integer
  9600. minivalue:
  9601. description: 最小变动值
  9602. type: integer
  9603. minivaluedp:
  9604. description: 最小变动值小数位
  9605. type: integer
  9606. realminivalue:
  9607. description: 实际最小变动值
  9608. type: integer
  9609. realminivaluedp:
  9610. description: 实际最小变动值小数位
  9611. type: integer
  9612. remark:
  9613. description: 备注
  9614. type: string
  9615. unitid:
  9616. description: 单位ID
  9617. type: integer
  9618. unitname:
  9619. description: 单位
  9620. type: string
  9621. updatetime:
  9622. description: 更新时间
  9623. type: string
  9624. updatorid:
  9625. description: 更新人
  9626. type: integer
  9627. wrsstatus:
  9628. description: 状态 - 作废 - 0:未激活 1:正常
  9629. type: integer
  9630. wrstandardcode:
  9631. description: 现货品类代码
  9632. type: string
  9633. wrstandardid:
  9634. description: 现货品类ID(SEQ_WRSTANDARD)
  9635. type: integer
  9636. wrstandardname:
  9637. description: 现货品类名称
  9638. type: string
  9639. required:
  9640. - wrstandardid
  9641. type: object
  9642. models.Warehouseinfo:
  9643. properties:
  9644. address:
  9645. description: 详细地址
  9646. type: string
  9647. areauserid:
  9648. description: 所属机构
  9649. type: integer
  9650. autoid:
  9651. description: 自增ID
  9652. type: integer
  9653. cityid:
  9654. description: 市
  9655. type: integer
  9656. contactname:
  9657. description: 联系人
  9658. type: string
  9659. contactnum:
  9660. description: 联系电话
  9661. type: string
  9662. countryid:
  9663. description: 国家
  9664. type: integer
  9665. createtime:
  9666. description: 创建时间
  9667. type: string
  9668. districtid:
  9669. description: 区
  9670. type: integer
  9671. hasvideo:
  9672. description: 是否有视频 - 0:无 1:有
  9673. type: integer
  9674. provinceid:
  9675. description: 省
  9676. type: integer
  9677. remark:
  9678. description: 审核备注
  9679. type: string
  9680. videourl:
  9681. description: 视频地址
  9682. type: string
  9683. warehousecode:
  9684. description: 仓库代码
  9685. type: string
  9686. warehousename:
  9687. description: 仓库名称
  9688. type: string
  9689. warehousestatus:
  9690. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  9691. type: integer
  9692. warehousetype:
  9693. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  9694. type: integer
  9695. required:
  9696. - autoid
  9697. - warehousecode
  9698. type: object
  9699. order.QueryHisTradeDetailRsp:
  9700. properties:
  9701. accountid:
  9702. description: 账户ID[报价币种]
  9703. type: integer
  9704. buildtype:
  9705. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  9706. type: integer
  9707. buyorsell:
  9708. description: 方向 - 0:买 1:卖
  9709. type: integer
  9710. charge:
  9711. description: 手续费
  9712. type: number
  9713. closecharge:
  9714. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9715. type: number
  9716. closeexchagechargevalue:
  9717. description: 平仓交易所手续费设置值
  9718. type: number
  9719. closefeealgorithm:
  9720. description: 平仓手续费收取方式 1:比率 2:固定
  9721. type: integer
  9722. closememberchargevalue:
  9723. description: 平仓会员手续费设置值
  9724. type: number
  9725. closepl:
  9726. description: 平仓盈亏
  9727. type: number
  9728. closepl2:
  9729. description: 平仓盈亏[逐笔]
  9730. type: number
  9731. closeqty:
  9732. description: 平仓数量(先建后平操作 需要记录)
  9733. type: integer
  9734. creditamount:
  9735. description: 授信金额
  9736. type: number
  9737. gcaccountid:
  9738. description: 账户ID[合约币种]
  9739. type: integer
  9740. goodscode:
  9741. description: 商品代码
  9742. type: string
  9743. goodsid:
  9744. description: 商品ID
  9745. type: integer
  9746. goodsname:
  9747. description: 商品名称
  9748. type: string
  9749. histradedate:
  9750. description: 历史交易日
  9751. type: string
  9752. intclosepl:
  9753. description: 整型盈亏(用于交易结算试算平衡-收益权)
  9754. type: integer
  9755. isconfirmexercise:
  9756. description: 是否确认行权- 0:否 1:是
  9757. type: integer
  9758. ismain:
  9759. description: 是否主单 - 0:不是 1:是
  9760. type: integer
  9761. ispreexercise:
  9762. description: 是否预申报- 0:否 1:是
  9763. type: integer
  9764. isreckoned:
  9765. description: 是否结算 - 0:未结算 1:已结算
  9766. type: integer
  9767. isvaliddata:
  9768. description: 是否有效 - 0:无效 1:有效
  9769. type: integer
  9770. listingselecttype:
  9771. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9772. type: integer
  9773. marketid:
  9774. description: 市场ID
  9775. type: integer
  9776. marketname:
  9777. description: 市场名称
  9778. type: string
  9779. matchaccountid:
  9780. description: 对手账号id
  9781. type: integer
  9782. memberuserid:
  9783. description: 会员id 个人投资者 需要填写
  9784. type: integer
  9785. opencharge:
  9786. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9787. type: number
  9788. openexchagechargevalue:
  9789. description: 建仓交易所手续费设置值
  9790. type: number
  9791. openfeealgorithm:
  9792. description: 建仓手续费收取方式 1:比率 2:固定
  9793. type: integer
  9794. openmemberchargevalue:
  9795. description: 建仓会员手续费设置值
  9796. type: number
  9797. openqty:
  9798. description: 开仓数量(先建后平操作 需要记录)
  9799. type: integer
  9800. optiontype:
  9801. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  9802. type: integer
  9803. orderid:
  9804. description: 委托单号
  9805. type: string
  9806. performanceplanid:
  9807. description: 履约计划ID[期权]
  9808. type: integer
  9809. performancestatus:
  9810. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  9811. type: integer
  9812. preexerciseprice:
  9813. description: 预申报价格
  9814. type: number
  9815. premium:
  9816. description: 权利金 - [持仓单的权利金]
  9817. type: number
  9818. relatedouttradeid:
  9819. description: 关联外部成交单ID
  9820. type: integer
  9821. status:
  9822. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  9823. type: integer
  9824. tradeamount:
  9825. description: 成交金额[账户币种,用于所有权]
  9826. type: number
  9827. tradedate:
  9828. description: 交易日(yyyyMMdd)
  9829. type: string
  9830. tradeid:
  9831. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9832. type: string
  9833. trademode:
  9834. description: 交易模式
  9835. type: integer
  9836. tradeprice:
  9837. description: 成交价格
  9838. type: number
  9839. tradeproperty:
  9840. description: 交易属性
  9841. type: integer
  9842. tradeqty:
  9843. description: 成交数量
  9844. type: integer
  9845. tradetime:
  9846. description: 成交时间
  9847. type: string
  9848. tradetype:
  9849. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  9850. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  9851. type: integer
  9852. required:
  9853. - accountid
  9854. - buyorsell
  9855. - goodsid
  9856. - histradedate
  9857. - marketid
  9858. - memberuserid
  9859. - orderid
  9860. - tradeamount
  9861. - tradedate
  9862. - tradeid
  9863. - tradeprice
  9864. - tradeqty
  9865. - tradetime
  9866. type: object
  9867. order.QueryHisTradeOrderDetailRsp:
  9868. properties:
  9869. accountid:
  9870. description: 账户ID[报价币种]
  9871. type: integer
  9872. buildtype:
  9873. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  9874. type: integer
  9875. buyorsell:
  9876. description: 买卖 - 0:买 1:卖
  9877. type: integer
  9878. cancelorderid:
  9879. description: 撤单单号(撤单时填写)
  9880. type: string
  9881. cancelqty:
  9882. description: 撤单数量
  9883. type: integer
  9884. clientordertime:
  9885. description: 客户端委托时间
  9886. type: string
  9887. clientticket:
  9888. description: 客户端流水号
  9889. type: string
  9890. clienttype:
  9891. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  9892. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9893. type: integer
  9894. closeexchagechargevalue:
  9895. description: 平仓交易所手续费设置值
  9896. type: number
  9897. closefeealgorithm:
  9898. description: 平仓手续费收取方式 1:比率 2:固定
  9899. type: integer
  9900. closefreezecharge:
  9901. description: 平仓冻结手续费(先建后平操作,需要记录)
  9902. type: number
  9903. closememberchargevalue:
  9904. description: 平仓会员手续费设置值
  9905. type: number
  9906. closeqty:
  9907. description: 平仓数量(先建后平操作 需要记录)
  9908. type: integer
  9909. closetradeqty:
  9910. description: 平仓成交数量(先建后平操作,需要记录)
  9911. type: integer
  9912. closeunfreezecharge:
  9913. description: 平仓解冻手续费(先建后平操作,需要记录)
  9914. type: number
  9915. delistingtype:
  9916. description: 摘牌类型 - 1:价格最优 2:点选成交
  9917. type: integer
  9918. freezecharge:
  9919. description: 冻结手续费
  9920. type: number
  9921. freezemargin:
  9922. description: 冻结保证金(冻结交易金额)
  9923. type: number
  9924. gcaccountid:
  9925. description: 账户ID[合约币种]
  9926. type: integer
  9927. goodscode:
  9928. description: 商品代码
  9929. type: string
  9930. goodsid:
  9931. description: 商品ID
  9932. type: integer
  9933. goodsname:
  9934. description: 商品名称
  9935. type: string
  9936. histradedate:
  9937. description: 历史交易日
  9938. type: string
  9939. isconfirmexercise:
  9940. description: 是否确认行权- 0:否 1:是
  9941. type: integer
  9942. ispreexercise:
  9943. description: 是否预申报- 0:否 1:是
  9944. type: integer
  9945. isvaliddata:
  9946. description: 是否有效 - 0:无效 1:有效
  9947. type: integer
  9948. listingselecttype:
  9949. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9950. type: integer
  9951. marginalgorithm:
  9952. description: 保证金收取方式 1:比率 2:固定
  9953. type: integer
  9954. marginvalue:
  9955. description: 即市保证金设置值
  9956. type: number
  9957. marketid:
  9958. description: 市场ID
  9959. type: integer
  9960. marketmaxsub:
  9961. description: 市价最大偏移范围
  9962. type: number
  9963. marketname:
  9964. description: 市场名称
  9965. type: string
  9966. memberuserid:
  9967. description: 所属会员UserID
  9968. type: integer
  9969. openexchagechargevalue:
  9970. description: 建仓交易所手续费设置值
  9971. type: number
  9972. openfeealgorithm:
  9973. description: 建仓手续费收取方式 1:比率 2:固定
  9974. type: integer
  9975. openfreezecharge:
  9976. description: 开仓冻结手续费(先建后平操作,需要记录)
  9977. type: number
  9978. openmemberchargevalue:
  9979. description: 建仓会员手续费设置值
  9980. type: number
  9981. openqty:
  9982. description: 开仓数量(先建后平操作,需要记录)
  9983. type: integer
  9984. opentradeqty:
  9985. description: 开仓成交数量(先建后平操作,需要记录)
  9986. type: integer
  9987. openunfreezecharge:
  9988. description: 开仓解冻手续费(先建后平操作,需要记录)
  9989. type: number
  9990. operatetype:
  9991. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  9992. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  9993. 15:管理端协议转让
  9994. type: integer
  9995. operatorid:
  9996. description: 登录账号(LoginID)
  9997. type: integer
  9998. optiontype:
  9999. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10000. type: integer
  10001. orderid:
  10002. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10003. type: string
  10004. orderprice:
  10005. description: 委托价格
  10006. type: number
  10007. orderqty:
  10008. description: 委托数量
  10009. type: integer
  10010. ordersrc:
  10011. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  10012. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  10013. type: integer
  10014. orderstatus:
  10015. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10016. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10017. 16:成交失败违约(荷兰式竞拍专用)
  10018. type: integer
  10019. ordertime:
  10020. description: 委托时间
  10021. type: string
  10022. preexerciseprice:
  10023. description: 预申报价格
  10024. type: number
  10025. premium:
  10026. description: 权利金
  10027. type: number
  10028. preorderid:
  10029. description: 关联预埋单号(止盈止损单时填写)
  10030. type: string
  10031. pricemode:
  10032. description: '取价方式 - 1:市价 2: 限价'
  10033. type: integer
  10034. quoteid:
  10035. description: 报价单ID
  10036. type: integer
  10037. relatedid:
  10038. description: 关联单号(交割单)
  10039. type: string
  10040. retcode:
  10041. description: 错误代码
  10042. type: integer
  10043. sessionid:
  10044. description: 会话ID
  10045. type: integer
  10046. tradedate:
  10047. description: 交易日(yyyyMMdd)
  10048. type: string
  10049. trademode:
  10050. description: 交易模式
  10051. type: integer
  10052. tradeproperty:
  10053. description: 交易属性
  10054. type: integer
  10055. tradeqty:
  10056. description: 成交数量
  10057. type: integer
  10058. unfreezecharge:
  10059. description: 解冻手续费
  10060. type: number
  10061. unfreezemargin:
  10062. description: 解冻保证金
  10063. type: number
  10064. updatetime:
  10065. description: 更新时间
  10066. type: string
  10067. uuid:
  10068. description: 发起端唯一id
  10069. type: string
  10070. validtime:
  10071. description: 有效期限
  10072. type: string
  10073. validtype:
  10074. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  10075. type: integer
  10076. volumetype:
  10077. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  10078. type: integer
  10079. required:
  10080. - accountid
  10081. - buildtype
  10082. - buyorsell
  10083. - goodsid
  10084. - histradedate
  10085. - marketid
  10086. - memberuserid
  10087. - operatetype
  10088. - orderid
  10089. - orderqty
  10090. - ordertime
  10091. - pricemode
  10092. - tradedate
  10093. - validtype
  10094. type: object
  10095. order.QueryTradeDetailRsp:
  10096. properties:
  10097. accountid:
  10098. description: 账户ID[报价币种]
  10099. type: integer
  10100. buildtype:
  10101. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  10102. type: integer
  10103. buyorsell:
  10104. description: 方向 - 0:买 1:卖
  10105. type: integer
  10106. charge:
  10107. description: 手续费
  10108. type: number
  10109. closecharge:
  10110. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10111. type: number
  10112. closeexchagechargevalue:
  10113. description: 平仓交易所手续费设置值
  10114. type: number
  10115. closefeealgorithm:
  10116. description: 平仓手续费收取方式 1:比率 2:固定
  10117. type: integer
  10118. closememberchargevalue:
  10119. description: 平仓会员手续费设置值
  10120. type: number
  10121. closepl:
  10122. description: 平仓盈亏
  10123. type: number
  10124. closepl2:
  10125. description: 平仓盈亏[逐笔]
  10126. type: number
  10127. closeqty:
  10128. description: 平仓数量(先建后平操作 需要记录)
  10129. type: integer
  10130. creditamount:
  10131. description: 授信金额
  10132. type: number
  10133. gcaccountid:
  10134. description: 账户ID[合约币种]
  10135. type: integer
  10136. goodscode:
  10137. description: 商品代码
  10138. type: string
  10139. goodsid:
  10140. description: 商品ID
  10141. type: integer
  10142. goodsname:
  10143. description: 商品名称
  10144. type: string
  10145. intclosepl:
  10146. description: 整型盈亏(用于交易结算试算平衡-收益权)
  10147. type: integer
  10148. isconfirmexercise:
  10149. description: 是否确认行权- 0:否 1:是
  10150. type: integer
  10151. ismain:
  10152. description: 是否主单 - 0:不是 1:是
  10153. type: integer
  10154. ispreexercise:
  10155. description: 是否预申报- 0:否 1:是
  10156. type: integer
  10157. isreckoned:
  10158. description: 是否结算 - 0:未结算 1:已结算
  10159. type: integer
  10160. listingselecttype:
  10161. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10162. type: integer
  10163. marketid:
  10164. description: 市场ID
  10165. type: integer
  10166. marketname:
  10167. description: 市场名称
  10168. type: string
  10169. matchaccountid:
  10170. description: 对手账号id
  10171. type: integer
  10172. memberuserid:
  10173. description: 会员id 个人投资者 需要填写
  10174. type: integer
  10175. opencharge:
  10176. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10177. type: number
  10178. openexchagechargevalue:
  10179. description: 建仓交易所手续费设置值
  10180. type: number
  10181. openfeealgorithm:
  10182. description: 建仓手续费收取方式 1:比率 2:固定
  10183. type: integer
  10184. openmemberchargevalue:
  10185. description: 建仓会员手续费设置值
  10186. type: number
  10187. openqty:
  10188. description: 开仓数量(先建后平操作 需要记录)
  10189. type: integer
  10190. optiontype:
  10191. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10192. type: integer
  10193. orderid:
  10194. description: 委托单号
  10195. type: string
  10196. performanceplanid:
  10197. description: 履约计划ID[期权]
  10198. type: integer
  10199. performancestatus:
  10200. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  10201. type: integer
  10202. preexerciseprice:
  10203. description: 预申报价格
  10204. type: number
  10205. premium:
  10206. description: 权利金 - [持仓单的权利金]
  10207. type: number
  10208. relatedouttradeid:
  10209. description: 关联外部成交单ID
  10210. type: integer
  10211. status:
  10212. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  10213. type: integer
  10214. tradeamount:
  10215. description: 成交金额[账户币种,用于所有权]
  10216. type: number
  10217. tradedate:
  10218. description: 交易日(yyyyMMdd)
  10219. type: string
  10220. tradeid:
  10221. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10222. type: string
  10223. trademode:
  10224. description: 交易模式
  10225. type: integer
  10226. tradeprice:
  10227. description: 成交价格
  10228. type: number
  10229. tradeproperty:
  10230. description: 交易属性
  10231. type: integer
  10232. tradeqty:
  10233. description: 成交数量
  10234. type: integer
  10235. tradetime:
  10236. description: 成交时间
  10237. type: string
  10238. tradetype:
  10239. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  10240. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  10241. type: integer
  10242. required:
  10243. - accountid
  10244. - buyorsell
  10245. - goodsid
  10246. - marketid
  10247. - memberuserid
  10248. - orderid
  10249. - tradeamount
  10250. - tradedate
  10251. - tradeid
  10252. - tradeprice
  10253. - tradeqty
  10254. - tradetime
  10255. type: object
  10256. order.QueryTradeOrderDetailRsp:
  10257. properties:
  10258. accountid:
  10259. description: 账户ID[报价币种]
  10260. type: integer
  10261. buildtype:
  10262. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  10263. type: integer
  10264. buyorsell:
  10265. description: 买卖 - 0:买 1:卖
  10266. type: integer
  10267. cancelorderid:
  10268. description: 撤单单号(撤单时填写)
  10269. type: string
  10270. cancelqty:
  10271. description: 撤单数量
  10272. type: integer
  10273. clienttype:
  10274. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  10275. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10276. type: integer
  10277. closefreezecharge:
  10278. description: 平仓冻结手续费(先建后平操作,需要记录)
  10279. type: number
  10280. closeqty:
  10281. description: 平仓数量(先建后平操作 需要记录)
  10282. type: integer
  10283. closetradeqty:
  10284. description: 平仓成交数量(先建后平操作,需要记录)
  10285. type: integer
  10286. closeunfreezecharge:
  10287. description: 平仓解冻手续费(先建后平操作,需要记录)
  10288. type: number
  10289. delistingtype:
  10290. description: 摘牌类型 - 1:价格最优 2:点选成交
  10291. type: integer
  10292. enableqty:
  10293. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  10294. type: integer
  10295. freezecharge:
  10296. description: 冻结手续费
  10297. type: number
  10298. freezemargin:
  10299. description: 冻结保证金(冻结交易金额)
  10300. type: number
  10301. goodscode:
  10302. description: 商品代码
  10303. type: string
  10304. goodsid:
  10305. description: 商品ID
  10306. type: integer
  10307. goodsname:
  10308. description: 商品名称
  10309. type: string
  10310. listingselecttype:
  10311. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10312. type: integer
  10313. marketid:
  10314. description: 市场ID
  10315. type: integer
  10316. marketname:
  10317. description: 市场名称
  10318. type: string
  10319. openfreezecharge:
  10320. description: 开仓冻结手续费(先建后平操作,需要记录)
  10321. type: number
  10322. openqty:
  10323. description: 开仓数量(先建后平操作,需要记录)
  10324. type: integer
  10325. opentradeqty:
  10326. description: 开仓成交数量(先建后平操作,需要记录)
  10327. type: integer
  10328. openunfreezecharge:
  10329. description: 开仓解冻手续费(先建后平操作,需要记录)
  10330. type: number
  10331. operatetype:
  10332. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  10333. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  10334. 15:管理端协议转让
  10335. type: integer
  10336. operatorid:
  10337. description: 登录账号(LoginID)
  10338. type: integer
  10339. orderid:
  10340. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10341. type: string
  10342. orderprice:
  10343. description: 委托价格
  10344. type: number
  10345. orderqty:
  10346. description: 委托数量
  10347. type: integer
  10348. ordersrc:
  10349. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  10350. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  10351. type: integer
  10352. orderstatus:
  10353. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10354. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10355. 16:成交失败违约(荷兰式竞拍专用)
  10356. type: integer
  10357. ordertime:
  10358. description: 委托时间
  10359. type: string
  10360. preorderid:
  10361. description: 关联预埋单号(止盈止损单时填写)
  10362. type: string
  10363. pricemode:
  10364. description: '取价方式 - 1:市价 2: 限价'
  10365. type: integer
  10366. relatedid:
  10367. description: 关联单号(交割单)
  10368. type: string
  10369. tradedate:
  10370. description: 交易日(yyyyMMdd)
  10371. type: string
  10372. trademode:
  10373. description: 交易模式
  10374. type: integer
  10375. tradeqty:
  10376. description: 成交数量
  10377. type: integer
  10378. unfreezecharge:
  10379. description: 解冻手续费
  10380. type: number
  10381. unfreezemargin:
  10382. description: 解冻保证金
  10383. type: number
  10384. validtime:
  10385. description: 有效期限
  10386. type: string
  10387. validtype:
  10388. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  10389. type: integer
  10390. volumetype:
  10391. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  10392. type: integer
  10393. required:
  10394. - accountid
  10395. - buildtype
  10396. - buyorsell
  10397. - goodsid
  10398. - marketid
  10399. - operatetype
  10400. - orderqty
  10401. - ordertime
  10402. - pricemode
  10403. - tradedate
  10404. - validtype
  10405. type: object
  10406. order.QueryTradePositionRsp:
  10407. properties:
  10408. accountid:
  10409. description: 资金账户
  10410. type: integer
  10411. agreeunit:
  10412. description: 合约单位
  10413. type: number
  10414. averageprice:
  10415. description: 持仓均价
  10416. type: number
  10417. buyorsell:
  10418. description: 方向 - 0:买 1:卖
  10419. type: integer
  10420. closetotalqty:
  10421. description: 平仓总数量
  10422. type: integer
  10423. curholderamount:
  10424. description: 当前持仓总金额[商品币种]
  10425. type: number
  10426. curpositionqty:
  10427. description: 当前持仓总数量
  10428. type: integer
  10429. currencyid:
  10430. description: 报价货币ID
  10431. type: integer
  10432. curtdposition:
  10433. description: 期末今日头寸
  10434. type: integer
  10435. decimalplace:
  10436. description: 报价小数位
  10437. type: integer
  10438. enableqty:
  10439. description: 可用量
  10440. type: integer
  10441. fretdposition:
  10442. description: 冻结今日头寸
  10443. type: integer
  10444. frozenqty:
  10445. description: 持仓冻结数量
  10446. type: integer
  10447. goodscode:
  10448. description: 商品代码
  10449. type: string
  10450. goodsid:
  10451. description: 商品Id
  10452. type: integer
  10453. goodsname:
  10454. description: 商品名称
  10455. type: string
  10456. goodunit:
  10457. description: 报价单位
  10458. type: string
  10459. goodunitid:
  10460. description: 报价单位ID
  10461. type: integer
  10462. holderamount:
  10463. description: 期初持仓总金额[商品币种]
  10464. type: number
  10465. marketid:
  10466. description: 所属市场ID
  10467. type: integer
  10468. openreqqty:
  10469. description: 开仓申请数量(用于比较最大持仓数量)
  10470. type: integer
  10471. opentotalqty:
  10472. description: 开仓总数量
  10473. type: integer
  10474. otherfrozenqty:
  10475. description: 持仓其他冻结数量(交割冻结)
  10476. type: integer
  10477. positionqty:
  10478. description: 期初持仓数量
  10479. type: integer
  10480. tnqty:
  10481. description: T+N冻结总量
  10482. type: integer
  10483. tnusedqty:
  10484. description: T+N使用量(可以使用T+N的冻结数量)
  10485. type: integer
  10486. trademode:
  10487. description: 交易模式
  10488. type: integer
  10489. usedmargin:
  10490. description: 占用保证金[商品币种]
  10491. type: number
  10492. required:
  10493. - goodsid
  10494. type: object
  10495. quote.HistoryData:
  10496. properties:
  10497. c:
  10498. description: 收盘价
  10499. type: number
  10500. f:
  10501. description: 是否补充数据
  10502. type: boolean
  10503. h:
  10504. description: 最高价
  10505. type: number
  10506. hv:
  10507. description: 持仓量
  10508. type: integer
  10509. l:
  10510. description: 最低价
  10511. type: number
  10512. o:
  10513. description: 开盘价
  10514. type: number
  10515. s:
  10516. description: 结算价,日线周期(包括)以上才有
  10517. type: number
  10518. ts:
  10519. description: 时间
  10520. type: string
  10521. tt:
  10522. description: 总金额
  10523. type: number
  10524. tv:
  10525. description: 总量
  10526. type: integer
  10527. type: object
  10528. quote.HistoryTikData:
  10529. properties:
  10530. AV:
  10531. description: 卖量
  10532. type: integer
  10533. Ask:
  10534. description: 卖价
  10535. type: number
  10536. BV:
  10537. description: 买量
  10538. type: integer
  10539. Bid:
  10540. description: 买价
  10541. type: number
  10542. HI:
  10543. description: 单笔持仓
  10544. type: integer
  10545. HV:
  10546. description: 持仓量
  10547. type: integer
  10548. PE:
  10549. description: 现价
  10550. type: number
  10551. TDR:
  10552. description: 交易方向,0:买 1:卖
  10553. type: integer
  10554. TK:
  10555. description: 交易类型
  10556. type: integer
  10557. TS:
  10558. description: 行情时间文本
  10559. type: string
  10560. TT:
  10561. description: 现金额
  10562. type: number
  10563. Vol:
  10564. description: 现量
  10565. type: integer
  10566. type: object
  10567. quote.QueryQuoteDayRsp:
  10568. properties:
  10569. ask:
  10570. description: 卖1
  10571. type: number
  10572. ask2:
  10573. description: 卖2
  10574. type: number
  10575. ask3:
  10576. description: 卖3
  10577. type: number
  10578. ask4:
  10579. description: 卖4
  10580. type: number
  10581. ask5:
  10582. description: 卖5
  10583. type: number
  10584. ask6:
  10585. description: 卖6
  10586. type: number
  10587. ask7:
  10588. description: 卖7
  10589. type: number
  10590. ask8:
  10591. description: 卖8
  10592. type: number
  10593. ask9:
  10594. description: 卖9
  10595. type: number
  10596. ask10:
  10597. description: 卖10
  10598. type: number
  10599. askorderid:
  10600. description: 卖单号1
  10601. type: integer
  10602. askorderid2:
  10603. description: 卖单号2
  10604. type: integer
  10605. askorderid3:
  10606. description: 卖单号3
  10607. type: integer
  10608. askorderid4:
  10609. description: 卖单号4
  10610. type: integer
  10611. askorderid5:
  10612. description: 卖单号5
  10613. type: integer
  10614. askordervolume:
  10615. description: 卖单量1
  10616. type: integer
  10617. askordervolume2:
  10618. description: 卖单量2
  10619. type: integer
  10620. askordervolume3:
  10621. description: 卖单量3
  10622. type: integer
  10623. askordervolume4:
  10624. description: 卖单量4
  10625. type: integer
  10626. askordervolume5:
  10627. description: 卖单量5
  10628. type: integer
  10629. askordervolume6:
  10630. description: 卖单量6
  10631. type: integer
  10632. askordervolume7:
  10633. description: 卖单量7
  10634. type: integer
  10635. askordervolume8:
  10636. description: 卖单量8
  10637. type: integer
  10638. askordervolume9:
  10639. description: 卖单量9
  10640. type: integer
  10641. askordervolume10:
  10642. description: 卖单量10
  10643. type: integer
  10644. askqueueinfo:
  10645. description: 大利市卖港股用
  10646. type: string
  10647. askvolume:
  10648. description: 卖量1
  10649. type: integer
  10650. askvolume2:
  10651. description: 卖量2
  10652. type: integer
  10653. askvolume3:
  10654. description: 卖量3
  10655. type: integer
  10656. askvolume4:
  10657. description: 卖量4
  10658. type: integer
  10659. askvolume5:
  10660. description: 卖量5
  10661. type: integer
  10662. askvolume6:
  10663. description: 卖量6
  10664. type: integer
  10665. askvolume7:
  10666. description: 卖量7
  10667. type: integer
  10668. askvolume8:
  10669. description: 卖量8
  10670. type: integer
  10671. askvolume9:
  10672. description: 卖量9
  10673. type: integer
  10674. askvolume10:
  10675. description: 卖量10
  10676. type: integer
  10677. averageprice:
  10678. description: 均价
  10679. type: number
  10680. bid:
  10681. description: 买1
  10682. type: number
  10683. bid2:
  10684. description: 买2
  10685. type: number
  10686. bid3:
  10687. description: 买3
  10688. type: number
  10689. bid4:
  10690. description: 买4
  10691. type: number
  10692. bid5:
  10693. description: 买5
  10694. type: number
  10695. bid6:
  10696. description: 买6
  10697. type: number
  10698. bid7:
  10699. description: 买7
  10700. type: number
  10701. bid8:
  10702. description: 买8
  10703. type: number
  10704. bid9:
  10705. description: 买9
  10706. type: number
  10707. bid10:
  10708. description: 买10
  10709. type: number
  10710. bidorderid:
  10711. description: 买单号1
  10712. type: integer
  10713. bidorderid2:
  10714. description: 买单号2
  10715. type: integer
  10716. bidorderid3:
  10717. description: 买单号3
  10718. type: integer
  10719. bidorderid4:
  10720. description: 买单号4
  10721. type: integer
  10722. bidorderid5:
  10723. description: 买单号5
  10724. type: integer
  10725. bidordervolume:
  10726. description: 买单量1
  10727. type: integer
  10728. bidordervolume2:
  10729. description: 买单量2
  10730. type: integer
  10731. bidordervolume3:
  10732. description: 买单量3
  10733. type: integer
  10734. bidordervolume4:
  10735. description: 买单量4
  10736. type: integer
  10737. bidordervolume5:
  10738. description: 买单量5
  10739. type: integer
  10740. bidordervolume6:
  10741. description: 买单量6
  10742. type: integer
  10743. bidordervolume7:
  10744. description: 买单量7
  10745. type: integer
  10746. bidordervolume8:
  10747. description: 买单量8
  10748. type: integer
  10749. bidordervolume9:
  10750. description: 买单量9
  10751. type: integer
  10752. bidordervolume10:
  10753. description: 买单量10
  10754. type: integer
  10755. bidqueueinfo:
  10756. description: 大利市买港股用
  10757. type: string
  10758. bidvolume:
  10759. description: 买量1
  10760. type: integer
  10761. bidvolume2:
  10762. description: 买量2
  10763. type: integer
  10764. bidvolume3:
  10765. description: 买量3
  10766. type: integer
  10767. bidvolume4:
  10768. description: 买量4
  10769. type: integer
  10770. bidvolume5:
  10771. description: 买量5
  10772. type: integer
  10773. bidvolume6:
  10774. description: 买量6
  10775. type: integer
  10776. bidvolume7:
  10777. description: 买量7
  10778. type: integer
  10779. bidvolume8:
  10780. description: 买量8
  10781. type: integer
  10782. bidvolume9:
  10783. description: 买量9
  10784. type: integer
  10785. bidvolume10:
  10786. description: 买量10
  10787. type: integer
  10788. calloptionpremiums:
  10789. description: 认购期权1
  10790. type: integer
  10791. calloptionpremiums2:
  10792. description: 认购期权2
  10793. type: integer
  10794. calloptionpremiums3:
  10795. description: 认购期权3
  10796. type: integer
  10797. calloptionpremiums4:
  10798. description: 认购期权4
  10799. type: integer
  10800. calloptionpremiums5:
  10801. description: 认购期权5
  10802. type: integer
  10803. cleartime:
  10804. description: 清盘时间
  10805. type: integer
  10806. exchangecode:
  10807. description: 交易所代码
  10808. type: integer
  10809. exchangedate:
  10810. description: 交易日
  10811. type: integer
  10812. goodscode:
  10813. description: 商品代码
  10814. type: string
  10815. grepmarketprice:
  10816. description: 暗盘价 港股专用
  10817. type: number
  10818. highest:
  10819. description: 最高价
  10820. type: number
  10821. holdincrement:
  10822. description: 单笔持仓
  10823. type: integer
  10824. holdvolume:
  10825. description: 持仓
  10826. type: integer
  10827. iep:
  10828. description: 平衡价 港股专用
  10829. type: number
  10830. iev:
  10831. description: 平衡量 港股专用
  10832. type: number
  10833. inventory:
  10834. description: 库存
  10835. type: integer
  10836. iscleared:
  10837. description: 是否清盘标志
  10838. type: integer
  10839. issettled:
  10840. description: 是否结算标志
  10841. type: integer
  10842. last:
  10843. description: 最新价
  10844. type: number
  10845. lastlot:
  10846. description: 最新成交手数
  10847. type: integer
  10848. lasttime:
  10849. description: 行情时间(只有现价变化行情时间才变化)
  10850. type: string
  10851. lastturnover:
  10852. description: 最新成交金额
  10853. type: number
  10854. lastvolume:
  10855. description: 最新成交量
  10856. type: integer
  10857. limitdown:
  10858. description: 跌停价
  10859. type: number
  10860. limitup:
  10861. description: 涨停价
  10862. type: number
  10863. lowest:
  10864. description: 最低价
  10865. type: number
  10866. nontotalholdervolume:
  10867. description: 非交易持仓量
  10868. type: integer
  10869. nontotallot:
  10870. description: 非交易总手数
  10871. type: integer
  10872. nontotalturnover:
  10873. description: 非交易总金额
  10874. type: integer
  10875. nontotalvolume:
  10876. description: 非交易总量
  10877. type: integer
  10878. opened:
  10879. description: 开盘价
  10880. type: number
  10881. opentime:
  10882. description: 开盘时间
  10883. type: string
  10884. orderid:
  10885. description: 序号
  10886. type: integer
  10887. preclose:
  10888. description: 昨收
  10889. type: number
  10890. preholdvolume:
  10891. description: 昨持仓
  10892. type: integer
  10893. presettle:
  10894. description: 昨结价
  10895. type: number
  10896. publictradetype:
  10897. description: 公共交易标志类型 港股专用
  10898. type: string
  10899. putoptionpremiums:
  10900. description: 认沽期权1
  10901. type: integer
  10902. putoptionpremiums2:
  10903. description: 认沽期权2
  10904. type: integer
  10905. putoptionpremiums3:
  10906. description: 认沽期权3
  10907. type: integer
  10908. putoptionpremiums4:
  10909. description: 认沽期权4
  10910. type: integer
  10911. putoptionpremiums5:
  10912. description: 认沽期权5
  10913. type: integer
  10914. settle:
  10915. description: 结算价
  10916. type: number
  10917. strikeprice:
  10918. description: 发行价
  10919. type: number
  10920. totalaskvolume:
  10921. description: 内盘
  10922. type: integer
  10923. totalbidvolume:
  10924. description: 外盘
  10925. type: integer
  10926. totallot:
  10927. description: 总手数
  10928. type: integer
  10929. totalturnover:
  10930. description: 总金额
  10931. type: number
  10932. totalvolume:
  10933. description: 总量
  10934. type: integer
  10935. utclasttime:
  10936. description: utc的行情时间
  10937. type: string
  10938. type: object
  10939. quote.QueryTSDataRsp:
  10940. properties:
  10941. Count:
  10942. description: 交易日应有数据个数
  10943. type: integer
  10944. decimalPlace:
  10945. description: 小数位
  10946. type: integer
  10947. endTime:
  10948. description: 结束时间
  10949. type: string
  10950. goodsCode:
  10951. description: 商品代码
  10952. type: string
  10953. historyDatas:
  10954. description: 历史数据
  10955. items:
  10956. $ref: '#/definitions/quote.HistoryData'
  10957. type: array
  10958. outGoodsCode:
  10959. description: 外部商品代码
  10960. type: string
  10961. preSettle:
  10962. description: 昨结价
  10963. type: number
  10964. runSteps:
  10965. description: 交易日开休市计划
  10966. items:
  10967. $ref: '#/definitions/quote.TSDataRunStep'
  10968. type: array
  10969. startTime:
  10970. description: 开始时间
  10971. type: string
  10972. tradeDate:
  10973. description: 交易日
  10974. type: string
  10975. type: object
  10976. quote.TSDataRunStep:
  10977. properties:
  10978. end:
  10979. description: 真实结束时间
  10980. type: string
  10981. endflag:
  10982. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  10983. type: integer
  10984. endtime:
  10985. description: 结束时间(HH:mm)
  10986. type: string
  10987. endweekday:
  10988. description: 结束周几
  10989. type: integer
  10990. groupid:
  10991. description: 分组ID
  10992. type: integer
  10993. runstep:
  10994. description: 运行阶段 - 2:连续交易
  10995. type: integer
  10996. sectionid:
  10997. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  10998. 结束时间=结算时间 结束周几=结算周几
  10999. type: integer
  11000. start:
  11001. description: 真实开始时间
  11002. type: string
  11003. startflag:
  11004. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  11005. type: integer
  11006. starttime:
  11007. description: 起始时间(HH:mm)
  11008. type: string
  11009. startweekday:
  11010. description: 起始周几
  11011. type: integer
  11012. tradeweekday:
  11013. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  11014. type: integer
  11015. type: object
  11016. szdz.QueryConvertLogRsp:
  11017. properties:
  11018. accountid:
  11019. description: 资金账户ID
  11020. type: integer
  11021. clientticket:
  11022. description: 客户端流水号
  11023. type: string
  11024. converttype:
  11025. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  11026. type: integer
  11027. createtime:
  11028. description: 记账时间
  11029. type: string
  11030. daymaxvalue:
  11031. description: 配置当日最大转入限制
  11032. type: number
  11033. daymaxvalue2:
  11034. description: 配置当日最大转入限制(转入)
  11035. type: number
  11036. goodscode:
  11037. description: 商品代码
  11038. type: string
  11039. goodsname:
  11040. description: 商品名称
  11041. type: string
  11042. handlestatus:
  11043. description: 处理状态
  11044. type: integer
  11045. innergoodsid:
  11046. description: 内部商品ID
  11047. type: integer
  11048. inratio:
  11049. description: 配置转入比值
  11050. type: integer
  11051. invalue:
  11052. description: 目标值
  11053. type: number
  11054. logid:
  11055. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11056. type: integer
  11057. mobile:
  11058. description: 手机号码(加密存储)
  11059. type: string
  11060. outergoodscode:
  11061. description: 外部商品代码[JD\PD]
  11062. type: string
  11063. outratio:
  11064. description: 配置转出比值
  11065. type: integer
  11066. outvalue:
  11067. description: 源值
  11068. type: number
  11069. pddecimalplace:
  11070. description: PD小数位
  11071. type: integer
  11072. qty:
  11073. description: 数量
  11074. type: string
  11075. remark:
  11076. description: 备注
  11077. type: string
  11078. sessionid:
  11079. description: 会话ID
  11080. type: integer
  11081. timemaxvalue:
  11082. description: 配置单次最大转入限制
  11083. type: number
  11084. timemaxvalue2:
  11085. description: 配置单次最大转入限制(转入)
  11086. type: number
  11087. timeminvalue:
  11088. description: 配置单次最小数量限制
  11089. type: number
  11090. timeminvalue2:
  11091. description: 配置单次最小数量限制(转入)
  11092. type: number
  11093. tradedate:
  11094. description: 交易日(yyyyMMdd)
  11095. type: string
  11096. userid:
  11097. description: 用户ID
  11098. type: integer
  11099. required:
  11100. - logid
  11101. type: object
  11102. szdz.QueryGoodsPickupRsp:
  11103. properties:
  11104. accountid:
  11105. description: 账户ID
  11106. type: integer
  11107. address:
  11108. description: 提货人详细地址
  11109. type: string
  11110. auditer:
  11111. description: 审核人
  11112. type: integer
  11113. audittime:
  11114. description: 审核时间
  11115. type: string
  11116. cardnum:
  11117. description: 提货人证件号码
  11118. type: string
  11119. cardtypeid:
  11120. description: 提货人证件类型
  11121. type: integer
  11122. checkremark:
  11123. description: 审核备注
  11124. type: string
  11125. goodscode:
  11126. description: 商品代码
  11127. type: string
  11128. goodsid:
  11129. description: 商品ID
  11130. type: integer
  11131. goodsname:
  11132. description: 商品名称
  11133. type: string
  11134. handlestatus:
  11135. description: 处理状态
  11136. type: integer
  11137. marketid:
  11138. description: 市场ID
  11139. type: integer
  11140. phonenum:
  11141. description: 提货人联系方式
  11142. type: string
  11143. qty:
  11144. description: 提货数量
  11145. type: number
  11146. recivername:
  11147. description: 提货人姓名
  11148. type: string
  11149. reqtime:
  11150. description: 更新时间
  11151. type: string
  11152. takemode:
  11153. description: 提货方式 - 2:自提 3:配送
  11154. type: integer
  11155. takeorderid:
  11156. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  11157. type: string
  11158. takeorderstatus:
  11159. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  11160. type: integer
  11161. takeremark:
  11162. description: 提货备注
  11163. type: string
  11164. tradedate:
  11165. description: 交易日(yyyyMMdd)
  11166. type: string
  11167. userid:
  11168. description: 用户ID
  11169. type: integer
  11170. required:
  11171. - takeorderid
  11172. type: object
  11173. szdz.QueryRecieptOrderRsp:
  11174. properties:
  11175. accountName:
  11176. description: 所属账号名称(已脱敏)
  11177. type: string
  11178. accountid:
  11179. description: 资金账号
  11180. type: integer
  11181. buyorsell:
  11182. description: 方向 - 0:买 1:卖
  11183. type: integer
  11184. enableqty:
  11185. description: 可摘数量
  11186. type: integer
  11187. goodscode:
  11188. description: 商品代码
  11189. type: string
  11190. goodsid:
  11191. description: 商品ID
  11192. type: integer
  11193. goodsname:
  11194. description: 商品名称
  11195. type: string
  11196. orderid:
  11197. description: 委托单号
  11198. type: string
  11199. orderprice:
  11200. description: 委托价格
  11201. type: number
  11202. ordertime:
  11203. description: 委托时间
  11204. type: string
  11205. tradedate:
  11206. description: 交易日(yyyyMMdd)
  11207. type: string
  11208. required:
  11209. - ordertime
  11210. type: object
  11211. szdz.QuerySZDZTradePositionRsp:
  11212. properties:
  11213. accountid:
  11214. description: 账号Id
  11215. type: integer
  11216. agreeunit:
  11217. description: 合约单位
  11218. type: number
  11219. averageprice:
  11220. description: 持仓均价
  11221. type: number
  11222. buyorsell:
  11223. description: 方向 - 0:买 1:卖
  11224. type: integer
  11225. closetotalqty:
  11226. description: 平仓总数量
  11227. type: integer
  11228. curholderamount:
  11229. description: 当前持仓总金额
  11230. type: number
  11231. curpositionqty:
  11232. description: 当前持仓总数量
  11233. type: integer
  11234. currencyid:
  11235. description: 报价货币ID
  11236. type: integer
  11237. curtdposition:
  11238. description: 期末今日头寸
  11239. type: integer
  11240. decimalplace:
  11241. description: 报价小数位
  11242. type: integer
  11243. enableqty:
  11244. description: 可用量
  11245. type: integer
  11246. fretdposition:
  11247. description: 冻结今日头寸
  11248. type: integer
  11249. frozenqty:
  11250. description: 持仓冻结数量
  11251. type: integer
  11252. goodscode:
  11253. description: 商品代码(内部)
  11254. type: string
  11255. goodsid:
  11256. description: 商品Id
  11257. type: integer
  11258. goodsname:
  11259. description: 商品名称
  11260. type: string
  11261. goodunit:
  11262. description: 报价单位
  11263. type: string
  11264. goodunitid:
  11265. description: 报价单位ID
  11266. type: integer
  11267. holderamount:
  11268. description: 期初持仓总金额
  11269. type: number
  11270. marketid:
  11271. description: 市场ID
  11272. type: integer
  11273. openreqqty:
  11274. description: 开仓申请数量
  11275. type: integer
  11276. opentotalqty:
  11277. description: 开仓总数量
  11278. type: integer
  11279. otherfrozenqty:
  11280. description: 持仓其他冻结数量(交割冻结)
  11281. type: integer
  11282. positionqty:
  11283. description: 期初持仓数量
  11284. type: integer
  11285. szdz3freezqty:
  11286. description: 尚志大宗转换冻结总数量
  11287. type: integer
  11288. tnqty:
  11289. description: T+N冻结总量
  11290. type: integer
  11291. tnusedqty:
  11292. description: T+N使用量
  11293. type: integer
  11294. trademode:
  11295. description: 交易模式
  11296. type: integer
  11297. usedmargin:
  11298. description: 占用保证金
  11299. type: number
  11300. type: object
  11301. taaccount.QueryAmountLogRsp:
  11302. properties:
  11303. OPERATETYPENAME:
  11304. description: 资金操作类型名称
  11305. type: string
  11306. accountid:
  11307. description: 资金账户ID
  11308. type: integer
  11309. agoodscode:
  11310. description: 竞拍商品代码
  11311. type: string
  11312. agoodsname:
  11313. description: 竞拍商品名称
  11314. type: string
  11315. amount:
  11316. description: 资金金额
  11317. type: number
  11318. amountadjusttype:
  11319. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  11320. type: integer
  11321. autoid:
  11322. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  11323. type: integer
  11324. balance:
  11325. description: 期初余额
  11326. type: number
  11327. businesscode:
  11328. description: 业务编号
  11329. type: integer
  11330. createtime:
  11331. description: 发生时间
  11332. type: string
  11333. currencyid:
  11334. description: 币种ID
  11335. type: integer
  11336. currentbalance:
  11337. description: 期末余额(变动后金额)
  11338. type: number
  11339. dgoodscode:
  11340. description: 交割商品代码
  11341. type: string
  11342. dgoodsname:
  11343. description: 交割商品名称
  11344. type: string
  11345. goodscode:
  11346. description: 商品代码
  11347. type: string
  11348. goodsid:
  11349. description: 商品ID
  11350. type: integer
  11351. goodsname:
  11352. description: 商品名称
  11353. type: string
  11354. marketid:
  11355. description: 市场ID
  11356. type: integer
  11357. marketname:
  11358. description: 市场名称
  11359. type: string
  11360. moneyticket:
  11361. description: 资金流水号:银行端流水号
  11362. type: integer
  11363. operatetype:
  11364. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  11365. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  11366. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  11367. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  11368. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  11369. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  11370. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  11371. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  11372. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  11373. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  11374. type: integer
  11375. relationorderid:
  11376. description: 关联单号
  11377. type: string
  11378. remark:
  11379. description: 备注
  11380. type: string
  11381. trademode:
  11382. description: 交易模式
  11383. type: integer
  11384. required:
  11385. - accountid
  11386. - amount
  11387. - amountadjusttype
  11388. - autoid
  11389. - balance
  11390. - createtime
  11391. - currentbalance
  11392. - operatetype
  11393. type: object
  11394. taaccount.QueryHisAmountLogRsp:
  11395. properties:
  11396. OPERATETYPENAME:
  11397. description: 资金操作类型名称
  11398. type: string
  11399. accountid:
  11400. description: 资金账户ID
  11401. type: integer
  11402. agoodscode:
  11403. description: 竞拍商品代码
  11404. type: string
  11405. agoodsname:
  11406. description: 竞拍商品名称
  11407. type: string
  11408. amount:
  11409. description: 资金金额
  11410. type: number
  11411. amountadjusttype:
  11412. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  11413. type: integer
  11414. autoid:
  11415. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  11416. type: integer
  11417. balance:
  11418. description: 期初余额
  11419. type: number
  11420. businesscode:
  11421. description: 业务编号
  11422. type: integer
  11423. createtime:
  11424. description: 发生时间
  11425. type: string
  11426. currencyid:
  11427. description: 币种ID
  11428. type: integer
  11429. currentbalance:
  11430. description: 期末余额(变动后金额)
  11431. type: number
  11432. dgoodscode:
  11433. description: 交割商品代码
  11434. type: string
  11435. dgoodsname:
  11436. description: 交割商品名称
  11437. type: string
  11438. goodscode:
  11439. description: 商品代码
  11440. type: string
  11441. goodsid:
  11442. description: 商品ID
  11443. type: integer
  11444. goodsname:
  11445. description: 商品名称
  11446. type: string
  11447. histradedate:
  11448. description: 历史交易日
  11449. type: string
  11450. isvaliddata:
  11451. description: 是否有效 - 0:无效 1:有效
  11452. type: integer
  11453. marketid:
  11454. description: 市场ID
  11455. type: integer
  11456. marketname:
  11457. description: 市场名称
  11458. type: string
  11459. moneyticket:
  11460. description: 资金流水号:银行端流水号
  11461. type: integer
  11462. operatetype:
  11463. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  11464. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  11465. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  11466. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  11467. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  11468. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  11469. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  11470. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  11471. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  11472. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  11473. type: integer
  11474. relationorderid:
  11475. description: 关联单号
  11476. type: string
  11477. remark:
  11478. description: 备注
  11479. type: string
  11480. trademode:
  11481. description: 交易模式
  11482. type: integer
  11483. required:
  11484. - accountid
  11485. - amount
  11486. - amountadjusttype
  11487. - autoid
  11488. - balance
  11489. - createtime
  11490. - currentbalance
  11491. - histradedate
  11492. - operatetype
  11493. type: object
  11494. trade.QueryRecieptOrderRsp:
  11495. properties:
  11496. accountName:
  11497. description: 所属账号名称(已脱敏)
  11498. type: string
  11499. accountid:
  11500. description: 资金账号
  11501. type: integer
  11502. buyorsell:
  11503. description: 方向 - 0:买 1:卖
  11504. type: integer
  11505. enableqty:
  11506. description: 可摘数量
  11507. type: integer
  11508. goodscode:
  11509. description: 商品代码
  11510. type: string
  11511. goodsid:
  11512. description: 商品ID
  11513. type: integer
  11514. goodsname:
  11515. description: 商品名称
  11516. type: string
  11517. orderid:
  11518. description: 委托单号
  11519. type: string
  11520. orderprice:
  11521. description: 委托价格
  11522. type: number
  11523. ordertime:
  11524. description: 委托时间
  11525. type: string
  11526. tradedate:
  11527. description: 交易日(yyyyMMdd)
  11528. type: string
  11529. required:
  11530. - ordertime
  11531. type: object
  11532. user.LoginQueryRsp:
  11533. properties:
  11534. areaRoles:
  11535. description: 所属角色信息
  11536. items:
  11537. $ref: '#/definitions/models.Arearole'
  11538. type: array
  11539. externalExchanges:
  11540. description: 外部交易所
  11541. items:
  11542. $ref: '#/definitions/models.Externalexchange'
  11543. type: array
  11544. goodsgroups:
  11545. description: 商品组
  11546. items:
  11547. $ref: '#/definitions/models.Goodsgroup'
  11548. type: array
  11549. loginAccount:
  11550. $ref: '#/definitions/models.Loginaccount'
  11551. description: 登录账号
  11552. type: object
  11553. markets:
  11554. description: 市场
  11555. items:
  11556. $ref: '#/definitions/models.Market'
  11557. type: array
  11558. systemParams:
  11559. description: 系统参数
  11560. items:
  11561. $ref: '#/definitions/models.Systemparam'
  11562. type: array
  11563. userAccount:
  11564. $ref: '#/definitions/models.Useraccount'
  11565. description: 用户账号
  11566. type: object
  11567. userInfo:
  11568. $ref: '#/definitions/models.Userinfo'
  11569. description: 用户信息
  11570. type: object
  11571. username:
  11572. description: 用户姓名
  11573. type: string
  11574. type: object
  11575. info:
  11576. contact: {}
  11577. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  11578. license: {}
  11579. termsOfService: http://www.muchinfo.cn
  11580. title: MTP2.0 查询服务 API
  11581. version: "1.0"
  11582. paths:
  11583. /CPTrade/QueryCPTradeMyBidInfos:
  11584. get:
  11585. parameters:
  11586. - description: 资金账户
  11587. in: query
  11588. name: accountid
  11589. required: true
  11590. type: integer
  11591. - description: 预售市场ID
  11592. in: query
  11593. name: marketid
  11594. type: integer
  11595. - description: 预售商品ID
  11596. in: query
  11597. name: goodsid
  11598. type: integer
  11599. produces:
  11600. - application/json
  11601. responses:
  11602. "200":
  11603. description: OK
  11604. schema:
  11605. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  11606. "500":
  11607. description: Internal Server Error
  11608. schema:
  11609. $ref: '#/definitions/app.Response'
  11610. security:
  11611. - ApiKeyAuth: []
  11612. summary: 查询产能预售我的出价信息
  11613. tags:
  11614. - 产能预售
  11615. /CPTrade/QueryCPTradeOrderDetail:
  11616. get:
  11617. parameters:
  11618. - description: 预售商品ID
  11619. in: query
  11620. name: goodsid
  11621. type: integer
  11622. - description: 预售市场ID
  11623. in: query
  11624. name: marketid
  11625. type: integer
  11626. - description: 预售商品ID列表 - 格式:1,2,3
  11627. in: query
  11628. name: goodsids
  11629. type: string
  11630. produces:
  11631. - application/json
  11632. responses:
  11633. "200":
  11634. description: OK
  11635. schema:
  11636. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  11637. "500":
  11638. description: Internal Server Error
  11639. schema:
  11640. $ref: '#/definitions/app.Response'
  11641. security:
  11642. - ApiKeyAuth: []
  11643. summary: 查询产能预售委托单信息
  11644. tags:
  11645. - 产能预售
  11646. /CPTrade/QueryMyCPTradeGoods:
  11647. get:
  11648. parameters:
  11649. - description: 资金账户
  11650. in: query
  11651. name: accountid
  11652. required: true
  11653. type: integer
  11654. produces:
  11655. - application/json
  11656. responses:
  11657. "200":
  11658. description: OK
  11659. schema:
  11660. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  11661. "500":
  11662. description: Internal Server Error
  11663. schema:
  11664. $ref: '#/definitions/app.Response'
  11665. security:
  11666. - ApiKeyAuth: []
  11667. summary: 查询我的预售信息
  11668. tags:
  11669. - 产能预售
  11670. /CPTrade/QueryPositionCancel:
  11671. get:
  11672. parameters:
  11673. - description: 账户ID
  11674. in: query
  11675. name: userid
  11676. required: true
  11677. type: integer
  11678. - description: 注销ID
  11679. in: query
  11680. name: cancelid
  11681. type: integer
  11682. - description: 资金账户ID
  11683. in: query
  11684. name: accountid
  11685. type: integer
  11686. produces:
  11687. - application/json
  11688. responses:
  11689. "200":
  11690. description: OK
  11691. schema:
  11692. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  11693. "500":
  11694. description: Internal Server Error
  11695. schema:
  11696. $ref: '#/definitions/app.Response'
  11697. security:
  11698. - ApiKeyAuth: []
  11699. summary: 查询远期订单注销申请信息
  11700. tags:
  11701. - 产能预售
  11702. /CPTrade/QueryPreasleApply:
  11703. get:
  11704. parameters:
  11705. - description: 账户ID
  11706. in: query
  11707. name: userid
  11708. required: true
  11709. type: integer
  11710. - description: 申请ID
  11711. in: query
  11712. name: applyid
  11713. type: integer
  11714. - description: 资金账户ID
  11715. in: query
  11716. name: accountid
  11717. type: integer
  11718. produces:
  11719. - application/json
  11720. responses:
  11721. "200":
  11722. description: OK
  11723. schema:
  11724. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  11725. "500":
  11726. description: Internal Server Error
  11727. schema:
  11728. $ref: '#/definitions/app.Response'
  11729. security:
  11730. - ApiKeyAuth: []
  11731. summary: 查询产能预售申请信息
  11732. tags:
  11733. - 产能预售
  11734. /CPTrade/QueryPresaleGoodsEx:
  11735. get:
  11736. parameters:
  11737. - description: 预售商品ID
  11738. in: query
  11739. name: goodsid
  11740. type: integer
  11741. - description: 预售市场ID
  11742. in: query
  11743. name: marketid
  11744. type: integer
  11745. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  11746. in: query
  11747. name: presalemode
  11748. type: integer
  11749. - description: 预售商品ID列表 - 格式:1,2,3
  11750. in: query
  11751. name: goodsids
  11752. type: string
  11753. - description: 预售商品代码
  11754. in: query
  11755. name: goodscode
  11756. type: string
  11757. produces:
  11758. - application/json
  11759. responses:
  11760. "200":
  11761. description: OK
  11762. schema:
  11763. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  11764. "500":
  11765. description: Internal Server Error
  11766. schema:
  11767. $ref: '#/definitions/app.Response'
  11768. security:
  11769. - ApiKeyAuth: []
  11770. summary: 查询产能预售商品扩展信息
  11771. tags:
  11772. - 产能预售
  11773. /CPTrade/QueryUserGoodsData:
  11774. get:
  11775. parameters:
  11776. - description: 资金账户ID
  11777. in: query
  11778. name: accountid
  11779. required: true
  11780. type: integer
  11781. produces:
  11782. - application/json
  11783. responses:
  11784. "200":
  11785. description: OK
  11786. schema:
  11787. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  11788. "500":
  11789. description: Internal Server Error
  11790. schema:
  11791. $ref: '#/definitions/app.Response'
  11792. security:
  11793. - ApiKeyAuth: []
  11794. summary: 查询远期订单信息
  11795. tags:
  11796. - 产能预售
  11797. /Common/GetAllEnums:
  11798. get:
  11799. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  11800. parameters:
  11801. - description: 起始自增ID
  11802. in: query
  11803. name: autoid
  11804. type: integer
  11805. produces:
  11806. - application/json
  11807. responses:
  11808. "200":
  11809. description: OK
  11810. schema:
  11811. $ref: '#/definitions/models.Enumdicitem'
  11812. "500":
  11813. description: Internal Server Error
  11814. schema:
  11815. $ref: '#/definitions/app.Response'
  11816. summary: 获取所有枚举信息
  11817. tags:
  11818. - 通用服务
  11819. /Common/GetClientMenus:
  11820. get:
  11821. parameters:
  11822. - description: 登录账号
  11823. in: query
  11824. name: loginID
  11825. required: true
  11826. type: integer
  11827. - description: 终端类型,0:PC 1:Mobile
  11828. in: query
  11829. name: clientType
  11830. type: integer
  11831. produces:
  11832. - application/json
  11833. responses:
  11834. "200":
  11835. description: OK
  11836. schema:
  11837. items:
  11838. $ref: '#/definitions/common.ClientMenu'
  11839. type: array
  11840. "500":
  11841. description: Internal Server Error
  11842. schema:
  11843. $ref: '#/definitions/app.Response'
  11844. security:
  11845. - ApiKeyAuth: []
  11846. summary: 获取交易端菜单
  11847. tags:
  11848. - 通用服务
  11849. /Common/GetDivisions:
  11850. get:
  11851. produces:
  11852. - application/json
  11853. responses:
  11854. "200":
  11855. description: OK
  11856. schema:
  11857. $ref: '#/definitions/models.Division'
  11858. "500":
  11859. description: Internal Server Error
  11860. schema:
  11861. $ref: '#/definitions/app.Response'
  11862. summary: 查询区域信息
  11863. tags:
  11864. - 通用服务
  11865. /Common/GetServerTime:
  11866. get:
  11867. produces:
  11868. - application/json
  11869. responses:
  11870. "200":
  11871. description: OK
  11872. schema:
  11873. $ref: '#/definitions/app.Response'
  11874. "500":
  11875. description: Internal Server Error
  11876. schema:
  11877. $ref: '#/definitions/app.Response'
  11878. summary: 获取服务器时间
  11879. tags:
  11880. - 通用服务
  11881. /Common/NoticeReaded:
  11882. post:
  11883. parameters:
  11884. - description: 登录账号
  11885. in: query
  11886. name: loginID
  11887. required: true
  11888. type: integer
  11889. - description: 通知公告ID
  11890. in: query
  11891. name: noticeID
  11892. required: true
  11893. type: integer
  11894. produces:
  11895. - application/json
  11896. responses:
  11897. "200":
  11898. description: OK
  11899. schema:
  11900. $ref: '#/definitions/app.Response'
  11901. "500":
  11902. description: Internal Server Error
  11903. schema:
  11904. $ref: '#/definitions/app.Response'
  11905. security:
  11906. - ApiKeyAuth: []
  11907. summary: 通知公告设置已读请求
  11908. tags:
  11909. - 通用服务
  11910. /Common/QueryErrorInfos:
  11911. get:
  11912. description: 如果传入rowNumber,则返回此rowNumber后的数据
  11913. parameters:
  11914. - description: 起始行号前索引
  11915. in: query
  11916. name: rowNumber
  11917. type: string
  11918. produces:
  11919. - application/json
  11920. responses:
  11921. "200":
  11922. description: OK
  11923. schema:
  11924. $ref: '#/definitions/models.QueryErrorInfosRsp'
  11925. "500":
  11926. description: Internal Server Error
  11927. schema:
  11928. $ref: '#/definitions/app.Response'
  11929. summary: 获取数据库错误信息
  11930. tags:
  11931. - 通用服务
  11932. /Common/QueryImageConfigs:
  11933. get:
  11934. parameters:
  11935. - description: 类型 - 1:App首页轮播 2:我的
  11936. in: query
  11937. name: imageType
  11938. type: integer
  11939. produces:
  11940. - application/json
  11941. responses:
  11942. "200":
  11943. description: OK
  11944. schema:
  11945. $ref: '#/definitions/common.QueryImageConfigsRsp'
  11946. "500":
  11947. description: Internal Server Error
  11948. schema:
  11949. $ref: '#/definitions/app.Response'
  11950. summary: 查询轮播图配置信息
  11951. tags:
  11952. - 通用服务
  11953. /Common/QueryNotice:
  11954. get:
  11955. parameters:
  11956. - description: 页码
  11957. in: query
  11958. name: page
  11959. type: integer
  11960. - description: 每页条数
  11961. in: query
  11962. name: pagesize
  11963. type: integer
  11964. - description: 登录账号
  11965. in: query
  11966. name: loginID
  11967. required: true
  11968. type: integer
  11969. - description: 消息类型 - 1:公告通知 2:系统消息
  11970. in: query
  11971. name: msgType
  11972. type: integer
  11973. - description: 是否只获取未读信息
  11974. in: query
  11975. name: onlyUnRead
  11976. type: boolean
  11977. - description: 自增ID,传入后会返回这个ID后面的记录
  11978. in: query
  11979. name: lastID
  11980. type: integer
  11981. produces:
  11982. - application/json
  11983. responses:
  11984. "200":
  11985. description: OK
  11986. schema:
  11987. $ref: '#/definitions/common.QueryNoticeRsp'
  11988. "500":
  11989. description: Internal Server Error
  11990. schema:
  11991. $ref: '#/definitions/app.Response'
  11992. security:
  11993. - ApiKeyAuth: []
  11994. summary: 通知公告系统消息查询
  11995. tags:
  11996. - 通用服务
  11997. /Common/QueryProvincesAndCities:
  11998. get:
  11999. parameters:
  12000. - description: 省ID
  12001. in: query
  12002. name: provinceID
  12003. type: integer
  12004. produces:
  12005. - application/json
  12006. responses:
  12007. "200":
  12008. description: OK
  12009. schema:
  12010. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  12011. "500":
  12012. description: Internal Server Error
  12013. schema:
  12014. $ref: '#/definitions/app.Response'
  12015. summary: 查询省市信息(不包括区)
  12016. tags:
  12017. - 通用服务
  12018. /Common/QueryTableDefine:
  12019. get:
  12020. parameters:
  12021. - description: 表key
  12022. in: query
  12023. name: tableKey
  12024. type: string
  12025. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  12026. in: query
  12027. name: tableType
  12028. type: integer
  12029. produces:
  12030. - application/json
  12031. responses:
  12032. "200":
  12033. description: OK
  12034. schema:
  12035. $ref: '#/definitions/common.QueryTableDefineRsp'
  12036. "500":
  12037. description: Internal Server Error
  12038. schema:
  12039. $ref: '#/definitions/app.Response'
  12040. summary: 查询交易端列表头信息
  12041. tags:
  12042. - 通用服务
  12043. /Common/QueryTraderMenu:
  12044. get:
  12045. parameters:
  12046. - description: 登录账号
  12047. in: query
  12048. name: loginid
  12049. required: true
  12050. type: integer
  12051. produces:
  12052. - application/json
  12053. responses:
  12054. "200":
  12055. description: OK
  12056. schema:
  12057. $ref: '#/definitions/common.QueryTraderMenuRsp'
  12058. "500":
  12059. description: Internal Server Error
  12060. schema:
  12061. $ref: '#/definitions/app.Response'
  12062. summary: 查询交易端菜单
  12063. tags:
  12064. - 通用服务
  12065. /Delivery/QueryDeliveryRelation:
  12066. get:
  12067. parameters:
  12068. - description: 商品ID
  12069. in: query
  12070. name: goodsid
  12071. type: integer
  12072. - description: 品种ID
  12073. in: query
  12074. name: deliverygoodsid
  12075. type: integer
  12076. - description: 市场ID
  12077. in: query
  12078. name: marketid
  12079. type: integer
  12080. produces:
  12081. - application/json
  12082. responses:
  12083. "200":
  12084. description: OK
  12085. schema:
  12086. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  12087. "500":
  12088. description: Internal Server Error
  12089. schema:
  12090. $ref: '#/definitions/app.Response'
  12091. security:
  12092. - ApiKeyAuth: []
  12093. summary: 查询商品交割关系表
  12094. tags:
  12095. - 交割服务
  12096. /Ermcp/GetErmcpGoods:
  12097. get:
  12098. parameters:
  12099. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  12100. in: query
  12101. name: lastUpdateTime
  12102. type: string
  12103. produces:
  12104. - application/json
  12105. responses:
  12106. "200":
  12107. description: OK
  12108. schema:
  12109. $ref: '#/definitions/models.Goods'
  12110. "500":
  12111. description: Internal Server Error
  12112. schema:
  12113. $ref: '#/definitions/app.Response'
  12114. security:
  12115. - ApiKeyAuth: []
  12116. summary: 查询企业风管期货商品信息
  12117. tags:
  12118. - 企业风险管理(app)
  12119. /Ermcp/GetErmcpGoodsSortByPosition:
  12120. get:
  12121. parameters:
  12122. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  12123. in: query
  12124. name: sortIndex
  12125. type: string
  12126. produces:
  12127. - application/json
  12128. responses:
  12129. "200":
  12130. description: OK
  12131. schema:
  12132. $ref: '#/definitions/models.Goodssortbypreposition'
  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/GetErmcpOutAccountStatus:
  12143. get:
  12144. parameters:
  12145. - description: 登录账号
  12146. in: query
  12147. name: loginID
  12148. required: true
  12149. type: integer
  12150. produces:
  12151. - application/json
  12152. responses:
  12153. "200":
  12154. description: OK
  12155. schema:
  12156. $ref: '#/definitions/models.Hedgemarketopenlog'
  12157. "500":
  12158. description: Internal Server Error
  12159. schema:
  12160. $ref: '#/definitions/app.Response'
  12161. security:
  12162. - ApiKeyAuth: []
  12163. summary: 获取目标登录账号当前对冲账号在线状态
  12164. tags:
  12165. - 企业风险管理(app)
  12166. /Ermcp/GetErmcpRoleFuncMenuLists:
  12167. get:
  12168. parameters:
  12169. - description: 登录账号
  12170. in: query
  12171. name: loginID
  12172. required: true
  12173. type: integer
  12174. produces:
  12175. - application/json
  12176. responses:
  12177. "200":
  12178. description: OK
  12179. schema:
  12180. $ref: '#/definitions/models.Funcmenulist'
  12181. "500":
  12182. description: Internal Server Error
  12183. schema:
  12184. $ref: '#/definitions/app.Response'
  12185. security:
  12186. - ApiKeyAuth: []
  12187. summary: 获取企业风管终端权限
  12188. tags:
  12189. - 企业风险管理(app)
  12190. /Ermcp/QueryAccMgrBizGroupSet:
  12191. get:
  12192. parameters:
  12193. - description: 用户ID
  12194. in: query
  12195. name: userid
  12196. required: true
  12197. type: integer
  12198. - description: 现货商品id
  12199. in: query
  12200. name: deliverygoodsid
  12201. type: integer
  12202. produces:
  12203. - application/json
  12204. responses:
  12205. "200":
  12206. description: OK
  12207. schema:
  12208. items:
  12209. $ref: '#/definitions/models.ErmcpBizGroupEx'
  12210. type: array
  12211. "500":
  12212. description: Internal Server Error
  12213. schema:
  12214. $ref: '#/definitions/app.Response'
  12215. security:
  12216. - ApiKeyAuth: []
  12217. summary: 查询业务类型分组(账户管理/账户设置)
  12218. tags:
  12219. - 企业风险管理(app)
  12220. /Ermcp/QueryAccMgrLoginUser:
  12221. get:
  12222. parameters:
  12223. - description: 用户ID
  12224. in: query
  12225. name: userid
  12226. required: true
  12227. type: integer
  12228. - description: 用户类型 2-机构 7-企业成员
  12229. in: query
  12230. name: usertype
  12231. type: integer
  12232. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  12233. in: query
  12234. name: querytype
  12235. required: true
  12236. type: integer
  12237. produces:
  12238. - application/json
  12239. responses:
  12240. "200":
  12241. description: OK
  12242. schema:
  12243. items:
  12244. $ref: '#/definitions/models.ErmcpLoginUserEx'
  12245. type: array
  12246. "500":
  12247. description: Internal Server Error
  12248. schema:
  12249. $ref: '#/definitions/app.Response'
  12250. security:
  12251. - ApiKeyAuth: []
  12252. summary: 查询账户管理登录账号(账户管理/登录账号)
  12253. tags:
  12254. - 企业风险管理(app)
  12255. /Ermcp/QueryAccMgrMainAccountInfo:
  12256. get:
  12257. parameters:
  12258. - description: 用户ID
  12259. in: query
  12260. name: userid
  12261. type: integer
  12262. - description: 主账号id
  12263. in: query
  12264. name: accountid
  12265. type: integer
  12266. produces:
  12267. - application/json
  12268. responses:
  12269. "200":
  12270. description: OK
  12271. schema:
  12272. items:
  12273. $ref: '#/definitions/models.MainAccountInfo'
  12274. type: array
  12275. "500":
  12276. description: Internal Server Error
  12277. schema:
  12278. $ref: '#/definitions/app.Response'
  12279. security:
  12280. - ApiKeyAuth: []
  12281. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  12282. tags:
  12283. - 企业风险管理(app)
  12284. /Ermcp/QueryAccMgrRole:
  12285. get:
  12286. parameters:
  12287. - description: 用户ID
  12288. in: query
  12289. name: userid
  12290. required: true
  12291. type: integer
  12292. produces:
  12293. - application/json
  12294. responses:
  12295. "200":
  12296. description: OK
  12297. schema:
  12298. items:
  12299. $ref: '#/definitions/models.ErmcpRole'
  12300. type: array
  12301. "500":
  12302. description: Internal Server Error
  12303. schema:
  12304. $ref: '#/definitions/app.Response'
  12305. security:
  12306. - ApiKeyAuth: []
  12307. summary: 查询账户管理角色设置(账户管理/角色设置)
  12308. tags:
  12309. - 企业风险管理(app)
  12310. /Ermcp/QueryAccMgrRoleMenu:
  12311. get:
  12312. parameters:
  12313. - description: 用户ID
  12314. in: query
  12315. name: userid
  12316. required: true
  12317. type: integer
  12318. - description: 角色id(可多个,逗号隔开)
  12319. in: query
  12320. name: roleid
  12321. type: string
  12322. produces:
  12323. - application/json
  12324. responses:
  12325. "200":
  12326. description: OK
  12327. schema:
  12328. items:
  12329. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  12330. type: array
  12331. "500":
  12332. description: Internal Server Error
  12333. schema:
  12334. $ref: '#/definitions/app.Response'
  12335. security:
  12336. - ApiKeyAuth: []
  12337. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  12338. tags:
  12339. - 企业风险管理(app)
  12340. /Ermcp/QueryAccMgrTaAccountInfo:
  12341. get:
  12342. parameters:
  12343. - description: 用户ID
  12344. in: query
  12345. name: userid
  12346. required: true
  12347. type: integer
  12348. - description: 账号id
  12349. in: query
  12350. name: accountid
  12351. type: integer
  12352. produces:
  12353. - application/json
  12354. responses:
  12355. "200":
  12356. description: OK
  12357. schema:
  12358. items:
  12359. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  12360. type: array
  12361. "500":
  12362. description: Internal Server Error
  12363. schema:
  12364. $ref: '#/definitions/app.Response'
  12365. security:
  12366. - ApiKeyAuth: []
  12367. summary: 查询账户管理授信(账户管理/账户设置/授信)
  12368. tags:
  12369. - 企业风险管理(app)
  12370. /Ermcp/QueryAccMgrTaaccount:
  12371. get:
  12372. parameters:
  12373. - description: 用户ID
  12374. in: query
  12375. name: userid
  12376. required: true
  12377. type: integer
  12378. produces:
  12379. - application/json
  12380. responses:
  12381. "200":
  12382. description: OK
  12383. schema:
  12384. items:
  12385. $ref: '#/definitions/models.ErmcpTaAccountEx'
  12386. type: array
  12387. "500":
  12388. description: Internal Server Error
  12389. schema:
  12390. $ref: '#/definitions/app.Response'
  12391. security:
  12392. - ApiKeyAuth: []
  12393. summary: 查询账户管理期货账号(账户管理/期货账号)
  12394. tags:
  12395. - 企业风险管理(app)
  12396. /Ermcp/QueryAvaildGoodsGroup:
  12397. get:
  12398. parameters:
  12399. - description: 所属机构ID
  12400. in: query
  12401. name: userid
  12402. required: true
  12403. type: integer
  12404. produces:
  12405. - application/json
  12406. responses:
  12407. "200":
  12408. description: OK
  12409. schema:
  12410. items:
  12411. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  12412. type: array
  12413. "500":
  12414. description: Internal Server Error
  12415. schema:
  12416. $ref: '#/definitions/app.Response'
  12417. security:
  12418. - ApiKeyAuth: []
  12419. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  12420. tags:
  12421. - 企业风险管理(app)
  12422. /Ermcp/QueryBusinessDj:
  12423. get:
  12424. parameters:
  12425. - description: 用户ID
  12426. in: query
  12427. name: UserId
  12428. required: true
  12429. type: integer
  12430. - description: 用户类型 2-机构 7-企业成员
  12431. in: query
  12432. name: usertype
  12433. type: integer
  12434. - description: 现货合同ID, 不填则查所有
  12435. in: query
  12436. name: relatedid
  12437. type: string
  12438. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12439. in: query
  12440. name: applystatus
  12441. type: string
  12442. produces:
  12443. - application/json
  12444. responses:
  12445. "200":
  12446. description: OK
  12447. schema:
  12448. items:
  12449. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  12450. type: array
  12451. "500":
  12452. description: Internal Server Error
  12453. schema:
  12454. $ref: '#/definitions/app.Response'
  12455. security:
  12456. - ApiKeyAuth: []
  12457. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  12458. tags:
  12459. - 企业风险管理(app)
  12460. /Ermcp/QueryBusinessFp:
  12461. get:
  12462. parameters:
  12463. - description: 用户ID
  12464. in: query
  12465. name: UserId
  12466. required: true
  12467. type: integer
  12468. - description: 用户类型 2-机构 7-企业成员
  12469. in: query
  12470. name: usertype
  12471. type: integer
  12472. - description: 现货合同ID, 不填则查所有
  12473. in: query
  12474. name: relatedid
  12475. type: string
  12476. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12477. in: query
  12478. name: applystatus
  12479. type: string
  12480. produces:
  12481. - application/json
  12482. responses:
  12483. "200":
  12484. description: OK
  12485. schema:
  12486. items:
  12487. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  12488. type: array
  12489. "500":
  12490. description: Internal Server Error
  12491. schema:
  12492. $ref: '#/definitions/app.Response'
  12493. security:
  12494. - ApiKeyAuth: []
  12495. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  12496. tags:
  12497. - 企业风险管理(app)
  12498. /Ermcp/QueryBusinessJs:
  12499. get:
  12500. parameters:
  12501. - description: 用户ID
  12502. in: query
  12503. name: UserId
  12504. required: true
  12505. type: integer
  12506. - description: 用户类型 2-机构 7-企业成员
  12507. in: query
  12508. name: usertype
  12509. type: integer
  12510. - description: 现货合同ID, 不填则查所有
  12511. in: query
  12512. name: relatedid
  12513. type: string
  12514. - description: 操作申请id
  12515. in: query
  12516. name: operateapplyid
  12517. type: string
  12518. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12519. in: query
  12520. name: applystatus
  12521. type: string
  12522. produces:
  12523. - application/json
  12524. responses:
  12525. "200":
  12526. description: OK
  12527. schema:
  12528. items:
  12529. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  12530. type: array
  12531. "500":
  12532. description: Internal Server Error
  12533. schema:
  12534. $ref: '#/definitions/app.Response'
  12535. security:
  12536. - ApiKeyAuth: []
  12537. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  12538. tags:
  12539. - 企业风险管理(app)
  12540. /Ermcp/QueryBusinessJsEx:
  12541. get:
  12542. parameters:
  12543. - description: 用户ID
  12544. in: query
  12545. name: UserId
  12546. required: true
  12547. type: integer
  12548. - description: 用户类型 2-机构 7-企业成员
  12549. in: query
  12550. name: usertype
  12551. type: integer
  12552. - description: 现货合同ID, 不填则查所有
  12553. in: query
  12554. name: relatedid
  12555. type: string
  12556. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12557. in: query
  12558. name: applystatus
  12559. type: string
  12560. produces:
  12561. - application/json
  12562. responses:
  12563. "200":
  12564. description: OK
  12565. schema:
  12566. items:
  12567. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  12568. type: array
  12569. "500":
  12570. description: Internal Server Error
  12571. schema:
  12572. $ref: '#/definitions/app.Response'
  12573. security:
  12574. - ApiKeyAuth: []
  12575. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  12576. tags:
  12577. - 企业风险管理(app)
  12578. /Ermcp/QueryBusinessKx:
  12579. get:
  12580. parameters:
  12581. - description: 用户ID
  12582. in: query
  12583. name: UserId
  12584. required: true
  12585. type: integer
  12586. - description: 用户类型 2-机构 7-企业成员
  12587. in: query
  12588. name: usertype
  12589. type: integer
  12590. - description: 现货合同ID, 不填则查所有
  12591. in: query
  12592. name: relatedid
  12593. type: string
  12594. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12595. in: query
  12596. name: applystatus
  12597. type: string
  12598. produces:
  12599. - application/json
  12600. responses:
  12601. "200":
  12602. description: OK
  12603. schema:
  12604. items:
  12605. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  12606. type: array
  12607. "500":
  12608. description: Internal Server Error
  12609. schema:
  12610. $ref: '#/definitions/app.Response'
  12611. security:
  12612. - ApiKeyAuth: []
  12613. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  12614. tags:
  12615. - 企业风险管理(app)
  12616. /Ermcp/QueryChangeLog:
  12617. get:
  12618. parameters:
  12619. - description: 合同ID
  12620. in: query
  12621. name: RelatedId
  12622. required: true
  12623. type: string
  12624. produces:
  12625. - application/json
  12626. responses:
  12627. "200":
  12628. description: OK
  12629. schema:
  12630. items:
  12631. $ref: '#/definitions/ermcp.QryOPLogRsp'
  12632. type: array
  12633. "500":
  12634. description: Internal Server Error
  12635. schema:
  12636. $ref: '#/definitions/app.Response'
  12637. security:
  12638. - ApiKeyAuth: []
  12639. summary: 查询变更记录
  12640. tags:
  12641. - 企业风险管理(app)
  12642. /Ermcp/QueryErmcpHisOrderDetails:
  12643. get:
  12644. parameters:
  12645. - description: 资金账户ID
  12646. in: query
  12647. name: accountID
  12648. required: true
  12649. type: integer
  12650. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  12651. in: query
  12652. name: startDate
  12653. type: string
  12654. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  12655. in: query
  12656. name: endDate
  12657. type: string
  12658. produces:
  12659. - application/json
  12660. responses:
  12661. "200":
  12662. description: OK
  12663. schema:
  12664. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  12665. "500":
  12666. description: Internal Server Error
  12667. schema:
  12668. $ref: '#/definitions/app.Response'
  12669. security:
  12670. - ApiKeyAuth: []
  12671. summary: 获取企业风管期货历史委托单信息
  12672. tags:
  12673. - 企业风险管理(app)
  12674. /Ermcp/QueryErmcpHisTradeDetails:
  12675. get:
  12676. parameters:
  12677. - description: 资金账户ID
  12678. in: query
  12679. name: accountID
  12680. required: true
  12681. type: integer
  12682. - description: 商品ID
  12683. in: query
  12684. name: goodsID
  12685. type: integer
  12686. - description: 买卖方向,0:买 1:卖
  12687. in: query
  12688. name: buyOrSell
  12689. type: integer
  12690. - description: 关联委托单号
  12691. in: query
  12692. name: orderID
  12693. type: integer
  12694. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  12695. in: query
  12696. name: startDate
  12697. type: string
  12698. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  12699. in: query
  12700. name: endDate
  12701. type: string
  12702. produces:
  12703. - application/json
  12704. responses:
  12705. "200":
  12706. description: OK
  12707. schema:
  12708. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  12709. "500":
  12710. description: Internal Server Error
  12711. schema:
  12712. $ref: '#/definitions/app.Response'
  12713. security:
  12714. - ApiKeyAuth: []
  12715. summary: 获取企业风管期货历史成交单信息
  12716. tags:
  12717. - 企业风险管理(app)
  12718. /Ermcp/QueryErmcpInnerHolderDetails:
  12719. get:
  12720. parameters:
  12721. - description: 资金账户ID
  12722. in: query
  12723. name: accountID
  12724. required: true
  12725. type: integer
  12726. - description: 商品ID
  12727. in: query
  12728. name: goodsID
  12729. type: integer
  12730. - description: 买卖方向,0:买 1:卖
  12731. in: query
  12732. name: buyOrSell
  12733. type: integer
  12734. produces:
  12735. - application/json
  12736. responses:
  12737. "200":
  12738. description: OK
  12739. schema:
  12740. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  12741. "500":
  12742. description: Internal Server Error
  12743. schema:
  12744. $ref: '#/definitions/app.Response'
  12745. security:
  12746. - ApiKeyAuth: []
  12747. summary: 获取企业风管期货内部持仓单信息
  12748. tags:
  12749. - 企业风险管理(app)
  12750. /Ermcp/QueryErmcpOrderDetails:
  12751. get:
  12752. parameters:
  12753. - description: 资金账户ID
  12754. in: query
  12755. name: accountID
  12756. required: true
  12757. type: integer
  12758. produces:
  12759. - application/json
  12760. responses:
  12761. "200":
  12762. description: OK
  12763. schema:
  12764. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  12765. "500":
  12766. description: Internal Server Error
  12767. schema:
  12768. $ref: '#/definitions/app.Response'
  12769. security:
  12770. - ApiKeyAuth: []
  12771. summary: 获取企业风管期货委托单信息
  12772. tags:
  12773. - 企业风险管理(app)
  12774. /Ermcp/QueryErmcpTradeDetails:
  12775. get:
  12776. parameters:
  12777. - description: 资金账户ID
  12778. in: query
  12779. name: accountID
  12780. required: true
  12781. type: integer
  12782. - description: 商品ID
  12783. in: query
  12784. name: goodsID
  12785. type: integer
  12786. - description: 买卖方向,0:买 1:卖
  12787. in: query
  12788. name: buyOrSell
  12789. type: integer
  12790. - description: 关联委托单号
  12791. in: query
  12792. name: orderID
  12793. type: integer
  12794. produces:
  12795. - application/json
  12796. responses:
  12797. "200":
  12798. description: OK
  12799. schema:
  12800. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  12801. "500":
  12802. description: Internal Server Error
  12803. schema:
  12804. $ref: '#/definitions/app.Response'
  12805. security:
  12806. - ApiKeyAuth: []
  12807. summary: 获取企业风管期货成交单信息
  12808. tags:
  12809. - 企业风险管理(app)
  12810. /Ermcp/QueryErmcpTradePosition:
  12811. get:
  12812. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  12813. parameters:
  12814. - description: 资金账户ID
  12815. in: query
  12816. name: accountID
  12817. required: true
  12818. type: integer
  12819. - description: 所属市场ID
  12820. in: query
  12821. name: marketID
  12822. type: integer
  12823. produces:
  12824. - application/json
  12825. responses:
  12826. "200":
  12827. description: OK
  12828. schema:
  12829. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  12830. "500":
  12831. description: Internal Server Error
  12832. schema:
  12833. $ref: '#/definitions/app.Response'
  12834. security:
  12835. - ApiKeyAuth: []
  12836. summary: 获取企业风管期货持仓头寸信息
  12837. tags:
  12838. - 企业风险管理(app)
  12839. /Ermcp/QueryExposureDetail:
  12840. get:
  12841. parameters:
  12842. - description: 所属机构ID
  12843. in: query
  12844. name: areaUserId
  12845. required: true
  12846. type: integer
  12847. - description: 套保商品
  12848. in: query
  12849. name: middleGoodsId
  12850. required: true
  12851. type: integer
  12852. produces:
  12853. - application/json
  12854. responses:
  12855. "200":
  12856. description: OK
  12857. schema:
  12858. items:
  12859. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  12860. type: array
  12861. "500":
  12862. description: Internal Server Error
  12863. schema:
  12864. $ref: '#/definitions/app.Response'
  12865. security:
  12866. - ApiKeyAuth: []
  12867. summary: 查询敞口现货明细
  12868. tags:
  12869. - 企业风险管理(app)
  12870. /Ermcp/QueryExposureHedgePosition:
  12871. get:
  12872. parameters:
  12873. - description: 用户id
  12874. in: query
  12875. name: userid
  12876. required: true
  12877. type: integer
  12878. produces:
  12879. - application/json
  12880. responses:
  12881. "200":
  12882. description: OK
  12883. schema:
  12884. items:
  12885. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  12886. type: array
  12887. "500":
  12888. description: Internal Server Error
  12889. schema:
  12890. $ref: '#/definitions/app.Response'
  12891. security:
  12892. - ApiKeyAuth: []
  12893. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  12894. tags:
  12895. - 企业风险管理(app)
  12896. /Ermcp/QueryExposureHedgePositionDetail:
  12897. get:
  12898. parameters:
  12899. - description: 所属机构ID
  12900. in: query
  12901. name: userid
  12902. required: true
  12903. type: integer
  12904. - description: 商品id
  12905. in: query
  12906. name: goodsId
  12907. required: true
  12908. type: integer
  12909. produces:
  12910. - application/json
  12911. responses:
  12912. "200":
  12913. description: OK
  12914. schema:
  12915. items:
  12916. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  12917. type: array
  12918. "500":
  12919. description: Internal Server Error
  12920. schema:
  12921. $ref: '#/definitions/app.Response'
  12922. security:
  12923. - ApiKeyAuth: []
  12924. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  12925. tags:
  12926. - 企业风险管理(app)
  12927. /Ermcp/QueryExposureSpot:
  12928. get:
  12929. parameters:
  12930. - description: 所属机构ID
  12931. in: query
  12932. name: areaUserId
  12933. required: true
  12934. type: integer
  12935. produces:
  12936. - application/json
  12937. responses:
  12938. "200":
  12939. description: OK
  12940. schema:
  12941. items:
  12942. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  12943. type: array
  12944. "500":
  12945. description: Internal Server Error
  12946. schema:
  12947. $ref: '#/definitions/app.Response'
  12948. security:
  12949. - ApiKeyAuth: []
  12950. summary: 查询敞口现货头寸(敞口/现货头寸)
  12951. tags:
  12952. - 企业风险管理(app)
  12953. /Ermcp/QueryExposureSpotDetail:
  12954. get:
  12955. parameters:
  12956. - description: 所属机构ID
  12957. in: query
  12958. name: areaUserId
  12959. required: true
  12960. type: integer
  12961. - description: 现货品种ID
  12962. in: query
  12963. name: wrstandardId
  12964. required: true
  12965. type: integer
  12966. produces:
  12967. - application/json
  12968. responses:
  12969. "200":
  12970. description: OK
  12971. schema:
  12972. items:
  12973. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  12974. type: array
  12975. "500":
  12976. description: Internal Server Error
  12977. schema:
  12978. $ref: '#/definitions/app.Response'
  12979. security:
  12980. - ApiKeyAuth: []
  12981. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  12982. tags:
  12983. - 企业风险管理(app)
  12984. /Ermcp/QueryFuturesCompany:
  12985. get:
  12986. produces:
  12987. - application/json
  12988. responses:
  12989. "200":
  12990. description: OK
  12991. schema:
  12992. items:
  12993. $ref: '#/definitions/models.ErmcpFuturesCompany'
  12994. type: array
  12995. "500":
  12996. description: Internal Server Error
  12997. schema:
  12998. $ref: '#/definitions/app.Response'
  12999. security:
  13000. - ApiKeyAuth: []
  13001. summary: 查询期货公司
  13002. tags:
  13003. - 企业风险管理(app)
  13004. /Ermcp/QueryGGConvertConfig:
  13005. get:
  13006. parameters:
  13007. - description: 品种id(不填则查所有)
  13008. in: query
  13009. name: goodsgroupid
  13010. type: integer
  13011. produces:
  13012. - application/json
  13013. responses:
  13014. "200":
  13015. description: OK
  13016. schema:
  13017. items:
  13018. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  13019. type: array
  13020. "500":
  13021. description: Internal Server Error
  13022. schema:
  13023. $ref: '#/definitions/app.Response'
  13024. security:
  13025. - ApiKeyAuth: []
  13026. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  13027. tags:
  13028. - 企业风险管理(app)
  13029. /Ermcp/QueryGoodsBrand:
  13030. get:
  13031. parameters:
  13032. - description: 用户ID
  13033. in: query
  13034. name: userid
  13035. required: true
  13036. type: integer
  13037. - description: 现货商品ID
  13038. in: query
  13039. name: wrstandardid
  13040. type: integer
  13041. produces:
  13042. - application/json
  13043. responses:
  13044. "200":
  13045. description: OK
  13046. schema:
  13047. items:
  13048. $ref: '#/definitions/models.ErmcpGoodsBrand'
  13049. type: array
  13050. "500":
  13051. description: Internal Server Error
  13052. schema:
  13053. $ref: '#/definitions/app.Response'
  13054. security:
  13055. - ApiKeyAuth: []
  13056. summary: 查询商品品牌
  13057. tags:
  13058. - 企业风险管理(app)
  13059. /Ermcp/QueryGoodsModel:
  13060. get:
  13061. parameters:
  13062. - description: 用户ID
  13063. in: query
  13064. name: userid
  13065. required: true
  13066. type: integer
  13067. produces:
  13068. - application/json
  13069. responses:
  13070. "200":
  13071. description: OK
  13072. schema:
  13073. items:
  13074. $ref: '#/definitions/models.ErmcpGoodsModel'
  13075. type: array
  13076. "500":
  13077. description: Internal Server Error
  13078. schema:
  13079. $ref: '#/definitions/app.Response'
  13080. security:
  13081. - ApiKeyAuth: []
  13082. summary: 查询商品型号
  13083. tags:
  13084. - 企业风险管理(app)
  13085. /Ermcp/QueryHisExposure:
  13086. get:
  13087. parameters:
  13088. - description: 用户id
  13089. in: query
  13090. name: userid
  13091. required: true
  13092. type: integer
  13093. - description: 每个品种记录数
  13094. in: query
  13095. name: lastNum
  13096. required: true
  13097. type: integer
  13098. produces:
  13099. - application/json
  13100. responses:
  13101. "200":
  13102. description: OK
  13103. schema:
  13104. items:
  13105. $ref: '#/definitions/ermcp.HisExposureRsp'
  13106. type: array
  13107. "500":
  13108. description: Internal Server Error
  13109. schema:
  13110. $ref: '#/definitions/app.Response'
  13111. security:
  13112. - ApiKeyAuth: []
  13113. summary: 查询历史敞口(菜单:敞口/历史敞口)
  13114. tags:
  13115. - 企业风险管理(app)
  13116. /Ermcp/QueryMiddleGoods:
  13117. get:
  13118. parameters:
  13119. - description: 所属机构ID
  13120. in: query
  13121. name: userid
  13122. required: true
  13123. type: integer
  13124. - description: 状态 0-停用 1-正常
  13125. in: query
  13126. name: status
  13127. required: true
  13128. type: integer
  13129. produces:
  13130. - application/json
  13131. responses:
  13132. "200":
  13133. description: OK
  13134. schema:
  13135. items:
  13136. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  13137. type: array
  13138. "500":
  13139. description: Internal Server Error
  13140. schema:
  13141. $ref: '#/definitions/app.Response'
  13142. security:
  13143. - ApiKeyAuth: []
  13144. summary: 查询套保品种(菜单:套保品种)
  13145. tags:
  13146. - 企业风险管理(app)
  13147. /Ermcp/QueryMiddleGoodsChangeLog:
  13148. get:
  13149. parameters:
  13150. - description: 所属机构ID
  13151. in: query
  13152. name: userid
  13153. required: true
  13154. type: integer
  13155. - description: 套保品种id
  13156. in: query
  13157. name: middlegoodsid
  13158. required: true
  13159. type: integer
  13160. produces:
  13161. - application/json
  13162. responses:
  13163. "200":
  13164. description: OK
  13165. schema:
  13166. items:
  13167. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  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. - 企业风险管理(app)
  13178. /Ermcp/QueryMiddleGoodsDetail:
  13179. get:
  13180. parameters:
  13181. - description: 所属机构ID
  13182. in: query
  13183. name: userid
  13184. required: true
  13185. type: integer
  13186. - description: 套保品种id
  13187. in: query
  13188. name: middlegoodsid
  13189. type: integer
  13190. produces:
  13191. - application/json
  13192. responses:
  13193. "200":
  13194. description: OK
  13195. schema:
  13196. items:
  13197. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  13198. type: array
  13199. "500":
  13200. description: Internal Server Error
  13201. schema:
  13202. $ref: '#/definitions/app.Response'
  13203. security:
  13204. - ApiKeyAuth: []
  13205. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  13206. tags:
  13207. - 企业风险管理(app)
  13208. /Ermcp/QueryPendingAuditInfo:
  13209. get:
  13210. parameters:
  13211. - description: 用户ID
  13212. in: query
  13213. name: UserId
  13214. required: true
  13215. type: integer
  13216. produces:
  13217. - application/json
  13218. responses:
  13219. "200":
  13220. description: OK
  13221. schema:
  13222. items:
  13223. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  13224. type: array
  13225. "500":
  13226. description: Internal Server Error
  13227. schema:
  13228. $ref: '#/definitions/app.Response'
  13229. security:
  13230. - ApiKeyAuth: []
  13231. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  13232. tags:
  13233. - 企业风险管理(app)
  13234. /Ermcp/QueryRealtimeExposure:
  13235. get:
  13236. parameters:
  13237. - description: 所属机构ID
  13238. in: query
  13239. name: userid
  13240. required: true
  13241. type: integer
  13242. produces:
  13243. - application/json
  13244. responses:
  13245. "200":
  13246. description: OK
  13247. schema:
  13248. items:
  13249. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  13250. type: array
  13251. "500":
  13252. description: Internal Server Error
  13253. schema:
  13254. $ref: '#/definitions/app.Response'
  13255. security:
  13256. - ApiKeyAuth: []
  13257. summary: 查询实时敞口
  13258. tags:
  13259. - 企业风险管理(app)
  13260. /Ermcp/QueryRealtimeExposurePosition:
  13261. get:
  13262. parameters:
  13263. - description: 用户id
  13264. in: query
  13265. name: userid
  13266. required: true
  13267. type: integer
  13268. - description: 套保商品ID
  13269. in: query
  13270. name: middleGoodsId
  13271. required: true
  13272. type: integer
  13273. produces:
  13274. - application/json
  13275. responses:
  13276. "200":
  13277. description: OK
  13278. schema:
  13279. items:
  13280. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  13281. type: array
  13282. "500":
  13283. description: Internal Server Error
  13284. schema:
  13285. $ref: '#/definitions/app.Response'
  13286. security:
  13287. - ApiKeyAuth: []
  13288. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  13289. tags:
  13290. - 企业风险管理(app)
  13291. /Ermcp/QueryTradeConfigTMP:
  13292. get:
  13293. parameters:
  13294. - description: 所属机构id
  13295. in: query
  13296. name: areauserid
  13297. type: integer
  13298. produces:
  13299. - application/json
  13300. responses:
  13301. "200":
  13302. description: OK
  13303. schema:
  13304. items:
  13305. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  13306. type: array
  13307. "500":
  13308. description: Internal Server Error
  13309. schema:
  13310. $ref: '#/definitions/app.Response'
  13311. security:
  13312. - ApiKeyAuth: []
  13313. summary: 查询交易模板配置
  13314. tags:
  13315. - 企业风险管理(app)
  13316. /Ermcp/QueryUserInfo:
  13317. get:
  13318. parameters:
  13319. - description: 所属机构用户ID
  13320. in: query
  13321. name: MemberUserID
  13322. required: true
  13323. type: integer
  13324. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  13325. in: query
  13326. name: queryType
  13327. required: true
  13328. type: integer
  13329. produces:
  13330. - application/json
  13331. responses:
  13332. "200":
  13333. description: OK
  13334. schema:
  13335. items:
  13336. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  13337. type: array
  13338. "500":
  13339. description: Internal Server Error
  13340. schema:
  13341. $ref: '#/definitions/app.Response'
  13342. security:
  13343. - ApiKeyAuth: []
  13344. summary: 查询客户资料
  13345. tags:
  13346. - 企业风险管理(app)
  13347. /Ermcp/QueryWarehouseInfo:
  13348. get:
  13349. parameters:
  13350. - description: 用户ID
  13351. in: query
  13352. name: userid
  13353. required: true
  13354. type: integer
  13355. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  13356. in: query
  13357. name: status
  13358. type: string
  13359. produces:
  13360. - application/json
  13361. responses:
  13362. "200":
  13363. description: OK
  13364. schema:
  13365. items:
  13366. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  13367. type: array
  13368. "500":
  13369. description: Internal Server Error
  13370. schema:
  13371. $ref: '#/definitions/app.Response'
  13372. security:
  13373. - ApiKeyAuth: []
  13374. summary: 查询仓库信息
  13375. tags:
  13376. - 企业风险管理(app)
  13377. /Ermcp3/QryAreaExpourseContractDetail:
  13378. get:
  13379. parameters:
  13380. - description: 用户ID
  13381. in: query
  13382. name: userid
  13383. required: true
  13384. type: integer
  13385. - description: 套保商品id
  13386. in: query
  13387. name: middlegoodsid
  13388. required: true
  13389. type: integer
  13390. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13391. in: query
  13392. name: cycletype
  13393. required: true
  13394. type: integer
  13395. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  13396. 全(0)【原值】
  13397. in: query
  13398. name: cycletime
  13399. required: true
  13400. type: string
  13401. produces:
  13402. - application/json
  13403. responses:
  13404. "200":
  13405. description: OK
  13406. schema:
  13407. items:
  13408. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  13409. type: array
  13410. "500":
  13411. description: Internal Server Error
  13412. schema:
  13413. $ref: '#/definitions/app.Response'
  13414. security:
  13415. - ApiKeyAuth: []
  13416. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  13417. tags:
  13418. - 企业风险管理v3(app)
  13419. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  13420. get:
  13421. parameters:
  13422. - description: 用户ID
  13423. in: query
  13424. name: userid
  13425. required: true
  13426. type: integer
  13427. - description: 套保商品id
  13428. in: query
  13429. name: middlegoodsid
  13430. required: true
  13431. type: integer
  13432. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13433. in: query
  13434. name: cycletype
  13435. required: true
  13436. type: integer
  13437. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  13438. 全(0)【原值】
  13439. in: query
  13440. name: cycletime
  13441. required: true
  13442. type: string
  13443. produces:
  13444. - application/json
  13445. responses:
  13446. "200":
  13447. description: OK
  13448. schema:
  13449. items:
  13450. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  13451. type: array
  13452. "500":
  13453. description: Internal Server Error
  13454. schema:
  13455. $ref: '#/definitions/app.Response'
  13456. security:
  13457. - ApiKeyAuth: []
  13458. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  13459. tags:
  13460. - 企业风险管理v3(app)
  13461. /Ermcp3/QryAreaExpourseReport:
  13462. get:
  13463. parameters:
  13464. - description: 用户ID
  13465. in: query
  13466. name: userid
  13467. required: true
  13468. type: integer
  13469. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  13470. in: query
  13471. name: querytype
  13472. required: true
  13473. type: integer
  13474. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13475. in: query
  13476. name: cycletype
  13477. required: true
  13478. type: integer
  13479. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  13480. 全(0)【原值】
  13481. in: query
  13482. name: cycletime
  13483. required: true
  13484. type: string
  13485. produces:
  13486. - application/json
  13487. responses:
  13488. "200":
  13489. description: OK
  13490. schema:
  13491. items:
  13492. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  13493. type: array
  13494. "500":
  13495. description: Internal Server Error
  13496. schema:
  13497. $ref: '#/definitions/app.Response'
  13498. security:
  13499. - ApiKeyAuth: []
  13500. summary: 查询敞口报表
  13501. tags:
  13502. - 企业风险管理v3(app)
  13503. /Ermcp3/QryAreaSpotplReport:
  13504. get:
  13505. parameters:
  13506. - description: 用户ID
  13507. in: query
  13508. name: userid
  13509. required: true
  13510. type: integer
  13511. - description: 查询类型 1-报表 2-报表明细
  13512. in: query
  13513. name: querytype
  13514. required: true
  13515. type: integer
  13516. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13517. in: query
  13518. name: cycletype
  13519. required: true
  13520. type: integer
  13521. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  13522. 全(0)【原值】
  13523. in: query
  13524. name: cycletime
  13525. required: true
  13526. type: string
  13527. - description: 现货品种id(明细必填)
  13528. in: query
  13529. name: deliverygoodsid
  13530. type: integer
  13531. - description: 品类id(明细必填)
  13532. in: query
  13533. name: wrstandardid
  13534. type: integer
  13535. - description: 币种id(明细必填)
  13536. in: query
  13537. name: currencyid
  13538. type: integer
  13539. produces:
  13540. - application/json
  13541. responses:
  13542. "200":
  13543. description: OK
  13544. schema:
  13545. items:
  13546. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  13547. type: array
  13548. "500":
  13549. description: Internal Server Error
  13550. schema:
  13551. $ref: '#/definitions/app.Response'
  13552. security:
  13553. - ApiKeyAuth: []
  13554. summary: 查询现货报表
  13555. tags:
  13556. - 企业风险管理v3(app)
  13557. /Ermcp3/QryAreaStockReport:
  13558. get:
  13559. parameters:
  13560. - description: 用户ID
  13561. in: query
  13562. name: userid
  13563. required: true
  13564. type: integer
  13565. - description: 查询类型 1-报表 2-报表明细
  13566. in: query
  13567. name: querytype
  13568. required: true
  13569. type: integer
  13570. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13571. in: query
  13572. name: cycletype
  13573. required: true
  13574. type: integer
  13575. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  13576. 全(0)【原值】
  13577. in: query
  13578. name: cycletime
  13579. required: true
  13580. type: string
  13581. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  13582. in: query
  13583. name: sumfields
  13584. type: string
  13585. - description: 品种ID
  13586. in: query
  13587. name: deliverygoodsid
  13588. type: integer
  13589. - description: 品类ID
  13590. in: query
  13591. name: wrstandardid
  13592. type: integer
  13593. - description: 品牌ID
  13594. in: query
  13595. name: spotgoodsbrandid
  13596. type: integer
  13597. - description: 仓库ID
  13598. in: query
  13599. name: warehouseinfoid
  13600. type: integer
  13601. produces:
  13602. - application/json
  13603. responses:
  13604. "200":
  13605. description: OK
  13606. schema:
  13607. items:
  13608. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  13609. type: array
  13610. "500":
  13611. description: Internal Server Error
  13612. schema:
  13613. $ref: '#/definitions/app.Response'
  13614. security:
  13615. - ApiKeyAuth: []
  13616. summary: 查询库存报表
  13617. tags:
  13618. - 企业风险管理v3(app)
  13619. /Ermcp3/QryAreaSumPL:
  13620. get:
  13621. parameters:
  13622. - description: 用户ID
  13623. in: query
  13624. name: userid
  13625. required: true
  13626. type: integer
  13627. - description: 查询类型 1-报表 2-报表明细
  13628. in: query
  13629. name: querytype
  13630. required: true
  13631. type: integer
  13632. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13633. in: query
  13634. name: cycletype
  13635. required: true
  13636. type: integer
  13637. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  13638. 全(0)【原值】
  13639. in: query
  13640. name: cycletime
  13641. required: true
  13642. type: string
  13643. - description: 币种id(明细必填)
  13644. in: query
  13645. name: currencyid
  13646. type: integer
  13647. produces:
  13648. - application/json
  13649. responses:
  13650. "200":
  13651. description: OK
  13652. schema:
  13653. items:
  13654. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  13655. type: array
  13656. "500":
  13657. description: Internal Server Error
  13658. schema:
  13659. $ref: '#/definitions/app.Response'
  13660. security:
  13661. - ApiKeyAuth: []
  13662. summary: 查询汇总损益表
  13663. tags:
  13664. - 企业风险管理v3(app)
  13665. /Ermcp3/QryFinanceReport:
  13666. get:
  13667. parameters:
  13668. - description: 用户ID
  13669. in: query
  13670. name: userid
  13671. required: true
  13672. type: integer
  13673. - description: 查询类型 1-报表 2-报表明细
  13674. in: query
  13675. name: querytype
  13676. required: true
  13677. type: integer
  13678. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13679. in: query
  13680. name: cycletype
  13681. required: true
  13682. type: integer
  13683. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  13684. 全(0)【原值】
  13685. in: query
  13686. name: cycletime
  13687. required: true
  13688. type: string
  13689. - description: 币种id(日报表明细)
  13690. in: query
  13691. name: currencyid
  13692. type: integer
  13693. produces:
  13694. - application/json
  13695. responses:
  13696. "200":
  13697. description: OK
  13698. schema:
  13699. items:
  13700. $ref: '#/definitions/models.Ermcp3FinanceReport'
  13701. type: array
  13702. "500":
  13703. description: Internal Server Error
  13704. schema:
  13705. $ref: '#/definitions/app.Response'
  13706. security:
  13707. - ApiKeyAuth: []
  13708. summary: 查询财务报表
  13709. tags:
  13710. - 企业风险管理v3(app)
  13711. /Ermcp3/QueryAreaStock:
  13712. get:
  13713. parameters:
  13714. - description: 用户ID
  13715. in: query
  13716. name: userid
  13717. required: true
  13718. type: integer
  13719. produces:
  13720. - application/json
  13721. responses:
  13722. "200":
  13723. description: OK
  13724. schema:
  13725. items:
  13726. $ref: '#/definitions/models.Ermcp3AreaStock'
  13727. type: array
  13728. "500":
  13729. description: Internal Server Error
  13730. schema:
  13731. $ref: '#/definitions/app.Response'
  13732. security:
  13733. - ApiKeyAuth: []
  13734. summary: 查询机构库存(库存管理/当前库存)
  13735. tags:
  13736. - 企业风险管理v3(app)
  13737. /Ermcp3/QueryAreaStockApply:
  13738. get:
  13739. parameters:
  13740. - description: 用户ID
  13741. in: query
  13742. name: userid
  13743. required: true
  13744. type: integer
  13745. - description: 用户类型 2-机构 7-企业成员
  13746. in: query
  13747. name: usertype
  13748. type: integer
  13749. - description: 现货商品ID
  13750. in: query
  13751. name: deliverygoodsid
  13752. type: integer
  13753. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  13754. in: query
  13755. name: inouttype
  13756. type: string
  13757. - description: 合同ID
  13758. in: query
  13759. name: spotcontractid
  13760. type: integer
  13761. - description: 品类ID
  13762. in: query
  13763. name: wrstandardid
  13764. type: integer
  13765. - description: 品牌ID
  13766. in: query
  13767. name: spotgoodsbrandid
  13768. type: integer
  13769. - description: 仓库ID
  13770. in: query
  13771. name: warehouseinfoid
  13772. type: integer
  13773. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13774. in: query
  13775. name: applystatus
  13776. type: string
  13777. produces:
  13778. - application/json
  13779. responses:
  13780. "200":
  13781. description: OK
  13782. schema:
  13783. items:
  13784. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  13785. type: array
  13786. "500":
  13787. description: Internal Server Error
  13788. schema:
  13789. $ref: '#/definitions/app.Response'
  13790. security:
  13791. - ApiKeyAuth: []
  13792. summary: 查询库存申请(出入库记录|库存审核)
  13793. tags:
  13794. - 企业风险管理v3(app)
  13795. /Ermcp3/QueryAreaStockApplySum:
  13796. get:
  13797. parameters:
  13798. - description: 合同ID
  13799. in: query
  13800. name: spotcontractid
  13801. type: integer
  13802. produces:
  13803. - application/json
  13804. responses:
  13805. "200":
  13806. description: OK
  13807. schema:
  13808. items:
  13809. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  13810. type: array
  13811. "500":
  13812. description: Internal Server Error
  13813. schema:
  13814. $ref: '#/definitions/app.Response'
  13815. security:
  13816. - ApiKeyAuth: []
  13817. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  13818. tags:
  13819. - 企业风险管理v3(app)
  13820. /Ermcp3/QueryDGFactoryItem:
  13821. get:
  13822. parameters:
  13823. - description: 用户id
  13824. in: query
  13825. name: userid
  13826. type: integer
  13827. - description: 用户类型 2-机构 7-企业成员
  13828. in: query
  13829. name: usertype
  13830. type: integer
  13831. - description: 选择项ID(SEQ_DGFACTORYITEM)
  13832. in: query
  13833. name: dgfactoryitemid
  13834. type: integer
  13835. - description: 现货品种ID
  13836. in: query
  13837. name: deliverygoodsid
  13838. type: integer
  13839. - description: 要素项类型
  13840. in: query
  13841. name: dgfactoryitemtypeid
  13842. type: integer
  13843. - description: 顺序
  13844. in: query
  13845. name: orderindex
  13846. type: integer
  13847. produces:
  13848. - application/json
  13849. responses:
  13850. "200":
  13851. description: OK
  13852. schema:
  13853. items:
  13854. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  13855. type: array
  13856. "500":
  13857. description: Internal Server Error
  13858. schema:
  13859. $ref: '#/definitions/app.Response'
  13860. security:
  13861. - ApiKeyAuth: []
  13862. summary: 查询品种要素定义项
  13863. tags:
  13864. - 企业风险管理v3(app)
  13865. /Ermcp3/QueryDeliveryGoods:
  13866. get:
  13867. parameters:
  13868. - description: 用户id
  13869. in: query
  13870. name: userid
  13871. required: true
  13872. type: integer
  13873. - description: 用户类型 2-机构 7-企业成员
  13874. in: query
  13875. name: usertype
  13876. type: integer
  13877. - description: 排除已配置的业务类型商品 1-套保 2-套利
  13878. in: query
  13879. name: excludecfg
  13880. type: integer
  13881. produces:
  13882. - application/json
  13883. responses:
  13884. "200":
  13885. description: OK
  13886. schema:
  13887. items:
  13888. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  13889. type: array
  13890. "500":
  13891. description: Internal Server Error
  13892. schema:
  13893. $ref: '#/definitions/app.Response'
  13894. security:
  13895. - ApiKeyAuth: []
  13896. summary: 查询现货商品
  13897. tags:
  13898. - 企业风险管理v3(app)
  13899. /Ermcp3/QueryDeliveryGoodsDetail:
  13900. get:
  13901. parameters:
  13902. - description: 用户id
  13903. in: query
  13904. name: userid
  13905. required: true
  13906. type: integer
  13907. - description: 用户类型 2-机构 7-企业成员
  13908. in: query
  13909. name: usertype
  13910. type: integer
  13911. - description: 现货商品id
  13912. in: query
  13913. name: deliverygoodsid
  13914. type: integer
  13915. produces:
  13916. - application/json
  13917. responses:
  13918. "200":
  13919. description: OK
  13920. schema:
  13921. items:
  13922. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  13923. type: array
  13924. "500":
  13925. description: Internal Server Error
  13926. schema:
  13927. $ref: '#/definitions/app.Response'
  13928. security:
  13929. - ApiKeyAuth: []
  13930. summary: 查询现货商品详情
  13931. tags:
  13932. - 企业风险管理v3(app)
  13933. /Ermcp3/QueryExposureDetail:
  13934. get:
  13935. parameters:
  13936. - description: 用户id
  13937. in: query
  13938. name: userid
  13939. required: true
  13940. type: integer
  13941. - description: 用户类型 2-机构 7-企业成员
  13942. in: query
  13943. name: usertype
  13944. type: integer
  13945. - description: 套保商品
  13946. in: query
  13947. name: middlegoodsid
  13948. required: true
  13949. type: integer
  13950. produces:
  13951. - application/json
  13952. responses:
  13953. "200":
  13954. description: OK
  13955. schema:
  13956. items:
  13957. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  13958. type: array
  13959. "500":
  13960. description: Internal Server Error
  13961. schema:
  13962. $ref: '#/definitions/app.Response'
  13963. security:
  13964. - ApiKeyAuth: []
  13965. summary: 查询敞口现货明细
  13966. tags:
  13967. - 企业风险管理v3(app)
  13968. /Ermcp3/QueryExposureSpot:
  13969. get:
  13970. parameters:
  13971. - description: 用户id
  13972. in: query
  13973. name: userid
  13974. required: true
  13975. type: integer
  13976. - description: 用户类型 2-机构 7-企业成员
  13977. in: query
  13978. name: usertype
  13979. type: integer
  13980. produces:
  13981. - application/json
  13982. responses:
  13983. "200":
  13984. description: OK
  13985. schema:
  13986. items:
  13987. $ref: '#/definitions/models.Ermcp3AreaSpot'
  13988. type: array
  13989. "500":
  13990. description: Internal Server Error
  13991. schema:
  13992. $ref: '#/definitions/app.Response'
  13993. security:
  13994. - ApiKeyAuth: []
  13995. summary: 查询敞口现货头寸(敞口/现货头寸)
  13996. tags:
  13997. - 企业风险管理v3(app)
  13998. /Ermcp3/QueryExposureSpotDetail:
  13999. get:
  14000. parameters:
  14001. - description: 用户id
  14002. in: query
  14003. name: userid
  14004. required: true
  14005. type: integer
  14006. - description: 用户类型 2-机构 7-企业成员
  14007. in: query
  14008. name: usertype
  14009. type: integer
  14010. - description: 现货品种ID
  14011. in: query
  14012. name: deliverygoodsid
  14013. required: true
  14014. type: integer
  14015. produces:
  14016. - application/json
  14017. responses:
  14018. "200":
  14019. description: OK
  14020. schema:
  14021. items:
  14022. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  14023. type: array
  14024. "500":
  14025. description: Internal Server Error
  14026. schema:
  14027. $ref: '#/definitions/app.Response'
  14028. security:
  14029. - ApiKeyAuth: []
  14030. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  14031. tags:
  14032. - 企业风险管理v3(app)
  14033. /Ermcp3/QueryGoodsGroup:
  14034. get:
  14035. parameters:
  14036. - description: 用户id
  14037. in: query
  14038. name: userid
  14039. required: true
  14040. type: integer
  14041. - description: 用户类型 2-机构 7-企业成员
  14042. in: query
  14043. name: usertype
  14044. type: integer
  14045. - description: 排除套保品中已关联的商品组 1-排除
  14046. in: query
  14047. name: excludecfg
  14048. type: integer
  14049. produces:
  14050. - application/json
  14051. responses:
  14052. "200":
  14053. description: OK
  14054. schema:
  14055. items:
  14056. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  14057. type: array
  14058. "500":
  14059. description: Internal Server Error
  14060. schema:
  14061. $ref: '#/definitions/app.Response'
  14062. security:
  14063. - ApiKeyAuth: []
  14064. summary: 查询期货商品组
  14065. tags:
  14066. - 企业风险管理v3(app)
  14067. /Ermcp3/QueryGoodsWrstandard:
  14068. get:
  14069. parameters:
  14070. - description: 用户id
  14071. in: query
  14072. name: userid
  14073. required: true
  14074. type: integer
  14075. - description: 用户类型 2-机构 7-企业成员
  14076. in: query
  14077. name: usertype
  14078. type: integer
  14079. - description: 现货商品id
  14080. in: query
  14081. name: deliverygoodsid
  14082. type: integer
  14083. produces:
  14084. - application/json
  14085. responses:
  14086. "200":
  14087. description: OK
  14088. schema:
  14089. items:
  14090. $ref: '#/definitions/models.Ermcp3Wrstandard'
  14091. type: array
  14092. "500":
  14093. description: Internal Server Error
  14094. schema:
  14095. $ref: '#/definitions/app.Response'
  14096. security:
  14097. - ApiKeyAuth: []
  14098. summary: 查询商品品类
  14099. tags:
  14100. - 企业风险管理v3(app)
  14101. /Ermcp3/QueryGoodsbrand:
  14102. get:
  14103. parameters:
  14104. - description: 用户id
  14105. in: query
  14106. name: userid
  14107. required: true
  14108. type: integer
  14109. - description: 用户类型 2-机构 7-企业成员
  14110. in: query
  14111. name: usertype
  14112. type: integer
  14113. produces:
  14114. - application/json
  14115. responses:
  14116. "200":
  14117. description: OK
  14118. schema:
  14119. items:
  14120. $ref: '#/definitions/models.Ermcp3Brand'
  14121. type: array
  14122. "500":
  14123. description: Internal Server Error
  14124. schema:
  14125. $ref: '#/definitions/app.Response'
  14126. security:
  14127. - ApiKeyAuth: []
  14128. summary: 查询商品品牌
  14129. tags:
  14130. - 企业风险管理v3(app)
  14131. /Ermcp3/QueryHedgePlan:
  14132. get:
  14133. parameters:
  14134. - description: 用户ID
  14135. in: query
  14136. name: userid
  14137. required: true
  14138. type: integer
  14139. - description: 用户类型 2-机构 7-企业成员
  14140. in: query
  14141. name: usertype
  14142. type: integer
  14143. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  14144. in: query
  14145. name: hedgeplanstatus
  14146. required: true
  14147. type: string
  14148. produces:
  14149. - application/json
  14150. responses:
  14151. "200":
  14152. description: OK
  14153. schema:
  14154. items:
  14155. $ref: '#/definitions/models.Ermcp3HedgePlan'
  14156. type: array
  14157. "500":
  14158. description: Internal Server Error
  14159. schema:
  14160. $ref: '#/definitions/app.Response'
  14161. security:
  14162. - ApiKeyAuth: []
  14163. summary: 查询套保计划
  14164. tags:
  14165. - 企业风险管理v3(app)
  14166. /Ermcp3/QueryMiddleGoodsDetail:
  14167. get:
  14168. parameters:
  14169. - description: 用户id
  14170. in: query
  14171. name: userid
  14172. required: true
  14173. type: integer
  14174. - description: 用户类型 2-机构 7-企业成员
  14175. in: query
  14176. name: usertype
  14177. type: integer
  14178. - description: 套保品种id
  14179. in: query
  14180. name: middlegoodsid
  14181. type: integer
  14182. produces:
  14183. - application/json
  14184. responses:
  14185. "200":
  14186. description: OK
  14187. schema:
  14188. items:
  14189. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  14190. type: array
  14191. "500":
  14192. description: Internal Server Error
  14193. schema:
  14194. $ref: '#/definitions/app.Response'
  14195. security:
  14196. - ApiKeyAuth: []
  14197. summary: 查询套保品种详情(套保品种/商品详情)
  14198. tags:
  14199. - 企业风险管理v3(app)
  14200. /Ermcp3/QuerySpotContract:
  14201. get:
  14202. parameters:
  14203. - description: 用户id
  14204. in: query
  14205. name: userid
  14206. required: true
  14207. type: integer
  14208. - description: 用户类型 2-机构 7-企业成员
  14209. in: query
  14210. name: usertype
  14211. type: integer
  14212. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  14213. in: query
  14214. name: querytype
  14215. required: true
  14216. type: integer
  14217. - description: 合同ID(SpotContractId)
  14218. in: query
  14219. name: contractid
  14220. type: string
  14221. produces:
  14222. - application/json
  14223. responses:
  14224. "200":
  14225. description: OK
  14226. schema:
  14227. items:
  14228. $ref: '#/definitions/models.Ermcp3Contract'
  14229. type: array
  14230. "500":
  14231. description: Internal Server Error
  14232. schema:
  14233. $ref: '#/definitions/app.Response'
  14234. security:
  14235. - ApiKeyAuth: []
  14236. summary: 查询现货合同
  14237. tags:
  14238. - 企业风险管理v3(app)
  14239. /Ermcp3/QuerySpotContractBS:
  14240. get:
  14241. parameters:
  14242. - description: 用户id
  14243. in: query
  14244. name: userid
  14245. required: true
  14246. type: integer
  14247. - description: 用户类型 2-机构 7-企业成员
  14248. in: query
  14249. name: usertype
  14250. type: integer
  14251. - description: 合同类型 1-采购, -1-销售
  14252. in: query
  14253. name: contracttype
  14254. required: true
  14255. type: integer
  14256. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  14257. in: query
  14258. name: querytype
  14259. required: true
  14260. type: integer
  14261. - description: 合同ID(SpotContractId)
  14262. in: query
  14263. name: contractid
  14264. type: string
  14265. produces:
  14266. - application/json
  14267. responses:
  14268. "200":
  14269. description: OK
  14270. schema:
  14271. items:
  14272. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  14273. type: array
  14274. "500":
  14275. description: Internal Server Error
  14276. schema:
  14277. $ref: '#/definitions/app.Response'
  14278. security:
  14279. - ApiKeyAuth: []
  14280. summary: 查询合同(采购/销售)
  14281. tags:
  14282. - 企业风险管理v3(app)
  14283. /Ermcp3/QuerySpotGoodsPrice:
  14284. get:
  14285. parameters:
  14286. - description: 用户ID
  14287. in: query
  14288. name: userid
  14289. required: true
  14290. type: integer
  14291. produces:
  14292. - application/json
  14293. responses:
  14294. "200":
  14295. description: OK
  14296. schema:
  14297. items:
  14298. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  14299. type: array
  14300. "500":
  14301. description: Internal Server Error
  14302. schema:
  14303. $ref: '#/definitions/app.Response'
  14304. security:
  14305. - ApiKeyAuth: []
  14306. summary: 查询现货市价(现货市价)
  14307. tags:
  14308. - 企业风险管理v3(app)
  14309. /Ermcp3/QuerySpotGoodsPriceLog:
  14310. get:
  14311. parameters:
  14312. - description: 用户ID
  14313. in: query
  14314. name: userid
  14315. required: true
  14316. type: integer
  14317. - description: 现货商品ID
  14318. in: query
  14319. name: deliverygoodsid
  14320. required: true
  14321. type: integer
  14322. - description: 品牌ID
  14323. in: query
  14324. name: brandid
  14325. type: integer
  14326. - description: 品类ID
  14327. in: query
  14328. name: wrstandardid
  14329. type: integer
  14330. produces:
  14331. - application/json
  14332. responses:
  14333. "200":
  14334. description: OK
  14335. schema:
  14336. items:
  14337. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  14338. type: array
  14339. "500":
  14340. description: Internal Server Error
  14341. schema:
  14342. $ref: '#/definitions/app.Response'
  14343. security:
  14344. - ApiKeyAuth: []
  14345. summary: 查询现货市价详情(现货市价/详情)
  14346. tags:
  14347. - 企业风险管理v3(app)
  14348. /Erms2/QueryArbitrageStrategy:
  14349. get:
  14350. parameters:
  14351. - description: 账户ID
  14352. in: query
  14353. name: userid
  14354. required: true
  14355. type: integer
  14356. - description: 商品组ID(品种ID)
  14357. in: query
  14358. name: goodsgroupid
  14359. type: string
  14360. produces:
  14361. - application/json
  14362. responses:
  14363. "200":
  14364. description: OK
  14365. schema:
  14366. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  14367. "500":
  14368. description: Internal Server Error
  14369. schema:
  14370. $ref: '#/definitions/app.Response'
  14371. security:
  14372. - ApiKeyAuth: []
  14373. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  14374. tags:
  14375. - 风险管理
  14376. /Erms2/QueryInnerTradeDetail:
  14377. get:
  14378. parameters:
  14379. - description: 资金账户
  14380. in: query
  14381. name: accountid
  14382. required: true
  14383. type: integer
  14384. produces:
  14385. - application/json
  14386. responses:
  14387. "200":
  14388. description: OK
  14389. schema:
  14390. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  14391. "500":
  14392. description: Internal Server Error
  14393. schema:
  14394. $ref: '#/definitions/app.Response'
  14395. security:
  14396. - ApiKeyAuth: []
  14397. summary: 查询内部成交单信息
  14398. tags:
  14399. - 风险管理
  14400. /Erms2/QuerySpotContract:
  14401. get:
  14402. parameters:
  14403. - description: 策略申请ID
  14404. in: query
  14405. name: asapplyid
  14406. required: true
  14407. type: integer
  14408. - description: 现货合同ID
  14409. in: query
  14410. name: spotcontractid
  14411. type: integer
  14412. produces:
  14413. - application/json
  14414. responses:
  14415. "200":
  14416. description: OK
  14417. schema:
  14418. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  14419. "500":
  14420. description: Internal Server Error
  14421. schema:
  14422. $ref: '#/definitions/app.Response'
  14423. security:
  14424. - ApiKeyAuth: []
  14425. summary: 查询现货合同表信息(指定策略ID、未结束的)
  14426. tags:
  14427. - 风险管理
  14428. /Erms3/AddErms2ASApply:
  14429. post:
  14430. parameters:
  14431. - description: 申请参数
  14432. in: body
  14433. name: jsonBody
  14434. required: true
  14435. schema:
  14436. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  14437. produces:
  14438. - application/json
  14439. responses:
  14440. "200":
  14441. description: OK
  14442. schema:
  14443. $ref: '#/definitions/app.Response'
  14444. "500":
  14445. description: Internal Server Error
  14446. schema:
  14447. $ref: '#/definitions/app.Response'
  14448. security:
  14449. - ApiKeyAuth: []
  14450. summary: 新增期现套利业务申请
  14451. tags:
  14452. - 风险管理v3
  14453. /Erms3/AddErms2SpotTradeApply:
  14454. post:
  14455. parameters:
  14456. - description: 申请参数
  14457. in: body
  14458. name: jsonBody
  14459. required: true
  14460. schema:
  14461. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  14462. produces:
  14463. - application/json
  14464. responses:
  14465. "200":
  14466. description: OK
  14467. schema:
  14468. $ref: '#/definitions/app.Response'
  14469. "500":
  14470. description: Internal Server Error
  14471. schema:
  14472. $ref: '#/definitions/app.Response'
  14473. security:
  14474. - ApiKeyAuth: []
  14475. summary: 新增现货贸易业务申请
  14476. tags:
  14477. - 风险管理v3
  14478. /Erms3/AddSpotContractApply:
  14479. post:
  14480. parameters:
  14481. - description: 申请参数
  14482. in: body
  14483. name: jsonBody
  14484. required: true
  14485. schema:
  14486. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  14487. produces:
  14488. - application/json
  14489. responses:
  14490. "200":
  14491. description: OK
  14492. schema:
  14493. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  14494. "500":
  14495. description: Internal Server Error
  14496. schema:
  14497. $ref: '#/definitions/app.Response'
  14498. security:
  14499. - ApiKeyAuth: []
  14500. summary: 新增现货合同申请
  14501. tags:
  14502. - 风险管理v3
  14503. /Erms3/AddUserInfoApply:
  14504. post:
  14505. parameters:
  14506. - description: 用户信息
  14507. in: body
  14508. name: jsonBody
  14509. required: true
  14510. schema:
  14511. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  14512. produces:
  14513. - application/json
  14514. responses:
  14515. "200":
  14516. description: OK
  14517. schema:
  14518. $ref: '#/definitions/app.Response'
  14519. "500":
  14520. description: Internal Server Error
  14521. schema:
  14522. $ref: '#/definitions/app.Response'
  14523. security:
  14524. - ApiKeyAuth: []
  14525. summary: 新增客户申请
  14526. tags:
  14527. - 风险管理v3
  14528. /Erms3/DeleteUserInfoApply:
  14529. get:
  14530. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  14531. parameters:
  14532. - description: 用户ID
  14533. in: query
  14534. name: userID
  14535. required: true
  14536. type: integer
  14537. produces:
  14538. - application/json
  14539. responses:
  14540. "200":
  14541. description: OK
  14542. schema:
  14543. $ref: '#/definitions/app.Response'
  14544. "500":
  14545. description: Internal Server Error
  14546. schema:
  14547. $ref: '#/definitions/app.Response'
  14548. security:
  14549. - ApiKeyAuth: []
  14550. summary: 删除客户申请
  14551. tags:
  14552. - 风险管理v3
  14553. /Erms3/ModifyUserInfoApply:
  14554. post:
  14555. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  14556. int, "userstate": 2 }'
  14557. parameters:
  14558. - description: 用户信息
  14559. in: body
  14560. name: jsonBody
  14561. required: true
  14562. schema:
  14563. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  14564. produces:
  14565. - application/json
  14566. responses:
  14567. "200":
  14568. description: OK
  14569. schema:
  14570. $ref: '#/definitions/app.Response'
  14571. "500":
  14572. description: Internal Server Error
  14573. schema:
  14574. $ref: '#/definitions/app.Response'
  14575. security:
  14576. - ApiKeyAuth: []
  14577. summary: 修改客户申请
  14578. tags:
  14579. - 风险管理v3
  14580. /Erms3/QueryBusinessInfo:
  14581. get:
  14582. parameters:
  14583. - description: 资金账号ID列表,用逗号分隔
  14584. in: query
  14585. name: accountids
  14586. required: true
  14587. type: string
  14588. - description: 状态,0为未结束 1为已结束
  14589. in: query
  14590. name: status
  14591. required: true
  14592. type: integer
  14593. produces:
  14594. - application/json
  14595. responses:
  14596. "200":
  14597. description: OK
  14598. schema:
  14599. items:
  14600. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  14601. type: array
  14602. "500":
  14603. description: Internal Server Error
  14604. schema:
  14605. $ref: '#/definitions/app.Response'
  14606. security:
  14607. - ApiKeyAuth: []
  14608. summary: 查询业务表单数据
  14609. tags:
  14610. - 风险管理v3
  14611. /Erms3/QueryPendingAuditContract:
  14612. get:
  14613. parameters:
  14614. - description: 资金账号ID列表,逗号隔开
  14615. in: query
  14616. name: accountids
  14617. required: true
  14618. type: string
  14619. - description: 合同类型 1-采购 -1-销售
  14620. in: query
  14621. name: contracttype
  14622. required: true
  14623. type: integer
  14624. - description: 合同模式 1-普通 2-回购
  14625. in: query
  14626. name: contractmode
  14627. required: true
  14628. type: integer
  14629. produces:
  14630. - application/json
  14631. responses:
  14632. "200":
  14633. description: OK
  14634. schema:
  14635. items:
  14636. $ref: '#/definitions/erms3.QryAuditContractRsp'
  14637. type: array
  14638. "500":
  14639. description: Internal Server Error
  14640. schema:
  14641. $ref: '#/definitions/app.Response'
  14642. security:
  14643. - ApiKeyAuth: []
  14644. summary: 查询待审核合同
  14645. tags:
  14646. - 风险管理v3
  14647. /Erms3/QueryPendingBusiness:
  14648. get:
  14649. parameters:
  14650. - description: 资金账号ID列表,逗号隔开
  14651. in: query
  14652. name: accountids
  14653. required: true
  14654. type: string
  14655. produces:
  14656. - application/json
  14657. responses:
  14658. "200":
  14659. description: OK
  14660. schema:
  14661. items:
  14662. $ref: '#/definitions/erms3.QryPendingBizRsp'
  14663. type: array
  14664. "500":
  14665. description: Internal Server Error
  14666. schema:
  14667. $ref: '#/definitions/app.Response'
  14668. security:
  14669. - ApiKeyAuth: []
  14670. summary: 查询待审核基差贸易业务
  14671. tags:
  14672. - 风险管理v3
  14673. /Erms3/QuerySpotContractAppleForm:
  14674. get:
  14675. parameters:
  14676. - description: 登录账号
  14677. in: query
  14678. name: loginID
  14679. required: true
  14680. type: integer
  14681. produces:
  14682. - application/json
  14683. responses:
  14684. "200":
  14685. description: OK
  14686. schema:
  14687. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  14688. "500":
  14689. description: Internal Server Error
  14690. schema:
  14691. $ref: '#/definitions/app.Response'
  14692. security:
  14693. - ApiKeyAuth: []
  14694. summary: 查询合同申请表单数据
  14695. tags:
  14696. - 风险管理v3
  14697. /Erms3/QuerySpotContractDetail:
  14698. get:
  14699. parameters:
  14700. - description: 资金账号ID列表,用逗号分隔
  14701. in: query
  14702. name: accountids
  14703. required: true
  14704. type: string
  14705. - description: 合同类型,1为采购合同 -1为销售合同
  14706. in: query
  14707. name: contracttype
  14708. required: true
  14709. type: integer
  14710. - description: 合同模式,1为普通合同 2为回购销售合同
  14711. in: query
  14712. name: contractmode
  14713. required: true
  14714. type: integer
  14715. - description: 状态,0为履约中 1为已完成
  14716. in: query
  14717. name: status
  14718. required: true
  14719. type: integer
  14720. produces:
  14721. - application/json
  14722. responses:
  14723. "200":
  14724. description: OK
  14725. schema:
  14726. items:
  14727. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  14728. type: array
  14729. "500":
  14730. description: Internal Server Error
  14731. schema:
  14732. $ref: '#/definitions/app.Response'
  14733. security:
  14734. - ApiKeyAuth: []
  14735. summary: 查询合同详细信息
  14736. tags:
  14737. - 风险管理v3
  14738. /Erms3/QueryUserInfoApplies:
  14739. get:
  14740. parameters:
  14741. - description: 页码
  14742. in: query
  14743. name: page
  14744. type: integer
  14745. - description: 每页条数
  14746. in: query
  14747. name: pagesize
  14748. type: integer
  14749. - description: 客户名称,支持模糊查询
  14750. in: query
  14751. name: userName
  14752. type: string
  14753. produces:
  14754. - application/json
  14755. responses:
  14756. "200":
  14757. description: OK
  14758. schema:
  14759. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  14760. "500":
  14761. description: Internal Server Error
  14762. schema:
  14763. $ref: '#/definitions/app.Response'
  14764. security:
  14765. - ApiKeyAuth: []
  14766. summary: 客户申请信息查询
  14767. tags:
  14768. - 风险管理v3
  14769. /Erms3/QueryUserInfos:
  14770. get:
  14771. parameters:
  14772. - description: 页码
  14773. in: query
  14774. name: page
  14775. type: integer
  14776. - description: 每页条数
  14777. in: query
  14778. name: pagesize
  14779. type: integer
  14780. - description: 客户名称,支持模糊查询
  14781. in: query
  14782. name: userName
  14783. type: string
  14784. produces:
  14785. - application/json
  14786. responses:
  14787. "200":
  14788. description: OK
  14789. schema:
  14790. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  14791. "500":
  14792. description: Internal Server Error
  14793. schema:
  14794. $ref: '#/definitions/app.Response'
  14795. security:
  14796. - ApiKeyAuth: []
  14797. summary: 客户信息查询
  14798. tags:
  14799. - 风险管理v3
  14800. /HSBY/GetHsbyMyCount:
  14801. get:
  14802. description: 说明: 不包括已完成的数量。
  14803. parameters:
  14804. - description: 资金账户列表,格式:1,2,3
  14805. in: query
  14806. name: accountIDs
  14807. required: true
  14808. type: string
  14809. produces:
  14810. - application/json
  14811. responses:
  14812. "200":
  14813. description: OK
  14814. schema:
  14815. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  14816. "500":
  14817. description: Internal Server Error
  14818. schema:
  14819. $ref: '#/definitions/app.Response'
  14820. security:
  14821. - ApiKeyAuth: []
  14822. summary: 获取我的订单与包裹数量
  14823. tags:
  14824. - 定制【海商报业】
  14825. /HSBY/QueryClientFixedADConfigs:
  14826. get:
  14827. produces:
  14828. - application/json
  14829. responses:
  14830. "200":
  14831. description: OK
  14832. schema:
  14833. $ref: '#/definitions/models.Clientfixedadconfig'
  14834. "500":
  14835. description: Internal Server Error
  14836. schema:
  14837. $ref: '#/definitions/app.Response'
  14838. security:
  14839. - ApiKeyAuth: []
  14840. summary: 获取终端固定广告配置
  14841. tags:
  14842. - 定制【海商报业】
  14843. /HSBY/QueryHsbyBuyMyTradeDetail:
  14844. get:
  14845. parameters:
  14846. - description: 页码
  14847. in: query
  14848. name: page
  14849. type: integer
  14850. - description: 每页条数
  14851. in: query
  14852. name: pagesize
  14853. type: integer
  14854. - description: 资金账户列表,格式:1,2,3
  14855. in: query
  14856. name: accountIDs
  14857. required: true
  14858. type: string
  14859. produces:
  14860. - application/json
  14861. responses:
  14862. "200":
  14863. description: OK
  14864. schema:
  14865. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  14866. "500":
  14867. description: Internal Server Error
  14868. schema:
  14869. $ref: '#/definitions/app.Response'
  14870. security:
  14871. - ApiKeyAuth: []
  14872. summary: 查询"我的订单 - 已完成"单据信息
  14873. tags:
  14874. - 定制【海商报业】
  14875. /HSBY/QueryHsbyGoodsOrderDetails:
  14876. get:
  14877. description: 说明:查询结果已按委托价格和委托时间排序
  14878. parameters:
  14879. - description: 商品ID
  14880. in: query
  14881. name: goodsID
  14882. required: true
  14883. type: integer
  14884. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  14885. in: query
  14886. name: accountIDs
  14887. type: string
  14888. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  14889. in: query
  14890. name: buyOrSell
  14891. type: integer
  14892. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  14893. in: query
  14894. name: price
  14895. type: number
  14896. - description: 档位,不传则默认为3档
  14897. in: query
  14898. name: speed
  14899. type: integer
  14900. produces:
  14901. - application/json
  14902. responses:
  14903. "200":
  14904. description: OK
  14905. schema:
  14906. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  14907. "500":
  14908. description: Internal Server Error
  14909. schema:
  14910. $ref: '#/definitions/app.Response'
  14911. security:
  14912. - ApiKeyAuth: []
  14913. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  14914. tags:
  14915. - 定制【海商报业】
  14916. /HSBY/QueryHsbyListingGoodsDetail:
  14917. get:
  14918. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  14919. parameters:
  14920. - description: 商品ID
  14921. in: query
  14922. name: goodsID
  14923. required: true
  14924. type: integer
  14925. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  14926. in: query
  14927. name: accountID
  14928. type: integer
  14929. produces:
  14930. - application/json
  14931. responses:
  14932. "200":
  14933. description: OK
  14934. schema:
  14935. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  14936. "500":
  14937. description: Internal Server Error
  14938. schema:
  14939. $ref: '#/definitions/app.Response'
  14940. security:
  14941. - ApiKeyAuth: []
  14942. summary: 查询二级市场(挂牌点选)商品信息详情
  14943. tags:
  14944. - 定制【海商报业】
  14945. /HSBY/QueryHsbyMarketGoodsDetail:
  14946. get:
  14947. parameters:
  14948. - description: 委托单号
  14949. in: query
  14950. name: orderID
  14951. required: true
  14952. type: integer
  14953. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  14954. in: query
  14955. name: accountID
  14956. type: integer
  14957. produces:
  14958. - application/json
  14959. responses:
  14960. "200":
  14961. description: OK
  14962. schema:
  14963. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  14964. "500":
  14965. description: Internal Server Error
  14966. schema:
  14967. $ref: '#/definitions/app.Response'
  14968. security:
  14969. - ApiKeyAuth: []
  14970. summary: 查询三级市场(商城)商品信息详情
  14971. tags:
  14972. - 定制【海商报业】
  14973. /HSBY/QueryHsbyMarketGoodses:
  14974. get:
  14975. parameters:
  14976. - description: 页码
  14977. in: query
  14978. name: page
  14979. type: integer
  14980. - description: 每页条数
  14981. in: query
  14982. name: pagesize
  14983. type: integer
  14984. - description: 市场ID列表,格式:1,2,3
  14985. in: query
  14986. name: marketIDs
  14987. required: true
  14988. type: string
  14989. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  14990. in: query
  14991. name: accountID
  14992. required: true
  14993. type: integer
  14994. - description: 类别ID
  14995. in: query
  14996. name: categoryID
  14997. type: integer
  14998. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  14999. in: query
  15000. name: goodsIDs
  15001. type: string
  15002. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  15003. in: query
  15004. name: couponTypeID
  15005. type: integer
  15006. produces:
  15007. - application/json
  15008. responses:
  15009. "200":
  15010. description: OK
  15011. schema:
  15012. $ref: '#/definitions/models.HsbyMarketGoods'
  15013. "500":
  15014. description: Internal Server Error
  15015. schema:
  15016. $ref: '#/definitions/app.Response'
  15017. security:
  15018. - ApiKeyAuth: []
  15019. summary: 查询特卖商品列表(三级商城)
  15020. tags:
  15021. - 定制【海商报业】
  15022. /HSBY/QueryHsbyMarkets:
  15023. get:
  15024. produces:
  15025. - application/json
  15026. responses:
  15027. "200":
  15028. description: OK
  15029. schema:
  15030. $ref: '#/definitions/models.HsbyMarketInfo'
  15031. "500":
  15032. description: Internal Server Error
  15033. schema:
  15034. $ref: '#/definitions/app.Response'
  15035. security:
  15036. - ApiKeyAuth: []
  15037. summary: 查询海商报业相关市场信息
  15038. tags:
  15039. - 定制【海商报业】
  15040. /HSBY/QueryHsbyMyBuyOrderDetails:
  15041. get:
  15042. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  15043. parameters:
  15044. - description: 资金账户列表,格式:1,2,3
  15045. in: query
  15046. name: accountIDs
  15047. required: true
  15048. type: string
  15049. produces:
  15050. - application/json
  15051. responses:
  15052. "200":
  15053. description: OK
  15054. schema:
  15055. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  15056. "500":
  15057. description: Internal Server Error
  15058. schema:
  15059. $ref: '#/definitions/app.Response'
  15060. security:
  15061. - ApiKeyAuth: []
  15062. summary: 查询“我的订单”信息
  15063. tags:
  15064. - 定制【海商报业】
  15065. /HSBY/QueryHsbyMyGoods:
  15066. get:
  15067. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  15068. parameters:
  15069. - description: 资金账户列表,格式:1,2,3
  15070. in: query
  15071. name: accountIDs
  15072. required: true
  15073. type: string
  15074. produces:
  15075. - application/json
  15076. responses:
  15077. "200":
  15078. description: OK
  15079. schema:
  15080. $ref: '#/definitions/models.HsbyMyGoods'
  15081. "500":
  15082. description: Internal Server Error
  15083. schema:
  15084. $ref: '#/definitions/app.Response'
  15085. security:
  15086. - ApiKeyAuth: []
  15087. summary: 查询“我的商品”信息
  15088. tags:
  15089. - 定制【海商报业】
  15090. /HSBY/QueryHsbyMyPackages:
  15091. get:
  15092. parameters:
  15093. - description: 资金账户列表,格式:1,2,3
  15094. in: query
  15095. name: accountIDs
  15096. required: true
  15097. type: string
  15098. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  15099. in: query
  15100. name: takeOrderStatus
  15101. type: integer
  15102. produces:
  15103. - application/json
  15104. responses:
  15105. "200":
  15106. description: OK
  15107. schema:
  15108. $ref: '#/definitions/models.HsbyMyPackage'
  15109. "500":
  15110. description: Internal Server Error
  15111. schema:
  15112. $ref: '#/definitions/app.Response'
  15113. security:
  15114. - ApiKeyAuth: []
  15115. summary: 查询我的包裹信息
  15116. tags:
  15117. - 定制【海商报业】
  15118. /HSBY/QueryHsbyPreGoodsDetail:
  15119. get:
  15120. parameters:
  15121. - description: 商品ID
  15122. in: query
  15123. name: goodsID
  15124. required: true
  15125. type: integer
  15126. - description: 资金账户,主要用于获取预售商品购买上限
  15127. in: query
  15128. name: accountID
  15129. type: integer
  15130. produces:
  15131. - application/json
  15132. responses:
  15133. "200":
  15134. description: OK
  15135. schema:
  15136. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  15137. "500":
  15138. description: Internal Server Error
  15139. schema:
  15140. $ref: '#/definitions/app.Response'
  15141. security:
  15142. - ApiKeyAuth: []
  15143. summary: 查询一级市场(预售)商品信息详情
  15144. tags:
  15145. - 定制【海商报业】
  15146. /HSBY/QueryHsbyPreGoodses:
  15147. get:
  15148. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  15149. parameters:
  15150. - description: 页码
  15151. in: query
  15152. name: page
  15153. type: integer
  15154. - description: 每页条数
  15155. in: query
  15156. name: pagesize
  15157. type: integer
  15158. - description: 市场ID列表,格式:1,2,3
  15159. in: query
  15160. name: marketIDs
  15161. required: true
  15162. type: string
  15163. - description: 目的地(省)ID
  15164. in: query
  15165. name: descProvinceID
  15166. type: integer
  15167. - description: 目的地(市)ID
  15168. in: query
  15169. name: descCityID
  15170. type: integer
  15171. produces:
  15172. - application/json
  15173. responses:
  15174. "200":
  15175. description: OK
  15176. schema:
  15177. $ref: '#/definitions/models.HsbyPreGoods'
  15178. "500":
  15179. description: Internal Server Error
  15180. schema:
  15181. $ref: '#/definitions/app.Response'
  15182. security:
  15183. - ApiKeyAuth: []
  15184. summary: 查询新品上市商品列表(一级市场预售)
  15185. tags:
  15186. - 定制【海商报业】
  15187. /HSBY/QueryHsbySellMyDetails:
  15188. get:
  15189. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  15190. parameters:
  15191. - description: 页码
  15192. in: query
  15193. name: page
  15194. type: integer
  15195. - description: 每页条数
  15196. in: query
  15197. name: pagesize
  15198. type: integer
  15199. - description: 资金账户列表,格式:1,2,3
  15200. in: query
  15201. name: accountIDs
  15202. required: true
  15203. type: string
  15204. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  15205. in: query
  15206. name: orderType
  15207. type: integer
  15208. produces:
  15209. - application/json
  15210. responses:
  15211. "200":
  15212. description: OK
  15213. schema:
  15214. $ref: '#/definitions/models.HsbySellMyDetail'
  15215. "500":
  15216. description: Internal Server Error
  15217. schema:
  15218. $ref: '#/definitions/app.Response'
  15219. security:
  15220. - ApiKeyAuth: []
  15221. summary: 查询"我的闲置"单据信息
  15222. tags:
  15223. - 定制【海商报业】
  15224. /HSBY/QueryHsbyTopGoodses:
  15225. get:
  15226. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  15227. parameters:
  15228. - description: 页码
  15229. in: query
  15230. name: page
  15231. type: integer
  15232. - description: 每页条数
  15233. in: query
  15234. name: pagesize
  15235. type: integer
  15236. - description: 市场ID列表,格式:1,2,3
  15237. in: query
  15238. name: marketIDs
  15239. required: true
  15240. type: string
  15241. - description: 目的地(省)ID
  15242. in: query
  15243. name: descProvinceID
  15244. type: integer
  15245. - description: 目的地(市)ID
  15246. in: query
  15247. name: descCityID
  15248. type: integer
  15249. produces:
  15250. - application/json
  15251. responses:
  15252. "200":
  15253. description: OK
  15254. schema:
  15255. $ref: '#/definitions/models.HsbyTopGoods'
  15256. "500":
  15257. description: Internal Server Error
  15258. schema:
  15259. $ref: '#/definitions/app.Response'
  15260. security:
  15261. - ApiKeyAuth: []
  15262. summary: 查询热卖商品列表(二级市场挂牌点选)
  15263. tags:
  15264. - 定制【海商报业】
  15265. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  15266. get:
  15267. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  15268. parameters:
  15269. - description: 商品ID
  15270. in: query
  15271. name: goodsID
  15272. required: true
  15273. type: integer
  15274. produces:
  15275. - application/json
  15276. responses:
  15277. "200":
  15278. description: OK
  15279. schema:
  15280. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  15281. "500":
  15282. description: Internal Server Error
  15283. schema:
  15284. $ref: '#/definitions/app.Response'
  15285. security:
  15286. - ApiKeyAuth: []
  15287. summary: 查询游客三级市场(商城)商品信息详情
  15288. tags:
  15289. - 定制【海商报业】
  15290. /HSBY/QueryHsbyVisitorMarketGoodses:
  15291. get:
  15292. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  15293. parameters:
  15294. - description: 页码
  15295. in: query
  15296. name: page
  15297. type: integer
  15298. - description: 每页条数
  15299. in: query
  15300. name: pagesize
  15301. type: integer
  15302. - description: 市场ID列表,格式:1,2,3
  15303. in: query
  15304. name: marketIDs
  15305. required: true
  15306. type: string
  15307. - description: 类别ID
  15308. in: query
  15309. name: categoryID
  15310. type: integer
  15311. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  15312. in: query
  15313. name: goodsIDs
  15314. type: string
  15315. produces:
  15316. - application/json
  15317. responses:
  15318. "200":
  15319. description: OK
  15320. schema:
  15321. $ref: '#/definitions/models.HsbyMarketGoods'
  15322. "500":
  15323. description: Internal Server Error
  15324. schema:
  15325. $ref: '#/definitions/app.Response'
  15326. security:
  15327. - ApiKeyAuth: []
  15328. summary: 查询游客特卖商品列表(三级商城)
  15329. tags:
  15330. - 定制【海商报业】
  15331. /HSBY/QueryMyCollectionOrders:
  15332. get:
  15333. parameters:
  15334. - description: 页码
  15335. in: query
  15336. name: page
  15337. type: integer
  15338. - description: 每页条数
  15339. in: query
  15340. name: pagesize
  15341. type: integer
  15342. - description: 资金账户,格式:1,2,3
  15343. in: query
  15344. name: accountIDs
  15345. required: true
  15346. type: string
  15347. produces:
  15348. - application/json
  15349. responses:
  15350. "200":
  15351. description: OK
  15352. schema:
  15353. $ref: '#/definitions/models.HsbySellCollectionOrder'
  15354. "500":
  15355. description: Internal Server Error
  15356. schema:
  15357. $ref: '#/definitions/app.Response'
  15358. security:
  15359. - ApiKeyAuth: []
  15360. summary: 我的闲置中收款信息查询
  15361. tags:
  15362. - 定制【海商报业】
  15363. /HSBY/QueryMyCouponHolds:
  15364. get:
  15365. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  15366. parameters:
  15367. - description: 资金账户列表,格式:1,2,3
  15368. in: query
  15369. name: accountIDs
  15370. required: true
  15371. type: string
  15372. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  15373. in: query
  15374. name: holdStatus
  15375. type: string
  15376. produces:
  15377. - application/json
  15378. responses:
  15379. "200":
  15380. description: OK
  15381. schema:
  15382. $ref: '#/definitions/models.MyCouponHold'
  15383. "500":
  15384. description: Internal Server Error
  15385. schema:
  15386. $ref: '#/definitions/app.Response'
  15387. security:
  15388. - ApiKeyAuth: []
  15389. summary: 我的优惠卷持仓查询
  15390. tags:
  15391. - 定制【海商报业】
  15392. /HSBY/QueryMyCoupons:
  15393. get:
  15394. parameters:
  15395. - description: 资金账户列表,格式:1,2,3
  15396. in: query
  15397. name: accountIDs
  15398. required: true
  15399. type: string
  15400. - description: 商品ID, 一般与sellUserID配套传入
  15401. in: query
  15402. name: goodsID
  15403. type: integer
  15404. - description: 卖方UserID
  15405. in: query
  15406. name: sellUserID
  15407. type: integer
  15408. produces:
  15409. - application/json
  15410. responses:
  15411. "200":
  15412. description: OK
  15413. schema:
  15414. $ref: '#/definitions/models.MyCoupon'
  15415. "500":
  15416. description: Internal Server Error
  15417. schema:
  15418. $ref: '#/definitions/app.Response'
  15419. security:
  15420. - ApiKeyAuth: []
  15421. summary: 我的优惠卷查询
  15422. tags:
  15423. - 定制【海商报业】
  15424. /HSBY/QueryMyPayOrders:
  15425. get:
  15426. parameters:
  15427. - description: 页码
  15428. in: query
  15429. name: page
  15430. type: integer
  15431. - description: 每页条数
  15432. in: query
  15433. name: pagesize
  15434. type: integer
  15435. - description: 资金账户列表,格式:1,2,3
  15436. in: query
  15437. name: accountIDs
  15438. required: true
  15439. type: string
  15440. - description: 买方委托单号
  15441. in: query
  15442. name: buyOrderID
  15443. type: integer
  15444. - description: 卖方委托单号
  15445. in: query
  15446. name: sellOrderID
  15447. type: integer
  15448. produces:
  15449. - application/json
  15450. responses:
  15451. "200":
  15452. description: OK
  15453. schema:
  15454. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  15455. "500":
  15456. description: Internal Server Error
  15457. schema:
  15458. $ref: '#/definitions/app.Response'
  15459. security:
  15460. - ApiKeyAuth: []
  15461. summary: 获取我的订单中待付款信息
  15462. tags:
  15463. - 定制【海商报业】
  15464. /HSBY/QueryMyUsedCoupon:
  15465. get:
  15466. parameters:
  15467. - description: 资金账户列表,格式:1,2,3
  15468. in: query
  15469. name: accountIDs
  15470. required: true
  15471. type: string
  15472. produces:
  15473. - application/json
  15474. responses:
  15475. "200":
  15476. description: OK
  15477. schema:
  15478. $ref: '#/definitions/models.MyUsedCoupon'
  15479. "500":
  15480. description: Internal Server Error
  15481. schema:
  15482. $ref: '#/definitions/app.Response'
  15483. security:
  15484. - ApiKeyAuth: []
  15485. summary: 已使用优惠卷查询
  15486. tags:
  15487. - 定制【海商报业】
  15488. /HSBY/QueryProvincesAndCities:
  15489. get:
  15490. description: 查询结果只包括二级市场商品已关连的省市信息。
  15491. parameters:
  15492. - description: 省ID
  15493. in: query
  15494. name: provinceID
  15495. type: integer
  15496. produces:
  15497. - application/json
  15498. responses:
  15499. "200":
  15500. description: OK
  15501. schema:
  15502. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  15503. "500":
  15504. description: Internal Server Error
  15505. schema:
  15506. $ref: '#/definitions/app.Response'
  15507. security:
  15508. - ApiKeyAuth: []
  15509. summary: 查询省市信息(不包括区)
  15510. tags:
  15511. - 定制【海商报业】
  15512. /HSBY/SetHsbyMyPackagesStatus:
  15513. post:
  15514. parameters:
  15515. - description: 提货单号
  15516. in: query
  15517. name: takeOrderID
  15518. required: true
  15519. type: string
  15520. - description: 资金账号
  15521. in: query
  15522. name: accountID
  15523. required: true
  15524. type: integer
  15525. produces:
  15526. - application/json
  15527. responses:
  15528. "200":
  15529. description: OK
  15530. schema:
  15531. $ref: '#/definitions/app.Response'
  15532. "500":
  15533. description: Internal Server Error
  15534. schema:
  15535. $ref: '#/definitions/app.Response'
  15536. security:
  15537. - ApiKeyAuth: []
  15538. summary: 设置我的包裹已收货状态
  15539. tags:
  15540. - 定制【海商报业】
  15541. /Market/QueryGoodsesByLoginID:
  15542. get:
  15543. parameters:
  15544. - description: 登录账号
  15545. in: query
  15546. name: loginID
  15547. required: true
  15548. type: integer
  15549. - description: 市场ID列表,格式:1,2,3
  15550. in: query
  15551. name: marketIDs
  15552. type: string
  15553. produces:
  15554. - application/json
  15555. responses:
  15556. "200":
  15557. description: OK
  15558. schema:
  15559. $ref: '#/definitions/models.Goods'
  15560. "500":
  15561. description: Internal Server Error
  15562. schema:
  15563. $ref: '#/definitions/app.Response'
  15564. security:
  15565. - ApiKeyAuth: []
  15566. summary: 获取登录账号有权限的商品信息
  15567. tags:
  15568. - 通用市场
  15569. /Market/QueryMarketRun:
  15570. get:
  15571. parameters:
  15572. - description: 市场ID,不传返回所有
  15573. in: query
  15574. name: marketID
  15575. type: integer
  15576. produces:
  15577. - application/json
  15578. responses:
  15579. "200":
  15580. description: OK
  15581. schema:
  15582. $ref: '#/definitions/models.Marketrun'
  15583. "500":
  15584. description: Internal Server Error
  15585. schema:
  15586. $ref: '#/definitions/app.Response'
  15587. security:
  15588. - ApiKeyAuth: []
  15589. summary: 查询市场运行信息
  15590. tags:
  15591. - 通用市场
  15592. /Market/QueryMarketsByLoginID:
  15593. get:
  15594. parameters:
  15595. - description: 登录账号
  15596. in: query
  15597. name: loginID
  15598. required: true
  15599. type: integer
  15600. produces:
  15601. - application/json
  15602. responses:
  15603. "200":
  15604. description: OK
  15605. schema:
  15606. $ref: '#/definitions/models.Market'
  15607. "500":
  15608. description: Internal Server Error
  15609. schema:
  15610. $ref: '#/definitions/app.Response'
  15611. security:
  15612. - ApiKeyAuth: []
  15613. summary: 获取登录账号有权限的市场信息
  15614. tags:
  15615. - 通用市场
  15616. /Order/QueryHisTradeDetail:
  15617. get:
  15618. parameters:
  15619. - description: 资金账户 - 格式:1,2,3
  15620. in: query
  15621. name: accountID
  15622. required: true
  15623. type: string
  15624. - description: 成交单号
  15625. in: query
  15626. name: tradeID
  15627. type: integer
  15628. - description: 委托单号
  15629. in: query
  15630. name: orderID
  15631. type: integer
  15632. - description: 交易模式 - 格式:1,2,3
  15633. in: query
  15634. name: tradeMode
  15635. type: string
  15636. - description: 委托单据类型
  15637. in: query
  15638. name: buildType
  15639. type: integer
  15640. - description: 成交类别 - 格式:1,2,3
  15641. in: query
  15642. name: tradeType
  15643. type: string
  15644. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  15645. in: query
  15646. name: startDate
  15647. type: string
  15648. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  15649. in: query
  15650. name: endDate
  15651. type: string
  15652. produces:
  15653. - application/json
  15654. responses:
  15655. "200":
  15656. description: OK
  15657. schema:
  15658. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  15659. "500":
  15660. description: Internal Server Error
  15661. schema:
  15662. $ref: '#/definitions/app.Response'
  15663. security:
  15664. - ApiKeyAuth: []
  15665. summary: 历史成交单查询(合约市场)
  15666. tags:
  15667. - 通用单据
  15668. /Order/QueryHisTradeOrderDetail:
  15669. get:
  15670. parameters:
  15671. - description: 资金账户 - 格式:1,2,3
  15672. in: query
  15673. name: accountID
  15674. required: true
  15675. type: string
  15676. - description: 交易模式 - 格式:1,2,3
  15677. in: query
  15678. name: tradeMode
  15679. type: string
  15680. - description: 委托状态 - 格式:1,2,3
  15681. in: query
  15682. name: orderStatus
  15683. type: string
  15684. - description: 委托单号
  15685. in: query
  15686. name: orderID
  15687. type: integer
  15688. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  15689. in: query
  15690. name: startDate
  15691. type: string
  15692. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  15693. in: query
  15694. name: endDate
  15695. type: string
  15696. produces:
  15697. - application/json
  15698. responses:
  15699. "200":
  15700. description: OK
  15701. schema:
  15702. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  15703. "500":
  15704. description: Internal Server Error
  15705. schema:
  15706. $ref: '#/definitions/app.Response'
  15707. security:
  15708. - ApiKeyAuth: []
  15709. summary: 历史委托单查询请求(合约市场)
  15710. tags:
  15711. - 通用单据
  15712. /Order/QueryTradeDetail:
  15713. get:
  15714. parameters:
  15715. - description: 资金账户 - 格式:1,2,3
  15716. in: query
  15717. name: accountID
  15718. required: true
  15719. type: string
  15720. - description: 成交单号
  15721. in: query
  15722. name: tradeID
  15723. type: integer
  15724. - description: 委托单号
  15725. in: query
  15726. name: orderID
  15727. type: integer
  15728. - description: 交易模式 - 格式:1,2,3
  15729. in: query
  15730. name: tradeMode
  15731. type: string
  15732. - description: 委托单据类型
  15733. in: query
  15734. name: buildType
  15735. type: integer
  15736. - description: 成交类别 - 格式:1,2,3
  15737. in: query
  15738. name: tradeType
  15739. type: string
  15740. produces:
  15741. - application/json
  15742. responses:
  15743. "200":
  15744. description: OK
  15745. schema:
  15746. $ref: '#/definitions/order.QueryTradeDetailRsp'
  15747. "500":
  15748. description: Internal Server Error
  15749. schema:
  15750. $ref: '#/definitions/app.Response'
  15751. security:
  15752. - ApiKeyAuth: []
  15753. summary: 成交单查询(合约市场)
  15754. tags:
  15755. - 通用单据
  15756. /Order/QueryTradeOrderDetail:
  15757. get:
  15758. parameters:
  15759. - description: 资金账户 - 格式:1,2,3
  15760. in: query
  15761. name: accountID
  15762. required: true
  15763. type: string
  15764. - description: 交易模式 - 格式:1,2,3
  15765. in: query
  15766. name: tradeMode
  15767. type: string
  15768. - description: 委托状态 - 格式:1,2,3
  15769. in: query
  15770. name: orderStatus
  15771. type: string
  15772. - description: 委托单号
  15773. in: query
  15774. name: orderID
  15775. type: integer
  15776. produces:
  15777. - application/json
  15778. responses:
  15779. "200":
  15780. description: OK
  15781. schema:
  15782. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  15783. "500":
  15784. description: Internal Server Error
  15785. schema:
  15786. $ref: '#/definitions/app.Response'
  15787. security:
  15788. - ApiKeyAuth: []
  15789. summary: 委托单查询请求(合约市场)
  15790. tags:
  15791. - 通用单据
  15792. /Order/QueryTradePosition:
  15793. get:
  15794. parameters:
  15795. - description: 资金账户 - 格式:1,2,3
  15796. in: query
  15797. name: accountID
  15798. required: true
  15799. type: string
  15800. - description: 交易模式 - 格式:1,2,3
  15801. in: query
  15802. name: tradeMode
  15803. type: string
  15804. produces:
  15805. - application/json
  15806. responses:
  15807. "200":
  15808. description: OK
  15809. schema:
  15810. $ref: '#/definitions/order.QueryTradePositionRsp'
  15811. "500":
  15812. description: Internal Server Error
  15813. schema:
  15814. $ref: '#/definitions/app.Response'
  15815. security:
  15816. - ApiKeyAuth: []
  15817. summary: 持仓汇总查询(合约市场)
  15818. tags:
  15819. - 通用单据
  15820. /Quote/QueryHistoryDatas:
  15821. get:
  15822. parameters:
  15823. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  15824. 日线'
  15825. in: query
  15826. name: cycleType
  15827. required: true
  15828. type: integer
  15829. - description: 商品代码
  15830. in: query
  15831. name: goodsCode
  15832. required: true
  15833. type: string
  15834. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  15835. in: query
  15836. name: startTime
  15837. type: string
  15838. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  15839. in: query
  15840. name: endTime
  15841. type: string
  15842. - description: 条数
  15843. in: query
  15844. name: count
  15845. type: integer
  15846. - description: 是否按时间顺序排序(默认为时间倒序排序)
  15847. in: query
  15848. name: isAsc
  15849. type: boolean
  15850. produces:
  15851. - application/json
  15852. responses:
  15853. "200":
  15854. description: OK
  15855. schema:
  15856. $ref: '#/definitions/quote.HistoryData'
  15857. "500":
  15858. description: Internal Server Error
  15859. schema:
  15860. $ref: '#/definitions/app.Response'
  15861. security:
  15862. - ApiKeyAuth: []
  15863. summary: 查询行情历史数据
  15864. tags:
  15865. - 行情服务
  15866. /Quote/QueryHistoryTikDatas:
  15867. get:
  15868. parameters:
  15869. - description: 商品代码
  15870. in: query
  15871. name: goodsCode
  15872. required: true
  15873. type: string
  15874. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  15875. in: query
  15876. name: startTime
  15877. type: string
  15878. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  15879. in: query
  15880. name: endTime
  15881. type: string
  15882. - description: 条数
  15883. in: query
  15884. name: count
  15885. type: integer
  15886. - description: 是否按时间顺序排序(默认为时间倒序排序)
  15887. in: query
  15888. name: isAsc
  15889. type: boolean
  15890. produces:
  15891. - application/json
  15892. responses:
  15893. "200":
  15894. description: OK
  15895. schema:
  15896. $ref: '#/definitions/quote.HistoryTikData'
  15897. "500":
  15898. description: Internal Server Error
  15899. schema:
  15900. $ref: '#/definitions/app.Response'
  15901. security:
  15902. - ApiKeyAuth: []
  15903. summary: 查询行情Tik数据
  15904. tags:
  15905. - 行情服务
  15906. /Quote/QueryQuoteDay:
  15907. get:
  15908. parameters:
  15909. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  15910. in: query
  15911. name: goodsCodes
  15912. required: true
  15913. type: string
  15914. produces:
  15915. - application/json
  15916. responses:
  15917. "200":
  15918. description: OK
  15919. schema:
  15920. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  15921. "500":
  15922. description: Internal Server Error
  15923. schema:
  15924. $ref: '#/definitions/app.Response'
  15925. security:
  15926. - ApiKeyAuth: []
  15927. summary: 获取商品盘面信息
  15928. tags:
  15929. - 行情服务
  15930. /Quote/QueryTSData:
  15931. get:
  15932. parameters:
  15933. - description: 商品代码
  15934. in: query
  15935. name: goodsCode
  15936. required: true
  15937. type: string
  15938. produces:
  15939. - application/json
  15940. responses:
  15941. "200":
  15942. description: OK
  15943. schema:
  15944. $ref: '#/definitions/quote.QueryTSDataRsp'
  15945. "500":
  15946. description: Internal Server Error
  15947. schema:
  15948. $ref: '#/definitions/app.Response'
  15949. security:
  15950. - ApiKeyAuth: []
  15951. summary: 分时图数据查询
  15952. tags:
  15953. - 行情服务
  15954. /SZDZ/QueryConvertConfig:
  15955. get:
  15956. parameters:
  15957. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  15958. 6:交易转花生米(不设置)
  15959. in: query
  15960. name: convertType
  15961. type: integer
  15962. - description: 外部商品代码[JD\PD]
  15963. in: query
  15964. name: outerGoodsCode
  15965. type: string
  15966. - description: 内部商品ID列表[交易],格式:1,2,3
  15967. in: query
  15968. name: innerGoodsIDs
  15969. type: string
  15970. produces:
  15971. - application/json
  15972. responses:
  15973. "200":
  15974. description: OK
  15975. schema:
  15976. $ref: '#/definitions/models.Szdz3convertconfig'
  15977. "500":
  15978. description: Internal Server Error
  15979. schema:
  15980. $ref: '#/definitions/app.Response'
  15981. security:
  15982. - ApiKeyAuth: []
  15983. summary: 查询交易系统转换设置
  15984. tags:
  15985. - 定制【尚志大宗】
  15986. /SZDZ/QueryConvertLog:
  15987. get:
  15988. parameters:
  15989. - description: 资金账户 - 格式:1,2,3
  15990. in: query
  15991. name: accountID
  15992. required: true
  15993. type: string
  15994. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  15995. in: query
  15996. name: startDate
  15997. type: string
  15998. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  15999. in: query
  16000. name: endDate
  16001. type: string
  16002. produces:
  16003. - application/json
  16004. responses:
  16005. "200":
  16006. description: OK
  16007. schema:
  16008. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  16009. "500":
  16010. description: Internal Server Error
  16011. schema:
  16012. $ref: '#/definitions/app.Response'
  16013. security:
  16014. - ApiKeyAuth: []
  16015. summary: 交易系统转换流水查询
  16016. tags:
  16017. - 定制【尚志大宗】
  16018. /SZDZ/QueryGoodsPickup:
  16019. get:
  16020. parameters:
  16021. - description: 资金账户 - 格式:1,2,3
  16022. in: query
  16023. name: accountID
  16024. required: true
  16025. type: string
  16026. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  16027. in: query
  16028. name: takeOrderStatus
  16029. type: integer
  16030. produces:
  16031. - application/json
  16032. responses:
  16033. "200":
  16034. description: OK
  16035. schema:
  16036. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  16037. "500":
  16038. description: Internal Server Error
  16039. schema:
  16040. $ref: '#/definitions/app.Response'
  16041. security:
  16042. - ApiKeyAuth: []
  16043. summary: 商品提货单查询
  16044. tags:
  16045. - 定制【尚志大宗】
  16046. /SZDZ/QueryRecieptOrder:
  16047. get:
  16048. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  16049. parameters:
  16050. - description: 页码
  16051. in: query
  16052. name: page
  16053. type: integer
  16054. - description: 每页条数
  16055. in: query
  16056. name: pagesize
  16057. type: integer
  16058. - description: 商品ID
  16059. in: query
  16060. name: goodsID
  16061. required: true
  16062. type: integer
  16063. - description: 所属账户名称
  16064. in: query
  16065. name: accountName
  16066. type: string
  16067. - description: 市场ID
  16068. in: query
  16069. name: marketID
  16070. type: integer
  16071. - description: 方向 - 0:买 1:卖
  16072. in: query
  16073. name: buyorsell
  16074. required: true
  16075. type: integer
  16076. produces:
  16077. - application/json
  16078. responses:
  16079. "200":
  16080. description: OK
  16081. schema:
  16082. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  16083. "500":
  16084. description: Internal Server Error
  16085. schema:
  16086. $ref: '#/definitions/app.Response'
  16087. security:
  16088. - ApiKeyAuth: []
  16089. summary: 点选挂牌委托单据查询(摘牌大厅)
  16090. tags:
  16091. - 定制【尚志大宗】
  16092. /SZDZ/QuerySZDZTradePosition:
  16093. get:
  16094. parameters:
  16095. - description: 资金账户
  16096. in: query
  16097. name: accountID
  16098. required: true
  16099. type: integer
  16100. produces:
  16101. - application/json
  16102. responses:
  16103. "200":
  16104. description: OK
  16105. schema:
  16106. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  16107. "500":
  16108. description: Internal Server Error
  16109. schema:
  16110. $ref: '#/definitions/app.Response'
  16111. security:
  16112. - ApiKeyAuth: []
  16113. summary: 持仓汇总查询(尚志大宗)
  16114. tags:
  16115. - 定制【尚志大宗】
  16116. /SZDZ/SearchWhite:
  16117. get:
  16118. parameters:
  16119. - description: 用户ID
  16120. in: query
  16121. name: userID
  16122. required: true
  16123. type: integer
  16124. produces:
  16125. - application/json
  16126. responses:
  16127. "200":
  16128. description: OK
  16129. schema:
  16130. $ref: '#/definitions/models.Szdz3searchwhitelist'
  16131. "500":
  16132. description: Internal Server Error
  16133. schema:
  16134. $ref: '#/definitions/app.Response'
  16135. security:
  16136. - ApiKeyAuth: []
  16137. summary: 搜索白名单
  16138. tags:
  16139. - 定制【尚志大宗】
  16140. /Search/SearchGoodses:
  16141. get:
  16142. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  16143. parameters:
  16144. - description: 检索内容
  16145. in: query
  16146. name: content
  16147. required: true
  16148. type: string
  16149. - description: 交易模式,格式:1,2,3
  16150. in: query
  16151. name: tradeModes
  16152. type: string
  16153. produces:
  16154. - application/json
  16155. responses:
  16156. "200":
  16157. description: OK
  16158. schema:
  16159. $ref: '#/definitions/models.SearchGoods'
  16160. "500":
  16161. description: Internal Server Error
  16162. schema:
  16163. $ref: '#/definitions/app.Response'
  16164. summary: 检索商品信息
  16165. tags:
  16166. - 检索服务
  16167. /TaAccount/GetTaAccounts:
  16168. get:
  16169. parameters:
  16170. - description: 登录账户
  16171. in: query
  16172. name: loginID
  16173. required: true
  16174. type: integer
  16175. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  16176. in: query
  16177. name: taAccountType
  16178. type: integer
  16179. produces:
  16180. - application/json
  16181. responses:
  16182. "200":
  16183. description: OK
  16184. schema:
  16185. $ref: '#/definitions/models.Taaccount'
  16186. "500":
  16187. description: Internal Server Error
  16188. schema:
  16189. $ref: '#/definitions/app.Response'
  16190. security:
  16191. - ApiKeyAuth: []
  16192. summary: 获取资金账户信息
  16193. tags:
  16194. - 资金账户
  16195. /TaAccount/QueryAmountLog:
  16196. get:
  16197. parameters:
  16198. - description: 页码
  16199. in: query
  16200. name: page
  16201. type: integer
  16202. - description: 每页条数
  16203. in: query
  16204. name: pagesize
  16205. type: integer
  16206. - description: 资金账户 - 格式:1,2,3
  16207. in: query
  16208. name: accountID
  16209. required: true
  16210. type: string
  16211. - description: 资金操作类型 - 格式:1,2,3
  16212. in: query
  16213. name: OperateType
  16214. type: string
  16215. produces:
  16216. - application/json
  16217. responses:
  16218. "200":
  16219. description: OK
  16220. schema:
  16221. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  16222. "500":
  16223. description: Internal Server Error
  16224. schema:
  16225. $ref: '#/definitions/app.Response'
  16226. security:
  16227. - ApiKeyAuth: []
  16228. summary: 资金流水查询(当前)
  16229. tags:
  16230. - 资金账户
  16231. /TaAccount/QueryHisAmountLog:
  16232. get:
  16233. parameters:
  16234. - description: 页码
  16235. in: query
  16236. name: page
  16237. type: integer
  16238. - description: 每页条数
  16239. in: query
  16240. name: pagesize
  16241. type: integer
  16242. - description: 资金账户 - 格式:1,2,3
  16243. in: query
  16244. name: accountID
  16245. required: true
  16246. type: string
  16247. - description: 资金操作类型 - 格式:1,2,3
  16248. in: query
  16249. name: OperateType
  16250. type: string
  16251. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16252. in: query
  16253. name: startDate
  16254. type: string
  16255. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16256. in: query
  16257. name: endDate
  16258. type: string
  16259. produces:
  16260. - application/json
  16261. responses:
  16262. "200":
  16263. description: OK
  16264. schema:
  16265. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  16266. "500":
  16267. description: Internal Server Error
  16268. schema:
  16269. $ref: '#/definitions/app.Response'
  16270. security:
  16271. - ApiKeyAuth: []
  16272. summary: 资金流水查询(历史)
  16273. tags:
  16274. - 资金账户
  16275. /Trade/QueryRecieptOrder:
  16276. get:
  16277. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  16278. parameters:
  16279. - description: 页码
  16280. in: query
  16281. name: page
  16282. type: integer
  16283. - description: 每页条数
  16284. in: query
  16285. name: pagesize
  16286. type: integer
  16287. - description: 商品ID
  16288. in: query
  16289. name: goodsID
  16290. required: true
  16291. type: integer
  16292. - description: 所属账户名称
  16293. in: query
  16294. name: accountName
  16295. type: string
  16296. - description: 市场ID
  16297. in: query
  16298. name: marketID
  16299. type: integer
  16300. - description: 方向 - 0:买 1:卖
  16301. in: query
  16302. name: buyorsell
  16303. required: true
  16304. type: integer
  16305. produces:
  16306. - application/json
  16307. responses:
  16308. "200":
  16309. description: OK
  16310. schema:
  16311. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  16312. "500":
  16313. description: Internal Server Error
  16314. schema:
  16315. $ref: '#/definitions/app.Response'
  16316. security:
  16317. - ApiKeyAuth: []
  16318. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  16319. tags:
  16320. - 通用交易
  16321. /User/AddMessageBoard:
  16322. post:
  16323. parameters:
  16324. - description: 用户ID
  16325. in: query
  16326. name: userID
  16327. required: true
  16328. type: integer
  16329. - description: 留言信息
  16330. in: query
  16331. name: message
  16332. required: true
  16333. type: string
  16334. - description: 联系电话
  16335. in: query
  16336. name: contactNum
  16337. required: true
  16338. type: string
  16339. produces:
  16340. - application/json
  16341. responses:
  16342. "200":
  16343. description: OK
  16344. schema:
  16345. $ref: '#/definitions/app.Response'
  16346. "500":
  16347. description: Internal Server Error
  16348. schema:
  16349. $ref: '#/definitions/app.Response'
  16350. security:
  16351. - ApiKeyAuth: []
  16352. summary: 添加用户留言板信息
  16353. tags:
  16354. - 用户信息
  16355. /User/AddUserFavoriteGoods:
  16356. post:
  16357. parameters:
  16358. - description: 用户ID
  16359. in: query
  16360. name: userID
  16361. required: true
  16362. type: integer
  16363. - description: 商品ID
  16364. in: query
  16365. name: goodsID
  16366. required: true
  16367. type: integer
  16368. produces:
  16369. - application/json
  16370. responses:
  16371. "200":
  16372. description: OK
  16373. schema:
  16374. $ref: '#/definitions/app.Response'
  16375. "500":
  16376. description: Internal Server Error
  16377. schema:
  16378. $ref: '#/definitions/app.Response'
  16379. security:
  16380. - ApiKeyAuth: []
  16381. summary: 添加用户商品收藏信息
  16382. tags:
  16383. - 用户信息
  16384. /User/GetLoginID:
  16385. get:
  16386. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  16387. parameters:
  16388. - description: 登录代码
  16389. in: query
  16390. name: username
  16391. required: true
  16392. type: string
  16393. produces:
  16394. - application/json
  16395. responses:
  16396. "200":
  16397. description: OK
  16398. schema:
  16399. $ref: '#/definitions/app.Response'
  16400. "500":
  16401. description: Internal Server Error
  16402. schema:
  16403. $ref: '#/definitions/app.Response'
  16404. summary: 获取登录ID
  16405. tags:
  16406. - 用户信息
  16407. /User/GetUserAccount:
  16408. get:
  16409. parameters:
  16410. - description: 用户ID
  16411. in: query
  16412. name: userID
  16413. required: true
  16414. type: integer
  16415. produces:
  16416. - application/json
  16417. responses:
  16418. "200":
  16419. description: OK
  16420. schema:
  16421. $ref: '#/definitions/models.Useraccount'
  16422. "500":
  16423. description: Internal Server Error
  16424. schema:
  16425. $ref: '#/definitions/app.Response'
  16426. security:
  16427. - ApiKeyAuth: []
  16428. summary: 获取用户账号信息
  16429. tags:
  16430. - 用户信息
  16431. /User/GetUserAuthStatus:
  16432. get:
  16433. parameters:
  16434. - description: 用户ID
  16435. in: query
  16436. name: userID
  16437. required: true
  16438. type: integer
  16439. produces:
  16440. - application/json
  16441. responses:
  16442. "200":
  16443. description: OK
  16444. schema:
  16445. $ref: '#/definitions/app.Response'
  16446. "500":
  16447. description: Internal Server Error
  16448. schema:
  16449. $ref: '#/definitions/app.Response'
  16450. security:
  16451. - ApiKeyAuth: []
  16452. summary: 获取用户实名认证状态
  16453. tags:
  16454. - 用户信息
  16455. /User/LoginQuery:
  16456. get:
  16457. parameters:
  16458. - description: 登录账号
  16459. in: query
  16460. name: loginID
  16461. required: true
  16462. type: integer
  16463. produces:
  16464. - application/json
  16465. responses:
  16466. "200":
  16467. description: OK
  16468. schema:
  16469. $ref: '#/definitions/user.LoginQueryRsp'
  16470. "500":
  16471. description: Internal Server Error
  16472. schema:
  16473. $ref: '#/definitions/app.Response'
  16474. security:
  16475. - ApiKeyAuth: []
  16476. summary: 账户登录后信息查询
  16477. tags:
  16478. - 用户信息
  16479. /User/QueryMessageBoard:
  16480. get:
  16481. parameters:
  16482. - description: 用户ID
  16483. in: query
  16484. name: userID
  16485. required: true
  16486. type: integer
  16487. produces:
  16488. - application/json
  16489. responses:
  16490. "200":
  16491. description: OK
  16492. schema:
  16493. $ref: '#/definitions/models.Messageboard'
  16494. "500":
  16495. description: Internal Server Error
  16496. schema:
  16497. $ref: '#/definitions/app.Response'
  16498. security:
  16499. - ApiKeyAuth: []
  16500. summary: 获取用户留言板信息
  16501. tags:
  16502. - 用户信息
  16503. /User/QueryUserFavoriteGoodses:
  16504. get:
  16505. parameters:
  16506. - description: 用户ID
  16507. in: query
  16508. name: userID
  16509. required: true
  16510. type: integer
  16511. produces:
  16512. - application/json
  16513. responses:
  16514. "200":
  16515. description: OK
  16516. schema:
  16517. $ref: '#/definitions/models.Userfavoritegoods'
  16518. "500":
  16519. description: Internal Server Error
  16520. schema:
  16521. $ref: '#/definitions/app.Response'
  16522. security:
  16523. - ApiKeyAuth: []
  16524. summary: 获取用户商品收藏信息
  16525. tags:
  16526. - 用户信息
  16527. /User/QueryUserInfo:
  16528. get:
  16529. parameters:
  16530. - description: 用户ID
  16531. in: query
  16532. name: userID
  16533. required: true
  16534. type: integer
  16535. - description: 是否解密
  16536. in: query
  16537. name: isDecrypt
  16538. type: boolean
  16539. produces:
  16540. - application/json
  16541. responses:
  16542. "200":
  16543. description: OK
  16544. schema:
  16545. $ref: '#/definitions/models.Userinfo'
  16546. "500":
  16547. description: Internal Server Error
  16548. schema:
  16549. $ref: '#/definitions/app.Response'
  16550. security:
  16551. - ApiKeyAuth: []
  16552. summary: 获取用户信息
  16553. tags:
  16554. - 用户信息
  16555. /User/QueryUserReferNum:
  16556. get:
  16557. parameters:
  16558. - description: 用户ID
  16559. in: query
  16560. name: userID
  16561. required: true
  16562. type: integer
  16563. produces:
  16564. - application/json
  16565. responses:
  16566. "200":
  16567. description: OK
  16568. schema:
  16569. $ref: '#/definitions/app.Response'
  16570. "500":
  16571. description: Internal Server Error
  16572. schema:
  16573. $ref: '#/definitions/app.Response'
  16574. summary: 获取用户邀请码
  16575. tags:
  16576. - 用户信息
  16577. /User/RemoveUserFavoriteGoods:
  16578. post:
  16579. parameters:
  16580. - description: 用户ID
  16581. in: query
  16582. name: userID
  16583. required: true
  16584. type: integer
  16585. - description: 商品ID
  16586. in: query
  16587. name: goodsID
  16588. required: true
  16589. type: integer
  16590. produces:
  16591. - application/json
  16592. responses:
  16593. "200":
  16594. description: OK
  16595. schema:
  16596. $ref: '#/definitions/app.Response'
  16597. "500":
  16598. description: Internal Server Error
  16599. schema:
  16600. $ref: '#/definitions/app.Response'
  16601. security:
  16602. - ApiKeyAuth: []
  16603. summary: 移除用户商品收藏信息
  16604. tags:
  16605. - 用户信息
  16606. /User/UpdateUserAccountStatus:
  16607. post:
  16608. parameters:
  16609. - description: 用户ID
  16610. in: query
  16611. name: userID
  16612. required: true
  16613. type: integer
  16614. - description: 账户状态 - 4:正常 6:注销(停用)
  16615. in: query
  16616. name: accountStatus
  16617. required: true
  16618. type: integer
  16619. produces:
  16620. - application/json
  16621. responses:
  16622. "200":
  16623. description: OK
  16624. schema:
  16625. $ref: '#/definitions/app.Response'
  16626. "500":
  16627. description: Internal Server Error
  16628. schema:
  16629. $ref: '#/definitions/app.Response'
  16630. security:
  16631. - ApiKeyAuth: []
  16632. summary: 更新用户状态
  16633. tags:
  16634. - 用户信息
  16635. /WRTrade/GetAllDeliveryGoods:
  16636. get:
  16637. produces:
  16638. - application/json
  16639. - application/json
  16640. responses:
  16641. "200":
  16642. description: OK
  16643. schema:
  16644. $ref: '#/definitions/app.Response'
  16645. "500":
  16646. description: Internal Server Error
  16647. schema:
  16648. $ref: '#/definitions/app.Response'
  16649. security:
  16650. - ApiKeyAuth: []
  16651. - ApiKeyAuth: []
  16652. summary: 获取带仓单分类的种类信息
  16653. tags:
  16654. - 仓单贸易
  16655. - 仓单贸易
  16656. securityDefinitions:
  16657. ApiKeyAuth:
  16658. in: header
  16659. name: Authorization
  16660. type: apiKey
  16661. swagger: "2.0"