swagger.yaml 455 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. rulekey:
  35. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  36. type: string
  37. sort:
  38. description: 排序
  39. type: integer
  40. title:
  41. description: 标题
  42. type: string
  43. type:
  44. description: 类型,1:菜单 2:按钮
  45. type: integer
  46. type: object
  47. common.QueryImageConfigsRsp:
  48. properties:
  49. areauserid:
  50. description: 所属机构ID
  51. type: integer
  52. configid:
  53. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  54. type: integer
  55. createdate:
  56. description: 创建时间
  57. type: string
  58. creatorid:
  59. description: 创建人
  60. type: integer
  61. imagepath:
  62. description: 图片
  63. type: string
  64. imagetype:
  65. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  66. type: integer
  67. isshow:
  68. description: 是否展示 - 0:不展示 1:展示
  69. type: integer
  70. marketid:
  71. description: 市场ID
  72. type: integer
  73. modifierid:
  74. description: 操作人
  75. type: integer
  76. sort:
  77. description: 排序
  78. type: integer
  79. title:
  80. description: 标题
  81. type: string
  82. trademode:
  83. description: 交易模式
  84. type: integer
  85. updatedate:
  86. description: 修改时间
  87. type: string
  88. url:
  89. description: 链接(地址或商品ID)
  90. type: string
  91. urltype:
  92. description: 链接类型 - 1:直接地址 2:商品ID
  93. type: integer
  94. required:
  95. - configid
  96. type: object
  97. common.QueryNoticeRsp:
  98. properties:
  99. auditoruserid:
  100. description: 审核人
  101. type: integer
  102. auditremark:
  103. description: 审核备注
  104. type: string
  105. audittime:
  106. description: 审核日期
  107. type: string
  108. autoid:
  109. description: 自增ID
  110. type: integer
  111. content:
  112. description: 内容
  113. type: string
  114. createtime:
  115. description: 创建时间
  116. type: string
  117. creatorid:
  118. description: 建仓人
  119. type: integer
  120. endtime:
  121. description: 结束时间
  122. type: string
  123. istop:
  124. description: 是否置顶 - 0:不置顶 1:置顶
  125. type: integer
  126. msgiconurl:
  127. description: 消息图标Url
  128. type: string
  129. msgtype:
  130. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  131. type: integer
  132. publisher:
  133. description: 消息发布者
  134. type: string
  135. readed:
  136. description: 是否已读
  137. type: boolean
  138. scheduletime:
  139. description: 计划发送时间
  140. type: string
  141. sendtype:
  142. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  143. type: integer
  144. sentstatus:
  145. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  146. type: integer
  147. title:
  148. description: 标题
  149. type: string
  150. userid:
  151. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  152. type: integer
  153. required:
  154. - autoid
  155. type: object
  156. common.QueryProvincesAndCitiesRsp:
  157. properties:
  158. cities:
  159. description: 市
  160. items:
  161. $ref: '#/definitions/models.Division'
  162. type: array
  163. province:
  164. $ref: '#/definitions/models.Division'
  165. description: 省
  166. type: object
  167. type: object
  168. common.QueryTableDefineRsp:
  169. properties:
  170. columns:
  171. description: 列头信息数组
  172. items:
  173. $ref: '#/definitions/models.Tablecolumnconfig'
  174. type: array
  175. remark:
  176. description: Remark
  177. type: string
  178. tabelmenu:
  179. description: 列表菜单
  180. type: string
  181. tablekey:
  182. description: 列表Key
  183. type: string
  184. tablename:
  185. description: 列表名称
  186. type: string
  187. tabletype:
  188. description: 列表类型 - 1:管理端 2:终端
  189. type: integer
  190. required:
  191. - tablekey
  192. type: object
  193. common.QueryTraderMenuRsp:
  194. properties:
  195. OperationMenu:
  196. description: 功能菜单
  197. items:
  198. $ref: '#/definitions/models.OperationPrimaryMenu'
  199. type: array
  200. QuoteMenu:
  201. description: 报价牌分类菜单
  202. items:
  203. $ref: '#/definitions/models.QuotePrimaryMenu'
  204. type: array
  205. type: object
  206. cptrade.Cptradepositioncancel:
  207. properties:
  208. accountid:
  209. description: 申请人账户ID
  210. type: integer
  211. applystatus:
  212. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  213. type: integer
  214. applytime:
  215. description: 申请时间
  216. type: string
  217. cancelid:
  218. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  219. type: integer
  220. cancelqty:
  221. description: 注销数量
  222. type: integer
  223. createtime:
  224. description: 创建时间
  225. type: string
  226. creatorid:
  227. description: 创建人ID
  228. type: integer
  229. creatorname:
  230. description: 创建人
  231. type: string
  232. goodscode:
  233. description: 订单商品代码
  234. type: string
  235. goodsid:
  236. description: 商品ID
  237. type: integer
  238. goodsname:
  239. description: 订单商品名称
  240. type: string
  241. goodunit:
  242. description: 报价单位
  243. type: string
  244. handlestatus:
  245. description: 处理状态
  246. type: integer
  247. marketid:
  248. description: 市场ID
  249. type: integer
  250. marketname:
  251. description: 市场名称
  252. type: string
  253. tradedate:
  254. description: 交易日(yyyyMMdd)
  255. type: string
  256. userid:
  257. description: 申请人ID
  258. type: integer
  259. required:
  260. - cancelid
  261. type: object
  262. cptrade.Cptradepresaleapply:
  263. properties:
  264. accountid:
  265. description: 申请人账户ID
  266. type: integer
  267. applyid:
  268. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  269. type: integer
  270. applyremark:
  271. description: 申请备注
  272. type: string
  273. applystatus:
  274. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  275. type: integer
  276. applytime:
  277. description: 申请时间
  278. type: string
  279. attachmenturl:
  280. description: 附件地址
  281. type: string
  282. endtime:
  283. description: 预售结束时间
  284. type: string
  285. goodscode:
  286. description: 商品代码
  287. type: string
  288. goodsid:
  289. description: 商品ID
  290. type: integer
  291. goodsname:
  292. description: 商品名称
  293. type: string
  294. goodunit:
  295. description: 报价单位
  296. type: string
  297. handlestatus:
  298. description: 处理状态
  299. type: integer
  300. marketid:
  301. description: 预售市场ID
  302. type: integer
  303. marketname:
  304. description: 预售市场名称
  305. type: string
  306. presaleqty:
  307. description: 预售数量
  308. type: integer
  309. relatedgoodscode:
  310. description: 关联交易合约代码
  311. type: string
  312. relatedgoodsid:
  313. description: 关联交易合约ID
  314. type: integer
  315. relatedgoodsname:
  316. description: 关联交易合约名称
  317. type: string
  318. starttime:
  319. description: 预售开始时间
  320. type: string
  321. tradedate:
  322. description: 交易日(yyyyMMdd)
  323. type: string
  324. trademode:
  325. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  326. type: integer
  327. userid:
  328. description: 申请人ID
  329. type: integer
  330. required:
  331. - applyid
  332. type: object
  333. cptrade.Cptradeusergoodsdata:
  334. properties:
  335. EnabledQty:
  336. description: 可用量
  337. type: integer
  338. GoodsCode:
  339. description: 订单商品代码
  340. type: string
  341. GoodsName:
  342. description: 订单商品名称
  343. type: string
  344. WRStandardCode:
  345. description: 仓单标准代码
  346. type: string
  347. WRStandardName:
  348. description: 仓单标准名称
  349. type: string
  350. accountid:
  351. description: 账户ID
  352. type: integer
  353. cancelqty:
  354. description: 注销量
  355. type: integer
  356. curpresaleqty:
  357. description: 当前预售量
  358. type: integer
  359. deliveryqty:
  360. description: 交割量
  361. type: integer
  362. freezeamount:
  363. description: 冻结金额
  364. type: number
  365. goodsid:
  366. description: 商品ID
  367. type: integer
  368. goodunit:
  369. description: 报价单位
  370. type: string
  371. hasspotfreeze:
  372. description: 是否有现货冻结 - 0:否 1:有
  373. type: integer
  374. inqty:
  375. description: 转入量(总数量)
  376. type: integer
  377. marketid:
  378. description: 市场ID
  379. type: integer
  380. presaledamount:
  381. description: 已预售总金额
  382. type: integer
  383. presaledqty:
  384. description: 已预售量
  385. type: integer
  386. userid:
  387. description: 用户ID
  388. type: integer
  389. wrstandardid:
  390. description: 仓单标准ID
  391. type: integer
  392. required:
  393. - accountid
  394. - goodsid
  395. type: object
  396. cptrade.QueryCPTradeMyBidRsp:
  397. properties:
  398. accountid:
  399. description: 账户ID[报价币种]
  400. type: integer
  401. goodsid:
  402. description: 商品ID
  403. type: integer
  404. goodunit:
  405. description: 报价单位
  406. type: string
  407. marketid:
  408. description: 市场ID
  409. type: integer
  410. orderid:
  411. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  412. type: integer
  413. orderprice:
  414. description: 委托价格
  415. type: number
  416. orderqty:
  417. description: 委托数量
  418. type: integer
  419. ordertime:
  420. description: 委托时间
  421. type: string
  422. ordertotalprice:
  423. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  424. type: number
  425. ordertotalweight:
  426. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  427. type: integer
  428. totaltotalprice:
  429. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  430. type: number
  431. tradeprice:
  432. description: 成交价格
  433. type: number
  434. tradeqty:
  435. description: 成交数量
  436. type: integer
  437. required:
  438. - accountid
  439. - goodsid
  440. - marketid
  441. - orderid
  442. - orderqty
  443. - ordertime
  444. - tradeprice
  445. - tradeqty
  446. type: object
  447. cptrade.QueryCPTradeOrderDetailRsq:
  448. properties:
  449. accountid:
  450. description: 账户ID[报价币种]
  451. type: integer
  452. buildtype:
  453. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  454. type: integer
  455. buyorsell:
  456. description: 买卖 - 0:买 1:卖
  457. type: integer
  458. cancelorderid:
  459. description: 撤单单号(撤单时填写)
  460. type: integer
  461. cancelqty:
  462. description: 撤单数量
  463. type: integer
  464. clientordertime:
  465. description: 客户端委托时间
  466. type: string
  467. clientticket:
  468. description: 客户端流水号
  469. type: string
  470. clienttype:
  471. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  472. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  473. type: integer
  474. closeexchagechargevalue:
  475. description: 平仓交易所手续费设置值
  476. type: number
  477. closefeealgorithm:
  478. description: 平仓手续费收取方式 1:比率 2:固定
  479. type: integer
  480. closefreezecharge:
  481. description: 平仓冻结手续费(先建后平操作,需要记录)
  482. type: number
  483. closememberchargevalue:
  484. description: 平仓会员手续费设置值
  485. type: number
  486. closeqty:
  487. description: 平仓数量(先建后平操作 需要记录)
  488. type: integer
  489. closetradeqty:
  490. description: 平仓成交数量(先建后平操作,需要记录)
  491. type: integer
  492. closeunfreezecharge:
  493. description: 平仓解冻手续费(先建后平操作,需要记录)
  494. type: number
  495. delistingtype:
  496. description: 摘牌类型 - 1:价格最优 2:点选成交
  497. type: integer
  498. freezecharge:
  499. description: 冻结手续费
  500. type: number
  501. freezemargin:
  502. description: 冻结保证金(冻结交易金额)
  503. type: number
  504. gcaccountid:
  505. description: 账户ID[合约币种]
  506. type: integer
  507. goodsid:
  508. description: 商品ID
  509. type: integer
  510. isconfirmexercise:
  511. description: 是否确认行权- 0:否 1:是
  512. type: integer
  513. ispreexercise:
  514. description: 是否预申报- 0:否 1:是
  515. type: integer
  516. listingselecttype:
  517. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  518. type: integer
  519. marginalgorithm:
  520. description: 保证金收取方式 1:比率 2:固定
  521. type: integer
  522. marginvalue:
  523. description: 即市保证金设置值
  524. type: number
  525. marketid:
  526. description: 市场ID
  527. type: integer
  528. marketmaxsub:
  529. description: 市价最大偏移范围
  530. type: number
  531. memberuserid:
  532. description: 所属会员UserID
  533. type: integer
  534. openexchagechargevalue:
  535. description: 建仓交易所手续费设置值
  536. type: number
  537. openfeealgorithm:
  538. description: 建仓手续费收取方式 1:比率 2:固定
  539. type: integer
  540. openfreezecharge:
  541. description: 开仓冻结手续费(先建后平操作,需要记录)
  542. type: number
  543. openmemberchargevalue:
  544. description: 建仓会员手续费设置值
  545. type: number
  546. openqty:
  547. description: 开仓数量(先建后平操作,需要记录)
  548. type: integer
  549. opentradeqty:
  550. description: 开仓成交数量(先建后平操作,需要记录)
  551. type: integer
  552. openunfreezecharge:
  553. description: 开仓解冻手续费(先建后平操作,需要记录)
  554. type: number
  555. operatetype:
  556. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  557. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  558. 15:管理端协议转让
  559. type: integer
  560. operatorid:
  561. description: 登录账号(LoginID)
  562. type: integer
  563. optiontype:
  564. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  565. type: integer
  566. orderprice:
  567. description: 委托价格
  568. type: number
  569. orderqty:
  570. description: 委托数量
  571. type: integer
  572. ordersrc:
  573. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  574. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  575. type: integer
  576. orderstatus:
  577. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  578. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  579. 16:成交失败违约(荷兰式竞拍专用)
  580. type: integer
  581. ordertime:
  582. description: 委托时间
  583. type: string
  584. preexerciseprice:
  585. description: 预申报价格
  586. type: number
  587. premium:
  588. description: 权利金
  589. type: number
  590. preorderid:
  591. description: 关联预埋单号(止盈止损单时填写)
  592. type: integer
  593. pricemode:
  594. description: '取价方式 - 1:市价 2: 限价'
  595. type: integer
  596. quoteid:
  597. description: 报价单ID
  598. type: integer
  599. relatedid:
  600. description: 关联单号(交割单)
  601. type: integer
  602. retcode:
  603. description: 错误代码
  604. type: integer
  605. sessionid:
  606. description: 会话ID
  607. type: integer
  608. strorderid:
  609. description: 委托单号
  610. type: string
  611. tradedate:
  612. description: 交易日(yyyyMMdd)
  613. type: string
  614. tradeproperty:
  615. description: 交易属性
  616. type: integer
  617. tradeqty:
  618. description: 成交数量
  619. type: integer
  620. unfreezecharge:
  621. description: 解冻手续费
  622. type: number
  623. unfreezemargin:
  624. description: 解冻保证金
  625. type: number
  626. updatetime:
  627. description: 更新时间
  628. type: string
  629. uuid:
  630. description: 发起端唯一id
  631. type: string
  632. validtime:
  633. description: 有效期限
  634. type: string
  635. validtype:
  636. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  637. type: integer
  638. volumetype:
  639. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  640. type: integer
  641. required:
  642. - accountid
  643. - buildtype
  644. - buyorsell
  645. - goodsid
  646. - marketid
  647. - memberuserid
  648. - operatetype
  649. - orderqty
  650. - ordertime
  651. - pricemode
  652. - strorderid
  653. - tradedate
  654. - validtype
  655. type: object
  656. cptrade.QueryMyCPTradeGoodsRsp:
  657. properties:
  658. accountid:
  659. description: 卖方账户ID
  660. type: integer
  661. agreeunit:
  662. description: 合约单位
  663. type: number
  664. applyid:
  665. description: 关联申请ID
  666. type: integer
  667. attachmenturl:
  668. description: 附件地址
  669. type: string
  670. createtime:
  671. description: 创建时间
  672. type: string
  673. currencyid:
  674. description: 报价货币ID
  675. type: integer
  676. decimalplace:
  677. description: 报价小数位
  678. type: integer
  679. endtime:
  680. description: 预售结束时间
  681. type: string
  682. floorprice:
  683. description: 底价[大宗式竞拍]
  684. type: number
  685. goodscode:
  686. description: 商品代码(预售)
  687. type: string
  688. goodsdetail:
  689. description: 详情[大宗]
  690. type: string
  691. goodsid:
  692. description: 商品ID(自增ID SEQ_GOODS)
  693. type: integer
  694. goodsname:
  695. description: 商品名称(预售)
  696. type: string
  697. goodunit:
  698. description: 报价单位
  699. type: string
  700. goodunitid:
  701. description: 报价单位ID
  702. type: integer
  703. marketid:
  704. description: 所属市场ID
  705. type: integer
  706. marketname:
  707. description: 预售市场名称
  708. type: string
  709. presaledamount:
  710. description: 已预售总金额(预售结束时更新)
  711. type: number
  712. presaledqty:
  713. description: 已预售量(预售结束时更新)
  714. type: integer
  715. presalemode:
  716. description: 预售模式 - 1:一口价 2:大宗式竞拍
  717. type: integer
  718. presaleqty:
  719. description: 预售数量
  720. type: integer
  721. refprice:
  722. description: 参考价格[一口价]
  723. type: number
  724. relatedgoodscode:
  725. description: 商品代码(订单)
  726. type: string
  727. relatedgoodsid:
  728. description: 关联交易合约ID
  729. type: integer
  730. relatedgoodsname:
  731. description: 商品名称(订单)
  732. type: string
  733. relatedmarketid:
  734. description: 关联交易合约市场ID
  735. type: integer
  736. sellstatus:
  737. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  738. type: integer
  739. startprice:
  740. description: 起拍价[大宗式竞拍]
  741. type: number
  742. starttime:
  743. description: 预售开始时间
  744. type: string
  745. tradedate:
  746. description: 交易日(yyyyMMdd)
  747. type: string
  748. tradeprice:
  749. description: 成交价[大宗]
  750. type: number
  751. userid:
  752. description: 卖方用户ID
  753. type: integer
  754. required:
  755. - goodscode
  756. - goodsid
  757. - goodsname
  758. - marketid
  759. - relatedgoodscode
  760. - relatedgoodsname
  761. type: object
  762. cptrade.QueryPresaleGoodsExRsp:
  763. properties:
  764. attachmenturl:
  765. description: 附件地址
  766. type: string
  767. createtime:
  768. description: 创建时间
  769. type: string
  770. endtime:
  771. description: 预售结束时间
  772. type: string
  773. floorprice:
  774. description: 底价[大宗式竞拍]
  775. type: number
  776. goodsdetail:
  777. description: 详情[大宗]
  778. type: string
  779. goodsid:
  780. description: 商品ID(预售)
  781. type: integer
  782. goodunit:
  783. description: 报价单位
  784. type: string
  785. marketid:
  786. description: 预售市场ID - 根据预售模式选择市场
  787. type: integer
  788. presaledamount:
  789. description: 已预售总金额(预售结束时更新)
  790. type: number
  791. presaledqty:
  792. description: 已预售量(预售结束时更新)
  793. type: integer
  794. presalemode:
  795. description: 预售模式 - 1:一口价 2:大宗式竞拍
  796. type: integer
  797. presaleqty:
  798. description: 预售数量
  799. type: integer
  800. refprice:
  801. description: 参考价格[一口价]
  802. type: number
  803. relatedgoodsid:
  804. description: 关联交易合约ID
  805. type: integer
  806. relatedmarketid:
  807. description: 关联交易合约市场ID
  808. type: integer
  809. sellstatus:
  810. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  811. type: integer
  812. startprice:
  813. description: 起拍价[大宗式竞拍]
  814. type: number
  815. starttime:
  816. description: 预售开始时间
  817. type: string
  818. tradedate:
  819. description: 交易日(yyyyMMdd)
  820. type: string
  821. tradeprice:
  822. description: 成交价[大宗]
  823. type: number
  824. required:
  825. - goodsid
  826. type: object
  827. delivery.QueryDeliveryRelationRsp:
  828. properties:
  829. begindate:
  830. description: 起始日期(yyyyMMdd)
  831. type: string
  832. buytemplateid:
  833. description: 买履约计划模板ID
  834. type: integer
  835. deliverygoodscode:
  836. description: 品种代码
  837. type: string
  838. deliverygoodsid:
  839. description: 交割商品
  840. type: integer
  841. deliverygoodsname:
  842. description: 品种名称
  843. type: string
  844. deliverymode:
  845. description: 交割方式 - 1:点选式 2:申报式
  846. type: integer
  847. deliverypricerule:
  848. description: 交割价规则- 1:行情价 2:建仓价
  849. type: integer
  850. deliverytype:
  851. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  852. type: integer
  853. enddate:
  854. description: 结束日期(yyyyMMdd)
  855. type: string
  856. goodscode:
  857. description: 商品代码
  858. type: string
  859. goodsid:
  860. description: 交易合约ID
  861. type: integer
  862. goodsname:
  863. description: 商品名称
  864. type: string
  865. marketid:
  866. description: 市场ID
  867. type: integer
  868. mindeliveryqty:
  869. description: 最小交割系数(K)
  870. type: integer
  871. p2deliveryprice:
  872. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  873. type: number
  874. p2deliveryratio:
  875. description: P2合约系数(p)
  876. type: integer
  877. p2goodsid:
  878. description: P2合约ID
  879. type: integer
  880. p2pricemode:
  881. description: P2合约价格方式 - 1:商品价 2:固定值
  882. type: integer
  883. pdeliveryprice:
  884. description: P合约价格(商品价时填写0,固定值时填写固定值)
  885. type: number
  886. pdeliveryratio:
  887. description: P合约系数(n)
  888. type: integer
  889. pgoodsid:
  890. description: P合约ID
  891. type: integer
  892. ppricemode:
  893. description: P合约价格方式 - 1:商品价 2:固定值
  894. type: integer
  895. rratio:
  896. description: 兑换系数(R)
  897. type: integer
  898. rratio1:
  899. description: 兑换系数(交易合约)(R1)
  900. type: integer
  901. rratio2:
  902. description: 兑换系数(仓单标准)(R2)
  903. type: integer
  904. selltemplateid:
  905. description: 卖履约计划模板ID
  906. type: integer
  907. wrstandardid:
  908. description: 仓单标准ID
  909. type: integer
  910. xdeliveryratio:
  911. description: 交易合约系数(m)
  912. type: integer
  913. required:
  914. - begindate
  915. - enddate
  916. - goodsid
  917. - mindeliveryqty
  918. - xdeliveryratio
  919. type: object
  920. ermcp.ExposureDetailRsp:
  921. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  922. ermcp.ExposureHedgePosDetailRsp:
  923. $ref: '#/definitions/models.ErmcpHedgePositionDetail'
  924. ermcp.ExposureHedgePositionRsp:
  925. $ref: '#/definitions/models.ErmcpHedgePosition'
  926. ermcp.ExposureSpotDetailRsp:
  927. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  928. ermcp.ExposureSpotRsp:
  929. $ref: '#/definitions/models.AreaSpotModel'
  930. ermcp.HisExposureRsp:
  931. $ref: '#/definitions/models.ErmcpHisExposureS'
  932. ermcp.PendingAuditCntRsp:
  933. $ref: '#/definitions/models.ErmcpPendingAudit'
  934. ermcp.QryAvalidGPRsp:
  935. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  936. ermcp.QryGGCovertCfgRsp:
  937. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  938. ermcp.QryMGChangeLogRsp:
  939. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  940. ermcp.QryMiddleGoodsDetailRsp:
  941. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  942. ermcp.QryMiddleGoodsRsp:
  943. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  944. ermcp.QryOPLogRsp:
  945. $ref: '#/definitions/models.ErmcpOPLogModel'
  946. ermcp.QryUserInfoRsp:
  947. $ref: '#/definitions/models.ErmcpUserModel'
  948. ermcp.QryWarehouseRsp:
  949. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  950. ermcp.QueryErmcpTradePositionRsp:
  951. properties:
  952. agreeunit:
  953. description: 合约单位
  954. type: number
  955. buyorsell:
  956. description: 方向 - 0:买 1:卖
  957. type: integer
  958. curpositionqty:
  959. description: 持仓(总仓数量, 期末头寸)
  960. type: integer
  961. curtdposition:
  962. description: 今仓数量(期末今日头寸)
  963. type: integer
  964. curtdpositionenabled:
  965. description: 今仓可用
  966. type: integer
  967. decimalplace:
  968. description: 报价小数位
  969. type: integer
  970. enableqty:
  971. description: 可用(总仓可用)
  972. type: integer
  973. exexchangename:
  974. description: 外部交易所名称
  975. type: string
  976. goodscode:
  977. description: 商品代码(内部)
  978. type: string
  979. goodsid:
  980. description: 商品ID(自增ID SEQ_GOODS)
  981. type: integer
  982. goodsname:
  983. description: 商品名称
  984. type: string
  985. last:
  986. description: 现价
  987. type: number
  988. marketid:
  989. description: 所属市场ID
  990. type: integer
  991. openaverageprice:
  992. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  993. type: number
  994. opencost:
  995. description: 开仓成本
  996. type: number
  997. openpl:
  998. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  999. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1000. type: number
  1001. outgoodscode:
  1002. description: 商品代码(外部)
  1003. type: string
  1004. positionaverageprice:
  1005. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1006. type: number
  1007. positioncost:
  1008. description: 持仓成本
  1009. type: number
  1010. positionpl:
  1011. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1012. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1013. type: number
  1014. positionplrate:
  1015. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1016. type: number
  1017. usedmargin:
  1018. description: 占用保证金
  1019. type: number
  1020. type: object
  1021. ermcp.RealtimeExposurePositionRsp:
  1022. $ref: '#/definitions/models.ErmcpExposurePostion'
  1023. ermcp.RealtimeExposureRsp:
  1024. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1025. erms2.QueryArbitrageStrategyRsp:
  1026. properties:
  1027. applybasis:
  1028. description: 申请基差
  1029. type: number
  1030. asapplyid:
  1031. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1032. type: string
  1033. asname:
  1034. description: 策略名称
  1035. type: string
  1036. asno:
  1037. description: 策略编号
  1038. type: string
  1039. basischangepl:
  1040. description: 基差变动损益[结算更新]
  1041. type: number
  1042. biztype:
  1043. description: 业务类型 - 1:正向套利 -1:反向套利
  1044. type: integer
  1045. closetradedate:
  1046. description: 完结交易日(yyyyMMdd)
  1047. type: string
  1048. curbasis:
  1049. description: 当前基差[结算更新]
  1050. type: number
  1051. deliverygoodsid:
  1052. description: 现货品种ID
  1053. type: integer
  1054. futureavgprice:
  1055. description: 期货建仓均价
  1056. type: number
  1057. futurecloseamount:
  1058. description: 期货平仓金额
  1059. type: number
  1060. futurecloseqty:
  1061. description: 期货平仓数量
  1062. type: number
  1063. futureopenamount:
  1064. description: 期货开仓金额
  1065. type: number
  1066. futureopenqty:
  1067. description: 期货开仓数量
  1068. type: number
  1069. futurepl:
  1070. description: 期货总盈亏[结算更新]
  1071. type: number
  1072. futureqty:
  1073. description: 期货持仓数量
  1074. type: number
  1075. futurequote:
  1076. description: 期货额度
  1077. type: number
  1078. goodsgroupid:
  1079. description: 期货品种ID
  1080. type: integer
  1081. marketid:
  1082. description: 市场ID
  1083. type: integer
  1084. netexposure:
  1085. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1086. type: number
  1087. netexposurepl:
  1088. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1089. type: number
  1090. netexposurerate:
  1091. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1092. type: number
  1093. openbasis:
  1094. description: 建仓基差
  1095. type: number
  1096. pricedspotqty:
  1097. description: 已定价现货数量
  1098. type: number
  1099. pricedspotqtynotax:
  1100. description: 已定价现货不含税数量
  1101. type: number
  1102. remark:
  1103. description: 备注
  1104. type: string
  1105. spotavgprice:
  1106. description: 现货均价
  1107. type: number
  1108. spotbuyamount:
  1109. description: 现货采购金额
  1110. type: number
  1111. spotbuyqty:
  1112. description: 现货采购数量
  1113. type: number
  1114. spotpl:
  1115. description: 现货总盈亏[结算更新]
  1116. type: number
  1117. spotquota:
  1118. description: 现货额度
  1119. type: number
  1120. spotsellamount:
  1121. description: 现货销售金额
  1122. type: number
  1123. spotsellqty:
  1124. description: 现货销售数量
  1125. type: number
  1126. spotusedquota:
  1127. description: 现货占用资金
  1128. type: number
  1129. strategystatus:
  1130. description: 策略状态 - 0:未结束 1:已结束
  1131. type: integer
  1132. totalpl:
  1133. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1134. type: number
  1135. tradedate:
  1136. description: 交易日(yyyyMMdd)
  1137. type: string
  1138. updatetime:
  1139. description: 更新时间
  1140. type: string
  1141. usedquota:
  1142. description: 已占用资金
  1143. type: number
  1144. userid:
  1145. description: 所属机构
  1146. type: integer
  1147. required:
  1148. - asapplyid
  1149. type: object
  1150. erms2.QueryInnerTradeDetailRsp:
  1151. properties:
  1152. accountid:
  1153. description: 账号ID
  1154. type: integer
  1155. agreeunit:
  1156. description: 合约单位
  1157. type: number
  1158. asapplyid:
  1159. description: 策略申请ID
  1160. type: integer
  1161. asname:
  1162. description: 策略名称
  1163. type: string
  1164. asno:
  1165. description: 策略编号
  1166. type: string
  1167. buyorsell:
  1168. description: 方向 - 0:买 1:卖
  1169. type: integer
  1170. channelbuildtype:
  1171. description: 委托单据类型 0:无 1:建仓 2:平仓
  1172. type: integer
  1173. closetype:
  1174. description: 平仓方式 - 0:无 1:平今 2:平昨
  1175. type: integer
  1176. decimalplace:
  1177. description: 报价小数位
  1178. type: integer
  1179. detailtype:
  1180. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1181. type: integer
  1182. exexchangecode:
  1183. description: 外部交易所代码
  1184. type: string
  1185. exexchangename:
  1186. description: 外部交易所名称
  1187. type: string
  1188. goodscode:
  1189. description: 商品代码(合约)
  1190. type: string
  1191. goodsgroupid:
  1192. description: 商品组ID(品种ID)
  1193. type: integer
  1194. goodsgroupname:
  1195. description: 商品组名称(品种)
  1196. type: string
  1197. goodsid:
  1198. description: 商品ID
  1199. type: integer
  1200. goodsname:
  1201. description: 商品名称(合约)
  1202. type: string
  1203. goodunit:
  1204. description: 报价单位
  1205. type: string
  1206. marketid:
  1207. description: 市场ID
  1208. type: integer
  1209. orderid:
  1210. description: 委托单号
  1211. type: string
  1212. outgoodscode:
  1213. description: 商品代码(外部)
  1214. type: string
  1215. relatedouttradeid:
  1216. description: 关联外部成交单ID
  1217. type: string
  1218. remark:
  1219. description: 备注
  1220. type: string
  1221. spotcontractid:
  1222. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1223. type: integer
  1224. spotcontractno:
  1225. description: 现货合同编号
  1226. type: string
  1227. tradeid:
  1228. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1229. type: string
  1230. tradeprice:
  1231. description: 成交价格
  1232. type: number
  1233. tradeqty:
  1234. description: 成交数量
  1235. type: integer
  1236. tradetime:
  1237. description: 成交时间
  1238. type: string
  1239. updatetime:
  1240. description: 更新时间
  1241. type: string
  1242. required:
  1243. - asapplyid
  1244. - buyorsell
  1245. - goodscode
  1246. - goodsgroupid
  1247. - goodsgroupname
  1248. - goodsname
  1249. - tradeid
  1250. type: object
  1251. erms2.QuerySpotContractRsp:
  1252. properties:
  1253. accountid:
  1254. description: 资金账户ID
  1255. type: integer
  1256. areauserid:
  1257. description: 所属机构
  1258. type: integer
  1259. closedate:
  1260. description: 终止日期
  1261. type: string
  1262. closeremark:
  1263. description: 结束备注
  1264. type: string
  1265. closetradedate:
  1266. description: 完结交易日(yyyyMMdd)
  1267. type: string
  1268. closetype:
  1269. description: 终止类型 - 1:违约 2:提前终止
  1270. type: integer
  1271. contractamount:
  1272. description: 合同金额
  1273. type: number
  1274. contractattachment:
  1275. description: 合同附件
  1276. type: string
  1277. contractno:
  1278. description: 现货合同编号
  1279. type: string
  1280. contractqty:
  1281. description: 合同数量(数值) (用于计算)
  1282. type: number
  1283. contractqtychar:
  1284. description: 合同数量\已订价数量 (用于显示)
  1285. type: string
  1286. contractstatus:
  1287. description: 合同状态 - 0:未结束 1:已结束
  1288. type: integer
  1289. contracttype:
  1290. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1291. type: integer
  1292. customeraccountid:
  1293. description: 客户资金账户ID
  1294. type: integer
  1295. customeruserid:
  1296. description: 客户ID
  1297. type: integer
  1298. deliverygoodsdesc:
  1299. description: 品种说明
  1300. type: string
  1301. deliverygoodsid:
  1302. description: 现货品种ID
  1303. type: integer
  1304. handlestatus:
  1305. description: 处理状态
  1306. type: integer
  1307. invoiceatt:
  1308. description: 发票附件
  1309. type: string
  1310. invoicedatetime:
  1311. description: 开收票更新时间
  1312. type: string
  1313. invoiceopentime:
  1314. description: 开票时间
  1315. type: string
  1316. invoiceremark:
  1317. description: 发票备注
  1318. type: string
  1319. invoicestatus:
  1320. description: 开收票状态 - 0:未开票 1:已开票
  1321. type: integer
  1322. lastdate:
  1323. description: 交货时间
  1324. type: string
  1325. marketid:
  1326. description: 市场ID
  1327. type: integer
  1328. paydatetime:
  1329. description: 收付款更新时间
  1330. type: string
  1331. payremark:
  1332. description: 收付款备注
  1333. type: string
  1334. paystatus:
  1335. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1336. type: integer
  1337. positionqty:
  1338. description: 头寸数量 - 合同数量去小数部分
  1339. type: integer
  1340. producttype:
  1341. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1342. type: integer
  1343. relatedqty:
  1344. description: 已关联数量
  1345. type: number
  1346. relatedstatus:
  1347. description: 关联完结状态 - 0:未结束 1:已结束
  1348. type: integer
  1349. remark:
  1350. description: 备注
  1351. type: string
  1352. signdate:
  1353. description: 签订日期
  1354. type: string
  1355. spotcontractid:
  1356. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1357. type: string
  1358. spotdatetime:
  1359. description: 收发货更新时间
  1360. type: string
  1361. spotprice:
  1362. description: 价格
  1363. type: number
  1364. spotremark:
  1365. description: 收发货备注
  1366. type: string
  1367. spotstatus:
  1368. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1369. type: integer
  1370. tradedate:
  1371. description: 交易日(yyyyMMdd)
  1372. type: string
  1373. userid:
  1374. description: 业务员用户ID
  1375. type: integer
  1376. warehouseid:
  1377. description: 仓库ID
  1378. type: integer
  1379. wrfactortypeid:
  1380. description: 仓单要素类型ID
  1381. type: integer
  1382. wrstandardid:
  1383. description: 仓单标准ID(SEQ_WRSTANDARD)
  1384. type: integer
  1385. required:
  1386. - spotcontractid
  1387. type: object
  1388. erms3.AddErms2ASApplyReq:
  1389. properties:
  1390. applybasis:
  1391. description: 申请基差
  1392. type: number
  1393. applystatus:
  1394. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1395. type: integer
  1396. asapplyid:
  1397. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1398. type: integer
  1399. asname:
  1400. description: 策略名称
  1401. type: string
  1402. asno:
  1403. description: 策略编号
  1404. type: string
  1405. auditid:
  1406. description: 审核人
  1407. type: integer
  1408. auditremark:
  1409. description: 审核备注
  1410. type: string
  1411. audittime:
  1412. description: 审核时间
  1413. type: string
  1414. biztype:
  1415. description: 业务类型 - 1:正向套利 2:反向套利
  1416. type: integer
  1417. createtime:
  1418. description: 创建时间
  1419. type: string
  1420. creatorid:
  1421. description: 创建人
  1422. type: integer
  1423. deliverygoodsid:
  1424. description: 现货品种ID
  1425. type: integer
  1426. futurequote:
  1427. description: 期货额度
  1428. type: number
  1429. goodsgroupid:
  1430. description: 期货品种ID
  1431. type: integer
  1432. marketid:
  1433. description: 市场ID
  1434. type: integer
  1435. remark:
  1436. description: 备注
  1437. type: string
  1438. spotquota:
  1439. description: 现货额度
  1440. type: number
  1441. tradedate:
  1442. description: 交易日(yyyyMMdd)
  1443. type: string
  1444. userid:
  1445. description: 所属机构
  1446. type: integer
  1447. required:
  1448. - asapplyid
  1449. type: object
  1450. erms3.AddErms2SpotTradeApplyReq:
  1451. properties:
  1452. applyjsondetail:
  1453. description: 申请明细(JSON)
  1454. type: string
  1455. applystatus:
  1456. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1457. type: integer
  1458. areauserid:
  1459. description: 所属机构
  1460. type: integer
  1461. auditid:
  1462. description: 审核人
  1463. type: integer
  1464. auditremark:
  1465. description: 审核备注
  1466. type: string
  1467. audittime:
  1468. description: 审核时间
  1469. type: string
  1470. createtime:
  1471. description: 创建时间
  1472. type: string
  1473. creatorid:
  1474. description: 创建人
  1475. type: integer
  1476. deliverygoodsid:
  1477. description: 现货品种ID
  1478. type: integer
  1479. futureaccountid:
  1480. description: 期货资金账户
  1481. type: integer
  1482. goodsgroupid:
  1483. description: 期货品种
  1484. type: integer
  1485. marketid:
  1486. description: 市场ID
  1487. type: integer
  1488. remark:
  1489. description: 备注
  1490. type: string
  1491. spotaccountid:
  1492. description: 现货资金账户
  1493. type: integer
  1494. spottradeid:
  1495. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1496. type: integer
  1497. spottradename:
  1498. description: 业务名称
  1499. type: string
  1500. spottradeno:
  1501. description: 业务编号
  1502. type: string
  1503. tradedate:
  1504. description: 交易日(yyyyMMdd)
  1505. type: string
  1506. wrstandardid:
  1507. description: 仓单标准ID
  1508. type: integer
  1509. required:
  1510. - spottradeid
  1511. type: object
  1512. erms3.AddSpotContractApplyReq:
  1513. properties:
  1514. accountid:
  1515. description: 资金账户ID
  1516. type: integer
  1517. areauserid:
  1518. description: 所属机构
  1519. type: integer
  1520. contractattachment:
  1521. description: 合同附件
  1522. type: string
  1523. contractno:
  1524. description: 现货合同编号
  1525. type: string
  1526. contracttype:
  1527. description: 现货合同类型 - 1:采购 -1:销售
  1528. type: integer
  1529. creatorid:
  1530. description: 申请人
  1531. type: integer
  1532. customeraccountid:
  1533. description: 客户资金账户ID
  1534. type: integer
  1535. customeruserid:
  1536. description: 客户ID
  1537. type: integer
  1538. details:
  1539. description: 明细
  1540. items:
  1541. $ref: '#/definitions/erms3.SoptContractDetail'
  1542. type: array
  1543. orimargin:
  1544. description: 初始保证金
  1545. type: number
  1546. remark:
  1547. description: 备注
  1548. type: string
  1549. signdate:
  1550. description: 签订日期
  1551. type: string
  1552. required:
  1553. - accountid
  1554. - areauserid
  1555. - contractno
  1556. - contracttype
  1557. - customeraccountid
  1558. - customeruserid
  1559. - details
  1560. - orimargin
  1561. - signdate
  1562. type: object
  1563. erms3.AddSpotContractApplyRsp:
  1564. properties:
  1565. contractno:
  1566. description: 现货合同编号
  1567. type: string
  1568. spotcontractid:
  1569. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  1570. type: integer
  1571. required:
  1572. - contractno
  1573. type: object
  1574. erms3.AddUserInfoApplyReq:
  1575. properties:
  1576. accountid:
  1577. description: 交易系统帐号Id (加密存储)
  1578. type: integer
  1579. areacode:
  1580. description: 机构代码
  1581. type: string
  1582. areaid:
  1583. description: 机构Id
  1584. type: integer
  1585. attachment1:
  1586. description: 附件1
  1587. type: string
  1588. attachment2:
  1589. description: 附件2
  1590. type: string
  1591. attachment3:
  1592. description: 附件3
  1593. type: string
  1594. attachment4:
  1595. description: 附件4
  1596. type: string
  1597. attachment5:
  1598. description: 附件5
  1599. type: string
  1600. auditedby:
  1601. description: 审核人
  1602. type: string
  1603. auditime:
  1604. description: 审核时间
  1605. type: string
  1606. auditsrc:
  1607. description: 审核来源 - 1:管理端 2:终端
  1608. type: integer
  1609. bankaccount:
  1610. description: 银行帐号 (加密存储)
  1611. type: string
  1612. bankaccountname:
  1613. description: 收款人名称
  1614. type: string
  1615. bankcardbackphotourl:
  1616. description: 银行卡背面照地址
  1617. type: string
  1618. bankcardfrontphotourl:
  1619. description: 银行卡正面照地址
  1620. type: string
  1621. bankid:
  1622. description: 银行编码
  1623. type: string
  1624. bankname:
  1625. description: 银行名称
  1626. type: string
  1627. bankpictureurl:
  1628. description: 银行卡正面地址
  1629. type: string
  1630. biznature:
  1631. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  1632. type: integer
  1633. bizscope:
  1634. description: 企业经营范围(企业)
  1635. type: string
  1636. biztype:
  1637. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  1638. type: integer
  1639. brokerid:
  1640. description: 经纪人ID(加密存储)
  1641. type: string
  1642. cardaddress:
  1643. description: 证件地址 (加密存储)
  1644. type: string
  1645. cardbackphotourl:
  1646. description: 背面证件照地址
  1647. type: string
  1648. cardfrontphotourl:
  1649. description: 正面证件照地址
  1650. type: string
  1651. cardnum:
  1652. description: 证件号码 (加密存储)
  1653. type: string
  1654. cardtype:
  1655. description: 证件类型
  1656. type: integer
  1657. cityid:
  1658. description: 市
  1659. type: integer
  1660. company:
  1661. description: 公司(个人)
  1662. type: string
  1663. contactcardbackphotourl:
  1664. description: 联系人证件背面图片地址
  1665. type: string
  1666. contactcardfrontphotourl:
  1667. description: 联系人证件正面图片地址
  1668. type: string
  1669. contactname:
  1670. description: 联系人
  1671. type: string
  1672. countryid:
  1673. description: 国家
  1674. type: integer
  1675. createtime:
  1676. description: 开户申请时间
  1677. type: string
  1678. cusbankid:
  1679. description: 签约类型
  1680. type: string
  1681. cusbankname:
  1682. description: 签约类型名称
  1683. type: string
  1684. customername:
  1685. description: 客户名称(企业名称)
  1686. type: string
  1687. districtid:
  1688. description: 地区
  1689. type: integer
  1690. email:
  1691. description: Email地址(加密存储)
  1692. type: string
  1693. halfbodyphotourl:
  1694. description: 半身照地址
  1695. type: string
  1696. headurl:
  1697. description: 头像地址
  1698. type: string
  1699. ipaddress:
  1700. description: IP地址
  1701. type: string
  1702. isvalidate:
  1703. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  1704. type: string
  1705. legalcardbackphotourl:
  1706. description: 法人身份证背面照地址
  1707. type: string
  1708. legalcardfrontphotourl:
  1709. description: 法人身份证正面照地址
  1710. type: string
  1711. legalpersonname:
  1712. description: 法人姓名(企业)
  1713. type: string
  1714. logincode:
  1715. description: 登录帐号 (加密存储)
  1716. type: string
  1717. memberareaid:
  1718. description: 所属会员ID
  1719. type: integer
  1720. mobile2:
  1721. description: 手机号码[明文-尚志]
  1722. type: string
  1723. mobilephone:
  1724. description: 手机号码 (加密存储)
  1725. type: string
  1726. modifiedby:
  1727. description: 修改人帐号
  1728. type: integer
  1729. modifiedtime:
  1730. description: 修改时间
  1731. type: string
  1732. nickname:
  1733. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  1734. type: string
  1735. openmode:
  1736. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  1737. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  1738. type: integer
  1739. otherurl:
  1740. description: 其它图片地址[使用分号分隔]
  1741. type: string
  1742. postalcode:
  1743. description: 邮政编码
  1744. type: string
  1745. provinceid:
  1746. description: 省
  1747. type: integer
  1748. proxystatementurl:
  1749. description: 授权委托书
  1750. type: string
  1751. qq:
  1752. description: QQ(加密存储
  1753. type: string
  1754. referral:
  1755. description: 推荐人编码
  1756. type: string
  1757. remark:
  1758. description: 备注
  1759. type: string
  1760. removebeforestatus:
  1761. description: REMOVEBEFORESTATUS
  1762. type: integer
  1763. sex:
  1764. description: 性别 - 0:女 1:男
  1765. type: integer
  1766. signedstatus:
  1767. description: 账户一号签签约状态
  1768. type: integer
  1769. signpdfurl:
  1770. description: 签约pdf文件
  1771. type: string
  1772. subbranch:
  1773. description: 开户支行
  1774. type: string
  1775. taxpayernum:
  1776. description: 纳税人识别号
  1777. type: string
  1778. telphone:
  1779. description: 联系电话(加密存储)
  1780. type: string
  1781. userid:
  1782. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  1783. type: integer
  1784. userinfotype:
  1785. description: 用户信息类型 - 1:个人 2:企业
  1786. type: integer
  1787. username:
  1788. description: 用户姓名
  1789. type: string
  1790. userstate:
  1791. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  1792. type: integer
  1793. usertype:
  1794. description: 用户类型 - 1:投资者 2:机构
  1795. type: integer
  1796. videourl:
  1797. description: 视频地址
  1798. type: string
  1799. wechat:
  1800. description: 微信号 (加密存储)
  1801. type: string
  1802. required:
  1803. - userid
  1804. type: object
  1805. erms3.CustomerInfo:
  1806. properties:
  1807. accountids:
  1808. description: 资金账户ID列表
  1809. items:
  1810. type: integer
  1811. type: array
  1812. customername:
  1813. description: 名称(企业名称)
  1814. type: string
  1815. mobile:
  1816. description: 手机号码
  1817. type: string
  1818. userid:
  1819. description: 用户ID
  1820. type: integer
  1821. required:
  1822. - userid
  1823. type: object
  1824. erms3.ModifyUserInfoApplyReq:
  1825. properties:
  1826. accountid:
  1827. description: 交易系统帐号Id (加密存储)
  1828. type: integer
  1829. areacode:
  1830. description: 机构代码
  1831. type: string
  1832. areaid:
  1833. description: 机构Id
  1834. type: integer
  1835. attachment1:
  1836. description: 附件1
  1837. type: string
  1838. attachment2:
  1839. description: 附件2
  1840. type: string
  1841. attachment3:
  1842. description: 附件3
  1843. type: string
  1844. attachment4:
  1845. description: 附件4
  1846. type: string
  1847. attachment5:
  1848. description: 附件5
  1849. type: string
  1850. auditedby:
  1851. description: 审核人
  1852. type: string
  1853. auditime:
  1854. description: 审核时间
  1855. type: string
  1856. auditsrc:
  1857. description: 审核来源 - 1:管理端 2:终端
  1858. type: integer
  1859. bankaccount:
  1860. description: 银行帐号 (加密存储)
  1861. type: string
  1862. bankaccountname:
  1863. description: 收款人名称
  1864. type: string
  1865. bankcardbackphotourl:
  1866. description: 银行卡背面照地址
  1867. type: string
  1868. bankcardfrontphotourl:
  1869. description: 银行卡正面照地址
  1870. type: string
  1871. bankid:
  1872. description: 银行编码
  1873. type: string
  1874. bankname:
  1875. description: 银行名称
  1876. type: string
  1877. bankpictureurl:
  1878. description: 银行卡正面地址
  1879. type: string
  1880. biznature:
  1881. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  1882. type: integer
  1883. bizscope:
  1884. description: 企业经营范围(企业)
  1885. type: string
  1886. biztype:
  1887. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  1888. type: integer
  1889. brokerid:
  1890. description: 经纪人ID(加密存储)
  1891. type: string
  1892. cardaddress:
  1893. description: 证件地址 (加密存储)
  1894. type: string
  1895. cardbackphotourl:
  1896. description: 背面证件照地址
  1897. type: string
  1898. cardfrontphotourl:
  1899. description: 正面证件照地址
  1900. type: string
  1901. cardnum:
  1902. description: 证件号码 (加密存储)
  1903. type: string
  1904. cardtype:
  1905. description: 证件类型
  1906. type: integer
  1907. cityid:
  1908. description: 市
  1909. type: integer
  1910. company:
  1911. description: 公司(个人)
  1912. type: string
  1913. contactcardbackphotourl:
  1914. description: 联系人证件背面图片地址
  1915. type: string
  1916. contactcardfrontphotourl:
  1917. description: 联系人证件正面图片地址
  1918. type: string
  1919. contactname:
  1920. description: 联系人
  1921. type: string
  1922. countryid:
  1923. description: 国家
  1924. type: integer
  1925. createtime:
  1926. description: 开户申请时间
  1927. type: string
  1928. cusbankid:
  1929. description: 签约类型
  1930. type: string
  1931. cusbankname:
  1932. description: 签约类型名称
  1933. type: string
  1934. customername:
  1935. description: 客户名称(企业名称)
  1936. type: string
  1937. districtid:
  1938. description: 地区
  1939. type: integer
  1940. email:
  1941. description: Email地址(加密存储)
  1942. type: string
  1943. halfbodyphotourl:
  1944. description: 半身照地址
  1945. type: string
  1946. headurl:
  1947. description: 头像地址
  1948. type: string
  1949. ipaddress:
  1950. description: IP地址
  1951. type: string
  1952. isvalidate:
  1953. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  1954. type: string
  1955. legalcardbackphotourl:
  1956. description: 法人身份证背面照地址
  1957. type: string
  1958. legalcardfrontphotourl:
  1959. description: 法人身份证正面照地址
  1960. type: string
  1961. legalpersonname:
  1962. description: 法人姓名(企业)
  1963. type: string
  1964. logincode:
  1965. description: 登录帐号 (加密存储)
  1966. type: string
  1967. memberareaid:
  1968. description: 所属会员ID
  1969. type: integer
  1970. mobile2:
  1971. description: 手机号码[明文-尚志]
  1972. type: string
  1973. mobilephone:
  1974. description: 手机号码 (加密存储)
  1975. type: string
  1976. modifiedby:
  1977. description: 修改人帐号
  1978. type: integer
  1979. modifiedtime:
  1980. description: 修改时间
  1981. type: string
  1982. nickname:
  1983. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  1984. type: string
  1985. openmode:
  1986. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  1987. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  1988. type: integer
  1989. otherurl:
  1990. description: 其它图片地址[使用分号分隔]
  1991. type: string
  1992. postalcode:
  1993. description: 邮政编码
  1994. type: string
  1995. provinceid:
  1996. description: 省
  1997. type: integer
  1998. proxystatementurl:
  1999. description: 授权委托书
  2000. type: string
  2001. qq:
  2002. description: QQ(加密存储
  2003. type: string
  2004. referral:
  2005. description: 推荐人编码
  2006. type: string
  2007. remark:
  2008. description: 备注
  2009. type: string
  2010. removebeforestatus:
  2011. description: REMOVEBEFORESTATUS
  2012. type: integer
  2013. sex:
  2014. description: 性别 - 0:女 1:男
  2015. type: integer
  2016. signedstatus:
  2017. description: 账户一号签签约状态
  2018. type: integer
  2019. signpdfurl:
  2020. description: 签约pdf文件
  2021. type: string
  2022. subbranch:
  2023. description: 开户支行
  2024. type: string
  2025. taxpayernum:
  2026. description: 纳税人识别号
  2027. type: string
  2028. telphone:
  2029. description: 联系电话(加密存储)
  2030. type: string
  2031. userid:
  2032. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2033. type: integer
  2034. userinfotype:
  2035. description: 用户信息类型 - 1:个人 2:企业
  2036. type: integer
  2037. username:
  2038. description: 用户姓名
  2039. type: string
  2040. userstate:
  2041. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2042. type: integer
  2043. usertype:
  2044. description: 用户类型 - 1:投资者 2:机构
  2045. type: integer
  2046. videourl:
  2047. description: 视频地址
  2048. type: string
  2049. wechat:
  2050. description: 微信号 (加密存储)
  2051. type: string
  2052. required:
  2053. - userid
  2054. type: object
  2055. erms3.QryAuditContractRsp:
  2056. properties:
  2057. accountid:
  2058. description: 交易员ID
  2059. type: string
  2060. applystatus:
  2061. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2062. type: integer
  2063. curdeliveryqty:
  2064. description: 未交收量
  2065. type: integer
  2066. customername:
  2067. description: 采购方ID
  2068. type: string
  2069. deliverygoodsid:
  2070. description: 品种ID
  2071. type: string
  2072. deliveryqty:
  2073. description: 交收量
  2074. type: integer
  2075. enumdicname:
  2076. description: 单位名称
  2077. type: string
  2078. matchaccountid:
  2079. description: 业务员ID
  2080. type: string
  2081. matchcustomername:
  2082. description: 销售方ID
  2083. type: string
  2084. pricedqty:
  2085. description: 定价量
  2086. type: number
  2087. signdate:
  2088. description: 签订日期
  2089. type: string
  2090. spotcontractid:
  2091. description: 合同ID
  2092. type: string
  2093. totaldqty:
  2094. description: 合同量
  2095. type: number
  2096. unpricedqty:
  2097. description: 未定价量
  2098. type: number
  2099. wrstandardname:
  2100. description: 商品名称
  2101. type: string
  2102. required:
  2103. - matchcustomername
  2104. - spotcontractid
  2105. type: object
  2106. erms3.QryPendingBizRsp:
  2107. $ref: '#/definitions/models.PendingAuditBizModel'
  2108. erms3.QueryBusinessInfoRsp:
  2109. properties:
  2110. businessid:
  2111. description: 业务ID.
  2112. type: integer
  2113. buyamount:
  2114. description: 采购额.
  2115. type: number
  2116. buyqty:
  2117. description: 采购量.
  2118. type: string
  2119. futurepl:
  2120. description: 期货盈亏.
  2121. type: number
  2122. futureqty:
  2123. description: 期货敞口.
  2124. type: string
  2125. goodsid:
  2126. description: 商品名称/商品代码.
  2127. type: string
  2128. hedgingqty:
  2129. description: 套保量.
  2130. type: string
  2131. sellamount:
  2132. description: 销售额.
  2133. type: number
  2134. sellqty:
  2135. description: 销售量.
  2136. type: string
  2137. spotmarketvalue:
  2138. description: 现货市值.
  2139. type: number
  2140. spotpl:
  2141. description: 浮动权益.
  2142. type: number
  2143. spotqty:
  2144. description: 现货量.
  2145. type: string
  2146. statu:
  2147. description: 状态,0-未结束 1-已结束.
  2148. type: integer
  2149. totalpl:
  2150. description: 总盈亏.
  2151. type: number
  2152. totalqty:
  2153. description: 总敞口.
  2154. type: string
  2155. type:
  2156. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2157. type: integer
  2158. type: object
  2159. erms3.QuerySpotContractAppleFormRsp:
  2160. properties:
  2161. goodses:
  2162. description: 合约列表
  2163. items:
  2164. $ref: '#/definitions/models.GoodsIDAndName'
  2165. type: array
  2166. oppositeusers:
  2167. description: 对方账号列表
  2168. items:
  2169. $ref: '#/definitions/erms3.CustomerInfo'
  2170. type: array
  2171. ouruser:
  2172. $ref: '#/definitions/erms3.CustomerInfo'
  2173. description: 我方账号
  2174. type: object
  2175. warehouseinfos:
  2176. description: 仓库信息列表
  2177. items:
  2178. $ref: '#/definitions/models.Warehouseinfo'
  2179. type: array
  2180. wrstandards:
  2181. description: 仓单标准列表
  2182. items:
  2183. $ref: '#/definitions/models.WRStandardInfo'
  2184. type: array
  2185. type: object
  2186. erms3.QuerySpotContractInfoRsp:
  2187. properties:
  2188. accountid:
  2189. description: 表示交易员ID.
  2190. type: integer
  2191. curdeliveryqty:
  2192. description: 表示未交收量.
  2193. type: number
  2194. customername:
  2195. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2196. type: string
  2197. deliverygoodsid:
  2198. description: 表示品种ID.
  2199. type: string
  2200. deliveryqty:
  2201. description: 表示交收量.
  2202. type: number
  2203. matchaccountid:
  2204. description: 表示业务员ID.
  2205. type: integer
  2206. matchcustomername:
  2207. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2208. type: string
  2209. priceqty:
  2210. description: 表示定价量.
  2211. type: number
  2212. relatedbizid:
  2213. description: 表示业务ID.
  2214. type: string
  2215. signdate:
  2216. description: 表示签订日期.
  2217. type: string
  2218. spotcontractid:
  2219. description: 合同ID
  2220. type: string
  2221. status:
  2222. description: 表示状态,0-履约中 1-已完成.
  2223. type: integer
  2224. totalqty:
  2225. description: 表示合同量.
  2226. type: number
  2227. unpricedqty:
  2228. description: 表示未定价量.
  2229. type: number
  2230. wrstandardname:
  2231. description: 表示商品ID.
  2232. type: string
  2233. type: object
  2234. erms3.QueryUserInfoAppliesRsp:
  2235. properties:
  2236. biznature:
  2237. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2238. type: integer
  2239. contactname:
  2240. description: 联系人
  2241. type: string
  2242. createtime:
  2243. description: 开户申请时间
  2244. type: string
  2245. userid:
  2246. description: 用户ID(自增ID)
  2247. type: integer
  2248. userinfotype:
  2249. description: 用户信息类型 - 1:个人 2:企业
  2250. type: integer
  2251. username:
  2252. description: 用户姓名
  2253. type: string
  2254. userstate:
  2255. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2256. type: integer
  2257. required:
  2258. - userid
  2259. type: object
  2260. erms3.QueryUserInfosRsp:
  2261. properties:
  2262. biznature:
  2263. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2264. type: integer
  2265. contactname:
  2266. description: 联系人
  2267. type: string
  2268. customername:
  2269. description: 客户名称(企业名称)
  2270. type: string
  2271. userid:
  2272. description: 用户ID
  2273. type: integer
  2274. userinfotype:
  2275. description: 用户信息类型 - 1:个人 2:企业
  2276. type: integer
  2277. userstatus:
  2278. description: 用户状态 - 1:正常 2:注销
  2279. type: integer
  2280. required:
  2281. - userid
  2282. type: object
  2283. erms3.SoptContractDetail:
  2284. properties:
  2285. deliverygoodsdesc:
  2286. description: 现货品种说明
  2287. type: string
  2288. deliverygoodsid:
  2289. description: 现货品种ID
  2290. type: integer
  2291. deliverygoodsname:
  2292. description: 现货品种名称
  2293. type: string
  2294. pointdesc:
  2295. description: 点价描述
  2296. type: string
  2297. producttype:
  2298. description: 产品类型 1:标准仓单 2:等标 3:非标
  2299. type: integer
  2300. producttypename:
  2301. description: 产品类型名称
  2302. type: string
  2303. spotPointOrderVoList:
  2304. description: 点价列表
  2305. items:
  2306. $ref: '#/definitions/erms3.SpotPointOrder'
  2307. type: array
  2308. spotPriceOrderList:
  2309. description: 定价列表
  2310. items:
  2311. $ref: '#/definitions/erms3.SpotPriceOrder'
  2312. type: array
  2313. unitname:
  2314. description: 单位名称
  2315. type: string
  2316. warehouseid:
  2317. description: 仓库ID
  2318. type: integer
  2319. warehousename:
  2320. description: 仓库名称
  2321. type: string
  2322. wrstandardid:
  2323. description: 交易标的ID
  2324. type: integer
  2325. wrstandardname:
  2326. description: 交易标的名称
  2327. type: string
  2328. required:
  2329. - deliverygoodsid
  2330. - producttype
  2331. - unitname
  2332. - warehouseid
  2333. - wrstandardid
  2334. - wrstandardname
  2335. type: object
  2336. erms3.SpotPointOrder:
  2337. properties:
  2338. basic:
  2339. description: 基差
  2340. type: number
  2341. deliveryenddate:
  2342. description: 交收结束日期
  2343. type: string
  2344. deliverystartdate:
  2345. description: 交收开始日期
  2346. type: string
  2347. enddate:
  2348. description: 点价结束日期
  2349. type: string
  2350. goodsid:
  2351. description: 商品ID
  2352. type: integer
  2353. goodsname:
  2354. description: 商品名称
  2355. type: string
  2356. qty:
  2357. description: 数量
  2358. type: number
  2359. startdate:
  2360. description: 点价开始日期
  2361. type: string
  2362. required:
  2363. - basic
  2364. - goodsid
  2365. - qty
  2366. type: object
  2367. erms3.SpotPriceOrder:
  2368. properties:
  2369. amount:
  2370. description: 金额
  2371. type: number
  2372. deliveryenddate:
  2373. description: 交收结束日期
  2374. type: string
  2375. deliverystartdate:
  2376. description: 交收开始日期
  2377. type: string
  2378. price:
  2379. description: 价格
  2380. type: number
  2381. qty:
  2382. description: 数量
  2383. type: number
  2384. required:
  2385. - amount
  2386. - price
  2387. - qty
  2388. type: object
  2389. hsby.GetHsbyMyCountRsp:
  2390. properties:
  2391. myCouponCount:
  2392. description: 我的优惠卷数量
  2393. type: integer
  2394. myOrderDetailListingCount:
  2395. description: 我的订单求购中数量
  2396. type: integer
  2397. myOrderDetailPreCount:
  2398. description: 我的订单抢购中数量
  2399. type: integer
  2400. myPackageUnReceiveCount:
  2401. description: 我的包裹待收货数量
  2402. type: integer
  2403. myPackageUnSendCount:
  2404. description: 我的包裹待发货数量
  2405. type: integer
  2406. myPayOrderCount:
  2407. description: 我的订单待付款数量
  2408. type: integer
  2409. type: object
  2410. hsby.QueryProvincesAndCitiesRsp:
  2411. properties:
  2412. cities:
  2413. description: 市
  2414. items:
  2415. $ref: '#/definitions/models.Division'
  2416. type: array
  2417. province:
  2418. $ref: '#/definitions/models.Division'
  2419. description: 省
  2420. type: object
  2421. type: object
  2422. models.AreaSpotModel:
  2423. properties:
  2424. areauserid:
  2425. description: 所属机构
  2426. type: integer
  2427. decreaseqty:
  2428. description: 减少数量=-(销售已定价数量+采购计划数量)
  2429. type: number
  2430. increaseqty:
  2431. description: 增加数量=销售计划数量+采购已定价数量
  2432. type: number
  2433. oritoalspotqty:
  2434. description: 昨日数量
  2435. type: number
  2436. totalspotqty:
  2437. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2438. type: number
  2439. updatetime:
  2440. description: 更新时间
  2441. type: string
  2442. wrstandardcode:
  2443. description: 现货品种代码
  2444. type: string
  2445. wrstandardid:
  2446. description: 现货商品ID
  2447. type: integer
  2448. wrstandardname:
  2449. description: 现货品种
  2450. type: string
  2451. type: object
  2452. models.Arearole:
  2453. properties:
  2454. createtime:
  2455. description: 创建时间
  2456. type: string
  2457. creatorid:
  2458. description: 创建人ID
  2459. type: integer
  2460. isreturnscore:
  2461. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  2462. type: integer
  2463. modifierid:
  2464. description: 修改人ID
  2465. type: integer
  2466. modifytime:
  2467. description: 修改时间
  2468. type: string
  2469. orgtype:
  2470. description: 组织机构类型 1:机构 2:交易员
  2471. type: integer
  2472. outuserid:
  2473. description: 外部账户[场外期权做市商]
  2474. type: string
  2475. parentuserid:
  2476. description: 上级组织机构(组织机构)
  2477. type: integer
  2478. roletype:
  2479. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  2480. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  2481. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员
  2482. type: integer
  2483. rootuserid:
  2484. description: 顶级组织机构用户ID(组织机构)
  2485. type: integer
  2486. shoppassword:
  2487. description: 商城店铺登陆密码(商城店铺角色使用)
  2488. type: string
  2489. sublevelpath:
  2490. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  2491. type: string
  2492. tradeaccountid:
  2493. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  2494. type: integer
  2495. transurl:
  2496. description: 物流地址(物流机构)
  2497. type: string
  2498. userid:
  2499. description: 机构用户ID其他做市关系,都设置为 1
  2500. type: integer
  2501. required:
  2502. - roletype
  2503. - userid
  2504. type: object
  2505. models.Clientfixedadconfig:
  2506. properties:
  2507. adsort:
  2508. description: 排序
  2509. type: integer
  2510. adtype:
  2511. description: 广告位类型 - 1:新品抢购(HSBY)
  2512. type: integer
  2513. areauserid:
  2514. description: 所属机构ID
  2515. type: integer
  2516. createdate:
  2517. description: 创建时间
  2518. type: string
  2519. creatorid:
  2520. description: 创建人
  2521. type: integer
  2522. imagepath:
  2523. description: 图片
  2524. type: string
  2525. isshow:
  2526. description: 是否展示 - 0:不展示 1:展示
  2527. type: integer
  2528. modifierid:
  2529. description: 操作人
  2530. type: integer
  2531. recsize:
  2532. description: 推荐尺寸
  2533. type: string
  2534. title:
  2535. description: 标题
  2536. type: string
  2537. updatedate:
  2538. description: 更新时间
  2539. type: string
  2540. urlcontent:
  2541. description: 链接(地址或商品ID)
  2542. type: string
  2543. urltype:
  2544. description: 链接类型 - 1:直接地址 2:商品ID
  2545. type: integer
  2546. required:
  2547. - adsort
  2548. - adtype
  2549. type: object
  2550. models.Division:
  2551. properties:
  2552. autoid:
  2553. description: 自增ID
  2554. type: integer
  2555. divisioncode:
  2556. description: 行政代码
  2557. type: string
  2558. divisionlevel:
  2559. description: 行政级别
  2560. type: string
  2561. divisionname:
  2562. description: 行政名称
  2563. type: string
  2564. modifierid:
  2565. description: 修改人
  2566. type: integer
  2567. modifytime:
  2568. description: 修改时间
  2569. type: string
  2570. parentcode:
  2571. description: 上级行政代码
  2572. type: string
  2573. pathname:
  2574. description: 路径名称
  2575. type: string
  2576. postcode:
  2577. description: 邮政编码
  2578. type: string
  2579. separablename:
  2580. description: 可拆分的全称
  2581. type: string
  2582. shortcode:
  2583. description: 地区简码
  2584. type: string
  2585. required:
  2586. - autoid
  2587. - divisioncode
  2588. type: object
  2589. models.Enumdicitem:
  2590. properties:
  2591. autoid:
  2592. description: 自增ID
  2593. type: integer
  2594. bankmappedvalue:
  2595. description: 银行服务对应值
  2596. type: string
  2597. enumdiccode:
  2598. description: 所属枚举代码
  2599. type: string
  2600. enumdicid:
  2601. description: 所属枚举ID
  2602. type: integer
  2603. enumdicname:
  2604. description: 枚举项名称
  2605. type: string
  2606. enumitemname:
  2607. description: 枚举项值
  2608. type: integer
  2609. enumitemstatus:
  2610. description: 枚举项状态 - 1.启用 2.不启用
  2611. type: integer
  2612. enumitemvalue:
  2613. description: 通用值 - [币种通用简写]
  2614. type: string
  2615. param1:
  2616. description: 参数1[币种:币种小数位]
  2617. type: string
  2618. param2:
  2619. description: 参数1[币种:币种显示单位]
  2620. type: string
  2621. remark:
  2622. description: 备注
  2623. type: string
  2624. required:
  2625. - autoid
  2626. - enumdiccode
  2627. - enumdicid
  2628. - enumitemname
  2629. type: object
  2630. models.Ermcp3AreaSpot:
  2631. properties:
  2632. areauserid:
  2633. description: 所属机构
  2634. type: integer
  2635. decreaseqty:
  2636. description: 减少数量=-(销售已定价数量+采购计划数量)
  2637. type: number
  2638. deliverygoodscode:
  2639. description: 现货品种代码
  2640. type: string
  2641. deliverygoodsid:
  2642. description: 现货品种id
  2643. type: integer
  2644. deliverygoodsname:
  2645. description: 现货品种名称
  2646. type: string
  2647. enumdicname:
  2648. description: 单位名称
  2649. type: string
  2650. goodsunitid:
  2651. description: 现货品种单位id
  2652. type: integer
  2653. increaseqty:
  2654. description: 增加数量=销售计划数量+采购已定价数量
  2655. type: number
  2656. oritoalspotqty:
  2657. description: 昨日数量
  2658. type: number
  2659. totalspotqty:
  2660. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2661. type: number
  2662. updatetime:
  2663. description: 更新时间
  2664. type: string
  2665. type: object
  2666. models.Ermcp3AreaSpotDetail:
  2667. properties:
  2668. contracttype:
  2669. description: 合同类型 1-采购 -1-销售
  2670. type: integer
  2671. createtime:
  2672. description: 创建时间
  2673. type: string
  2674. deliverygoodscode:
  2675. description: 现货品种代码
  2676. type: string
  2677. deliverygoodsid:
  2678. description: 现货品种id
  2679. type: integer
  2680. deliverygoodsname:
  2681. description: 现货品种名称
  2682. type: string
  2683. enumdicname:
  2684. description: 现货商品单位名称
  2685. type: string
  2686. logtype:
  2687. description: 记录类型 1-套保 2-现货合同
  2688. type: integer
  2689. qty:
  2690. description: 数量
  2691. type: number
  2692. recordname:
  2693. description: 类型名称
  2694. type: string
  2695. relatedid:
  2696. description: 套保计划ID/现货合同ID
  2697. type: string
  2698. relatedno:
  2699. description: 编号
  2700. type: string
  2701. strtime:
  2702. description: 时间
  2703. type: string
  2704. type: object
  2705. models.Ermcp3AreaStock:
  2706. properties:
  2707. brandname:
  2708. description: 品牌名称
  2709. type: string
  2710. curstock:
  2711. description: 期末库存量(今日量)
  2712. type: number
  2713. deliverygoodscode:
  2714. description: 现货品种代码
  2715. type: string
  2716. deliverygoodsid:
  2717. description: 现货品种id
  2718. type: integer
  2719. deliverygoodsname:
  2720. description: 现货品种名称
  2721. type: string
  2722. enumdicname:
  2723. description: 单位名称
  2724. type: string
  2725. goodsunitid:
  2726. description: 现货商品单位id
  2727. type: integer
  2728. oristock:
  2729. description: 期初库存量(昨日量)
  2730. type: number
  2731. spotgoodsbrandid:
  2732. description: 现货品牌ID
  2733. type: integer
  2734. todaybuyinqty:
  2735. description: 今日采购入库量
  2736. type: number
  2737. todayproduceinqty:
  2738. description: 今日生产入库量
  2739. type: number
  2740. todayproduceoutqty:
  2741. description: 今日生产出库量
  2742. type: number
  2743. todayselloutqty:
  2744. description: 今日销售出库量
  2745. type: number
  2746. unitid:
  2747. description: 单位id
  2748. type: integer
  2749. updatetime:
  2750. description: 更新时间
  2751. type: string
  2752. userid:
  2753. description: 机构ID
  2754. type: integer
  2755. username:
  2756. description: 机构名称
  2757. type: string
  2758. warehousecode:
  2759. description: 仓库代码
  2760. type: string
  2761. warehouseinfoid:
  2762. description: 仓库ID
  2763. type: string
  2764. warehousename:
  2765. description: 仓库名称
  2766. type: string
  2767. warehousetype:
  2768. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2769. type: integer
  2770. wrstandardcode:
  2771. description: 品类代码
  2772. type: string
  2773. wrstandardid:
  2774. description: 品类ID
  2775. type: string
  2776. wrstandardname:
  2777. description: 品类名称
  2778. type: string
  2779. required:
  2780. - userid
  2781. type: object
  2782. models.Ermcp3AreaStockApply:
  2783. properties:
  2784. applyid:
  2785. description: 申请人
  2786. type: integer
  2787. applyname:
  2788. description: 申请人名称
  2789. type: string
  2790. applyremark:
  2791. description: 申请备注
  2792. type: string
  2793. applysrc:
  2794. description: 申请来源 - 1:管理端 2:终端
  2795. type: integer
  2796. applystatus:
  2797. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  2798. type: integer
  2799. applytime:
  2800. description: 申请时间
  2801. type: string
  2802. auditid:
  2803. description: 审核人
  2804. type: integer
  2805. auditname:
  2806. description: 审核人名称
  2807. type: string
  2808. auditremark:
  2809. description: 审核备注
  2810. type: string
  2811. auditsrc:
  2812. description: 审核来源 - 1:管理端 2:终端
  2813. type: integer
  2814. audittime:
  2815. description: 审核时间
  2816. type: string
  2817. audittradedate:
  2818. description: 审核交易日(yyyyMMdd)
  2819. type: string
  2820. brandname:
  2821. description: 品牌名称
  2822. type: string
  2823. buynickname:
  2824. description: 采购方昵称
  2825. type: string
  2826. buyuserid:
  2827. description: 采购方userid
  2828. type: integer
  2829. buyusername:
  2830. description: 采购方名称
  2831. type: string
  2832. contractno:
  2833. description: 合同编号
  2834. type: string
  2835. contractqty:
  2836. description: 合同量
  2837. type: number
  2838. contracttype:
  2839. description: 现货合同类型 - 1:采购 -1:销售
  2840. type: integer
  2841. deliverygoodscode:
  2842. description: 现货品种代码
  2843. type: string
  2844. deliverygoodsid:
  2845. description: 现货品种id
  2846. type: integer
  2847. deliverygoodsname:
  2848. description: 现货品种名称
  2849. type: string
  2850. detailjson:
  2851. description: 明细数据
  2852. type: string
  2853. enumdicname:
  2854. description: 现货商品单位名称
  2855. type: string
  2856. inoutapplyid:
  2857. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  2858. type: string
  2859. inouttype:
  2860. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  2861. type: integer
  2862. pricetype:
  2863. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  2864. type: integer
  2865. qty:
  2866. description: 数量
  2867. type: number
  2868. sellnickname:
  2869. description: 销售方昵称
  2870. type: string
  2871. selluserid:
  2872. description: 销售方userid
  2873. type: integer
  2874. sellusername:
  2875. description: 销售方名称
  2876. type: string
  2877. spotcontractid:
  2878. description: 关联现货合同ID
  2879. type: string
  2880. spotgoodsbrandid:
  2881. description: 现货品牌ID
  2882. type: integer
  2883. unitid:
  2884. description: 单位id
  2885. type: integer
  2886. userid:
  2887. description: 机构ID
  2888. type: integer
  2889. warehousecode:
  2890. description: 仓库代码
  2891. type: string
  2892. warehouseinfoid:
  2893. description: 现货仓库ID
  2894. type: string
  2895. warehousename:
  2896. description: 仓库名称
  2897. type: string
  2898. warehousetype:
  2899. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2900. type: integer
  2901. wrstandardcode:
  2902. description: 品类代码
  2903. type: string
  2904. wrstandardid:
  2905. description: 品类ID
  2906. type: integer
  2907. wrstandardname:
  2908. description: 品类名称
  2909. type: string
  2910. type: object
  2911. models.Ermcp3AreaStockApplySum:
  2912. properties:
  2913. brandname:
  2914. description: 品牌名称
  2915. type: string
  2916. inouttype:
  2917. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  2918. type: integer
  2919. spotcontractid:
  2920. description: 关联现货合同ID
  2921. type: string
  2922. spotgoodsbrandid:
  2923. description: 品牌id
  2924. type: integer
  2925. totalqty:
  2926. description: 总数量
  2927. type: number
  2928. wrstandardid:
  2929. description: 品类id
  2930. type: integer
  2931. wrstandardname:
  2932. description: 品类名称
  2933. type: string
  2934. type: object
  2935. models.Ermcp3AreaStockReport:
  2936. properties:
  2937. brandname:
  2938. description: 品牌名称
  2939. type: string
  2940. curstock:
  2941. description: 期末库存量
  2942. type: number
  2943. deliverygoodscode:
  2944. description: 现货品种代码
  2945. type: string
  2946. deliverygoodsid:
  2947. description: 现货品种id
  2948. type: integer
  2949. deliverygoodsname:
  2950. description: 现货品种名称
  2951. type: string
  2952. enumdicname:
  2953. description: 单位名称
  2954. type: string
  2955. goodsunitid:
  2956. description: 现货单位id
  2957. type: integer
  2958. oristock:
  2959. description: 期初库存量
  2960. type: number
  2961. spotgoodsbrandid:
  2962. description: 现货品牌ID
  2963. type: integer
  2964. todaybuyinqty:
  2965. description: 今日采购入库量
  2966. type: number
  2967. todayproduceinqty:
  2968. description: 今日生产入库量
  2969. type: number
  2970. todayproduceoutqty:
  2971. description: 今日生产出库量
  2972. type: number
  2973. todayselloutqty:
  2974. description: 今日销售出库量
  2975. type: number
  2976. unitid:
  2977. description: 品类单位id
  2978. type: integer
  2979. updatetime:
  2980. description: 更新时间
  2981. type: string
  2982. userid:
  2983. description: 机构ID
  2984. type: integer
  2985. username:
  2986. description: 机构名称
  2987. type: string
  2988. warehousecode:
  2989. description: 仓库代码
  2990. type: string
  2991. warehouseinfoid:
  2992. description: 仓库ID
  2993. type: string
  2994. warehousename:
  2995. description: 仓库名称
  2996. type: string
  2997. warehousetype:
  2998. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2999. type: integer
  3000. wrstandardcode:
  3001. description: 品类代码
  3002. type: string
  3003. wrstandardid:
  3004. description: 品类ID
  3005. type: integer
  3006. wrstandardname:
  3007. description: 品类名称
  3008. type: string
  3009. type: object
  3010. models.Ermcp3Brand:
  3011. properties:
  3012. areauserid:
  3013. description: 用户id
  3014. type: integer
  3015. brandid:
  3016. description: 品牌id
  3017. type: integer
  3018. brandname:
  3019. description: 品牌名称
  3020. type: string
  3021. deliverygoodsid:
  3022. description: 品种ID
  3023. type: integer
  3024. type: object
  3025. models.Ermcp3Contract:
  3026. properties:
  3027. accountid:
  3028. description: 期货账户id
  3029. type: string
  3030. amount:
  3031. description: 金额 [1:一口价、3:暂定价]
  3032. type: number
  3033. attachment:
  3034. description: 附件
  3035. type: string
  3036. auditremark:
  3037. description: 审核意见
  3038. type: string
  3039. audittime:
  3040. description: 审核时间
  3041. type: string
  3042. biztype:
  3043. description: 业务类型 1-套保 2-套利
  3044. type: integer
  3045. brandname:
  3046. description: 品牌名称
  3047. type: string
  3048. buynickname:
  3049. description: 销售方昵称
  3050. type: string
  3051. buyuserid:
  3052. description: 采购方ID
  3053. type: integer
  3054. buyusername:
  3055. description: 采购方名称
  3056. type: string
  3057. contracctstatus:
  3058. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3059. type: integer
  3060. contractmargin:
  3061. description: 合同保证金
  3062. type: number
  3063. contractno:
  3064. description: 现货合同编号
  3065. type: string
  3066. contracttype:
  3067. description: 现货合同类型 - 1:采购 -1:销售
  3068. type: integer
  3069. convertfactor:
  3070. description: 标仓系数(品类)
  3071. type: number
  3072. createtime:
  3073. description: 创建时间
  3074. type: string
  3075. currencyid:
  3076. description: 币种id
  3077. type: integer
  3078. currencyname:
  3079. description: 币种名称
  3080. type: string
  3081. deliveryenddate:
  3082. description: 交收期(结束)
  3083. type: string
  3084. deliverygoodscode:
  3085. description: 现货品种代码
  3086. type: string
  3087. deliverygoodsid:
  3088. description: 现货品种ID
  3089. type: integer
  3090. deliverygoodsname:
  3091. description: 现货品种名称
  3092. type: string
  3093. deliverystartdate:
  3094. description: 交收期(开始)
  3095. type: string
  3096. enddate:
  3097. description: 点价结束日期 [2:点价 3:暂定价]
  3098. type: string
  3099. enumdicname:
  3100. description: 单位名称
  3101. type: string
  3102. goodscode:
  3103. description: 点价合约代码
  3104. type: string
  3105. goodsid:
  3106. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3107. type: integer
  3108. goodsname:
  3109. description: 点价商品名称
  3110. type: string
  3111. margin:
  3112. description: 当前保证金
  3113. type: number
  3114. meruserid:
  3115. description: 跟单员id
  3116. type: integer
  3117. meruserlogincode:
  3118. description: 跟单员登录代码
  3119. type: string
  3120. price:
  3121. description: 价格\暂定价 [1:一口价、3:暂定价]
  3122. type: number
  3123. pricemove:
  3124. description: 升贴水 [2:点价 3:暂定价]
  3125. type: number
  3126. pricetype:
  3127. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3128. type: integer
  3129. producttype:
  3130. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3131. type: integer
  3132. qty:
  3133. description: 数量
  3134. type: number
  3135. remark:
  3136. description: 备注
  3137. type: string
  3138. saleuserid:
  3139. description: 业务员id
  3140. type: integer
  3141. saleuserlogincode:
  3142. description: 业务员登录代码
  3143. type: string
  3144. sellnickname:
  3145. description: 采购方昵称
  3146. type: string
  3147. selluserid:
  3148. description: 销售方ID
  3149. type: integer
  3150. sellusername:
  3151. description: 销售方名称
  3152. type: string
  3153. spotcontractid:
  3154. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3155. type: string
  3156. spotgoodsbrandid:
  3157. description: 现货品牌ID(DGFactoryItem表的ID)
  3158. type: integer
  3159. spotgoodsdesc:
  3160. description: 商品型号
  3161. type: string
  3162. startdate:
  3163. description: 点价开始日期 [2:点价 3:暂定价]
  3164. type: string
  3165. tradeuserid:
  3166. description: 交易员id
  3167. type: integer
  3168. tradeuserlogincode:
  3169. description: 交易员登录代码
  3170. type: string
  3171. tradeusername:
  3172. description: 交易员名称
  3173. type: string
  3174. unitid:
  3175. description: 单位id(取品类上的单位id)
  3176. type: integer
  3177. updatetime:
  3178. description: 更新时间
  3179. type: string
  3180. userid:
  3181. description: 所属机构ID
  3182. type: integer
  3183. wrstandardcode:
  3184. description: 品类代码
  3185. type: string
  3186. wrstandardid:
  3187. description: 品类ID
  3188. type: integer
  3189. wrstandardname:
  3190. description: 品类名称
  3191. type: string
  3192. type: object
  3193. models.Ermcp3ExposureContractDetail:
  3194. properties:
  3195. biztype:
  3196. description: 业务类型 1-套保 2-套利
  3197. type: integer
  3198. buyuserid:
  3199. description: 采购方id
  3200. type: integer
  3201. buyusername:
  3202. description: 采购方名称
  3203. type: string
  3204. contractno:
  3205. description: 合同编号
  3206. type: string
  3207. contracttype:
  3208. description: 现货合同类型 - 1:采购 -1:销售
  3209. type: integer
  3210. convertratio:
  3211. description: 折算系数(套保品种)
  3212. type: number
  3213. curqty:
  3214. description: 今定价量
  3215. type: number
  3216. deliverygoodsid:
  3217. description: 现货商品id
  3218. type: integer
  3219. diffqty:
  3220. description: 套保品种今变动量
  3221. type: number
  3222. enumdicname:
  3223. description: 单位名称
  3224. type: string
  3225. middlegoodscode:
  3226. description: 套保品种代码
  3227. type: string
  3228. middlegoodsid:
  3229. description: 套保品种id
  3230. type: integer
  3231. middlegoodsname:
  3232. description: 套保品种名称
  3233. type: string
  3234. needarbitrageratio:
  3235. description: 应套利比例
  3236. type: number
  3237. needhedgeratio:
  3238. description: 应套保比例
  3239. type: number
  3240. pricedqty:
  3241. description: 已定价量
  3242. type: number
  3243. qty:
  3244. description: 合同量
  3245. type: number
  3246. selluserid:
  3247. description: 销售方id
  3248. type: integer
  3249. sellusername:
  3250. description: 销售方名称
  3251. type: string
  3252. spotcontractid:
  3253. description: 合同id
  3254. type: string
  3255. tradedate:
  3256. description: 交易日
  3257. type: string
  3258. unitid:
  3259. description: 品类单位id
  3260. type: integer
  3261. userid:
  3262. description: 机构id
  3263. type: integer
  3264. wrstandardcode:
  3265. description: 品类代码
  3266. type: string
  3267. wrstandardid:
  3268. description: 品类id
  3269. type: integer
  3270. wrstandardname:
  3271. description: 品类名称
  3272. type: string
  3273. type: object
  3274. models.Ermcp3ExposureDetail:
  3275. properties:
  3276. areauserid:
  3277. description: 机构ID
  3278. type: integer
  3279. changeQty:
  3280. description: 套保变动量
  3281. type: number
  3282. contracttype:
  3283. description: 现货合同类型 - 1:采购 -1:销售
  3284. type: integer
  3285. convertfactor:
  3286. description: 标仓系数
  3287. type: number
  3288. convertratio:
  3289. description: 套保系数
  3290. type: number
  3291. createtime:
  3292. description: 时间
  3293. type: string
  3294. deliverygoodscode:
  3295. description: 现货品种代码
  3296. type: string
  3297. deliverygoodsid:
  3298. description: 现货品种id
  3299. type: integer
  3300. deliverygoodsname:
  3301. description: 现货品种名称
  3302. type: string
  3303. enumdicname:
  3304. description: 现货商品单位名称
  3305. type: string
  3306. logtype:
  3307. description: 类型 - 1:套保计划 2:现货合同
  3308. type: integer
  3309. mgunitid:
  3310. description: 套保品种单位id
  3311. type: integer
  3312. mgunitidname:
  3313. description: 套保品种单位名称
  3314. type: string
  3315. middlegoodsId:
  3316. description: 套保商品id
  3317. type: integer
  3318. middlegoodscode:
  3319. description: 套保商品代码
  3320. type: string
  3321. middlegoodsname:
  3322. description: 套保商品名称
  3323. type: string
  3324. qty:
  3325. description: 数量
  3326. type: number
  3327. relateNo:
  3328. description: 现货合同/套保计划编号
  3329. type: string
  3330. type: object
  3331. models.Ermcp3ExposureHedgeplanDetail:
  3332. properties:
  3333. biztype:
  3334. description: 业务类型 1-套保 2-套利
  3335. type: integer
  3336. changqty:
  3337. description: 应套保总量变化量
  3338. type: number
  3339. contracttype:
  3340. description: 现货合同类型 - 1:采购 -1:销售
  3341. type: integer
  3342. convertratio:
  3343. description: 折算系数(套保品种)
  3344. type: number
  3345. deliverygoodsid:
  3346. description: 现货商品id
  3347. type: integer
  3348. diffqty:
  3349. description: 套保品种今变动量
  3350. type: number
  3351. enumdicname:
  3352. description: 单位名称(品类)
  3353. type: string
  3354. hedgeplanid:
  3355. description: 套保计划id
  3356. type: string
  3357. hedgeplanno:
  3358. description: 套保计划编号
  3359. type: string
  3360. mgunitidname:
  3361. description: 单位名称(套保商品)
  3362. type: string
  3363. middlegoodscode:
  3364. description: 套保品种代码
  3365. type: string
  3366. middlegoodsid:
  3367. description: 套保品种id
  3368. type: integer
  3369. middlegoodsname:
  3370. description: 套保品种名称
  3371. type: string
  3372. needarbitrageratio:
  3373. description: 应套利比例
  3374. type: number
  3375. needhedgeratio:
  3376. description: 应套保比例
  3377. type: number
  3378. pricedqty:
  3379. description: 已定价量
  3380. type: number
  3381. qty:
  3382. description: 合同量
  3383. type: number
  3384. tradedate:
  3385. description: 交易日(登记日)
  3386. type: string
  3387. unitid:
  3388. description: 品类单位id
  3389. type: integer
  3390. userid:
  3391. description: 机构id
  3392. type: integer
  3393. wrstandardcode:
  3394. description: 品类代码
  3395. type: string
  3396. wrstandardid:
  3397. description: 品类id
  3398. type: integer
  3399. wrstandardname:
  3400. description: 品类名称
  3401. type: string
  3402. type: object
  3403. models.Ermcp3Goods:
  3404. properties:
  3405. agreeunit:
  3406. description: 合约单位(合约乘数)
  3407. type: number
  3408. enumdicname:
  3409. description: 单位名称
  3410. type: string
  3411. exexchangecode:
  3412. description: 交易所代码
  3413. type: string
  3414. goodscode:
  3415. description: 期货商品代码
  3416. type: string
  3417. goodsid:
  3418. description: 期货商品id
  3419. type: integer
  3420. goodsname:
  3421. description: 期货商品名称
  3422. type: string
  3423. type: object
  3424. models.Ermcp3GoodsGroup:
  3425. properties:
  3426. agreeunit:
  3427. description: 合约单位
  3428. type: number
  3429. areauserid:
  3430. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  3431. type: integer
  3432. canshort:
  3433. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  3434. type: integer
  3435. closepricemode:
  3436. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  3437. type: integer
  3438. createtime:
  3439. description: 创建时间
  3440. type: string
  3441. creatorid:
  3442. description: 创建人
  3443. type: integer
  3444. currencyid:
  3445. description: 报价货币ID
  3446. type: integer
  3447. decimalplace:
  3448. description: 报价小数位
  3449. type: integer
  3450. enumdicname:
  3451. description: 单位名称
  3452. type: string
  3453. excludecfg:
  3454. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  3455. type: integer
  3456. exexchangeid:
  3457. description: 外部交易所ID[通道交易]
  3458. type: integer
  3459. goodsgroupid:
  3460. description: 商品组ID(自增ID)
  3461. type: integer
  3462. goodsgroupname:
  3463. description: 商品组名称
  3464. type: string
  3465. goodsgroupstatus:
  3466. description: 商品组状态 - 1:正常 2:注销
  3467. type: integer
  3468. goodunitid:
  3469. description: 报价单位ID
  3470. type: integer
  3471. groupcategroyid:
  3472. description: 品种分类ID
  3473. type: integer
  3474. innerdealmode:
  3475. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  3476. type: integer
  3477. marketid:
  3478. description: 所属市场ID
  3479. type: integer
  3480. modifierid:
  3481. description: 修改人
  3482. type: integer
  3483. modifytime:
  3484. description: 修改时间
  3485. type: string
  3486. outerdealmode:
  3487. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  3488. type: integer
  3489. outergroupcode:
  3490. description: 外部商品组代码[通道交易]
  3491. type: string
  3492. quoteminunit:
  3493. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3494. type: integer
  3495. quotesourcegroupid:
  3496. description: 所属行情源分组ID[参考行情市场用\通道交易]
  3497. type: integer
  3498. syncgoodsqty:
  3499. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  3500. type: integer
  3501. required:
  3502. - areauserid
  3503. type: object
  3504. models.Ermcp3GoodsGroupEx:
  3505. properties:
  3506. convertratio:
  3507. description: 折算系数(品种系数)
  3508. type: number
  3509. enumdicname:
  3510. description: 单位名称
  3511. type: string
  3512. exexchangecode:
  3513. description: 交易所代码
  3514. type: string
  3515. glist:
  3516. description: 合约列表
  3517. items:
  3518. $ref: '#/definitions/models.Ermcp3Goods'
  3519. type: array
  3520. goodsgroupid:
  3521. description: 商品组id
  3522. type: integer
  3523. goodsgroupname:
  3524. description: 商品组名称
  3525. type: string
  3526. goodsunitid:
  3527. description: 单位id
  3528. type: integer
  3529. middlegoodsid:
  3530. description: 套保商品id
  3531. type: integer
  3532. type: object
  3533. models.Ermcp3HedgePlan:
  3534. properties:
  3535. accountid:
  3536. description: 资金账号
  3537. type: integer
  3538. areauserid:
  3539. description: 用户ID
  3540. type: integer
  3541. audittime:
  3542. description: 审核时间
  3543. type: string
  3544. contracttype:
  3545. description: 计划类型 - 1:采购 -1:销售
  3546. type: integer
  3547. convertfactor:
  3548. description: 标仓系数
  3549. type: number
  3550. createtime:
  3551. description: 创建时间
  3552. type: string
  3553. currencyid:
  3554. description: 币种id
  3555. type: integer
  3556. currencyname:
  3557. description: 币种名称
  3558. type: string
  3559. deliverygoodscode:
  3560. description: 现货品种代码
  3561. type: string
  3562. deliverygoodsid:
  3563. description: 现货品种ID
  3564. type: integer
  3565. deliverygoodsname:
  3566. description: 现货品种名称
  3567. type: string
  3568. enumdicname:
  3569. description: 单位名称(现货商品)
  3570. type: string
  3571. hedgeplanid:
  3572. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  3573. type: string
  3574. hedgeplanno:
  3575. description: 套保计划编号(名称)
  3576. type: string
  3577. hedgeplanstatus:
  3578. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3579. type: integer
  3580. planqty:
  3581. description: 计划数量
  3582. type: number
  3583. plantime:
  3584. description: 计划时间
  3585. type: string
  3586. producttype:
  3587. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3588. type: integer
  3589. remark:
  3590. description: 备注
  3591. type: string
  3592. spotgoodsdesc:
  3593. description: 商品型号
  3594. type: string
  3595. taaccountname:
  3596. description: 资金账号名称
  3597. type: string
  3598. tradeuserid:
  3599. description: 交易用户id
  3600. type: integer
  3601. tradeusername:
  3602. description: 交易用户名称
  3603. type: string
  3604. unitid:
  3605. description: 单位id(现货商品)
  3606. type: integer
  3607. updatetime:
  3608. description: 更新时间
  3609. type: string
  3610. wrstandardcode:
  3611. description: 品类代码
  3612. type: string
  3613. wrstandardid:
  3614. description: 品类id
  3615. type: integer
  3616. wrstandardname:
  3617. description: 品类名称
  3618. type: string
  3619. wrunitid:
  3620. description: 品类单位id
  3621. type: integer
  3622. wrunitidame:
  3623. description: 品类单位名称
  3624. type: string
  3625. type: object
  3626. models.Ermcp3MiddleGoodsDetail2:
  3627. properties:
  3628. convertratio:
  3629. description: 套保系数(折算系数)
  3630. type: number
  3631. gplist:
  3632. description: 关联商品组列表
  3633. items:
  3634. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  3635. type: array
  3636. mg:
  3637. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  3638. description: 套保商品信息
  3639. type: object
  3640. type: object
  3641. models.Ermcp3MiddleGoodsDetailEx:
  3642. properties:
  3643. dglist:
  3644. description: 关联的现货品种列表
  3645. items:
  3646. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  3647. type: array
  3648. gplist:
  3649. description: 关联商品组列表
  3650. items:
  3651. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  3652. type: array
  3653. mg:
  3654. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  3655. description: 套保商品信息
  3656. type: object
  3657. type: object
  3658. models.Ermcp3ReckonAreaSpotPL:
  3659. properties:
  3660. accountid:
  3661. description: 期货账户ID (作废, 默认为0)
  3662. type: integer
  3663. accountname:
  3664. description: 机构名称
  3665. type: string
  3666. actualpl:
  3667. description: 现货损益
  3668. type: number
  3669. areauserid:
  3670. description: 所属机构\交易用户ID
  3671. type: integer
  3672. biztype:
  3673. description: 业务类型 - 1:套保 2:套利
  3674. type: integer
  3675. brandname:
  3676. description: 品牌名称
  3677. type: string
  3678. curamount:
  3679. description: 期末额
  3680. type: number
  3681. curaverageprice:
  3682. description: 期末均价
  3683. type: number
  3684. curbuyamount:
  3685. description: 期末采购总额
  3686. type: number
  3687. curbuyqty:
  3688. description: 期末采购总量
  3689. type: number
  3690. curmarketvalue:
  3691. description: 参考市值(期末市值)
  3692. type: number
  3693. curqty:
  3694. description: 期末量
  3695. type: number
  3696. currencyid:
  3697. description: 结算币种ID【原值】
  3698. type: integer
  3699. currencyname:
  3700. description: 币种名称
  3701. type: string
  3702. cursellamount:
  3703. description: 期末销售总额
  3704. type: number
  3705. cursellqty:
  3706. description: 期末销售总量
  3707. type: number
  3708. curspotprice:
  3709. description: 参考市价(最新价)
  3710. type: number
  3711. deliverygoodscode:
  3712. description: 现货商品代码
  3713. type: string
  3714. deliverygoodsid:
  3715. description: 现货品种ID
  3716. type: integer
  3717. deliverygoodsname:
  3718. description: 现货商品名称
  3719. type: string
  3720. enumdicname:
  3721. description: 现货商品单位名称
  3722. type: string
  3723. floatpl:
  3724. description: 浮动损益
  3725. type: number
  3726. goodsunitid:
  3727. description: 现货商品单位id
  3728. type: integer
  3729. oriamount:
  3730. description: 期初额
  3731. type: number
  3732. oriaverageprice:
  3733. description: 期初均价
  3734. type: number
  3735. oribuyamount:
  3736. description: 期初采购总额
  3737. type: number
  3738. oribuyqty:
  3739. description: 期初采购总量
  3740. type: number
  3741. oriqty:
  3742. description: 期初量
  3743. type: number
  3744. orisellamount:
  3745. description: 期初销售总额
  3746. type: number
  3747. orisellqty:
  3748. description: 期初销售总量
  3749. type: number
  3750. reckondate:
  3751. description: 日照时期(yyyyMMdd)
  3752. type: string
  3753. spotgoodsbrandid:
  3754. description: 现货品牌ID
  3755. type: integer
  3756. todaybuyamount:
  3757. description: 今日采购额(今采购额)
  3758. type: number
  3759. todaybuyaverageprice:
  3760. description: 今日采购均价
  3761. type: number
  3762. todaybuyqty:
  3763. description: 今日采购量(今采购量)
  3764. type: number
  3765. todayinqty:
  3766. description: 今日入库量(今入库量)
  3767. type: number
  3768. todayoutqty:
  3769. description: 今日出库量(今出库量)
  3770. type: number
  3771. todaysellamount:
  3772. description: 今日销售额(今销售额)
  3773. type: number
  3774. todaysellaverageprice:
  3775. description: 今日销售均价
  3776. type: number
  3777. todaysellqty:
  3778. description: 今日销售量(今销售量)
  3779. type: number
  3780. unitid:
  3781. description: 品类单位id
  3782. type: integer
  3783. unitidname:
  3784. description: 品类单位名称
  3785. type: string
  3786. updatetime:
  3787. description: 更新时间
  3788. type: string
  3789. wrfactortypeid:
  3790. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  3791. type: integer
  3792. wrstandardcode:
  3793. description: 品类代码
  3794. type: string
  3795. wrstandardid:
  3796. description: 现货品类ID
  3797. type: string
  3798. wrstandardname:
  3799. description: 品类名称
  3800. type: string
  3801. type: object
  3802. models.Ermcp3ReckonAreaSpotSub:
  3803. properties:
  3804. accountid:
  3805. description: 期货账户ID
  3806. type: integer
  3807. accountname:
  3808. description: 所属机构名称
  3809. type: string
  3810. areauserid:
  3811. description: 账户所属机构
  3812. type: integer
  3813. biztype:
  3814. description: 业务类型 1-套保 2-套利
  3815. type: integer
  3816. brandname:
  3817. description: 品牌名称
  3818. type: string
  3819. buycontractinqty:
  3820. description: 采购合同入库量
  3821. type: number
  3822. buypricedamount:
  3823. description: 采购合同已定价金额
  3824. type: number
  3825. buypricedqty:
  3826. description: 采购合同已定价数量
  3827. type: number
  3828. buyreckonqty:
  3829. description: 采购合同交收量
  3830. type: number
  3831. currencyid:
  3832. description: 币种id
  3833. type: integer
  3834. currencyname:
  3835. description: 币种名称
  3836. type: string
  3837. deliverygoodscode:
  3838. description: 现货商品代码
  3839. type: string
  3840. deliverygoodsid:
  3841. description: 现货品种ID
  3842. type: integer
  3843. deliverygoodsname:
  3844. description: 现货商品名称
  3845. type: string
  3846. enumdicname:
  3847. description: 现货商品单位名称
  3848. type: string
  3849. goodsunitid:
  3850. description: 现货商品单位id
  3851. type: integer
  3852. oribuycontractinqty:
  3853. description: 期初采购合同入库量
  3854. type: number
  3855. oribuypricedamount:
  3856. description: 期初采购合同已定价金额
  3857. type: number
  3858. oribuypricedqty:
  3859. description: 期初采购合同已定价数量
  3860. type: number
  3861. oribuyreckonqty:
  3862. description: 期初采购合同交收量
  3863. type: number
  3864. oriproduceinqty:
  3865. description: 期初生产入库量
  3866. type: number
  3867. oriproduceoutqty:
  3868. description: 期初生产出库量
  3869. type: number
  3870. orisellcontractoutqty:
  3871. description: 期初销售合同出库量
  3872. type: number
  3873. orisellpricedamount:
  3874. description: 期初销售合同已定价金额
  3875. type: number
  3876. orisellpricedqty:
  3877. description: 期初销售合同已定价数量
  3878. type: number
  3879. orisellreckonqty:
  3880. description: 期初销售合同交收量
  3881. type: number
  3882. produceinqty:
  3883. description: 生产入库量
  3884. type: number
  3885. produceoutqty:
  3886. description: 生产出库量
  3887. type: number
  3888. reckondate:
  3889. description: 日照时期(yyyyMMdd)
  3890. type: string
  3891. sellcontractoutqty:
  3892. description: 销售合同出库量
  3893. type: number
  3894. sellpricedamount:
  3895. description: 销售合同已定价金额
  3896. type: number
  3897. sellpricedqty:
  3898. description: 销售合同已定价数量
  3899. type: number
  3900. sellreckonqty:
  3901. description: 销售合同交收量
  3902. type: number
  3903. spotgoodsbrandid:
  3904. description: 现货品牌ID
  3905. type: integer
  3906. todaybuyreckonqty:
  3907. description: 今日采购合同已确定数量
  3908. type: number
  3909. todaysellreckonqty:
  3910. description: 今日销售合同已确定数量
  3911. type: number
  3912. totalbuypricedqty:
  3913. description: 采购定价量 = 期末 - 期初
  3914. type: number
  3915. totalsellpricedqty:
  3916. description: 销售定价量 = 期末 - 期初
  3917. type: number
  3918. totalspotqty:
  3919. description: 现货头寸总量 = 采购合同已定价数量 - 销售合同已定价数量
  3920. type: number
  3921. updatetime:
  3922. description: 更新时间
  3923. type: string
  3924. wrfactortypeid:
  3925. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  3926. type: integer
  3927. wrstandardcode:
  3928. description: 品类代码
  3929. type: string
  3930. wrstandardid:
  3931. description: 现货品类ID
  3932. type: integer
  3933. wrstandardname:
  3934. description: 品类名称
  3935. type: string
  3936. required:
  3937. - areauserid
  3938. - reckondate
  3939. type: object
  3940. models.Ermcp3ReckonExpourse:
  3941. properties:
  3942. accountid:
  3943. description: 期货账户ID (作废, 默认为0)
  3944. type: integer
  3945. accountname:
  3946. description: 机构名称
  3947. type: string
  3948. arbitrageqty:
  3949. description: 套利量
  3950. type: number
  3951. areauserid:
  3952. description: 所属机构\交易用户ID
  3953. type: integer
  3954. buyfutureqty:
  3955. description: 买入期货数量
  3956. type: number
  3957. buyplanqty:
  3958. description: 采购计划数量
  3959. type: number
  3960. buypricedqty:
  3961. description: 采购合同已定价数量
  3962. type: number
  3963. diffexposure:
  3964. description: 变动量(套保敞口)
  3965. type: number
  3966. difffutuqty:
  3967. description: 变动量(期货)
  3968. type: number
  3969. diffhedgeqty:
  3970. description: 变动量(现货应套保总量)
  3971. type: number
  3972. diffmgqtya:
  3973. description: 套保变动量
  3974. type: number
  3975. diffmgqtyb:
  3976. description: 套利变动量
  3977. type: number
  3978. diffqty:
  3979. description: 变动量(总敞口)
  3980. type: number
  3981. diffspotqty:
  3982. description: 变动量(现货)
  3983. type: number
  3984. enumdicname:
  3985. description: 单位名称
  3986. type: string
  3987. hedgeqty:
  3988. description: 套保量
  3989. type: number
  3990. mgneedhedgeratio:
  3991. description: 套保比例(套保品的)
  3992. type: number
  3993. middlegoodsid:
  3994. description: 套保品种ID
  3995. type: integer
  3996. middlegoodsnam:
  3997. description: 套保商品名称
  3998. type: string
  3999. middlgoodscode:
  4000. description: 套保商品代码
  4001. type: string
  4002. needarbitrageqty:
  4003. description: 应套利量
  4004. type: number
  4005. needarbitrageratio:
  4006. description: 套利比例(套保品的)
  4007. type: number
  4008. needhedgeexposoure:
  4009. description: 应套保敞口(套保敞口)
  4010. type: number
  4011. needhedgeqty:
  4012. description: 应套保量
  4013. type: number
  4014. needhedgeratio:
  4015. description: 应套保敞口比例
  4016. type: number
  4017. oriarbitrageqty:
  4018. description: 期初套利量
  4019. type: number
  4020. oribuyfutureqty:
  4021. description: 期初买入期货数量
  4022. type: number
  4023. oribuyplanqty:
  4024. description: 期初采购计划数量
  4025. type: number
  4026. oribuypricedqty:
  4027. description: 期初采购合同已定价数量
  4028. type: number
  4029. orihedgeqty:
  4030. description: 期初套保量
  4031. type: number
  4032. orineedarbitrageqty:
  4033. description: 期初应套利量
  4034. type: number
  4035. orineedhedgeexposoure:
  4036. description: 期初应套保敞口
  4037. type: number
  4038. orineedhedgeqty:
  4039. description: 期初应套保量
  4040. type: number
  4041. orisellfutureqty:
  4042. description: 期初卖出期货数量
  4043. type: number
  4044. orisellplanqty:
  4045. description: 期初销售计划数量
  4046. type: number
  4047. orisellpricedqty:
  4048. description: 期初销售合同已定价数量
  4049. type: number
  4050. oritotalexposure:
  4051. description: 期初实时总敞口
  4052. type: number
  4053. oritotalfutureqty:
  4054. description: 期初期货头寸总量
  4055. type: number
  4056. oritotalneedhedgeqty:
  4057. description: 期初应套保总量
  4058. type: number
  4059. oritotalspotqty:
  4060. description: 期初现货头寸总量
  4061. type: number
  4062. reckondate:
  4063. description: 日照时期(yyyyMMdd)
  4064. type: string
  4065. sellfutureqty:
  4066. description: 卖出期货数量
  4067. type: number
  4068. sellplanqty:
  4069. description: 销售计划数量
  4070. type: number
  4071. sellpricedqty:
  4072. description: 销售合同已定价数量
  4073. type: number
  4074. totalexposure:
  4075. description: 实时总敞口(总敞口)
  4076. type: number
  4077. totalfutureqty:
  4078. description: 期货头寸总量(期货总量)
  4079. type: number
  4080. totalhedgeratio:
  4081. description: 敞口比例
  4082. type: number
  4083. totalneedhedgeqty:
  4084. description: 应套保总量(现货应套保总量)
  4085. type: number
  4086. totalspotqty:
  4087. description: 现货头寸总量
  4088. type: number
  4089. unitid:
  4090. description: 单位id
  4091. type: integer
  4092. updatetime:
  4093. description: 更新时间
  4094. type: string
  4095. type: object
  4096. models.Ermcp3ReportAreaSpotPL:
  4097. properties:
  4098. accountid:
  4099. description: 期货账户ID (作废, 默认为0)
  4100. type: integer
  4101. accountname:
  4102. description: 机构名称
  4103. type: string
  4104. actualpl:
  4105. description: 现货损益
  4106. type: number
  4107. areauserid:
  4108. description: 所属机构\交易用户ID
  4109. type: integer
  4110. biztype:
  4111. description: 业务类型 - 1:套保 2:套利
  4112. type: integer
  4113. brandname:
  4114. description: 品牌名称
  4115. type: string
  4116. curamount:
  4117. description: 期末额
  4118. type: number
  4119. curaverageprice:
  4120. description: 期末均价
  4121. type: number
  4122. curbuyamount:
  4123. description: 期末采购总额
  4124. type: number
  4125. curbuyqty:
  4126. description: 期末采购总量
  4127. type: number
  4128. curmarketvalue:
  4129. description: 参考市值(期末市值)
  4130. type: number
  4131. curqty:
  4132. description: 期末量
  4133. type: number
  4134. currencyid:
  4135. description: 结算币种ID【原值】
  4136. type: integer
  4137. currencyname:
  4138. description: 币种名称
  4139. type: string
  4140. cursellamount:
  4141. description: 期末销售总额
  4142. type: number
  4143. cursellqty:
  4144. description: 期末销售总量
  4145. type: number
  4146. curspotprice:
  4147. description: 参考市价(最新价)
  4148. type: number
  4149. cycletime:
  4150. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4151. type: string
  4152. cycletype:
  4153. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4154. type: integer
  4155. deliverygoodscode:
  4156. description: 现货商品代码
  4157. type: string
  4158. deliverygoodsid:
  4159. description: 现货品种ID
  4160. type: integer
  4161. deliverygoodsname:
  4162. description: 现货商品名称
  4163. type: string
  4164. enumdicname:
  4165. description: 现货商品单位名称
  4166. type: string
  4167. floatpl:
  4168. description: 浮动损益
  4169. type: number
  4170. goodsunitid:
  4171. description: 现货商品单位id
  4172. type: integer
  4173. oriamount:
  4174. description: 期初额
  4175. type: number
  4176. oriaverageprice:
  4177. description: 期初均价
  4178. type: number
  4179. oribuyamount:
  4180. description: 期初采购总额
  4181. type: number
  4182. oribuyqty:
  4183. description: 期初采购总量
  4184. type: number
  4185. oriqty:
  4186. description: 期初量
  4187. type: number
  4188. orisellamount:
  4189. description: 期初销售总额
  4190. type: number
  4191. orisellqty:
  4192. description: 期初销售总量
  4193. type: number
  4194. spotgoodsbrandid:
  4195. description: 现货品牌ID
  4196. type: integer
  4197. todaybuyamount:
  4198. description: 今日采购额(今采购额)
  4199. type: number
  4200. todaybuyaverageprice:
  4201. description: 今日采购均价
  4202. type: number
  4203. todaybuyqty:
  4204. description: 今日采购量(今采购量)
  4205. type: number
  4206. todayinqty:
  4207. description: 今日入库量(今入库量)
  4208. type: number
  4209. todayoutqty:
  4210. description: 今日出库量(今出库量)
  4211. type: number
  4212. todaysellamount:
  4213. description: 今日销售额(今销售额)
  4214. type: number
  4215. todaysellaverageprice:
  4216. description: 今日销售均价
  4217. type: number
  4218. todaysellqty:
  4219. description: 今日销售量(今销售量)
  4220. type: number
  4221. unitid:
  4222. description: 品类单位id
  4223. type: integer
  4224. unitidname:
  4225. description: 品类单位名称
  4226. type: string
  4227. updatetime:
  4228. description: 更新时间
  4229. type: string
  4230. wrfactortypeid:
  4231. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4232. type: integer
  4233. wrstandardcode:
  4234. description: 品类代码
  4235. type: string
  4236. wrstandardid:
  4237. description: 现货品类ID
  4238. type: string
  4239. wrstandardname:
  4240. description: 品类名称
  4241. type: string
  4242. type: object
  4243. models.Ermcp3ReportAreaSpotSub:
  4244. properties:
  4245. accountid:
  4246. description: 期货账户ID
  4247. type: integer
  4248. accountname:
  4249. description: 所属机构名称
  4250. type: string
  4251. areauserid:
  4252. description: 账户所属机构
  4253. type: integer
  4254. biztype:
  4255. description: 业务类型 1-套保 2-套利
  4256. type: integer
  4257. brandname:
  4258. description: 品牌名称
  4259. type: string
  4260. buycontractinqty:
  4261. description: 采购合同入库量【期末】
  4262. type: number
  4263. buypricedamount:
  4264. description: 采购合同已定价金额【期末】
  4265. type: number
  4266. buypricedqty:
  4267. description: 采购合同已定价数量【期末】
  4268. type: number
  4269. buyreckonqty:
  4270. description: 采购合同交收量【期末】
  4271. type: number
  4272. currencyid:
  4273. description: 币种id
  4274. type: integer
  4275. currencyname:
  4276. description: 币种名称
  4277. type: string
  4278. cycletime:
  4279. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4280. type: string
  4281. cycletype:
  4282. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4283. type: integer
  4284. deliverygoodscode:
  4285. description: 现货商品代码
  4286. type: string
  4287. deliverygoodsid:
  4288. description: 现货品种ID
  4289. type: integer
  4290. deliverygoodsname:
  4291. description: 现货商品名称
  4292. type: string
  4293. enumdicname:
  4294. description: 现货商品单位名称
  4295. type: string
  4296. goodsunitid:
  4297. description: 现货商品单位id
  4298. type: integer
  4299. oribuycontractinqty:
  4300. description: 期初采购合同入库量【期初】
  4301. type: number
  4302. oribuypricedamount:
  4303. description: 期初采购合同已定价金额【期初】
  4304. type: number
  4305. oribuypricedqty:
  4306. description: 期初采购合同已定价数量【期初】
  4307. type: number
  4308. oribuyreckonqty:
  4309. description: 期初采购合同交收量【期初】
  4310. type: number
  4311. oriproduceinqty:
  4312. description: 期初生产入库量【期初】
  4313. type: number
  4314. oriproduceoutqty:
  4315. description: 期初生产出库量【期初】
  4316. type: number
  4317. orisellcontractoutqty:
  4318. description: 期初销售合同出库量【期初】
  4319. type: number
  4320. orisellpricedamount:
  4321. description: 期初销售合同已定价金额【期初】
  4322. type: number
  4323. orisellpricedqty:
  4324. description: 期初销售合同已定价数量【期初】
  4325. type: number
  4326. orisellreckonqty:
  4327. description: 期初销售合同交收量【期初】
  4328. type: number
  4329. produceinqty:
  4330. description: 生产入库量【期末】
  4331. type: number
  4332. produceoutqty:
  4333. description: 生产出库量【期末】
  4334. type: number
  4335. sellcontractoutqty:
  4336. description: 销售合同出库量【期末】
  4337. type: number
  4338. sellpricedamount:
  4339. description: 销售合同已定价金额【期末】
  4340. type: number
  4341. sellpricedqty:
  4342. description: 销售合同已定价数量【期末】
  4343. type: number
  4344. sellreckonqty:
  4345. description: 销售合同交收量【期末】
  4346. type: number
  4347. spotgoodsbrandid:
  4348. description: 现货品牌ID
  4349. type: integer
  4350. todaybuyreckonqty:
  4351. description: 今日采购合同已确定数量【汇总】
  4352. type: number
  4353. todaysellreckonqty:
  4354. description: 今日销售合同已确定数量【汇总】
  4355. type: number
  4356. totalbuypricedqty:
  4357. description: 采购定价量 = 期末 - 期初
  4358. type: number
  4359. totalsellpricedqty:
  4360. description: 销售定价量 = 期末 - 期初
  4361. type: number
  4362. totalspotqty:
  4363. description: 现货头寸总量 = 采购合同已定价数量 - 销售合同已定价数量【期末】
  4364. type: number
  4365. updatetime:
  4366. description: 更新时间
  4367. type: string
  4368. wrfactortypeid:
  4369. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4370. type: integer
  4371. wrstandardcode:
  4372. description: 品类代码
  4373. type: string
  4374. wrstandardid:
  4375. description: 品类ID
  4376. type: integer
  4377. wrstandardname:
  4378. description: 品类名称
  4379. type: string
  4380. required:
  4381. - areauserid
  4382. type: object
  4383. models.Ermcp3ReportExpourse:
  4384. properties:
  4385. accountid:
  4386. description: 期货账户ID (作废, 默认为0)
  4387. type: integer
  4388. accountname:
  4389. description: 机构名称
  4390. type: string
  4391. arbitrageqty:
  4392. description: 套利量
  4393. type: number
  4394. areauserid:
  4395. description: 所属机构\交易用户ID
  4396. type: integer
  4397. buyfutureqty:
  4398. description: 买入期货数量
  4399. type: number
  4400. buyplanqty:
  4401. description: 采购计划数量
  4402. type: number
  4403. buypricedqty:
  4404. description: 采购合同已定价数量
  4405. type: number
  4406. cycletime:
  4407. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4408. type: string
  4409. cycletype:
  4410. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4411. type: integer
  4412. diffexposure:
  4413. description: 变动量(套保敞口)
  4414. type: number
  4415. difffutuqty:
  4416. description: 变动量(期货)
  4417. type: number
  4418. diffhedgeqty:
  4419. description: 变动量(现货应套保总量)
  4420. type: number
  4421. diffmgqtya:
  4422. description: 套保变动量
  4423. type: number
  4424. diffmgqtyb:
  4425. description: 套利变动量
  4426. type: number
  4427. diffqty:
  4428. description: 变动量(总敞口)
  4429. type: number
  4430. diffspotqty:
  4431. description: 变动量(现货)
  4432. type: number
  4433. enumdicname:
  4434. description: 单位名称
  4435. type: string
  4436. hedgeqty:
  4437. description: 套保量
  4438. type: number
  4439. mgneedhedgeratio:
  4440. description: 套保比例(套保品的)
  4441. type: number
  4442. middlegoodsid:
  4443. description: 套保品种ID
  4444. type: integer
  4445. middlegoodsnam:
  4446. description: 套保商品名称
  4447. type: string
  4448. middlgoodscode:
  4449. description: 套保商品代码
  4450. type: string
  4451. needarbitrageqty:
  4452. description: 应套利量
  4453. type: number
  4454. needarbitrageratio:
  4455. description: 套利比例(套保品的)
  4456. type: number
  4457. needhedgeexposoure:
  4458. description: 应套保敞口(套保敞口)
  4459. type: number
  4460. needhedgeqty:
  4461. description: 应套保量
  4462. type: number
  4463. needhedgeratio:
  4464. description: 应套保敞口比例
  4465. type: number
  4466. oriarbitrageqty:
  4467. description: 期初套利量
  4468. type: number
  4469. oribuyfutureqty:
  4470. description: 期初买入期货数量
  4471. type: number
  4472. oribuyplanqty:
  4473. description: 期初采购计划数量
  4474. type: number
  4475. oribuypricedqty:
  4476. description: 期初采购合同已定价数量
  4477. type: number
  4478. orihedgeqty:
  4479. description: 期初套保量
  4480. type: number
  4481. orineedarbitrageqty:
  4482. description: 期初应套利量
  4483. type: number
  4484. orineedhedgeexposoure:
  4485. description: 期初应套保敞口
  4486. type: number
  4487. orineedhedgeqty:
  4488. description: 期初应套保量
  4489. type: number
  4490. orisellfutureqty:
  4491. description: 期初卖出期货数量
  4492. type: number
  4493. orisellplanqty:
  4494. description: 期初销售计划数量
  4495. type: number
  4496. orisellpricedqty:
  4497. description: 期初销售合同已定价数量
  4498. type: number
  4499. oritotalexposure:
  4500. description: 期初实时总敞口
  4501. type: number
  4502. oritotalfutureqty:
  4503. description: 期初期货头寸总量
  4504. type: number
  4505. oritotalneedhedgeqty:
  4506. description: 期初应套保总量
  4507. type: number
  4508. oritotalspotqty:
  4509. description: 期初现货头寸总量
  4510. type: number
  4511. sellfutureqty:
  4512. description: 卖出期货数量
  4513. type: number
  4514. sellplanqty:
  4515. description: 销售计划数量
  4516. type: number
  4517. sellpricedqty:
  4518. description: 销售合同已定价数量
  4519. type: number
  4520. totalexposure:
  4521. description: 实时总敞口(总敞口)
  4522. type: number
  4523. totalfutureqty:
  4524. description: 期货头寸总量(期货总量)
  4525. type: number
  4526. totalhedgeratio:
  4527. description: 敞口比例
  4528. type: number
  4529. totalneedhedgeqty:
  4530. description: 应套保总量(现货应套保总量)
  4531. type: number
  4532. totalspotqty:
  4533. description: 现货头寸总量
  4534. type: number
  4535. unitid:
  4536. description: 单位id
  4537. type: integer
  4538. updatetime:
  4539. description: 更新时间
  4540. type: string
  4541. type: object
  4542. models.Ermcp3ReportOPLog:
  4543. properties:
  4544. applyid:
  4545. description: 操作人
  4546. type: integer
  4547. applyname:
  4548. description: 操作人名称
  4549. type: string
  4550. biztype:
  4551. description: 业务类型 - 1:套保计划 2:现货合同
  4552. type: integer
  4553. brandname:
  4554. description: 品牌名称
  4555. type: string
  4556. contracttype:
  4557. description: 现货合同类型 - 1:采购 -1:销售
  4558. type: integer
  4559. deliverygoodscode:
  4560. description: 现货品种代码
  4561. type: string
  4562. deliverygoodsid:
  4563. description: 现货品种id
  4564. type: integer
  4565. deliverygoodsname:
  4566. description: 现货品种名称
  4567. type: string
  4568. enumdicName:
  4569. description: 单位名称
  4570. type: string
  4571. logdatetime:
  4572. description: 流水日期(时间)
  4573. type: string
  4574. logid:
  4575. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4576. type: string
  4577. logtypename:
  4578. description: 合同类型(名称)
  4579. type: string
  4580. logvalue:
  4581. description: 数值
  4582. type: string
  4583. operatelogtype:
  4584. description: 操作流水类型 -
  4585. type: integer
  4586. optypename:
  4587. description: 流水类型名称
  4588. type: string
  4589. relatedid:
  4590. description: 现货合同ID\套保计划
  4591. type: string
  4592. relatedno:
  4593. description: 合同编号
  4594. type: string
  4595. spotgoodsbrandid:
  4596. description: 品牌id
  4597. type: integer
  4598. tradedate:
  4599. description: 交易日(yyyyMMdd)
  4600. type: string
  4601. userid:
  4602. description: 机构ID
  4603. type: integer
  4604. wrstandardcode:
  4605. description: 品类代码
  4606. type: string
  4607. wrstandardid:
  4608. description: 品类id
  4609. type: integer
  4610. wrstandardname:
  4611. description: 品类名称
  4612. type: string
  4613. type: object
  4614. models.Ermcp3SellBuyContract:
  4615. properties:
  4616. accountname:
  4617. description: 账户名称
  4618. type: string
  4619. attachment:
  4620. description: 附件
  4621. type: string
  4622. audittime:
  4623. description: 审核时间
  4624. type: string
  4625. brandname:
  4626. description: 品牌名称
  4627. type: string
  4628. contracctstatus:
  4629. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4630. type: integer
  4631. contractmargin:
  4632. description: 合同保证金
  4633. type: number
  4634. contractno:
  4635. description: 合同编号
  4636. type: string
  4637. contracttype:
  4638. description: 合同类型 1-采购, -1-销售
  4639. type: integer
  4640. convertfactor:
  4641. description: 标仓系数(品类)
  4642. type: number
  4643. createtime:
  4644. description: 创建时间
  4645. type: string
  4646. daikaiamount:
  4647. description: 应收(开)票额
  4648. type: number
  4649. deliveryenddate:
  4650. description: 交割结束日
  4651. type: string
  4652. deliverygoodscode:
  4653. description: 现货品种代码
  4654. type: string
  4655. deliverygoodsid:
  4656. description: 现货商品ID
  4657. type: integer
  4658. deliverygoodsname:
  4659. description: 现货品种名称
  4660. type: string
  4661. deliverystartdate:
  4662. description: 交割开始日
  4663. type: string
  4664. enddate:
  4665. description: 点价结束日
  4666. type: string
  4667. enumdicname:
  4668. description: 单位名称
  4669. type: string
  4670. goodscode:
  4671. description: 点价商品代码
  4672. type: string
  4673. goodsid:
  4674. description: 点价商品ID
  4675. type: integer
  4676. goodsname:
  4677. description: 点价商品名称
  4678. type: string
  4679. invoiceamount:
  4680. description: 已开票额
  4681. type: number
  4682. loanamount:
  4683. description: 贷款总额=已定价额+调整金额
  4684. type: number
  4685. margin:
  4686. description: 保证金
  4687. type: number
  4688. nickname:
  4689. description: 账户昵称
  4690. type: string
  4691. payamount:
  4692. description: 已收付额(收款或付款)
  4693. type: number
  4694. preinvoiceamount:
  4695. description: 预收(开)票额
  4696. type: number
  4697. prepayamount:
  4698. description: 预收付额
  4699. type: number
  4700. price:
  4701. description: 价格
  4702. type: number
  4703. pricedamount:
  4704. description: 已定价额
  4705. type: number
  4706. pricedavg:
  4707. description: 已点均价
  4708. type: number
  4709. pricedqty:
  4710. description: 已定价量
  4711. type: number
  4712. pricemove:
  4713. description: 升贴水
  4714. type: number
  4715. pricetype:
  4716. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4717. type: integer
  4718. producttype:
  4719. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4720. type: integer
  4721. qty:
  4722. description: 合同量
  4723. type: number
  4724. reckonadjustamount:
  4725. description: 调整金额
  4726. type: number
  4727. reckonedamount:
  4728. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  4729. type: number
  4730. reckonotheramount:
  4731. description: 其它费用
  4732. type: number
  4733. reckonrealqty:
  4734. description: 已确定量
  4735. type: number
  4736. remark:
  4737. description: 备注
  4738. type: string
  4739. spotcontractid:
  4740. description: 合同ID
  4741. type: string
  4742. spotgoodsbrandid:
  4743. description: 现货品牌ID(DGFactoryItem表的ID)
  4744. type: integer
  4745. spotgoodsdesc:
  4746. description: 商品型号(商品规格)
  4747. type: string
  4748. startdate:
  4749. description: 点价开始日
  4750. type: string
  4751. totalamount:
  4752. description: 合计总额
  4753. type: number
  4754. unpayamount:
  4755. description: 应收付款额(应支付或应收款)
  4756. type: number
  4757. unpricedqty:
  4758. description: 未定价量
  4759. type: number
  4760. unsureqty:
  4761. description: 未确定量
  4762. type: number
  4763. userid:
  4764. description: 机构ID
  4765. type: integer
  4766. wrstandardcode:
  4767. description: 品类代码
  4768. type: string
  4769. wrstandardid:
  4770. description: 品类ID
  4771. type: integer
  4772. wrstandardname:
  4773. description: 品类名称
  4774. type: string
  4775. type: object
  4776. models.Ermcp3SpotGoodsPrice:
  4777. properties:
  4778. areauserid:
  4779. description: 所属机构id
  4780. type: integer
  4781. brandname:
  4782. description: 品牌名称
  4783. type: string
  4784. currencyid:
  4785. description: 报价货币ID
  4786. type: integer
  4787. currencyname:
  4788. description: 币种名称
  4789. type: string
  4790. deliverygoodscode:
  4791. description: 现货商品代码
  4792. type: string
  4793. deliverygoodsid:
  4794. description: 现货商品id
  4795. type: integer
  4796. deliverygoodsname:
  4797. description: 现货商品名称
  4798. type: string
  4799. enumdicname:
  4800. description: 现货商品单位名称
  4801. type: string
  4802. gbenumdicname:
  4803. description: 品类单位名称
  4804. type: string
  4805. gmunitid:
  4806. description: 品类单位id
  4807. type: integer
  4808. isvalid:
  4809. description: 是否有效 - 0:无效 1:有效
  4810. type: integer
  4811. operateid:
  4812. description: 最后操作人
  4813. type: integer
  4814. operatesrc:
  4815. description: 最后操作来源 - 1:管理端 2:终端
  4816. type: integer
  4817. operatetime:
  4818. description: 最后操作时间
  4819. type: string
  4820. operatorname:
  4821. description: 操作人名称
  4822. type: string
  4823. spotgoodsbrandid:
  4824. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  4825. type: integer
  4826. spotgoodsprice:
  4827. description: 现货价格
  4828. type: number
  4829. tradedate:
  4830. description: 交易日(yyyyMMdd)
  4831. type: string
  4832. unitid:
  4833. description: 现货商品单位id
  4834. type: integer
  4835. wrstandardcode:
  4836. description: 品类代码
  4837. type: string
  4838. wrstandardid:
  4839. description: 现货品类ID(通用则为0)
  4840. type: integer
  4841. wrstandardname:
  4842. description: 品类名称
  4843. type: string
  4844. type: object
  4845. models.Ermcp3SpotGoodsPriceLog:
  4846. properties:
  4847. areauserid:
  4848. description: 所属机构id
  4849. type: integer
  4850. brandname:
  4851. description: 品牌名称
  4852. type: string
  4853. currencyid:
  4854. description: 报价货币ID
  4855. type: integer
  4856. deliverygoodscode:
  4857. description: 现货商品代码
  4858. type: string
  4859. deliverygoodsid:
  4860. description: 现货商品id
  4861. type: integer
  4862. deliverygoodsname:
  4863. description: 现货商品名称
  4864. type: string
  4865. enumdicname:
  4866. description: 现货商品单位名称
  4867. type: string
  4868. gbenumdicname:
  4869. description: 品类单位名称
  4870. type: string
  4871. gmunitid:
  4872. description: 品类单位id
  4873. type: integer
  4874. logid:
  4875. description: 日志id
  4876. type: integer
  4877. operateid:
  4878. description: 最后操作人
  4879. type: integer
  4880. operatesrc:
  4881. description: 最后操作来源 - 1:管理端 2:终端
  4882. type: integer
  4883. operatetime:
  4884. description: 最后操作时间
  4885. type: string
  4886. operatorname:
  4887. description: 操作人名称
  4888. type: string
  4889. spotgoodsbrandid:
  4890. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  4891. type: integer
  4892. spotgoodsprice:
  4893. description: 现货价格
  4894. type: number
  4895. tradedate:
  4896. description: 交易日(yyyyMMdd)
  4897. type: string
  4898. unitid:
  4899. description: 现货商品单位id
  4900. type: integer
  4901. wrstandardcode:
  4902. description: 品类代码
  4903. type: string
  4904. wrstandardid:
  4905. description: 现货品类ID(通用则为0)
  4906. type: integer
  4907. wrstandardname:
  4908. description: 品类名称
  4909. type: string
  4910. type: object
  4911. models.Ermcp3Wrstandard:
  4912. properties:
  4913. areauserid:
  4914. description: 所属机构
  4915. type: integer
  4916. convertfactor:
  4917. description: 标仓系数
  4918. type: number
  4919. createtime:
  4920. description: 创建时间
  4921. type: string
  4922. creatorid:
  4923. description: 创建人
  4924. type: integer
  4925. deliverygoodsid:
  4926. description: 现货品种ID
  4927. type: integer
  4928. enumdicname:
  4929. description: 品类单位名称
  4930. type: string
  4931. isvalid:
  4932. description: 是否有效 0-无效(停用) 1-有效(正常)
  4933. type: integer
  4934. minivalue:
  4935. description: 最小变动值
  4936. type: integer
  4937. minivaluedp:
  4938. description: 最小变动值小数位
  4939. type: integer
  4940. realminivalue:
  4941. description: 实际最小变动值
  4942. type: integer
  4943. realminivaluedp:
  4944. description: 实际最小变动值小数位
  4945. type: integer
  4946. remark:
  4947. description: 备注
  4948. type: string
  4949. unitid:
  4950. description: 品类单位ID
  4951. type: integer
  4952. updatetime:
  4953. description: 更新时间
  4954. type: string
  4955. wrstandardcode:
  4956. description: 品类代码
  4957. type: string
  4958. wrstandardid:
  4959. description: 品类ID(SEQ_WRSTANDARD)
  4960. type: integer
  4961. wrstandardname:
  4962. description: 品类名称
  4963. type: string
  4964. type: object
  4965. models.ErmcpAreaSpotDetailModel:
  4966. properties:
  4967. contracttype:
  4968. description: 合同类型 1-采购 -1-销售
  4969. type: integer
  4970. createtime:
  4971. description: 创建时间
  4972. type: string
  4973. enumdicname:
  4974. description: 现货商品单位名称
  4975. type: string
  4976. logtype:
  4977. description: 记录类型 1-套保 2-现货合同
  4978. type: integer
  4979. qty:
  4980. description: 数量
  4981. type: number
  4982. recordname:
  4983. description: 类型名称
  4984. type: string
  4985. relatedid:
  4986. description: 套保计划ID/现货合同ID
  4987. type: string
  4988. relatedno:
  4989. description: 编号
  4990. type: string
  4991. strtime:
  4992. description: 时间
  4993. type: string
  4994. wrstandardcode:
  4995. description: 现货商品代码
  4996. type: string
  4997. wrstandardname:
  4998. description: 现货商品名称
  4999. type: string
  5000. type: object
  5001. models.ErmcpAvalidGoodsGroupModel:
  5002. properties:
  5003. goodsgroupid:
  5004. description: 期货品种id
  5005. type: integer
  5006. goodsgroupname:
  5007. description: 期货品种名称
  5008. type: string
  5009. goodunitid:
  5010. description: 品种单位id
  5011. type: integer
  5012. goodunitname:
  5013. description: 品种单位名称
  5014. type: string
  5015. outergroupcode:
  5016. description: 期货品种代码
  5017. type: string
  5018. type: object
  5019. models.ErmcpBizGroupEx:
  5020. properties:
  5021. acclist:
  5022. description: 账号列表
  5023. items:
  5024. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5025. type: array
  5026. bizgroupid:
  5027. description: 业务分组id
  5028. type: integer
  5029. biztype:
  5030. description: 业务类型 1-套保 2-套利
  5031. type: integer
  5032. wrlist:
  5033. description: 现货商品表
  5034. items:
  5035. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5036. type: array
  5037. type: object
  5038. models.ErmcpBizGroupSpotGoods:
  5039. properties:
  5040. areauserid:
  5041. description: 所属机构id
  5042. type: integer
  5043. bizgroupid:
  5044. description: 分组id
  5045. type: integer
  5046. biztype:
  5047. description: 业务类型 1-套保 2-套利
  5048. type: integer
  5049. deliverygoodscode:
  5050. description: 现货商品代码
  5051. type: string
  5052. deliverygoodsid:
  5053. description: 现货商品id
  5054. type: integer
  5055. deliverygoodsname:
  5056. description: 现货商品名称
  5057. type: string
  5058. unitid:
  5059. description: 现货商品单位id
  5060. type: integer
  5061. type: object
  5062. models.ErmcpBizGroupTaAccount:
  5063. properties:
  5064. accountid:
  5065. description: 账号id
  5066. type: integer
  5067. accountname:
  5068. description: 账号名称
  5069. type: string
  5070. areauserid:
  5071. description: 所属机构id
  5072. type: integer
  5073. bizgroupid:
  5074. description: 业务分组id
  5075. type: integer
  5076. ismain:
  5077. description: 是否主账号 1-是 0-否
  5078. type: integer
  5079. type: object
  5080. models.ErmcpDGFactoryItem:
  5081. properties:
  5082. areauserid:
  5083. description: 用户id
  5084. type: integer
  5085. deliverygoodsid:
  5086. description: 现货品种ID
  5087. type: integer
  5088. dgfactoryitemid:
  5089. description: 选择项ID(SEQ_DGFACTORYITEM)
  5090. type: integer
  5091. dgfactoryitemtypeid:
  5092. description: 要素项类型
  5093. type: integer
  5094. dgfactoryitemvalue:
  5095. description: 要素项值(类型为仓库时填写仓库名称)
  5096. type: string
  5097. isvalid:
  5098. description: 是否有效 - 0:无效 1:有效
  5099. type: integer
  5100. orderindex:
  5101. description: 顺序
  5102. type: integer
  5103. warehouseid:
  5104. description: 仓库ID(类型为仓库时填写)
  5105. type: integer
  5106. type: object
  5107. models.ErmcpDeliveryGoods:
  5108. properties:
  5109. agreeunit:
  5110. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5111. type: integer
  5112. areauserid:
  5113. description: 所属机构
  5114. type: integer
  5115. auditflag:
  5116. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5117. type: integer
  5118. categoryid:
  5119. description: 类别ID(SEQ_WRCATEGORY)
  5120. type: integer
  5121. deliverygoodscode:
  5122. description: 现货品种代码
  5123. type: string
  5124. deliverygoodsid:
  5125. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5126. type: integer
  5127. deliverygoodsname:
  5128. description: 现货品种名称
  5129. type: string
  5130. deliverygoodstype:
  5131. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5132. type: integer
  5133. dgstatus:
  5134. description: 品种状态 - 作废 - 0:未激活 1:正常
  5135. type: integer
  5136. enumdicname:
  5137. description: 现货品种单位名称
  5138. type: string
  5139. goodsunitid:
  5140. description: 现货品种单位ID
  5141. type: integer
  5142. isvalid:
  5143. description: 是否有效 - 0:无效 1:有效
  5144. type: integer
  5145. qtydecimalplace:
  5146. description: 成交量小数位
  5147. type: integer
  5148. remark:
  5149. description: 备注
  5150. type: string
  5151. standardqty:
  5152. description: 标准数量(库位数量) [标准品特有]
  5153. type: integer
  5154. standardqtyrange:
  5155. description: 标准数量偏差范围 [标准品特有]
  5156. type: integer
  5157. type: object
  5158. models.ErmcpDeliveryGoodsDetail2:
  5159. properties:
  5160. convertratio:
  5161. description: 套保系数(折算系数)
  5162. type: number
  5163. data:
  5164. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5165. description: 现货商品基本信息(交割品种)
  5166. type: object
  5167. gblist:
  5168. description: 品牌列表
  5169. items:
  5170. $ref: '#/definitions/models.Ermcp3Brand'
  5171. type: array
  5172. gmlist:
  5173. description: 品类列表(仓单标准)
  5174. items:
  5175. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5176. type: array
  5177. type: object
  5178. models.ErmcpDeliveryGoodsDetailEx:
  5179. properties:
  5180. data:
  5181. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5182. description: 现货商品基本信息(交割品种)
  5183. type: object
  5184. gblist:
  5185. description: 品牌列表
  5186. items:
  5187. $ref: '#/definitions/models.Ermcp3Brand'
  5188. type: array
  5189. gmlist:
  5190. description: 品类列表(仓单标准)
  5191. items:
  5192. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5193. type: array
  5194. mgList:
  5195. description: 套保列表
  5196. items:
  5197. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5198. type: array
  5199. type: object
  5200. models.ErmcpExposureDetailModel:
  5201. properties:
  5202. areauserid:
  5203. description: 机构ID
  5204. type: integer
  5205. changeQty:
  5206. description: 套保变动量
  5207. type: number
  5208. contracttype:
  5209. description: 现货合同类型 - 1:采购 -1:销售
  5210. type: integer
  5211. convertfactor:
  5212. description: 标仓系数
  5213. type: number
  5214. convertratio:
  5215. description: 套保系数
  5216. type: number
  5217. createtime:
  5218. description: 时间
  5219. type: string
  5220. enumdicname:
  5221. description: 现货商品单位名称
  5222. type: string
  5223. logtype:
  5224. description: 类型 - 1:套保计划 2:现货合同
  5225. type: integer
  5226. middlegoodsId:
  5227. description: 套保商品id
  5228. type: integer
  5229. middlegoodscode:
  5230. description: 套保商品代码
  5231. type: string
  5232. middlegoodsname:
  5233. description: 套保商品名称
  5234. type: string
  5235. qty:
  5236. description: 数量
  5237. type: number
  5238. relateNo:
  5239. description: 现货合同/套保计划编号
  5240. type: string
  5241. wrstandardcode:
  5242. description: 现货商品代码
  5243. type: string
  5244. wrstandardid:
  5245. description: 现货商品ID
  5246. type: integer
  5247. wrstandardname:
  5248. description: 现货商品名称
  5249. type: string
  5250. type: object
  5251. models.ErmcpExposurePostion:
  5252. properties:
  5253. agreeunit:
  5254. description: 合约单位
  5255. type: string
  5256. areauserid:
  5257. description: 所属机构id
  5258. type: integer
  5259. convertratio:
  5260. description: 期货品种系数(折算系数)
  5261. type: number
  5262. curqty:
  5263. description: 当前持仓
  5264. type: integer
  5265. diffhedgeqty:
  5266. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5267. type: number
  5268. diffqty:
  5269. description: 持仓变动量=当前持仓-昨日持仓
  5270. type: integer
  5271. goodscode:
  5272. description: 商品代码
  5273. type: string
  5274. goodsid:
  5275. description: 商品id
  5276. type: integer
  5277. goodsname:
  5278. description: 商品名称
  5279. type: string
  5280. middlegoodsid:
  5281. description: 套保商品id
  5282. type: integer
  5283. ydqty:
  5284. description: 昨日持仓
  5285. type: integer
  5286. type: object
  5287. models.ErmcpFuturesCompany:
  5288. properties:
  5289. brokerid:
  5290. description: 经纪公司代码
  5291. type: string
  5292. channeladdress:
  5293. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5294. type: string
  5295. channelid:
  5296. description: 对冲渠道ID
  5297. type: string
  5298. createtime:
  5299. description: 创建时间
  5300. type: string
  5301. creatorid:
  5302. description: 创建人
  5303. type: string
  5304. fcid:
  5305. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5306. type: integer
  5307. fcname:
  5308. description: 期货公司名称
  5309. type: string
  5310. isvalid:
  5311. description: 是否有效 - 0:无效 1:有效
  5312. type: integer
  5313. mhpaddress:
  5314. description: MHP服务地址(IP:Port)
  5315. type: string
  5316. riskrulegroupid:
  5317. description: 风控规则组ID
  5318. type: string
  5319. tradefeetmpid:
  5320. description: 手续费模板ID[TradeConfigTmpType为2]
  5321. type: string
  5322. trademargintmpid:
  5323. description: 保证金模板ID [TradeConfigTmpType为1]
  5324. type: string
  5325. traderatetmpid:
  5326. description: 汇率模板ID[TradeConfigTmpType为3]
  5327. type: string
  5328. updatetime:
  5329. description: 更新时间
  5330. type: string
  5331. updatorid:
  5332. description: 更新人
  5333. type: string
  5334. type: object
  5335. models.ErmcpGGConvertCfg:
  5336. properties:
  5337. convertratio:
  5338. description: 折算系数
  5339. type: number
  5340. destgoodsgroupid:
  5341. description: 目标品种ID
  5342. type: integer
  5343. dstcode:
  5344. description: 目录品种代码
  5345. type: string
  5346. dstexchangecode:
  5347. description: 目标期货交易所
  5348. type: string
  5349. dstname:
  5350. description: 目标品种名称
  5351. type: string
  5352. dstunitid:
  5353. description: 目标品种单位ID
  5354. type: integer
  5355. dstunitidname:
  5356. description: 目标品种单位名称
  5357. type: string
  5358. modifytime:
  5359. description: 修改时间
  5360. type: string
  5361. srccode:
  5362. description: 源品种代码
  5363. type: string
  5364. srcexchangecode:
  5365. description: 源期货交易所
  5366. type: string
  5367. srcgoodsgroupid:
  5368. description: 源品种ID
  5369. type: integer
  5370. srcname:
  5371. description: 源品种名称
  5372. type: string
  5373. srcunitid:
  5374. description: 源品种单位ID
  5375. type: integer
  5376. srcunitidname:
  5377. description: 源品种单位名称
  5378. type: string
  5379. type: object
  5380. models.ErmcpGoodsBrand:
  5381. properties:
  5382. areauserid:
  5383. description: 所属机构
  5384. type: integer
  5385. brandid:
  5386. description: BrandID(SEQ_SPOTGOODSBRAND)
  5387. type: integer
  5388. brandname:
  5389. description: 品牌名称
  5390. type: string
  5391. createtime:
  5392. description: 创建时间
  5393. type: string
  5394. creatorid:
  5395. description: 创建人
  5396. type: integer
  5397. creatorsrc:
  5398. description: 创建人来源 - 1:管理端 2:终端
  5399. type: integer
  5400. deliverygoodsid:
  5401. description: 现货品种ID
  5402. type: integer
  5403. isvalid:
  5404. description: 是否有效 - 0:无效 1:有效
  5405. type: integer
  5406. updatetime:
  5407. description: 更新时间
  5408. type: string
  5409. updatorid:
  5410. description: 更新人
  5411. type: integer
  5412. updatorsrc:
  5413. description: 更新人来源 - 1:管理端 2:终端
  5414. type: integer
  5415. wrstandardid:
  5416. description: 现货商品ID
  5417. type: integer
  5418. type: object
  5419. models.ErmcpGoodsModel:
  5420. properties:
  5421. areauserid:
  5422. description: 所属机构
  5423. type: integer
  5424. convertfactor:
  5425. description: 标仓系数
  5426. type: number
  5427. createtime:
  5428. description: 创建时间
  5429. type: string
  5430. creatorid:
  5431. description: 创建人
  5432. type: integer
  5433. creatorsrc:
  5434. description: 创建人来源 - 1:管理端 2:终端
  5435. type: integer
  5436. deliverygoodsid:
  5437. description: 现货品种ID
  5438. type: integer
  5439. isvalid:
  5440. description: 是否有效 - 0:无效 1:有效
  5441. type: integer
  5442. modelid:
  5443. description: ModelID(SEQ_SPOTGOODSMODEL)
  5444. type: integer
  5445. modelname:
  5446. description: 型号名称
  5447. type: string
  5448. updatetime:
  5449. description: 更新时间
  5450. type: string
  5451. updatorid:
  5452. description: 更新人
  5453. type: integer
  5454. updatorsrc:
  5455. description: 更新人来源 - 1:管理端 2:终端
  5456. type: integer
  5457. wrstandardid:
  5458. description: 现货商品ID
  5459. type: integer
  5460. type: object
  5461. models.ErmcpHedgePosition:
  5462. properties:
  5463. accountid:
  5464. description: 资金账号[外部母账户]
  5465. type: integer
  5466. curbuyposition:
  5467. description: 期末买头寸
  5468. type: integer
  5469. cursellposition:
  5470. description: 期末卖头寸
  5471. type: integer
  5472. curtdbuyposition:
  5473. description: 期末今日买头寸
  5474. type: integer
  5475. curtdsellposition:
  5476. description: 期末今日卖头寸
  5477. type: integer
  5478. curydbuyposition:
  5479. description: 期末上日买头寸
  5480. type: integer
  5481. curydsellposition:
  5482. description: 期末上日卖头寸
  5483. type: integer
  5484. decreaseqty:
  5485. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  5486. type: integer
  5487. fretdbuyposition:
  5488. description: 冻结今日买头寸
  5489. type: integer
  5490. fretdsellposition:
  5491. description: 冻结今日卖头寸
  5492. type: integer
  5493. freydbuyposition:
  5494. description: 冻结上日买头寸
  5495. type: integer
  5496. freydsellposition:
  5497. description: 冻结上日卖头寸
  5498. type: integer
  5499. goodscode:
  5500. description: 商品代码
  5501. type: string
  5502. goodsid:
  5503. description: 商品id
  5504. type: integer
  5505. goodsname:
  5506. description: 商品名称
  5507. type: string
  5508. hedgeaccountcode:
  5509. description: 对冲账号
  5510. type: string
  5511. hedgegoodsid:
  5512. description: 对冲合约ID
  5513. type: integer
  5514. increaseqty:
  5515. description: 增加数量 = 期末买头寸 - 期初买头寸
  5516. type: integer
  5517. marketid:
  5518. description: 市场ID
  5519. type: integer
  5520. relateduserid:
  5521. description: 关联用户id
  5522. type: integer
  5523. totalcurqty:
  5524. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  5525. type: integer
  5526. totalydqty:
  5527. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  5528. type: integer
  5529. tradedate:
  5530. description: 交易日(yyyyMMdd)
  5531. type: string
  5532. ydbuyposition:
  5533. description: 期初买头寸
  5534. type: integer
  5535. ydsellposition:
  5536. description: 期初卖头寸
  5537. type: integer
  5538. type: object
  5539. models.ErmcpHedgePositionDetail:
  5540. properties:
  5541. buyorsell:
  5542. description: 买卖方向 0-买 1-卖
  5543. type: integer
  5544. channelbuildtype:
  5545. description: 开平方向 1-建仓 2-平仓
  5546. type: integer
  5547. goodscode:
  5548. description: 商品代码
  5549. type: string
  5550. goodsname:
  5551. description: 商品名称
  5552. type: string
  5553. hedgegoodsid:
  5554. description: 商品id
  5555. type: integer
  5556. tradeqty:
  5557. description: 数量(成交数量)
  5558. type: integer
  5559. tradetime:
  5560. description: 时间(成交时间)
  5561. type: string
  5562. type: object
  5563. models.ErmcpHisExposure:
  5564. properties:
  5565. needhedgeexposoure:
  5566. description: 应套保敞口
  5567. type: number
  5568. reckondate:
  5569. description: 日照时期(yyyyMMdd)
  5570. type: string
  5571. totalexposure:
  5572. description: 总敞口
  5573. type: number
  5574. type: object
  5575. models.ErmcpHisExposureS:
  5576. properties:
  5577. data:
  5578. description: 历史敞口
  5579. items:
  5580. $ref: '#/definitions/models.ErmcpHisExposure'
  5581. type: array
  5582. enumdicname:
  5583. description: 单位名称
  5584. type: string
  5585. middlegoodscode:
  5586. description: 套保品种代码
  5587. type: string
  5588. middlegoodsid:
  5589. description: 套保品种ID
  5590. type: integer
  5591. middlegoodsname:
  5592. description: 套保品种名称
  5593. type: string
  5594. type: object
  5595. models.ErmcpLoginTaAccount:
  5596. properties:
  5597. accountid:
  5598. description: 账号id
  5599. type: integer
  5600. accountname:
  5601. description: 账号名称
  5602. type: string
  5603. type: object
  5604. models.ErmcpLoginUser:
  5605. properties:
  5606. acclist:
  5607. description: 关联资金账号
  5608. items:
  5609. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  5610. type: array
  5611. accountname:
  5612. description: 用户名称
  5613. type: string
  5614. clientroleid:
  5615. description: 角色id(usertype=2)
  5616. type: integer
  5617. createtime:
  5618. description: 创建时间
  5619. type: string
  5620. logincode:
  5621. description: 登录代码
  5622. type: string
  5623. loginid:
  5624. description: 登录id(LOGINID)
  5625. type: integer
  5626. loginname:
  5627. description: 登录名称(loginaccount表中的accountname字段)
  5628. type: string
  5629. loginstatus:
  5630. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  5631. type: integer
  5632. memberuserid:
  5633. description: 所属会员id
  5634. type: integer
  5635. mobile:
  5636. description: 手机号
  5637. type: string
  5638. modifytime:
  5639. description: 修改时间
  5640. type: string
  5641. password:
  5642. description: 密码(不可解密)
  5643. type: string
  5644. rolename:
  5645. description: 角色名称
  5646. type: string
  5647. rolestatus:
  5648. description: 角色状态 1-启用 2-停用
  5649. type: integer
  5650. roletype:
  5651. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  5652. type: string
  5653. userid:
  5654. description: 用户id
  5655. type: integer
  5656. usertype:
  5657. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  5658. type: integer
  5659. type: object
  5660. models.ErmcpLoginUserEx:
  5661. properties:
  5662. accountstatus:
  5663. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  5664. type: integer
  5665. mobile:
  5666. description: 手机号
  5667. type: string
  5668. querytype:
  5669. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  5670. type: integer
  5671. roleid:
  5672. description: 角色id(交易账户->用户id)
  5673. type: integer
  5674. rolename:
  5675. description: 角色名称(交易账户->用户名称)
  5676. type: string
  5677. userlist:
  5678. description: 用户列表
  5679. items:
  5680. $ref: '#/definitions/models.ErmcpLoginUser'
  5681. type: array
  5682. usertype:
  5683. description: 用户类型 2-机构 7-企业成员(云平台)
  5684. type: integer
  5685. type: object
  5686. models.ErmcpMiddleGoodsChangeLog:
  5687. properties:
  5688. aftervalue:
  5689. description: 变更后
  5690. type: number
  5691. applyid:
  5692. description: 操作人
  5693. type: integer
  5694. applyname:
  5695. description: 操作人名称
  5696. type: string
  5697. applysrc:
  5698. description: 操作来源 - 1:管理端 2:终端
  5699. type: integer
  5700. beforevalue:
  5701. description: 变更前
  5702. type: number
  5703. changelogtype:
  5704. description: 变更流水类型 - 1:套保比率变更
  5705. type: integer
  5706. handlestatus:
  5707. description: 处理状态
  5708. type: integer
  5709. logdatetime:
  5710. description: 流水日期
  5711. type: string
  5712. logid:
  5713. description: 流水ID
  5714. type: integer
  5715. logremark:
  5716. description: 流水备注
  5717. type: string
  5718. middlegoodsid:
  5719. description: 套保品种ID
  5720. type: integer
  5721. tradedate:
  5722. description: 交易日(yyyyMMdd)
  5723. type: string
  5724. updatetime:
  5725. description: 更新时间
  5726. type: string
  5727. type: object
  5728. models.ErmcpMiddleGoodsDetail:
  5729. properties:
  5730. cvList:
  5731. description: 期货品种折算列表
  5732. items:
  5733. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  5734. type: array
  5735. mg:
  5736. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  5737. description: 套保品种基本信息
  5738. type: object
  5739. wrcList:
  5740. description: 现货品种列表(现货商品折算配置)
  5741. items:
  5742. $ref: '#/definitions/models.WRSConverTDetail'
  5743. type: array
  5744. type: object
  5745. models.ErmcpMiddleGoodsModel:
  5746. properties:
  5747. areauserid:
  5748. description: 机构用户ID
  5749. type: integer
  5750. createtime:
  5751. description: 修改时间
  5752. type: string
  5753. enumdicname:
  5754. description: 单位名称
  5755. type: string
  5756. evaluateratio:
  5757. description: 估价系数
  5758. type: number
  5759. goodsgroupid:
  5760. description: 关联期货品种ID
  5761. type: integer
  5762. goodsunitid:
  5763. description: 单位ID
  5764. type: integer
  5765. isvalid:
  5766. description: 状态 0-无效(停用) 1-有效(正常)
  5767. type: integer
  5768. middlegoodscode:
  5769. description: 套保品种代码
  5770. type: string
  5771. middlegoodsid:
  5772. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5773. type: integer
  5774. middlegoodsname:
  5775. description: 套保品种名称
  5776. type: string
  5777. modifytime:
  5778. description: 修改时间
  5779. type: string
  5780. needhedgeratio:
  5781. description: 套保比率
  5782. type: number
  5783. qtydecimalplace:
  5784. description: 数量小数位
  5785. type: integer
  5786. relatedgoodsid:
  5787. description: 关联交易商品ID
  5788. type: integer
  5789. relatedgoodstype:
  5790. description: 关联商品类型 - 1:期货合约 2:现货品种
  5791. type: integer
  5792. remark:
  5793. description: 备注
  5794. type: string
  5795. type: object
  5796. models.ErmcpOPLogModel:
  5797. properties:
  5798. aftervalue:
  5799. description: 变更后
  5800. type: number
  5801. applyid:
  5802. description: 操作人ID
  5803. type: string
  5804. applyname:
  5805. description: 操作人名称
  5806. type: string
  5807. beforevalue:
  5808. description: 变更前
  5809. type: number
  5810. biztype:
  5811. description: 业务类型 - 1:套保计划 2:现货合同
  5812. type: integer
  5813. contracttype:
  5814. description: 现货合同类型 - 1:采购 -1:销售
  5815. type: integer
  5816. logvalue:
  5817. description: 数值
  5818. type: number
  5819. operatelogtype:
  5820. description: 操作流水类型
  5821. type: integer
  5822. operatelogtypedesc:
  5823. description: 操作流水类型名称
  5824. type: string
  5825. relatedid:
  5826. description: 现货合同ID\套保计划
  5827. type: string
  5828. updatetime:
  5829. description: 更新时间
  5830. type: string
  5831. type: object
  5832. models.ErmcpPendingAudit:
  5833. properties:
  5834. areastockqty:
  5835. description: '待审核数量: 库存申请'
  5836. type: integer
  5837. businessdjqty:
  5838. description: '待审核数量: 点价'
  5839. type: integer
  5840. businessfpqty:
  5841. description: '待审核数量: 发票'
  5842. type: integer
  5843. businessjsqty:
  5844. description: '待审核数量: 结算'
  5845. type: integer
  5846. businesskxqty:
  5847. description: '待审核数量: 款项'
  5848. type: integer
  5849. hedgeplanqty:
  5850. description: '待审核数量: 套保计划'
  5851. type: integer
  5852. spotcontractqty:
  5853. description: '待审核数量: 现货合同'
  5854. type: integer
  5855. userqty:
  5856. description: '待审核数量: 用户'
  5857. type: integer
  5858. type: object
  5859. models.ErmcpRealExposureModel:
  5860. properties:
  5861. AreaUserID:
  5862. description: 所属机构
  5863. type: integer
  5864. BuyFutureQty:
  5865. description: 买入期货数量
  5866. type: number
  5867. BuyPlanQty:
  5868. description: 采购计划数量
  5869. type: number
  5870. BuyPricedQty:
  5871. description: 采购合同已定价数量
  5872. type: number
  5873. MiddleGoodsCode:
  5874. description: 套保品种代码
  5875. type: string
  5876. MiddleGoodsHedgeRatio:
  5877. description: 应套保比例
  5878. type: number
  5879. MiddleGoodsID:
  5880. description: 套保品种
  5881. type: integer
  5882. MiddleGoodsName:
  5883. description: 套保品种名称
  5884. type: string
  5885. NeedHedgeExposoure:
  5886. description: 应套保敞口
  5887. type: number
  5888. NeedHedgeRatio:
  5889. description: 应套保敞口比例
  5890. type: number
  5891. OriBuyFutureQty:
  5892. description: 期初买入期货数量
  5893. type: number
  5894. OriBuyPlanQty:
  5895. description: 期初采购计划数量
  5896. type: number
  5897. OriBuyPricedQty:
  5898. description: 期初采购合同已定价数量
  5899. type: number
  5900. OriSellFutureQty:
  5901. description: 期初卖出期货数量
  5902. type: number
  5903. OriSellPlanQty:
  5904. description: 期初销售计划数量
  5905. type: number
  5906. OriSellPricedQty:
  5907. description: 期初销售合同已定价数量
  5908. type: number
  5909. SellFutureQty:
  5910. description: 卖出期货数量
  5911. type: number
  5912. SellPlanQty:
  5913. description: 销售计划数量
  5914. type: number
  5915. SellPricedQty:
  5916. description: 销售合同已定价数量
  5917. type: number
  5918. TotalExposure:
  5919. description: 总敞口
  5920. type: number
  5921. TotalFutureQty:
  5922. description: 期货数量
  5923. type: number
  5924. TotalHedgeRatio:
  5925. description: 敞口比例
  5926. type: number
  5927. TotalNeedHedgeQty:
  5928. description: 期货应套保量
  5929. type: number
  5930. TotalSpotQty:
  5931. description: 现货数量
  5932. type: number
  5933. arbitrageqty:
  5934. description: 套利量
  5935. type: number
  5936. diffFutuQty:
  5937. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  5938. type: number
  5939. diffSpotQty:
  5940. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  5941. type: number
  5942. enumdicname:
  5943. description: 单位名称
  5944. type: string
  5945. hedgeqty:
  5946. description: 套保量
  5947. type: number
  5948. needarbitrageqty:
  5949. description: 应套利量
  5950. type: number
  5951. needarbitrageratio:
  5952. description: 套利比例
  5953. type: number
  5954. needhedgeqty:
  5955. description: 应套保量
  5956. type: number
  5957. oriTotalFutuQty:
  5958. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  5959. type: number
  5960. oriTotalSpotQty:
  5961. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  5962. type: number
  5963. type: object
  5964. models.ErmcpRole:
  5965. properties:
  5966. areauserid:
  5967. description: 所属机构
  5968. type: integer
  5969. autoid:
  5970. description: 角色ID(自增ID)
  5971. type: integer
  5972. modifierid:
  5973. description: 修改人(创建人)
  5974. type: integer
  5975. modifiername:
  5976. description: 修改人名称
  5977. type: string
  5978. modifytime:
  5979. description: 修改时间(创建时间)
  5980. type: string
  5981. rolename:
  5982. description: 角色名称
  5983. type: string
  5984. rolestatus:
  5985. description: 角色状态 - 1:启用 2:停用
  5986. type: integer
  5987. roletype:
  5988. description: 角色类型 - 1- 管理端 2- 交易端
  5989. type: integer
  5990. type: object
  5991. models.ErmcpRoleMenu:
  5992. properties:
  5993. iconame:
  5994. description: 菜单图标
  5995. type: string
  5996. ishadrole:
  5997. description: 是否有权限
  5998. type: boolean
  5999. menutype:
  6000. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6001. type: integer
  6002. parentcode:
  6003. description: 上级资源代码
  6004. type: string
  6005. remark:
  6006. description: 菜单备注
  6007. type: string
  6008. resourcecode:
  6009. description: 菜单代码
  6010. type: string
  6011. resourcelevel:
  6012. description: 级别
  6013. type: integer
  6014. resourcename:
  6015. description: 菜单名称
  6016. type: string
  6017. roleid:
  6018. description: 角色id
  6019. type: integer
  6020. sort:
  6021. description: 排序
  6022. type: integer
  6023. url:
  6024. description: URL
  6025. type: string
  6026. userid:
  6027. description: 用户id
  6028. type: integer
  6029. type: object
  6030. models.ErmcpRoleMenuEx:
  6031. properties:
  6032. menu:
  6033. $ref: '#/definitions/models.ErmcpRoleMenu'
  6034. description: 父级菜单
  6035. type: object
  6036. subMenu:
  6037. description: 子级菜单
  6038. items:
  6039. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  6040. type: array
  6041. type: object
  6042. models.ErmcpTaAccount:
  6043. properties:
  6044. accountid:
  6045. description: 账户id
  6046. type: integer
  6047. accountname:
  6048. description: 账户名称
  6049. type: string
  6050. currencyid:
  6051. description: 币种id
  6052. type: integer
  6053. hedgeaccountcode:
  6054. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6055. type: string
  6056. ismain:
  6057. description: 是否主账户 0-否 1-是
  6058. type: integer
  6059. parentaccountid:
  6060. description: 父账户id
  6061. type: integer
  6062. relateduserid:
  6063. description: 关联userid
  6064. type: integer
  6065. tradestatus:
  6066. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6067. type: integer
  6068. userid:
  6069. description: 用户id
  6070. type: integer
  6071. type: object
  6072. models.ErmcpTaAccountEx:
  6073. properties:
  6074. mainAcc:
  6075. $ref: '#/definitions/models.ErmcpTaAccountM'
  6076. description: 主账号
  6077. type: object
  6078. subacclist:
  6079. description: 子账号列表
  6080. items:
  6081. $ref: '#/definitions/models.ErmcpTaAccount'
  6082. type: array
  6083. type: object
  6084. models.ErmcpTaAccountInfo:
  6085. properties:
  6086. accountid:
  6087. description: 资金账户ID
  6088. type: integer
  6089. accountname:
  6090. description: 账户名称
  6091. type: string
  6092. balance:
  6093. description: 期初余额
  6094. type: number
  6095. capitalbalance:
  6096. description: 本金余额[外部子账户实际出入金余额]
  6097. type: number
  6098. closepl:
  6099. description: 今日平仓盈亏
  6100. type: number
  6101. creditdecrease:
  6102. description: 今日授信减少
  6103. type: number
  6104. creditincrease:
  6105. description: 今日授信增加
  6106. type: number
  6107. curdebt:
  6108. description: 期末欠款
  6109. type: number
  6110. currencyid:
  6111. description: 货币ID
  6112. type: integer
  6113. currentbalance:
  6114. description: 期末余额
  6115. type: number
  6116. freezecharge:
  6117. description: 手续费冻结
  6118. type: number
  6119. freezemargin:
  6120. description: 冻结保证金
  6121. type: number
  6122. fromaccountid:
  6123. description: 所属上级账户
  6124. type: integer
  6125. inamount:
  6126. description: 今日入金金额(包括三方入金)
  6127. type: number
  6128. ismain:
  6129. description: 是否母账号 0:不是母账户 1:是母账户
  6130. type: integer
  6131. mortgagecredit:
  6132. description: 授信金额
  6133. type: number
  6134. oridebt:
  6135. description: 期初欠款
  6136. type: number
  6137. orifreezecharge:
  6138. description: 期初手续费冻结
  6139. type: number
  6140. orifreezemargin:
  6141. description: 期初冻结保证金
  6142. type: number
  6143. orimortgagecredit:
  6144. description: 期初授信金额
  6145. type: number
  6146. oriothercredit:
  6147. description: 期初其它授信金额
  6148. type: number
  6149. oriotherfreezemargin:
  6150. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6151. type: number
  6152. orioutamountfreeze:
  6153. description: 期初出金冻结
  6154. type: number
  6155. oriusedmargin:
  6156. description: 期初占用保证金
  6157. type: number
  6158. othercredit:
  6159. description: 其它授信金额
  6160. type: number
  6161. othercreditdecrease:
  6162. description: 今日其它授信减少
  6163. type: number
  6164. othercreditincrease:
  6165. description: 今日其它授信增加
  6166. type: number
  6167. otherfreezemargin:
  6168. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6169. type: number
  6170. outamount:
  6171. description: 今日出金金额(包括三方出金)
  6172. type: number
  6173. outamountfreeze:
  6174. description: 出金冻结
  6175. type: number
  6176. outthreshold:
  6177. description: 出金阈值
  6178. type: number
  6179. parentaccountid:
  6180. description: 所属根账号
  6181. type: integer
  6182. paycharge:
  6183. description: 今日手续费支出
  6184. type: number
  6185. relateduserid:
  6186. description: 关联用户
  6187. type: integer
  6188. signstatus:
  6189. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6190. type: integer
  6191. sublevelpath:
  6192. description: 账号层级路径(逗号分隔,首尾加逗号)
  6193. type: string
  6194. taaccounttype:
  6195. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6196. type: integer
  6197. thirdinamount:
  6198. description: 今日三方入金
  6199. type: number
  6200. thirdoutamount:
  6201. description: 今日三方出金
  6202. type: number
  6203. tradestatus:
  6204. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6205. type: integer
  6206. transferamount:
  6207. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  6208. type: number
  6209. usedmargin:
  6210. description: 占用保证金
  6211. type: number
  6212. userid:
  6213. description: 用户ID
  6214. type: integer
  6215. type: object
  6216. models.ErmcpTaAccountM:
  6217. properties:
  6218. accountid:
  6219. description: 账户id
  6220. type: integer
  6221. accountname:
  6222. description: 账户名称
  6223. type: string
  6224. currencyid:
  6225. description: 币种id
  6226. type: integer
  6227. fcid:
  6228. description: 期货公司id
  6229. type: integer
  6230. fcname:
  6231. description: 期货公司代码
  6232. type: string
  6233. hedgeaccountcode:
  6234. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6235. type: string
  6236. ismain:
  6237. description: 是否主账户 0-否 1-是
  6238. type: integer
  6239. parentaccountid:
  6240. description: 父账户id
  6241. type: integer
  6242. relateduserid:
  6243. description: 关联userid
  6244. type: integer
  6245. tradestatus:
  6246. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6247. type: integer
  6248. userid:
  6249. description: 用户id
  6250. type: integer
  6251. type: object
  6252. models.ErmcpTradeConfigTMP:
  6253. properties:
  6254. areauserid:
  6255. description: 所属机构
  6256. type: integer
  6257. basiccurrencyid:
  6258. description: 基本币种ID[汇率] - 目标币种
  6259. type: integer
  6260. mainaccountid:
  6261. description: 主账户ID
  6262. type: integer
  6263. modifierid:
  6264. description: 修改人
  6265. type: integer
  6266. remark:
  6267. description: 备注
  6268. type: string
  6269. tradeconfigtmpid:
  6270. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  6271. type: integer
  6272. tradeconfigtmpname:
  6273. description: 交易配置模板名称
  6274. type: string
  6275. tradeconfigtmptype:
  6276. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  6277. type: integer
  6278. updatetime:
  6279. description: 更新时间
  6280. type: string
  6281. type: object
  6282. models.ErmcpUserModel:
  6283. properties:
  6284. address:
  6285. description: 通讯地址
  6286. type: string
  6287. attachment1:
  6288. description: 附件1
  6289. type: string
  6290. audittime:
  6291. description: 审核时间
  6292. type: string
  6293. cardbackphotourl:
  6294. description: 证件反面图片地址
  6295. type: string
  6296. cardfrontphotourl:
  6297. description: 证件正面图片地址
  6298. type: string
  6299. cardnum:
  6300. description: 证件号码
  6301. type: string
  6302. cardtype:
  6303. description: 证件类型
  6304. type: integer
  6305. cardtypename:
  6306. description: 证件类型名称
  6307. type: string
  6308. cityid:
  6309. description: 市
  6310. type: integer
  6311. contactname:
  6312. description: 联系人
  6313. type: string
  6314. countryid:
  6315. description: 国家
  6316. type: integer
  6317. createtime:
  6318. description: 创建时间
  6319. type: string
  6320. customername:
  6321. description: 企业名称
  6322. type: string
  6323. districtid:
  6324. description: 区域
  6325. type: integer
  6326. email:
  6327. description: 邮件
  6328. type: string
  6329. legalpersonname:
  6330. description: 法人姓名(企业)
  6331. type: string
  6332. memberuserid:
  6333. description: 所属机构ID
  6334. type: integer
  6335. mobile:
  6336. description: 手机号码
  6337. type: string
  6338. modifytime:
  6339. description: 修改时间
  6340. type: string
  6341. nickname:
  6342. description: 昵称
  6343. type: string
  6344. provinceid:
  6345. description: 省
  6346. type: integer
  6347. remark:
  6348. description: 备注
  6349. type: string
  6350. status:
  6351. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  6352. type: integer
  6353. statusdesc:
  6354. description: 账户状态中文描述
  6355. type: string
  6356. taxpayernum:
  6357. description: 纳税人识别号
  6358. type: string
  6359. telphone:
  6360. description: 联系电话
  6361. type: string
  6362. userid:
  6363. description: 用户ID
  6364. type: integer
  6365. userinfotype:
  6366. description: 客户类型
  6367. type: string
  6368. type: object
  6369. models.ErmcpWareHouseInfo:
  6370. properties:
  6371. address:
  6372. description: 详细地址
  6373. type: string
  6374. areauserid:
  6375. description: 所属机构
  6376. type: integer
  6377. autoid:
  6378. description: 自增ID(仓库ID)
  6379. type: integer
  6380. cityid:
  6381. description: 市
  6382. type: integer
  6383. contactname:
  6384. description: 联系人
  6385. type: string
  6386. contactnum:
  6387. description: 联系电话
  6388. type: string
  6389. countryid:
  6390. description: 国家
  6391. type: integer
  6392. createtime:
  6393. description: 创建时间
  6394. type: string
  6395. districtid:
  6396. description: 区
  6397. type: integer
  6398. hasvideo:
  6399. description: 是否有视频 - 0:无 1:有
  6400. type: integer
  6401. provinceid:
  6402. description: 省
  6403. type: integer
  6404. remark:
  6405. description: 审核备注
  6406. type: string
  6407. videourl:
  6408. description: 视频地址
  6409. type: string
  6410. warehousecode:
  6411. description: 仓库代码
  6412. type: string
  6413. warehousename:
  6414. description: 仓库名称
  6415. type: string
  6416. warehousestatus:
  6417. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  6418. type: integer
  6419. warehousetype:
  6420. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  6421. type: integer
  6422. type: object
  6423. models.Externalexchange:
  6424. properties:
  6425. autoid:
  6426. description: AutoID - SEQ_EXTERNALEXCHANGE
  6427. type: integer
  6428. exchangefullname:
  6429. description: 外部交易所全称
  6430. type: string
  6431. exexchangecode:
  6432. description: 外部交易所代码
  6433. type: string
  6434. exexchangename:
  6435. description: 外部交易所名称(简称)
  6436. type: string
  6437. ismarketprice:
  6438. description: 是否支持市价 - 0:不支持 1:支持
  6439. type: integer
  6440. quotegear:
  6441. description: 行情档位(1-10)
  6442. type: integer
  6443. showbrokerflag:
  6444. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  6445. type: integer
  6446. updatetime:
  6447. description: 更新时间
  6448. type: string
  6449. required:
  6450. - autoid
  6451. type: object
  6452. models.Funcmenulist:
  6453. properties:
  6454. iconame:
  6455. description: 菜单图标
  6456. type: string
  6457. menutype:
  6458. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  6459. type: integer
  6460. parentcode:
  6461. description: 上级资源代码
  6462. type: string
  6463. remark:
  6464. description: 备注
  6465. type: string
  6466. resourcecode:
  6467. description: 资源代码
  6468. type: string
  6469. resourcelevel:
  6470. description: 级别 1-一级 2-二级 3-三级 4-四级
  6471. type: integer
  6472. resourcename:
  6473. description: 资源名
  6474. type: string
  6475. sort:
  6476. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  6477. type: integer
  6478. url:
  6479. description: URL
  6480. type: string
  6481. required:
  6482. - resourcecode
  6483. type: object
  6484. models.Goods:
  6485. properties:
  6486. agreeunit:
  6487. description: 合约单位
  6488. type: number
  6489. auditaccountid:
  6490. description: 审核操作员账号
  6491. type: integer
  6492. audittime:
  6493. description: 审核时间
  6494. type: string
  6495. cancelaccountid:
  6496. description: 注销操作员账号
  6497. type: integer
  6498. canceltime:
  6499. description: 注销时间
  6500. type: string
  6501. closepricemode:
  6502. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6503. type: integer
  6504. closepriceparam:
  6505. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  6506. type: number
  6507. createtime:
  6508. description: 创建时间
  6509. type: string
  6510. creatorid:
  6511. description: 创建人
  6512. type: integer
  6513. currencyid:
  6514. description: 报价货币ID
  6515. type: integer
  6516. cutmode:
  6517. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  6518. type: integer
  6519. decimalplace:
  6520. description: 报价小数位
  6521. type: integer
  6522. delistingdate:
  6523. description: 商品退市时间(状态:退市) -- 已作废
  6524. type: string
  6525. delistingmode:
  6526. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  6527. type: integer
  6528. deliveryflag:
  6529. description: 交割标志 - 0:不可交割 1:可交割
  6530. type: integer
  6531. forceclosemode:
  6532. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  6533. type: integer
  6534. forceclosevalue:
  6535. description: 定期强平参数 [收益权]
  6536. type: integer
  6537. goodscode:
  6538. description: 商品代码(内部)
  6539. type: string
  6540. goodscurrencyid:
  6541. description: 合约货币ID
  6542. type: integer
  6543. goodsgroupid:
  6544. description: 所属商品组ID
  6545. type: integer
  6546. goodsid:
  6547. description: 商品ID(自增ID SEQ_GOODS)
  6548. type: integer
  6549. goodsname:
  6550. description: 商品名称
  6551. type: string
  6552. goodsquotetype:
  6553. description: '合约报价类型: 1-直接报价 2-间接报价'
  6554. type: integer
  6555. goodsstatus:
  6556. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  6557. type: integer
  6558. goodstradetype:
  6559. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  6560. type: integer
  6561. goodunitid:
  6562. description: 报价单位ID
  6563. type: integer
  6564. hasquoter:
  6565. description: 是否有报价商 - 0:无报价商 1:有报价商
  6566. type: integer
  6567. hqprotecttime:
  6568. description: 行情保护时间(秒)
  6569. type: integer
  6570. innerdealmode:
  6571. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6572. type: integer
  6573. isbuylimited:
  6574. description: 是否限制建仓量 - 0:不限制 1:限制
  6575. type: integer
  6576. lasttradedate:
  6577. description: 最后交易日期(状态:待退市)
  6578. type: string
  6579. listingdate:
  6580. description: 交易开始日期
  6581. type: string
  6582. marketid:
  6583. description: 所属市场ID
  6584. type: integer
  6585. modifierid:
  6586. description: 修改人
  6587. type: integer
  6588. modifystatus:
  6589. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6590. type: integer
  6591. modifytime:
  6592. description: 修改时间
  6593. type: string
  6594. outerdealmode:
  6595. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6596. type: integer
  6597. outgoodscode:
  6598. description: 商品代码(外部)
  6599. type: string
  6600. qtydecimalplace:
  6601. description: 成交量小数位
  6602. type: integer
  6603. quotegear:
  6604. description: 行情档位(1-10)
  6605. type: integer
  6606. quoteminunit:
  6607. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6608. type: integer
  6609. quoteshowtype:
  6610. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6611. type: integer
  6612. quoteshowtypeinterval:
  6613. description: 行情报价间隔时间(秒)(成交价时为0)
  6614. type: integer
  6615. remark:
  6616. description: 备注
  6617. type: string
  6618. required:
  6619. - goodscode
  6620. - goodsid
  6621. - goodsname
  6622. - marketid
  6623. type: object
  6624. models.GoodsIDAndName:
  6625. properties:
  6626. goodscode:
  6627. description: 商品代码(内部)
  6628. type: string
  6629. goodsid:
  6630. description: 商品ID(自增ID SEQ_GOODS)
  6631. type: integer
  6632. goodsname:
  6633. description: 商品名称
  6634. type: string
  6635. marketid:
  6636. description: 所属市场ID
  6637. type: integer
  6638. required:
  6639. - goodscode
  6640. - goodsid
  6641. - goodsname
  6642. - marketid
  6643. type: object
  6644. models.Goodsgroup:
  6645. properties:
  6646. agreeunit:
  6647. description: 合约单位
  6648. type: number
  6649. canshort:
  6650. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6651. type: integer
  6652. closepricemode:
  6653. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6654. type: integer
  6655. closepriceparam:
  6656. description: 强平最新价浮动比例 - 方式为2时使用
  6657. type: number
  6658. createtime:
  6659. description: 创建时间
  6660. type: string
  6661. creatorid:
  6662. description: 创建人
  6663. type: integer
  6664. currencyid:
  6665. description: 报价货币ID
  6666. type: integer
  6667. decimalplace:
  6668. description: 报价小数位
  6669. type: integer
  6670. exercisetype:
  6671. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  6672. type: integer
  6673. exexchangeid:
  6674. description: 外部交易所ID[通道交易]
  6675. type: integer
  6676. goodsgroupid:
  6677. description: 商品组ID(自增ID)
  6678. type: integer
  6679. goodsgroupname:
  6680. description: 商品组名称
  6681. type: string
  6682. goodsgroupstatus:
  6683. description: 商品组状态 - 1:正常 2:注销
  6684. type: integer
  6685. goodunitid:
  6686. description: 报价单位ID
  6687. type: integer
  6688. innerdealmode:
  6689. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6690. type: integer
  6691. isbuylimited:
  6692. description: 是否限制建仓量 - 0:不限制 1:限制
  6693. type: integer
  6694. marketid:
  6695. description: 所属市场ID
  6696. type: integer
  6697. modifierid:
  6698. description: 修改人
  6699. type: integer
  6700. modifytime:
  6701. description: 修改时间
  6702. type: string
  6703. outerdealmode:
  6704. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6705. type: integer
  6706. outergroupcode:
  6707. description: 外部商品组代码[通道交易]
  6708. type: string
  6709. premiumdecimalplace:
  6710. description: 权利金小数位[场外期权]
  6711. type: integer
  6712. premiumspreadalgorithm:
  6713. description: 权利金点差方式[场外期权] 1:比率 2:固定
  6714. type: integer
  6715. premiumspreadvalue:
  6716. description: 权利金点差值[场外期权]
  6717. type: number
  6718. qtydecimalplace:
  6719. description: 成交量小数位
  6720. type: integer
  6721. quotegear:
  6722. description: 行情档位(1-10)
  6723. type: integer
  6724. quoteminunit:
  6725. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6726. type: integer
  6727. quoterid:
  6728. description: 报价商ID[场外期权]
  6729. type: integer
  6730. quotesourcegroupid:
  6731. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6732. type: integer
  6733. syncgoodsqty:
  6734. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6735. type: integer
  6736. required:
  6737. - goodsgroupid
  6738. - goodsgroupname
  6739. - goodsgroupstatus
  6740. - marketid
  6741. type: object
  6742. models.Goodssortbypreposition:
  6743. properties:
  6744. goodscode:
  6745. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  6746. type: string
  6747. goodsgroupcode:
  6748. description: 品种代码
  6749. type: string
  6750. prepositionqty:
  6751. description: 昨持仓量
  6752. type: integer
  6753. sortindex:
  6754. description: 排序
  6755. type: integer
  6756. tradedate:
  6757. description: 交易日
  6758. type: string
  6759. updatetime:
  6760. description: 更新时间
  6761. type: string
  6762. required:
  6763. - goodscode
  6764. - tradedate
  6765. type: object
  6766. models.Hedgeinnerholderdetail:
  6767. properties:
  6768. accountid:
  6769. description: 账号ID
  6770. type: integer
  6771. buyorsell:
  6772. description: 方向 - 0:买 1:卖
  6773. type: integer
  6774. freezeqty:
  6775. description: 冻结数量 - 按单平使用
  6776. type: integer
  6777. goodsid:
  6778. description: 商品ID
  6779. type: integer
  6780. holderamount:
  6781. description: 持仓金额 [商品币种]
  6782. type: number
  6783. holderdays:
  6784. description: 剩余冻结天数
  6785. type: integer
  6786. holderprice:
  6787. description: 持仓价格
  6788. type: number
  6789. holderqty:
  6790. description: 持仓数量
  6791. type: integer
  6792. marketid:
  6793. description: 市场ID
  6794. type: integer
  6795. openprice:
  6796. description: 建仓价格
  6797. type: number
  6798. openqty:
  6799. description: 建仓数量
  6800. type: integer
  6801. parentaccountid:
  6802. description: 所属母账户
  6803. type: integer
  6804. releaseamount:
  6805. description: 释放持仓金额[商品币种]
  6806. type: number
  6807. tradeamount:
  6808. description: 成交金额[账户]
  6809. type: number
  6810. tradedate:
  6811. description: 交易日(yyyyMMdd)
  6812. type: string
  6813. tradeid:
  6814. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6815. type: string
  6816. tradetime:
  6817. description: 交易时间
  6818. type: string
  6819. required:
  6820. - buyorsell
  6821. - tradeid
  6822. type: object
  6823. models.Hedgemarketopenlog:
  6824. properties:
  6825. accountid:
  6826. description: 资金账号[外部母账户]
  6827. type: integer
  6828. fcname:
  6829. description: 期货公司名称
  6830. type: string
  6831. handlestatus:
  6832. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  6833. type: integer
  6834. marketid:
  6835. description: 市场ID
  6836. type: integer
  6837. status:
  6838. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  6839. type: integer
  6840. tradedate:
  6841. description: 交易日(yyyyMMdd)
  6842. type: string
  6843. updatetime:
  6844. description: 更新时间
  6845. type: string
  6846. required:
  6847. - accountid
  6848. type: object
  6849. models.HsbyBuyMyPayOrder:
  6850. properties:
  6851. agreeunit:
  6852. description: 合约单位
  6853. type: number
  6854. buyaccountid:
  6855. description: 买方账号ID[报价币种]
  6856. type: integer
  6857. buyorderid:
  6858. description: 买方委托单号
  6859. type: string
  6860. createtime:
  6861. description: 创建时间
  6862. type: string
  6863. currencysign:
  6864. description: 货币符号
  6865. type: string
  6866. decimalplace:
  6867. description: 报价小数位
  6868. type: integer
  6869. goodscode:
  6870. description: 商品代码(内部)
  6871. type: string
  6872. goodsid:
  6873. description: 商品ID
  6874. type: integer
  6875. goodsname:
  6876. description: 商品名称
  6877. type: string
  6878. marketid:
  6879. description: 市场ID
  6880. type: integer
  6881. offamount:
  6882. description: 优惠金额
  6883. type: number
  6884. originalamount:
  6885. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  6886. type: number
  6887. payamount:
  6888. description: 支付金额 = TradeAmount + TradeCharge
  6889. type: number
  6890. payflag:
  6891. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  6892. type: integer
  6893. paylimitedtime:
  6894. description: 支付期限
  6895. type: string
  6896. paytime:
  6897. description: 付款时间
  6898. type: string
  6899. picurls1:
  6900. description: 预售商品介绍图片[多张用逗号分隔]
  6901. type: string
  6902. picurls2:
  6903. description: 挂牌商品介绍图片[多张用逗号分隔]
  6904. type: string
  6905. sellaccountid:
  6906. description: 卖方账号ID[报价币种]
  6907. type: integer
  6908. sellorderid:
  6909. description: 卖方委托单号
  6910. type: string
  6911. tradeamount:
  6912. description: 成交金额
  6913. type: number
  6914. tradecharge:
  6915. description: 成交手续费(买方)
  6916. type: number
  6917. tradedate:
  6918. description: 交易日(yyyyMMdd)
  6919. type: string
  6920. tradeid:
  6921. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6922. type: string
  6923. trademode:
  6924. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6925. 21:竞拍-大宗式 22:受托竞价
  6926. type: integer
  6927. tradeprice:
  6928. description: 成交价格
  6929. type: number
  6930. tradeqty:
  6931. description: 成交数量
  6932. type: integer
  6933. vendorname1:
  6934. description: 预售商品供应商名称
  6935. type: string
  6936. vendorname2:
  6937. description: 挂牌商品供应商名称
  6938. type: string
  6939. required:
  6940. - goodscode
  6941. - goodsname
  6942. - tradeid
  6943. - trademode
  6944. type: object
  6945. models.HsbyBuyMyTradeDetail:
  6946. properties:
  6947. accountid:
  6948. description: 账户ID[报价币种]
  6949. type: integer
  6950. agreeunit:
  6951. description: 合约单位
  6952. type: number
  6953. amount:
  6954. description: 金额 = 价格 * 数量 * 合约单位
  6955. type: number
  6956. buyorsell:
  6957. description: 买卖 - 0:买 1:卖
  6958. type: integer
  6959. currencysign:
  6960. description: 货币符号
  6961. type: string
  6962. decimalplace:
  6963. description: 报价小数位
  6964. type: integer
  6965. goodscode:
  6966. description: 商品代码(内部)
  6967. type: string
  6968. goodsid:
  6969. description: 商品ID
  6970. type: integer
  6971. goodsname:
  6972. description: 商品名称
  6973. type: string
  6974. marketid:
  6975. description: 市场ID
  6976. type: integer
  6977. orderamount:
  6978. description: 委托金额
  6979. type: number
  6980. orderid:
  6981. description: 单号(成交单号)
  6982. type: string
  6983. picurls1:
  6984. description: 预售商品介绍图片[多张用逗号分隔]
  6985. type: string
  6986. picurls2:
  6987. description: 挂牌商品介绍图片[多张用逗号分隔]
  6988. type: string
  6989. price:
  6990. description: 价格
  6991. type: number
  6992. qty:
  6993. description: 数量
  6994. type: integer
  6995. time:
  6996. description: 时间
  6997. type: string
  6998. trademode:
  6999. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7000. 21:竞拍-大宗式 22:受托竞价
  7001. type: integer
  7002. vendorname1:
  7003. description: 预售商品供应商名称
  7004. type: string
  7005. vendorname2:
  7006. description: 挂牌商品供应商名称
  7007. type: string
  7008. required:
  7009. - accountid
  7010. - buyorsell
  7011. - goodscode
  7012. - goodsid
  7013. - goodsname
  7014. - marketid
  7015. - orderid
  7016. - qty
  7017. - time
  7018. - trademode
  7019. type: object
  7020. models.HsbyGoodsOrderDetail:
  7021. properties:
  7022. buyorsell:
  7023. description: 买卖 - 0:买 1:卖
  7024. type: integer
  7025. currencysign:
  7026. description: 货币符号
  7027. type: string
  7028. customername:
  7029. description: 客户名称(企业名称),已脱敏
  7030. type: string
  7031. enableqty:
  7032. description: 可用数量
  7033. type: integer
  7034. goodunit:
  7035. description: 报价单位
  7036. type: string
  7037. orderid:
  7038. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7039. type: string
  7040. orderprice:
  7041. description: 委托价格
  7042. type: number
  7043. ordertime:
  7044. description: 委托时间
  7045. type: string
  7046. required:
  7047. - buyorsell
  7048. - orderid
  7049. - ordertime
  7050. type: object
  7051. models.HsbyListingGoodsDetail:
  7052. properties:
  7053. agreeunit:
  7054. description: 合约单位
  7055. type: number
  7056. buymaxqty:
  7057. description: 购买上限 [71] - 0为不限
  7058. type: integer
  7059. currency:
  7060. description: 货币
  7061. type: string
  7062. currencysign:
  7063. description: 货币符号
  7064. type: string
  7065. decimalplace:
  7066. description: 报价小数位
  7067. type: integer
  7068. desccityid:
  7069. description: 目的地(市)ID
  7070. type: integer
  7071. descprovinceid:
  7072. description: 目的地(省)ID
  7073. type: integer
  7074. goodscode:
  7075. description: 商品代码(内部)
  7076. type: string
  7077. goodsdesc:
  7078. description: 商品详情
  7079. type: string
  7080. goodsid:
  7081. description: 商品ID(自增ID SEQ_GOODS)
  7082. type: integer
  7083. goodsname:
  7084. description: 商品名称
  7085. type: string
  7086. goodsprice:
  7087. description: 商品价格
  7088. type: number
  7089. hotindex:
  7090. description: 景点热度
  7091. type: integer
  7092. last:
  7093. description: 现价
  7094. type: number
  7095. limitdown:
  7096. description: 跌停价
  7097. type: number
  7098. limitup:
  7099. description: 涨停价
  7100. type: number
  7101. lotsize:
  7102. description: 手数最小变动单位
  7103. type: integer
  7104. marketid:
  7105. description: 所属市场ID
  7106. type: integer
  7107. picurls:
  7108. description: 介绍图片[多张用逗号分隔]
  7109. type: string
  7110. quoteminunit:
  7111. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7112. type: integer
  7113. stepvalue:
  7114. description: 价格最小变动单位
  7115. type: number
  7116. trademode:
  7117. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7118. 21:竞拍-大宗式 22:受托竞价
  7119. type: integer
  7120. vendorattr:
  7121. description: 供应商附件(多张,逗号分隔)
  7122. type: string
  7123. vendorname:
  7124. description: 供应商名称
  7125. type: string
  7126. vendorphone:
  7127. description: 供应商客服电话
  7128. type: string
  7129. videourls:
  7130. description: 介绍视频[多张用逗号分隔]
  7131. type: string
  7132. required:
  7133. - goodscode
  7134. - goodsid
  7135. - goodsname
  7136. - marketid
  7137. - trademode
  7138. type: object
  7139. models.HsbyMarketGoods:
  7140. properties:
  7141. accountid:
  7142. description: 账户ID[报价币种]
  7143. type: integer
  7144. agreeunit:
  7145. description: 合约单位
  7146. type: number
  7147. buyorsell:
  7148. description: 买卖 - 0:买 1:卖
  7149. type: integer
  7150. categoryid:
  7151. description: 类别ID(WRCATEGORY)
  7152. type: integer
  7153. currency:
  7154. description: 货币
  7155. type: string
  7156. currencysign:
  7157. description: 货币符号
  7158. type: string
  7159. customername:
  7160. description: 卖家名称
  7161. type: string
  7162. decimalplace:
  7163. description: 报价小数位
  7164. type: integer
  7165. goodscode:
  7166. description: 商品代码(内部)
  7167. type: string
  7168. goodsid:
  7169. description: 商品ID
  7170. type: integer
  7171. goodsname:
  7172. description: 商品名称
  7173. type: string
  7174. goodsprice:
  7175. description: 商品价格
  7176. type: number
  7177. hascoupon:
  7178. description: 是否可用优惠卷
  7179. type: boolean
  7180. hotindex:
  7181. description: 景点热度
  7182. type: integer
  7183. marketid:
  7184. description: 市场ID
  7185. type: integer
  7186. orderid:
  7187. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7188. type: string
  7189. orderprice:
  7190. description: 委托价格
  7191. type: number
  7192. orderstatus:
  7193. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7194. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7195. 16:成交失败违约(荷兰式竞拍专用)
  7196. type: integer
  7197. picurls:
  7198. description: 介绍图片[多张用逗号分隔]
  7199. type: string
  7200. quoteminunit:
  7201. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7202. type: integer
  7203. sellUserID:
  7204. description: 卖方UserID
  7205. type: integer
  7206. trademode:
  7207. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7208. 21:竞拍-大宗式 22:受托竞价
  7209. type: integer
  7210. videourls:
  7211. description: 介绍视频[多张用逗号分隔]
  7212. type: string
  7213. required:
  7214. - accountid
  7215. - buyorsell
  7216. - goodscode
  7217. - goodsid
  7218. - goodsname
  7219. - marketid
  7220. - orderid
  7221. - trademode
  7222. type: object
  7223. models.HsbyMarketGoodsDetail:
  7224. properties:
  7225. accountid:
  7226. description: 账户ID[报价币种]
  7227. type: integer
  7228. agreeunit:
  7229. description: 合约单位
  7230. type: number
  7231. buymaxqty:
  7232. description: 购买上限 [71] - 0为不限
  7233. type: integer
  7234. buyorsell:
  7235. description: 买卖 - 0:买 1:卖
  7236. type: integer
  7237. cancelqty:
  7238. description: 撤单数量
  7239. type: integer
  7240. categoryid:
  7241. description: 类别ID(WRCATEGORY)
  7242. type: integer
  7243. currency:
  7244. description: 货币
  7245. type: string
  7246. currencysign:
  7247. description: 货币符号
  7248. type: string
  7249. customername:
  7250. description: 卖家名称
  7251. type: string
  7252. decimalplace:
  7253. description: 报价小数位
  7254. type: integer
  7255. goodscode:
  7256. description: 商品代码(内部)
  7257. type: string
  7258. goodsdesc:
  7259. description: 商品详情
  7260. type: string
  7261. goodsid:
  7262. description: 商品ID
  7263. type: integer
  7264. goodsname:
  7265. description: 商品名称
  7266. type: string
  7267. goodsprice:
  7268. description: 商品价格
  7269. type: number
  7270. hotindex:
  7271. description: 景点热度
  7272. type: integer
  7273. lotsize:
  7274. description: 手数最小变动单位
  7275. type: integer
  7276. marketid:
  7277. description: 市场ID
  7278. type: integer
  7279. orderid:
  7280. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7281. type: string
  7282. orderprice:
  7283. description: 委托价格
  7284. type: number
  7285. orderqty:
  7286. description: 委托数量
  7287. type: integer
  7288. orderstatus:
  7289. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7290. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7291. 16:成交失败违约(荷兰式竞拍专用)
  7292. type: integer
  7293. picurls:
  7294. description: 介绍图片[多张用逗号分隔]
  7295. type: string
  7296. quoteminunit:
  7297. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7298. type: integer
  7299. sellUserID:
  7300. description: 卖方UserID
  7301. type: integer
  7302. trademode:
  7303. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7304. 21:竞拍-大宗式 22:受托竞价
  7305. type: integer
  7306. tradeqty:
  7307. description: 成交数量
  7308. type: integer
  7309. vendorattr:
  7310. description: 供应商附件(多张,逗号分隔)
  7311. type: string
  7312. vendorname:
  7313. description: 供应商名称
  7314. type: string
  7315. vendorphone:
  7316. description: 供应商客服电话
  7317. type: string
  7318. videourls:
  7319. description: 介绍视频[多张用逗号分隔]
  7320. type: string
  7321. required:
  7322. - accountid
  7323. - buyorsell
  7324. - goodscode
  7325. - goodsid
  7326. - goodsname
  7327. - marketid
  7328. - orderid
  7329. - orderqty
  7330. - trademode
  7331. type: object
  7332. models.HsbyMarketInfo:
  7333. properties:
  7334. marketid:
  7335. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  7336. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  7337. type: integer
  7338. marketname:
  7339. description: 市场名称
  7340. type: string
  7341. marketstatus:
  7342. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  7343. type: integer
  7344. trademode:
  7345. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7346. 21:竞拍-大宗式 22:受托竞价
  7347. type: integer
  7348. required:
  7349. - marketid
  7350. - marketstatus
  7351. - trademode
  7352. type: object
  7353. models.HsbyMyGoods:
  7354. properties:
  7355. accountid:
  7356. description: 账号Id
  7357. type: integer
  7358. agreeunit:
  7359. description: 合约单位
  7360. type: number
  7361. buyaverageprice:
  7362. description: 持仓均价
  7363. type: number
  7364. buycurholderamount:
  7365. description: 买当前持仓总金额[商品币种]
  7366. type: number
  7367. buycurpositionqty:
  7368. description: 买当前持仓总数量
  7369. type: integer
  7370. buymaxqty:
  7371. description: 购买上限 [71] - 0为不限
  7372. type: integer
  7373. currencysign:
  7374. description: 货币符号
  7375. type: string
  7376. decimalplace:
  7377. description: 报价小数位
  7378. type: integer
  7379. enableqty:
  7380. description: 可用数量
  7381. type: integer
  7382. goodscode:
  7383. description: 商品代码(内部)
  7384. type: string
  7385. goodsid:
  7386. description: 商品Id
  7387. type: integer
  7388. goodsname:
  7389. description: 商品名称
  7390. type: string
  7391. goodsprice:
  7392. description: 商品价格
  7393. type: number
  7394. goodsstatus:
  7395. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7396. type: integer
  7397. last:
  7398. description: 现价(仅使用于挂牌点选)
  7399. type: number
  7400. limitdown:
  7401. description: 跌停价(仅使用于挂牌点选)
  7402. type: number
  7403. limitup:
  7404. description: 涨停价(仅使用于挂牌点选)
  7405. type: number
  7406. lotsize:
  7407. description: 手数最小变动单位
  7408. type: integer
  7409. marketid:
  7410. description: 所属市场ID
  7411. type: integer
  7412. picurls:
  7413. description: 介绍图片[多张用逗号分隔]
  7414. type: string
  7415. quoteminunit:
  7416. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7417. type: integer
  7418. stepvalue:
  7419. description: 价格最小变动单位
  7420. type: number
  7421. trademode:
  7422. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7423. 21:竞拍-大宗式 22:受托竞价
  7424. type: integer
  7425. required:
  7426. - accountid
  7427. - goodscode
  7428. - goodsid
  7429. - goodsname
  7430. - marketid
  7431. - trademode
  7432. type: object
  7433. models.HsbyMyPackage:
  7434. properties:
  7435. accountid:
  7436. description: 账户ID
  7437. type: integer
  7438. address:
  7439. description: 提货人详细地址
  7440. type: string
  7441. agreeunit:
  7442. description: 合约单位
  7443. type: number
  7444. amount:
  7445. description: 提货金额
  7446. type: number
  7447. auditer:
  7448. description: 审核人
  7449. type: integer
  7450. audittime:
  7451. description: 审核时间
  7452. type: string
  7453. averageprice:
  7454. description: 均价
  7455. type: number
  7456. cardnum:
  7457. description: 提货人证件号码
  7458. type: string
  7459. cardtypeid:
  7460. description: 提货人证件类型
  7461. type: integer
  7462. checkremark:
  7463. description: 审核备注
  7464. type: string
  7465. currencysign:
  7466. description: 货币符号
  7467. type: string
  7468. decimalplace:
  7469. description: 报价小数位
  7470. type: integer
  7471. goodscode:
  7472. description: 商品代码(内部)
  7473. type: string
  7474. goodsid:
  7475. description: 商品ID
  7476. type: integer
  7477. goodsname:
  7478. description: 商品名称
  7479. type: string
  7480. handlestatus:
  7481. description: 处理状态
  7482. type: integer
  7483. marketid:
  7484. description: 市场ID
  7485. type: integer
  7486. phonenum:
  7487. description: 提货人联系方式
  7488. type: string
  7489. picurls:
  7490. description: 介绍图片[多张用逗号分隔]
  7491. type: string
  7492. qty:
  7493. description: 提货数量
  7494. type: number
  7495. recivername:
  7496. description: 提货人姓名
  7497. type: string
  7498. reqtime:
  7499. description: 更新时间
  7500. type: string
  7501. takemode:
  7502. description: 提货方式 - 2:自提 3:配送
  7503. type: integer
  7504. takeorderid:
  7505. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  7506. type: string
  7507. takeorderstatus:
  7508. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  7509. type: integer
  7510. takeremark:
  7511. description: 提货备注
  7512. type: string
  7513. tradedate:
  7514. description: 交易日(yyyyMMdd)
  7515. type: string
  7516. trademode:
  7517. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7518. 21:竞拍-大宗式 22:受托竞价
  7519. type: integer
  7520. userid:
  7521. description: 用户ID
  7522. type: integer
  7523. vendorname:
  7524. description: 供应商名称
  7525. type: string
  7526. required:
  7527. - goodscode
  7528. - goodsname
  7529. - takeorderid
  7530. - trademode
  7531. type: object
  7532. models.HsbyPreGoods:
  7533. properties:
  7534. agreeunit:
  7535. description: 合约单位
  7536. type: number
  7537. currency:
  7538. description: 货币
  7539. type: string
  7540. currencysign:
  7541. description: 货币符号
  7542. type: string
  7543. decimalplace:
  7544. description: 报价小数位
  7545. type: integer
  7546. desccityid:
  7547. description: 目的地(市)
  7548. type: integer
  7549. descprovinceid:
  7550. description: 目的地(省)
  7551. type: integer
  7552. enableqty:
  7553. description: 剩余数量
  7554. type: integer
  7555. goodscode:
  7556. description: 商品代码(内部)
  7557. type: string
  7558. goodsid:
  7559. description: 商品ID(自增ID SEQ_GOODS)
  7560. type: integer
  7561. goodsname:
  7562. description: 商品名称
  7563. type: string
  7564. goodsstatus:
  7565. description: 商品状态- 2:未上市 3:上市
  7566. type: integer
  7567. lasttradedate:
  7568. description: 最后交易日期(状态:待退市)
  7569. type: string
  7570. listingdate:
  7571. description: 交易开始日期
  7572. type: string
  7573. marketid:
  7574. description: 所属市场ID
  7575. type: integer
  7576. picurls:
  7577. description: 介绍图片[多张用逗号分隔]
  7578. type: string
  7579. presaledqty:
  7580. description: 已预售量(预售结束时更新)
  7581. type: integer
  7582. presaleqty:
  7583. description: 预售数量
  7584. type: integer
  7585. quoteminunit:
  7586. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7587. type: integer
  7588. refprice:
  7589. description: 参考价格[一口价]
  7590. type: number
  7591. relatedgoodsid:
  7592. description: 关联交易合约ID
  7593. type: integer
  7594. trademode:
  7595. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7596. 21:竞拍-大宗式 22:受托竞价
  7597. type: integer
  7598. videourls:
  7599. description: 介绍视频[多张用逗号分隔]
  7600. type: string
  7601. required:
  7602. - goodscode
  7603. - goodsid
  7604. - goodsname
  7605. - marketid
  7606. - trademode
  7607. type: object
  7608. models.HsbyPreGoodsDetail:
  7609. properties:
  7610. agreeunit:
  7611. description: 合约单位
  7612. type: number
  7613. buymaxqty:
  7614. description: 购买上限 [71] - 0为不限
  7615. type: integer
  7616. currency:
  7617. description: 货币
  7618. type: string
  7619. currencysign:
  7620. description: 货币符号
  7621. type: string
  7622. customername:
  7623. description: 发行单位
  7624. type: string
  7625. decimalplace:
  7626. description: 报价小数位
  7627. type: integer
  7628. desccityid:
  7629. description: 目的地(市)ID
  7630. type: integer
  7631. descprovinceid:
  7632. description: 目的地(省)ID
  7633. type: integer
  7634. enableqty:
  7635. description: 剩余数量
  7636. type: integer
  7637. goodscode:
  7638. description: 商品代码(内部)
  7639. type: string
  7640. goodsdesc:
  7641. description: 商品详情
  7642. type: string
  7643. goodsid:
  7644. description: 商品ID(自增ID SEQ_GOODS)
  7645. type: integer
  7646. goodsname:
  7647. description: 商品名称
  7648. type: string
  7649. goodsstatus:
  7650. description: 商品状态- 2:未上市 3:上市
  7651. type: integer
  7652. goodunit:
  7653. description: 报价单位
  7654. type: string
  7655. lasttradedate:
  7656. description: 最后交易日期(状态:待退市)
  7657. type: string
  7658. listingdate:
  7659. description: 交易开始日期
  7660. type: string
  7661. lotsize:
  7662. description: 手数最小变动单位
  7663. type: integer
  7664. marketid:
  7665. description: 所属市场ID
  7666. type: integer
  7667. picurls:
  7668. description: 介绍图片[多张用逗号分隔]
  7669. type: string
  7670. presaledqty:
  7671. description: 已预售量(预售结束时更新)
  7672. type: integer
  7673. presaleqty:
  7674. description: 预售数量
  7675. type: integer
  7676. quoteminunit:
  7677. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7678. type: integer
  7679. refprice:
  7680. description: 参考价格[一口价]
  7681. type: number
  7682. relatedgoodsid:
  7683. description: 关联交易合约ID
  7684. type: integer
  7685. stepvalue:
  7686. description: 价格最小变动单位
  7687. type: number
  7688. trademode:
  7689. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7690. 21:竞拍-大宗式 22:受托竞价
  7691. type: integer
  7692. vendorattr:
  7693. description: 供应商附件(多张,逗号分隔)
  7694. type: string
  7695. vendorname:
  7696. description: 供应商名称
  7697. type: string
  7698. vendorphone:
  7699. description: 供应商客服电话
  7700. type: string
  7701. videourls:
  7702. description: 介绍视频[多张用逗号分隔]
  7703. type: string
  7704. required:
  7705. - goodscode
  7706. - goodsid
  7707. - goodsname
  7708. - marketid
  7709. - trademode
  7710. type: object
  7711. models.HsbySellCollectionOrder:
  7712. properties:
  7713. agreeunit:
  7714. description: 合约单位
  7715. type: number
  7716. buyaccountid:
  7717. description: 买方账号ID[报价币种]
  7718. type: integer
  7719. buyorderid:
  7720. description: 买方委托单号
  7721. type: string
  7722. createtime:
  7723. description: 创建时间
  7724. type: string
  7725. currencysign:
  7726. description: 货币符号
  7727. type: string
  7728. decimalplace:
  7729. description: 报价小数位
  7730. type: integer
  7731. goodscode:
  7732. description: 商品代码(内部)
  7733. type: string
  7734. goodsid:
  7735. description: 商品ID
  7736. type: integer
  7737. goodsname:
  7738. description: 商品名称
  7739. type: string
  7740. marketid:
  7741. description: 市场ID
  7742. type: integer
  7743. offamount:
  7744. description: 优惠金额
  7745. type: number
  7746. payamount:
  7747. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  7748. type: number
  7749. payflag:
  7750. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7751. type: integer
  7752. paylimitedtime:
  7753. description: 支付期限
  7754. type: string
  7755. paytime:
  7756. description: 付款时间
  7757. type: string
  7758. picurls:
  7759. description: 商品介绍图片[多张用逗号分隔]
  7760. type: string
  7761. sellaccountid:
  7762. description: 卖方账号ID[报价币种]
  7763. type: integer
  7764. sellorderid:
  7765. description: 卖方委托单号
  7766. type: string
  7767. tradeamount:
  7768. description: 成交金额
  7769. type: number
  7770. tradecharge:
  7771. description: 成交手续费(买方)
  7772. type: number
  7773. tradedate:
  7774. description: 交易日(yyyyMMdd)
  7775. type: string
  7776. tradeid:
  7777. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7778. type: string
  7779. trademode:
  7780. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7781. 21:竞拍-大宗式 22:受托竞价
  7782. type: integer
  7783. tradeprice:
  7784. description: 成交价格
  7785. type: number
  7786. tradeqty:
  7787. description: 成交数量
  7788. type: integer
  7789. required:
  7790. - goodscode
  7791. - goodsname
  7792. - tradeid
  7793. - trademode
  7794. type: object
  7795. models.HsbySellMyDetail:
  7796. properties:
  7797. accountid:
  7798. description: 账户ID[报价币种]
  7799. type: integer
  7800. agreeunit:
  7801. description: 合约单位
  7802. type: number
  7803. buyorsell:
  7804. description: 买卖 - 0:买 1:卖
  7805. type: integer
  7806. currencysign:
  7807. description: 货币符号
  7808. type: string
  7809. decimalplace:
  7810. description: 报价小数位
  7811. type: integer
  7812. goodscode:
  7813. description: 商品代码(内部)
  7814. type: string
  7815. goodsid:
  7816. description: 商品ID
  7817. type: integer
  7818. goodsname:
  7819. description: 商品名称
  7820. type: string
  7821. marketid:
  7822. description: 市场ID
  7823. type: integer
  7824. orderid:
  7825. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  7826. type: string
  7827. ordertype:
  7828. description: 单据类型:0 - 发布中, 1 - 已完成
  7829. type: integer
  7830. picurls:
  7831. description: 介绍图片[多张用逗号分隔]
  7832. type: string
  7833. price:
  7834. description: 价格
  7835. type: number
  7836. qty:
  7837. description: 数量
  7838. type: integer
  7839. time:
  7840. description: 时间
  7841. type: string
  7842. trademode:
  7843. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7844. 21:竞拍-大宗式 22:受托竞价
  7845. type: integer
  7846. vendorname:
  7847. description: 供应商名称
  7848. type: string
  7849. required:
  7850. - accountid
  7851. - buyorsell
  7852. - goodscode
  7853. - goodsid
  7854. - goodsname
  7855. - marketid
  7856. - orderid
  7857. - time
  7858. - trademode
  7859. type: object
  7860. models.HsbyTopGoods:
  7861. properties:
  7862. agreeunit:
  7863. description: 合约单位
  7864. type: number
  7865. currency:
  7866. description: 货币
  7867. type: string
  7868. currencysign:
  7869. description: 货币符号
  7870. type: string
  7871. decimalplace:
  7872. description: 报价小数位
  7873. type: integer
  7874. desccityid:
  7875. description: 目的地(市)
  7876. type: integer
  7877. descprovinceid:
  7878. description: 目的地(省)
  7879. type: integer
  7880. goodscode:
  7881. description: 商品代码(内部)
  7882. type: string
  7883. goodsid:
  7884. description: 商品ID(自增ID SEQ_GOODS)
  7885. type: integer
  7886. goodsname:
  7887. description: 商品名称
  7888. type: string
  7889. hotindex:
  7890. description: 景点热度
  7891. type: integer
  7892. last:
  7893. description: 现价
  7894. type: number
  7895. marketid:
  7896. description: 所属市场ID
  7897. type: integer
  7898. picurls:
  7899. description: 介绍图片[多张用逗号分隔]
  7900. type: string
  7901. quoteminunit:
  7902. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7903. type: integer
  7904. trademode:
  7905. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7906. 21:竞拍-大宗式 22:受托竞价
  7907. type: integer
  7908. videourls:
  7909. description: 介绍视频[多张用逗号分隔]
  7910. type: string
  7911. required:
  7912. - goodscode
  7913. - goodsid
  7914. - goodsname
  7915. - marketid
  7916. - trademode
  7917. type: object
  7918. models.HybsMyBuyOrderDetail:
  7919. properties:
  7920. accountid:
  7921. description: 账户ID[报价币种]
  7922. type: integer
  7923. agreeunit:
  7924. description: 合约单位
  7925. type: number
  7926. buyorsell:
  7927. description: 买卖 - 0:买 1:卖
  7928. type: integer
  7929. cancelqty:
  7930. description: 撤单数量
  7931. type: integer
  7932. currencysign:
  7933. description: 货币符号
  7934. type: string
  7935. decimalplace:
  7936. description: 报价小数位
  7937. type: integer
  7938. goodscode:
  7939. description: 商品代码(内部)
  7940. type: string
  7941. goodsid:
  7942. description: 商品ID
  7943. type: integer
  7944. goodsname:
  7945. description: 商品名称
  7946. type: string
  7947. listingselecttype:
  7948. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  7949. type: integer
  7950. marketid:
  7951. description: 市场ID
  7952. type: integer
  7953. mybuystatus:
  7954. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  7955. type: integer
  7956. orderamount:
  7957. description: 委托金额
  7958. type: number
  7959. orderid:
  7960. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7961. type: string
  7962. orderprice:
  7963. description: 委托价格
  7964. type: number
  7965. orderqty:
  7966. description: 委托数量
  7967. type: integer
  7968. orderstatus:
  7969. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7970. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7971. 16:成交失败违约(荷兰式竞拍专用)
  7972. type: integer
  7973. ordertime:
  7974. description: 委托时间
  7975. type: string
  7976. picurls1:
  7977. description: 预售商品介绍图片[多张用逗号分隔]
  7978. type: string
  7979. picurls2:
  7980. description: 挂牌商品介绍图片[多张用逗号分隔]
  7981. type: string
  7982. trademode:
  7983. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7984. 21:竞拍-大宗式 22:受托竞价
  7985. type: integer
  7986. tradeqty:
  7987. description: 成交数量
  7988. type: integer
  7989. vendorname1:
  7990. description: 预售商品供应商名称
  7991. type: string
  7992. vendorname2:
  7993. description: 挂牌商品供应商名称
  7994. type: string
  7995. required:
  7996. - accountid
  7997. - buyorsell
  7998. - goodscode
  7999. - goodsid
  8000. - goodsname
  8001. - marketid
  8002. - orderid
  8003. - orderqty
  8004. - ordertime
  8005. - trademode
  8006. type: object
  8007. models.Loginaccount:
  8008. properties:
  8009. canoutin:
  8010. description: 是否可出入金 - 0:不可 1:可
  8011. type: integer
  8012. clientroleid:
  8013. description: 终端角色ID
  8014. type: integer
  8015. haslogined:
  8016. description: 是否已登录 - 0:未登录 1:已登录
  8017. type: integer
  8018. hasupdatedpwd:
  8019. description: 是否已更改密码 - 0:未修改 1:已修改
  8020. type: integer
  8021. lastloginip:
  8022. description: 最新登录地址
  8023. type: string
  8024. lastloginmode:
  8025. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8026. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8027. type: integer
  8028. lastloginremark:
  8029. description: 最新登录描述
  8030. type: string
  8031. lastlogintime:
  8032. description: 最新登录时间
  8033. type: string
  8034. logincode:
  8035. description: 登录代码
  8036. type: string
  8037. loginfailnum:
  8038. description: 连续登录失败次数(登录成功时清零)
  8039. type: integer
  8040. loginid:
  8041. description: 登陆账号
  8042. type: integer
  8043. loginport:
  8044. description: 最新登录端口
  8045. type: integer
  8046. loginstatus:
  8047. description: 登录账号状态 1:正常 2:冻结 3:无效
  8048. type: integer
  8049. loginusertype:
  8050. description: 登录账号类型 - 1:投资者 2:机构交易员
  8051. type: integer
  8052. modifierid:
  8053. description: 修改人
  8054. type: integer
  8055. modifytime:
  8056. description: 修改时间
  8057. type: string
  8058. pwdwrongcount:
  8059. description: 密码错误次数
  8060. type: integer
  8061. taaccountrighttype:
  8062. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8063. type: integer
  8064. unfreezetime:
  8065. description: 账户解冻时间
  8066. type: string
  8067. userid:
  8068. description: 用户ID
  8069. type: integer
  8070. required:
  8071. - loginid
  8072. type: object
  8073. models.MainAccountInfo:
  8074. properties:
  8075. accountid:
  8076. description: 账号id
  8077. type: integer
  8078. accountname:
  8079. description: 账号名称(taaccount表中的名称)
  8080. type: string
  8081. appid:
  8082. description: AppID
  8083. type: string
  8084. authcode:
  8085. description: 授权码
  8086. type: string
  8087. brokerid:
  8088. description: 经纪商id
  8089. type: string
  8090. fcid:
  8091. description: 期货公司id
  8092. type: integer
  8093. fcname:
  8094. description: 期货公司代码
  8095. type: string
  8096. hedgeaccountcode:
  8097. description: 外部账号代码(主账号登录代码)
  8098. type: string
  8099. hedgeaccountpwd:
  8100. description: 密码
  8101. type: string
  8102. ismain:
  8103. description: 是否主账号
  8104. type: integer
  8105. relateduserid:
  8106. description: 关联用户id
  8107. type: integer
  8108. userid:
  8109. description: 关联用户id
  8110. type: integer
  8111. type: object
  8112. models.Market:
  8113. properties:
  8114. auctionwrtype:
  8115. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8116. type: integer
  8117. canacceptquote:
  8118. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8119. type: integer
  8120. cangoodsexercise:
  8121. description: '[期权]是否可现货行权- 0:否 1:是'
  8122. type: integer
  8123. cangoodsexercisetype:
  8124. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8125. type: integer
  8126. canmanualquotestrike:
  8127. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8128. type: integer
  8129. canmutistage:
  8130. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8131. type: integer
  8132. canpreexercise:
  8133. description: '[期权]是否可预申报- 0:否 1:是'
  8134. type: integer
  8135. clearinterval:
  8136. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8137. type: integer
  8138. contracttmp:
  8139. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8140. type: string
  8141. exchareaid:
  8142. description: 所属交易所,可以没有
  8143. type: integer
  8144. goodstype:
  8145. description: 商品类型 - 1:交易商品 2:仓单商品
  8146. type: integer
  8147. hasrebate:
  8148. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8149. type: integer
  8150. hastradecredit:
  8151. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8152. type: integer
  8153. haswr:
  8154. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8155. type: integer
  8156. isdeductmargin:
  8157. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8158. type: integer
  8159. isrecordsource:
  8160. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8161. type: integer
  8162. isreleasemargin:
  8163. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  8164. type: integer
  8165. marginformula:
  8166. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8167. type: integer
  8168. marginformula2:
  8169. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8170. type: integer
  8171. marketid:
  8172. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8173. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8174. type: integer
  8175. marketname:
  8176. description: 市场名称
  8177. type: string
  8178. marketserviceid:
  8179. description: 市场服务ID
  8180. type: integer
  8181. marketstatus:
  8182. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8183. type: integer
  8184. markettype:
  8185. description: 市场类型- 1:非交易服务 2:交易服务
  8186. type: integer
  8187. matchermode:
  8188. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  8189. type: integer
  8190. openmethod:
  8191. description: 开盘模式 - 0 自动 1手动
  8192. type: integer
  8193. otcuserid:
  8194. description: 场外期权做市商[场外期权]
  8195. type: integer
  8196. outersynctime:
  8197. description: 外部同步时间点(h24:mi:ss)[场外期权]
  8198. type: string
  8199. pendingflag:
  8200. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  8201. type: integer
  8202. pendingtime:
  8203. description: 待开市时间[通道交易-对冲](HH:mm)
  8204. type: string
  8205. performancetempid:
  8206. description: 履约计划模板ID - 作废
  8207. type: integer
  8208. premiumquotemode:
  8209. description: 权利金报价方式 - 1:自动 2:手动
  8210. type: integer
  8211. rebateratio:
  8212. description: 返利比率[竞价式]
  8213. type: number
  8214. reckonorder:
  8215. description: 结算顺序
  8216. type: integer
  8217. reckonpricealgorithm:
  8218. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  8219. 6.卖一价 7.买一卖一均价 8.外部结算价'
  8220. type: integer
  8221. reckonpriceparam:
  8222. description: 结算价参数
  8223. type: integer
  8224. reckontime:
  8225. description: 结算时间[通道交易-对冲](HH:mm)
  8226. type: string
  8227. roleprioritytype:
  8228. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  8229. type: integer
  8230. selllistingauditflag:
  8231. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  8232. type: integer
  8233. trademarkettype:
  8234. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  8235. type: integer
  8236. trademode:
  8237. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8238. 21:竞拍-大宗式 22:受托竞价
  8239. type: integer
  8240. tradeproperty:
  8241. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  8242. 8:场外期权
  8243. type: integer
  8244. tradetype:
  8245. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  8246. type: integer
  8247. required:
  8248. - marketid
  8249. - marketstatus
  8250. - openmethod
  8251. - reckonpricealgorithm
  8252. - trademode
  8253. - tradeproperty
  8254. type: object
  8255. models.Marketrun:
  8256. properties:
  8257. afternexttradedate:
  8258. description: 下下交易日
  8259. type: string
  8260. clearquoteflag:
  8261. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  8262. type: integer
  8263. lastreckondate:
  8264. description: 最新交易日(结算成功)
  8265. type: string
  8266. machinedate:
  8267. description: 机器时间
  8268. type: string
  8269. manualflag:
  8270. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  8271. type: integer
  8272. marketid:
  8273. description: 市场ID
  8274. type: integer
  8275. nexttradedate:
  8276. description: 下一交易日
  8277. type: string
  8278. pretradedate:
  8279. description: 上一交易日
  8280. type: string
  8281. reckonflag:
  8282. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  8283. type: integer
  8284. runstatus:
  8285. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  8286. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  8287. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  8288. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  8289. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  8290. 62.今日免清算
  8291. type: integer
  8292. sectionid:
  8293. description: 时间段号[多时段时用]
  8294. type: integer
  8295. tradedate:
  8296. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  8297. type: string
  8298. tradedate2:
  8299. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  8300. type: string
  8301. updatetime:
  8302. description: 更新时间
  8303. type: string
  8304. required:
  8305. - marketid
  8306. - nexttradedate
  8307. - reckonflag
  8308. - runstatus
  8309. - tradedate
  8310. - tradedate2
  8311. type: object
  8312. models.Messageboard:
  8313. properties:
  8314. contactnum:
  8315. description: 联系电话
  8316. type: string
  8317. createtime:
  8318. description: 创建时间
  8319. type: string
  8320. message:
  8321. description: 留言信息
  8322. type: string
  8323. messageboardid:
  8324. description: 留言簿ID(SEQ_MessageBoard)
  8325. type: integer
  8326. userid:
  8327. description: 用户ID
  8328. type: integer
  8329. required:
  8330. - messageboardid
  8331. type: object
  8332. models.MyCoupon:
  8333. properties:
  8334. accountid:
  8335. description: 资金账户ID
  8336. type: integer
  8337. areauserid:
  8338. description: 所属机构
  8339. type: integer
  8340. conditionvalue:
  8341. description: 条件阈值(可为0)
  8342. type: number
  8343. couponcategroy:
  8344. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  8345. type: integer
  8346. couponname:
  8347. description: 优惠券名称
  8348. type: string
  8349. coupontypeid:
  8350. description: 优惠券类型ID
  8351. type: string
  8352. couponvalue:
  8353. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  8354. type: number
  8355. curfreezeqty:
  8356. description: 期末冻结数量
  8357. type: integer
  8358. curqty:
  8359. description: 期末数量
  8360. type: integer
  8361. isgeneral:
  8362. description: 是否通用券 - 0:否 1:是
  8363. type: integer
  8364. isunusable:
  8365. description: 是否不可用
  8366. type: boolean
  8367. limitedflag:
  8368. description: 是否指定商品 - 0:不限 1:限制
  8369. type: integer
  8370. limitedgoodsids:
  8371. description: 指定商品IDs[逗号分隔,前后加逗号]
  8372. type: string
  8373. orifreezeqty:
  8374. description: 期初冻结数量
  8375. type: integer
  8376. oriqty:
  8377. description: 期初数量
  8378. type: integer
  8379. reasontype:
  8380. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  8381. type: integer
  8382. todaydecrease:
  8383. description: 今日减少
  8384. type: integer
  8385. todayincrease:
  8386. description: 今日增加
  8387. type: integer
  8388. userid:
  8389. description: 用户ID
  8390. type: integer
  8391. userscope:
  8392. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  8393. type: string
  8394. required:
  8395. - accountid
  8396. - coupontypeid
  8397. type: object
  8398. models.MyCouponHold:
  8399. properties:
  8400. accountid:
  8401. description: 资金账户ID
  8402. type: integer
  8403. conditionvalue:
  8404. description: 条件阈值(可为0)
  8405. type: number
  8406. couponcategroy:
  8407. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  8408. type: integer
  8409. couponholdid:
  8410. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  8411. type: string
  8412. couponname:
  8413. description: 优惠券名称
  8414. type: string
  8415. coupontypeid:
  8416. description: 优惠券类型ID - SEQ_COUPONTYPE
  8417. type: string
  8418. couponvalue:
  8419. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  8420. type: number
  8421. createtime:
  8422. description: 创建时间
  8423. type: string
  8424. enddate:
  8425. description: 结束日期
  8426. type: string
  8427. giveapplyid:
  8428. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  8429. type: integer
  8430. holdstatus:
  8431. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  8432. type: integer
  8433. isgeneral:
  8434. description: 是否通用券 - 0:否 1:是
  8435. type: integer
  8436. limitedflag:
  8437. description: 是否指定商品 - 0:不限 1:限制
  8438. type: integer
  8439. limitedgoodsids:
  8440. description: 指定商品IDs[逗号分隔]
  8441. type: string
  8442. qty:
  8443. description: 数量(按1平铺)
  8444. type: integer
  8445. startdate:
  8446. description: 开始日期
  8447. type: string
  8448. userid:
  8449. description: 用户ID
  8450. type: integer
  8451. userscope:
  8452. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  8453. type: string
  8454. required:
  8455. - couponholdid
  8456. type: object
  8457. models.MyUsedCoupon:
  8458. properties:
  8459. accountid:
  8460. description: 资金账户ID(买方)
  8461. type: integer
  8462. conditionvalue:
  8463. description: 条件阈值(可为0)
  8464. type: number
  8465. couponcategroy:
  8466. description: 种类 - 1:现金券 2:折扣券
  8467. type: integer
  8468. couponname:
  8469. description: 优惠券名称
  8470. type: string
  8471. coupontypeid:
  8472. description: 优惠券类型ID(买方)
  8473. type: string
  8474. couponvalue:
  8475. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  8476. type: number
  8477. createtime:
  8478. description: 创建时间
  8479. type: string
  8480. goodsid:
  8481. description: 商品ID
  8482. type: integer
  8483. handlestatus:
  8484. description: 处理状态
  8485. type: integer
  8486. marketid:
  8487. description: 市场ID
  8488. type: integer
  8489. offamount:
  8490. description: 优惠金额
  8491. type: number
  8492. orderid:
  8493. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8494. type: string
  8495. sellaccountid:
  8496. description: 资金账户ID(卖方)
  8497. type: integer
  8498. tradeamount:
  8499. description: 成交金额
  8500. type: number
  8501. tradeid:
  8502. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8503. type: string
  8504. usedqty:
  8505. description: 使用数量
  8506. type: integer
  8507. required:
  8508. - coupontypeid
  8509. - orderid
  8510. type: object
  8511. models.OperationPrimaryMenu:
  8512. properties:
  8513. Children:
  8514. description: 二级功能菜单
  8515. items:
  8516. $ref: '#/definitions/models.OperationSecondaryMenu'
  8517. type: array
  8518. Key:
  8519. description: 菜单KEY
  8520. type: string
  8521. Label:
  8522. description: 菜单标题
  8523. type: string
  8524. type: object
  8525. models.OperationSecondaryMenu:
  8526. properties:
  8527. Key:
  8528. description: 菜单KEY
  8529. type: string
  8530. Label:
  8531. description: 菜单标题
  8532. type: string
  8533. TabList:
  8534. description: 三级功能菜单
  8535. items:
  8536. $ref: '#/definitions/models.OperationTabMenu'
  8537. type: array
  8538. type: object
  8539. models.OperationTabMenu:
  8540. properties:
  8541. Key:
  8542. description: 菜单KEY
  8543. type: string
  8544. Label:
  8545. description: 菜单标题
  8546. type: string
  8547. type: object
  8548. models.PendingAuditBizModel:
  8549. properties:
  8550. accountid:
  8551. description: 现货账户
  8552. type: string
  8553. areaname:
  8554. description: 所属部门
  8555. type: string
  8556. bizid:
  8557. description: 业务ID
  8558. type: string
  8559. bizname:
  8560. description: 业务名称
  8561. type: string
  8562. status:
  8563. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  8564. type: integer
  8565. type:
  8566. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  8567. type: integer
  8568. type: object
  8569. models.QueryErrorInfosRsp:
  8570. properties:
  8571. description:
  8572. description: 异常描述
  8573. type: string
  8574. errorcode:
  8575. description: 异常代码
  8576. type: string
  8577. errorid:
  8578. description: 异常ID
  8579. type: integer
  8580. modulecode:
  8581. description: 所属模块
  8582. type: string
  8583. operatecode:
  8584. description: 所属操作
  8585. type: string
  8586. rownumber:
  8587. description: 行号
  8588. type: string
  8589. required:
  8590. - errorid
  8591. type: object
  8592. models.QueryHedgeOrderDetailRsp:
  8593. properties:
  8594. accountid:
  8595. description: 账户ID
  8596. type: integer
  8597. buyorsell:
  8598. description: 买卖 - 0:买 1:卖
  8599. type: integer
  8600. cancellogincode:
  8601. description: 撤单人
  8602. type: string
  8603. channelbuildtype:
  8604. description: 开平标志 - 0:无 1:建仓 2:平仓
  8605. type: integer
  8606. channelinnerorderstatus:
  8607. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  8608. 9:全部成交
  8609. type: integer
  8610. channeloperatetype:
  8611. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  8612. type: integer
  8613. closetype:
  8614. description: 平仓方式 - 0:无 1:平今 2:平昨
  8615. type: integer
  8616. curexchangerate:
  8617. description: 当前汇率
  8618. type: number
  8619. exchangefullname:
  8620. description: 外部交易所全称
  8621. type: string
  8622. goodscode:
  8623. description: 商品代码(内部)
  8624. type: string
  8625. goodsid:
  8626. description: 商品ID
  8627. type: integer
  8628. goodsname:
  8629. description: 商品名称
  8630. type: string
  8631. marketid:
  8632. description: 市场ID
  8633. type: integer
  8634. openfreezemargin:
  8635. description: 冻结保证金(冻结交易金额)
  8636. type: number
  8637. orderid:
  8638. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8639. type: string
  8640. orderlogincode:
  8641. description: 委托人
  8642. type: string
  8643. orderprice:
  8644. description: 委托价格(账户)
  8645. type: number
  8646. orderqty:
  8647. description: 委托数量
  8648. type: integer
  8649. ordertime:
  8650. description: 委托时间
  8651. type: string
  8652. pricemode:
  8653. description: '取价方式 - 1:市价 2: 限价'
  8654. type: integer
  8655. tradedate:
  8656. description: 交易日(yyyyMMdd)
  8657. type: string
  8658. tradeqty:
  8659. description: 成交数量
  8660. type: integer
  8661. type: object
  8662. models.QueryHedgeTradeDetailRsp:
  8663. properties:
  8664. accountid:
  8665. description: 账号ID
  8666. type: integer
  8667. buyorsell:
  8668. description: 方向 - 0:买 1:卖
  8669. type: integer
  8670. channelbuildtype:
  8671. description: 委托单据类型 0:无 1:建仓 2:平仓
  8672. type: integer
  8673. closecharge:
  8674. description: 平仓手续费(账户)
  8675. type: number
  8676. closecharge2:
  8677. description: 平仓手续费(商品)
  8678. type: number
  8679. closepl:
  8680. description: 平仓盈亏(账户)
  8681. type: number
  8682. closepl2:
  8683. description: 平仓盈亏(商品)
  8684. type: number
  8685. closepl3:
  8686. description: 平仓盈亏(账户)(逐笔)
  8687. type: number
  8688. closepl4:
  8689. description: 平仓盈亏(商品)(逐笔)
  8690. type: number
  8691. closetype:
  8692. description: 平仓方式 - 0:无 1:平今 2:平昨
  8693. type: integer
  8694. curexchangerate:
  8695. description: 当前汇率
  8696. type: number
  8697. exchangefullname:
  8698. description: 外部交易所全称
  8699. type: string
  8700. goodscode:
  8701. description: 商品代码(内部)
  8702. type: string
  8703. goodsid:
  8704. description: 商品ID
  8705. type: integer
  8706. goodsname:
  8707. description: 商品名称
  8708. type: string
  8709. marketid:
  8710. description: 市场ID
  8711. type: integer
  8712. opencharge:
  8713. description: 建仓手续费(账户)
  8714. type: number
  8715. opencharge2:
  8716. description: 建仓手续费(商品)
  8717. type: number
  8718. orderid:
  8719. description: 委托单号
  8720. type: string
  8721. orderlogincode:
  8722. description: 委托人
  8723. type: string
  8724. tradeamount:
  8725. description: 成交金额(账户)
  8726. type: number
  8727. tradedate:
  8728. description: 交易日(yyyyMMdd)
  8729. type: string
  8730. tradeid:
  8731. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8732. type: string
  8733. tradeprice:
  8734. description: 成交价格
  8735. type: number
  8736. tradeqty:
  8737. description: 成交数量
  8738. type: integer
  8739. tradetime:
  8740. description: 成交时间
  8741. type: string
  8742. tradetype:
  8743. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  8744. type: integer
  8745. type: object
  8746. models.QuotePrimaryMenu:
  8747. properties:
  8748. Index:
  8749. description: 序号
  8750. type: integer
  8751. Key:
  8752. description: 键名
  8753. type: string
  8754. Name:
  8755. description: 菜单名称
  8756. type: string
  8757. SubMenus:
  8758. description: 子菜单
  8759. items:
  8760. $ref: '#/definitions/models.QuoteSecondaryMenu'
  8761. type: array
  8762. SubTitleType:
  8763. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  8764. type: integer
  8765. TradeModes:
  8766. description: 包含市场交易类型
  8767. type: string
  8768. type: object
  8769. models.QuoteSecondaryMenu:
  8770. properties:
  8771. ExExchangeCode:
  8772. description: 外部交易所代码
  8773. type: string
  8774. ExExchangeID:
  8775. description: 外部交易所ID
  8776. type: integer
  8777. GoodsGroupIDs:
  8778. description: 商品组ID列表
  8779. items:
  8780. type: integer
  8781. type: array
  8782. Index:
  8783. description: 序号
  8784. type: integer
  8785. MarketID:
  8786. description: 市场ID
  8787. type: integer
  8788. MenuTitle:
  8789. description: 菜单标题(市场名称或外部交易所名称)
  8790. type: string
  8791. TradeMode:
  8792. description: 交易模式
  8793. type: integer
  8794. type: object
  8795. models.SearchGoods:
  8796. properties:
  8797. goodscode:
  8798. description: 商品代码(内部)
  8799. type: string
  8800. goodsid:
  8801. description: 商品ID(自增ID SEQ_GOODS)
  8802. type: integer
  8803. goodsname:
  8804. description: 商品名称
  8805. type: string
  8806. marketid:
  8807. description: 所属市场ID
  8808. type: integer
  8809. marketname:
  8810. description: 市场名称
  8811. type: string
  8812. trademode:
  8813. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8814. 21:竞拍-大宗式 22:受托竞价
  8815. type: integer
  8816. required:
  8817. - goodscode
  8818. - goodsid
  8819. - goodsname
  8820. - marketid
  8821. - trademode
  8822. type: object
  8823. models.Systemparam:
  8824. properties:
  8825. loginid:
  8826. description: 更新用户账号,登录账号
  8827. type: string
  8828. modifyflag:
  8829. description: 修改标志0 不允许修改 1 允许修改
  8830. type: integer
  8831. paramcode:
  8832. description: 参数代码
  8833. type: string
  8834. paramname:
  8835. description: 参数名
  8836. type: string
  8837. paramtype:
  8838. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  8839. type: integer
  8840. paramvalue:
  8841. description: 参数值
  8842. type: string
  8843. paramvalue2:
  8844. description: 参数值(CLOB)
  8845. type: string
  8846. regexpress:
  8847. description: 正则表达式
  8848. type: string
  8849. remark:
  8850. description: 备注
  8851. type: string
  8852. serverip:
  8853. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  8854. type: string
  8855. showflag:
  8856. description: 是否显示0 不显示 1 显示
  8857. type: integer
  8858. updatetime:
  8859. description: 更新时间
  8860. type: string
  8861. userid:
  8862. description: 更新用户ID
  8863. type: integer
  8864. required:
  8865. - paramcode
  8866. type: object
  8867. models.Szdz3convertconfig:
  8868. properties:
  8869. canin:
  8870. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  8871. type: integer
  8872. canout:
  8873. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  8874. type: integer
  8875. converttype:
  8876. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  8877. 6:交易转花生米(不设置)
  8878. type: integer
  8879. createtime:
  8880. description: 创建时间
  8881. type: string
  8882. creatorid:
  8883. description: 创建人
  8884. type: integer
  8885. daymaxvalue:
  8886. description: 当日最大转入限制
  8887. type: number
  8888. freezedays:
  8889. description: 冻结天数 [5:花生米转交易]
  8890. type: integer
  8891. innergoodsid:
  8892. description: 内部商品ID[交易]
  8893. type: integer
  8894. inratio:
  8895. description: 目标值
  8896. type: integer
  8897. modifierid:
  8898. description: 修改人
  8899. type: integer
  8900. modifytime:
  8901. description: 修改时间
  8902. type: string
  8903. outergoodscode:
  8904. description: 外部商品代码[JD\PD]
  8905. type: string
  8906. outratio:
  8907. description: 源值
  8908. type: integer
  8909. pddecimalplace:
  8910. description: PD小数位
  8911. type: integer
  8912. timemaxvalue:
  8913. description: 单次最大转入限制
  8914. type: number
  8915. timeminvalue:
  8916. description: 单次最小转入限制
  8917. type: number
  8918. required:
  8919. - converttype
  8920. - innergoodsid
  8921. - outergoodscode
  8922. type: object
  8923. models.Szdz3searchwhitelist:
  8924. properties:
  8925. createtime:
  8926. description: 创建时间
  8927. type: string
  8928. creatorid:
  8929. description: 创建人
  8930. type: integer
  8931. modifierid:
  8932. description: 修改人
  8933. type: integer
  8934. modifytime:
  8935. description: 修改时间
  8936. type: string
  8937. userid:
  8938. description: 用户ID
  8939. type: integer
  8940. required:
  8941. - userid
  8942. type: object
  8943. models.Taaccount:
  8944. properties:
  8945. accountflag:
  8946. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  8947. type: integer
  8948. accountid:
  8949. description: 资金账户ID
  8950. type: integer
  8951. accountname:
  8952. description: 账户名称
  8953. type: string
  8954. balance:
  8955. description: 期初余额
  8956. type: number
  8957. capitalbalance:
  8958. description: 本金余额[外部子账户实际出入金余额]
  8959. type: number
  8960. changeflag:
  8961. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  8962. type: integer
  8963. changetime:
  8964. description: 账户状态变更时间
  8965. type: string
  8966. closepl:
  8967. description: 今日平仓盈亏
  8968. type: number
  8969. creditdecrease:
  8970. description: 今日授信减少
  8971. type: number
  8972. creditincrease:
  8973. description: 今日授信增加
  8974. type: number
  8975. currencyid:
  8976. description: 货币ID
  8977. type: integer
  8978. currentbalance:
  8979. description: 期末余额
  8980. type: number
  8981. freezecharge:
  8982. description: 手续费冻结
  8983. type: number
  8984. freezemargin:
  8985. description: 冻结保证金
  8986. type: number
  8987. fromaccountid:
  8988. description: 所属上级账户
  8989. type: integer
  8990. inamount:
  8991. description: 今日入金金额(包括三方入金)
  8992. type: number
  8993. ismain:
  8994. description: 是否母账号 0:不是母账户 1:是母账户
  8995. type: integer
  8996. ismarketaccount:
  8997. description: 是否机构接单账号 0:不是 1:是
  8998. type: integer
  8999. isreckonaccount:
  9000. description: 是否机构分润账号 0:不是 1:是
  9001. type: integer
  9002. mortgagecredit:
  9003. description: 授信金额
  9004. type: number
  9005. orifreezecharge:
  9006. description: 期初手续费冻结
  9007. type: number
  9008. orifreezemargin:
  9009. description: 期初冻结保证金
  9010. type: number
  9011. orimortgagecredit:
  9012. description: 期初授信金额
  9013. type: number
  9014. oriothercredit:
  9015. description: 期初其它授信金额
  9016. type: number
  9017. oriotherfreezemargin:
  9018. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9019. type: number
  9020. orioutamountfreeze:
  9021. description: 期初出金冻结
  9022. type: number
  9023. oriusedmargin:
  9024. description: 期初占用保证金
  9025. type: number
  9026. othercredit:
  9027. description: 其它授信金额
  9028. type: number
  9029. othercreditdecrease:
  9030. description: 今日其它授信减少
  9031. type: number
  9032. othercreditincrease:
  9033. description: 今日其它授信增加
  9034. type: number
  9035. otherfreezemargin:
  9036. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9037. type: number
  9038. otherincome:
  9039. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  9040. type: number
  9041. otherpay:
  9042. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  9043. type: number
  9044. outamount:
  9045. description: 今日出金金额(包括三方出金)
  9046. type: number
  9047. outamountfreeze:
  9048. description: 出金冻结
  9049. type: number
  9050. outthreshold:
  9051. description: 出金阈值
  9052. type: number
  9053. parentaccountid:
  9054. description: 所属根账号
  9055. type: integer
  9056. paycharge:
  9057. description: 今日手续费支出
  9058. type: number
  9059. relatedaccountstatus:
  9060. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  9061. type: integer
  9062. relateduserid:
  9063. description: 关联用户
  9064. type: integer
  9065. serivcegroup:
  9066. description: 服务分组
  9067. type: integer
  9068. signstatus:
  9069. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9070. type: integer
  9071. sublevelpath:
  9072. description: 账号层级路径(逗号分隔,首尾加逗号)
  9073. type: string
  9074. taaccounttype:
  9075. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9076. type: integer
  9077. thirdinamount:
  9078. description: 今日三方入金
  9079. type: number
  9080. thirdoutamount:
  9081. description: 今日三方出金
  9082. type: number
  9083. tradestatus:
  9084. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9085. type: integer
  9086. tradestatuschangetime:
  9087. description: 激活时间
  9088. type: string
  9089. transferamount:
  9090. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9091. type: number
  9092. usedmargin:
  9093. description: 占用保证金
  9094. type: number
  9095. userid:
  9096. description: 用户ID
  9097. type: integer
  9098. required:
  9099. - accountid
  9100. - userid
  9101. type: object
  9102. models.Tablecolumnconfig:
  9103. properties:
  9104. aligntype:
  9105. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  9106. type: integer
  9107. autoid:
  9108. description: AutoID
  9109. type: integer
  9110. columnfield:
  9111. description: 列字段
  9112. type: string
  9113. columntitle:
  9114. description: 列Title
  9115. type: string
  9116. columnwidth:
  9117. description: 列宽
  9118. type: string
  9119. formatterstring:
  9120. description: 格式化字符
  9121. type: string
  9122. formattertype:
  9123. description: 格式化类型
  9124. type: string
  9125. groupname:
  9126. description: 表头分组名称
  9127. type: string
  9128. isshow:
  9129. description: 是否显示 - 0:不显示 1:显示
  9130. type: integer
  9131. needsummary:
  9132. description: 是否需要汇总 - 0:不需要 1:需要
  9133. type: integer
  9134. orderindex:
  9135. description: 顺序
  9136. type: integer
  9137. remark:
  9138. description: 备注
  9139. type: string
  9140. summarytype:
  9141. description: 汇总类型 - 1:加总 2:最后一个
  9142. type: integer
  9143. tablekey:
  9144. description: 列表Key
  9145. type: string
  9146. required:
  9147. - autoid
  9148. type: object
  9149. models.Useraccount:
  9150. properties:
  9151. accountname:
  9152. description: 账户名称(机构名称)
  9153. type: string
  9154. accountstatus:
  9155. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  9156. type: integer
  9157. auditremark:
  9158. description: 审核备注
  9159. type: string
  9160. audittime:
  9161. description: 审核时间
  9162. type: string
  9163. audituserid:
  9164. description: 审核人
  9165. type: integer
  9166. broker:
  9167. description: 所属经纪人ID
  9168. type: integer
  9169. canceltime:
  9170. description: 销户时间
  9171. type: string
  9172. canceluserid:
  9173. description: 销户人
  9174. type: integer
  9175. createtime:
  9176. description: 创建时间
  9177. type: string
  9178. creatorid:
  9179. description: 创建人
  9180. type: integer
  9181. hasauth:
  9182. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  9183. type: integer
  9184. isanonymous:
  9185. description: 是否匿名下单 - 0:否 1:是
  9186. type: integer
  9187. maxinvestornum:
  9188. description: 最大用户数(经纪会员下投资者个数)
  9189. type: integer
  9190. memberuserid:
  9191. description: 所属会员ID
  9192. type: integer
  9193. modifierid:
  9194. description: 修改人
  9195. type: integer
  9196. modifyremark:
  9197. description: 变更备注
  9198. type: string
  9199. modifystatus:
  9200. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  9201. type: integer
  9202. modifytime:
  9203. description: 修改时间
  9204. type: string
  9205. parentuserid:
  9206. description: 所属机构ID
  9207. type: integer
  9208. reckonaccountid:
  9209. description: 默认结算资金账号ID(机构分润使用) 作废
  9210. type: integer
  9211. refercount:
  9212. description: 推荐总人数
  9213. type: integer
  9214. refereeuserid:
  9215. description: 推荐人ID
  9216. type: integer
  9217. refernum:
  9218. description: 推荐码
  9219. type: string
  9220. subarealevelpath:
  9221. description: 子机构层级路径(逗号分隔,首尾加逗号)
  9222. type: string
  9223. userid:
  9224. description: 用户ID
  9225. type: integer
  9226. usertype:
  9227. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  9228. type: integer
  9229. required:
  9230. - userid
  9231. type: object
  9232. models.Userfavoritegoods:
  9233. properties:
  9234. goodsid:
  9235. description: 商品ID
  9236. type: integer
  9237. required:
  9238. - goodsid
  9239. type: object
  9240. models.Userinfo:
  9241. properties:
  9242. address:
  9243. description: 地址
  9244. type: string
  9245. attachment1:
  9246. description: 附件1
  9247. type: string
  9248. attachment2:
  9249. description: 附件2
  9250. type: string
  9251. bankaccount:
  9252. description: 银行帐号 (加密存储)
  9253. type: string
  9254. bankaccountname:
  9255. description: 收款人名称
  9256. type: string
  9257. bankcardfrontphotourl:
  9258. description: 银行卡正面照地址
  9259. type: string
  9260. bankid:
  9261. description: 银行编码
  9262. type: string
  9263. bankname:
  9264. description: 银行名称
  9265. type: string
  9266. biznature:
  9267. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  9268. type: integer
  9269. bizscope:
  9270. description: 企业经营范围(企业)
  9271. type: string
  9272. cardbackphotourl:
  9273. description: 证件背面图片地址
  9274. type: string
  9275. cardfrontphotourl:
  9276. description: 证件正面图片地址
  9277. type: string
  9278. cardnum:
  9279. description: 证件号码(加密存储)
  9280. type: string
  9281. cardtypeid:
  9282. description: 证件类型ID
  9283. type: integer
  9284. cityid:
  9285. description: 市
  9286. type: integer
  9287. company:
  9288. description: 公司(个人)
  9289. type: string
  9290. contactname:
  9291. description: 联系人
  9292. type: string
  9293. countryid:
  9294. description: 国家
  9295. type: integer
  9296. createtime:
  9297. description: 创建时间
  9298. type: string
  9299. creatorid:
  9300. description: 创建人
  9301. type: integer
  9302. customername:
  9303. description: 客户名称(企业名称)
  9304. type: string
  9305. districtid:
  9306. description: 地区
  9307. type: integer
  9308. email:
  9309. description: 邮件(加密存储)
  9310. type: string
  9311. fax:
  9312. description: 传真(加密存储)
  9313. type: string
  9314. halfbodyphotourl:
  9315. description: 半身照地址
  9316. type: string
  9317. hasencrypt:
  9318. description: 数据是否已加密 - 0:未加密 1:已加密
  9319. type: integer
  9320. headurl:
  9321. description: 头像地址
  9322. type: string
  9323. legalcardbackphotourl:
  9324. description: 法人身份证背面照地址
  9325. type: string
  9326. legalcardfrontphotourl:
  9327. description: 法人身份证正面照地址
  9328. type: string
  9329. legalpersonname:
  9330. description: 法人姓名(企业)
  9331. type: string
  9332. mobile:
  9333. description: 手机号码(加密存储)
  9334. type: string
  9335. mobile2:
  9336. description: 手机号码[明文-尚志]
  9337. type: string
  9338. modifierid:
  9339. description: 修改人
  9340. type: integer
  9341. modifiertime:
  9342. description: 修改时间
  9343. type: string
  9344. needinvoice:
  9345. description: 是否需要发票 - 0:不需要 1:需要
  9346. type: integer
  9347. nickname:
  9348. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  9349. type: string
  9350. openmode:
  9351. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  9352. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  9353. type: integer
  9354. otherurl:
  9355. description: 其它图片地址[使用分号分隔]
  9356. type: string
  9357. postalcode:
  9358. description: 邮政编码
  9359. type: string
  9360. provinceid:
  9361. description: 省
  9362. type: integer
  9363. qq:
  9364. description: QQ(加密存储
  9365. type: string
  9366. remark:
  9367. description: 备注
  9368. type: string
  9369. sex:
  9370. description: '用户性别 0: 女 1: 男'
  9371. type: integer
  9372. signpdfurl:
  9373. description: 签约pdf文件
  9374. type: string
  9375. telphone:
  9376. description: 联系电话(加密存储)
  9377. type: string
  9378. userid:
  9379. description: 用户ID
  9380. type: integer
  9381. userinfotype:
  9382. description: 用户信息类型 - 1:个人 2:企业
  9383. type: integer
  9384. userstatus:
  9385. description: 用户状态 - 1:正常 2:注销
  9386. type: integer
  9387. usertype:
  9388. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  9389. type: integer
  9390. wechat:
  9391. description: 微信(加密存储)
  9392. type: string
  9393. wskhinfo:
  9394. description: 开户申请信息(JSON)
  9395. type: string
  9396. required:
  9397. - userid
  9398. type: object
  9399. models.WRSConverTDetail:
  9400. properties:
  9401. convertratio:
  9402. description: 套保系数
  9403. type: number
  9404. deliverygoodscode:
  9405. description: 现货商品代码
  9406. type: string
  9407. deliverygoodsid:
  9408. description: 现货品种ID
  9409. type: integer
  9410. deliverygoodsname:
  9411. description: 现货商品名称
  9412. type: string
  9413. enumdicname:
  9414. description: 单位名称
  9415. type: string
  9416. goodsunitid:
  9417. description: 套保品种单位id
  9418. type: integer
  9419. middlegoodscode:
  9420. description: 套保品种代码
  9421. type: string
  9422. middlegoodsid:
  9423. description: 套保品种ID
  9424. type: integer
  9425. middlegoodsname:
  9426. description: 套保品种名称
  9427. type: string
  9428. modifytime:
  9429. description: 修改时间
  9430. type: string
  9431. wrstandardid:
  9432. description: 品类ID
  9433. type: integer
  9434. type: object
  9435. models.WRStandardInfo:
  9436. properties:
  9437. areauserid:
  9438. description: 所属机构
  9439. type: integer
  9440. convertfactor:
  9441. description: 标仓系数
  9442. type: number
  9443. createtime:
  9444. description: 创建时间
  9445. type: string
  9446. creatorid:
  9447. description: 创建人
  9448. type: integer
  9449. deliverygoodsid:
  9450. description: 品种ID
  9451. type: integer
  9452. deliverygoodsname:
  9453. description: 交割商品名称
  9454. type: string
  9455. factoryitemjson:
  9456. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  9457. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  9458. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  9459. 逗号分隔'
  9460. type: string
  9461. isvalid:
  9462. description: 是否有效 - 0:无效 1:有效
  9463. type: integer
  9464. minivalue:
  9465. description: 最小变动值
  9466. type: integer
  9467. minivaluedp:
  9468. description: 最小变动值小数位
  9469. type: integer
  9470. realminivalue:
  9471. description: 实际最小变动值
  9472. type: integer
  9473. realminivaluedp:
  9474. description: 实际最小变动值小数位
  9475. type: integer
  9476. remark:
  9477. description: 备注
  9478. type: string
  9479. unitid:
  9480. description: 单位ID
  9481. type: integer
  9482. unitname:
  9483. description: 单位
  9484. type: string
  9485. updatetime:
  9486. description: 更新时间
  9487. type: string
  9488. updatorid:
  9489. description: 更新人
  9490. type: integer
  9491. wrsstatus:
  9492. description: 状态 - 作废 - 0:未激活 1:正常
  9493. type: integer
  9494. wrstandardcode:
  9495. description: 现货品类代码
  9496. type: string
  9497. wrstandardid:
  9498. description: 现货品类ID(SEQ_WRSTANDARD)
  9499. type: integer
  9500. wrstandardname:
  9501. description: 现货品类名称
  9502. type: string
  9503. required:
  9504. - wrstandardid
  9505. type: object
  9506. models.Warehouseinfo:
  9507. properties:
  9508. address:
  9509. description: 详细地址
  9510. type: string
  9511. areauserid:
  9512. description: 所属机构
  9513. type: integer
  9514. autoid:
  9515. description: 自增ID
  9516. type: integer
  9517. cityid:
  9518. description: 市
  9519. type: integer
  9520. contactname:
  9521. description: 联系人
  9522. type: string
  9523. contactnum:
  9524. description: 联系电话
  9525. type: string
  9526. countryid:
  9527. description: 国家
  9528. type: integer
  9529. createtime:
  9530. description: 创建时间
  9531. type: string
  9532. districtid:
  9533. description: 区
  9534. type: integer
  9535. hasvideo:
  9536. description: 是否有视频 - 0:无 1:有
  9537. type: integer
  9538. provinceid:
  9539. description: 省
  9540. type: integer
  9541. remark:
  9542. description: 审核备注
  9543. type: string
  9544. videourl:
  9545. description: 视频地址
  9546. type: string
  9547. warehousecode:
  9548. description: 仓库代码
  9549. type: string
  9550. warehousename:
  9551. description: 仓库名称
  9552. type: string
  9553. warehousestatus:
  9554. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  9555. type: integer
  9556. warehousetype:
  9557. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  9558. type: integer
  9559. required:
  9560. - autoid
  9561. - warehousecode
  9562. type: object
  9563. order.QueryHisTradeDetailRsp:
  9564. properties:
  9565. accountid:
  9566. description: 账户ID[报价币种]
  9567. type: integer
  9568. buildtype:
  9569. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  9570. type: integer
  9571. buyorsell:
  9572. description: 方向 - 0:买 1:卖
  9573. type: integer
  9574. charge:
  9575. description: 手续费
  9576. type: number
  9577. closecharge:
  9578. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9579. type: number
  9580. closeexchagechargevalue:
  9581. description: 平仓交易所手续费设置值
  9582. type: number
  9583. closefeealgorithm:
  9584. description: 平仓手续费收取方式 1:比率 2:固定
  9585. type: integer
  9586. closememberchargevalue:
  9587. description: 平仓会员手续费设置值
  9588. type: number
  9589. closepl:
  9590. description: 平仓盈亏
  9591. type: number
  9592. closepl2:
  9593. description: 平仓盈亏[逐笔]
  9594. type: number
  9595. closeqty:
  9596. description: 平仓数量(先建后平操作 需要记录)
  9597. type: integer
  9598. creditamount:
  9599. description: 授信金额
  9600. type: number
  9601. gcaccountid:
  9602. description: 账户ID[合约币种]
  9603. type: integer
  9604. goodscode:
  9605. description: 商品代码
  9606. type: string
  9607. goodsid:
  9608. description: 商品ID
  9609. type: integer
  9610. goodsname:
  9611. description: 商品名称
  9612. type: string
  9613. histradedate:
  9614. description: 历史交易日
  9615. type: string
  9616. intclosepl:
  9617. description: 整型盈亏(用于交易结算试算平衡-收益权)
  9618. type: integer
  9619. isconfirmexercise:
  9620. description: 是否确认行权- 0:否 1:是
  9621. type: integer
  9622. ismain:
  9623. description: 是否主单 - 0:不是 1:是
  9624. type: integer
  9625. ispreexercise:
  9626. description: 是否预申报- 0:否 1:是
  9627. type: integer
  9628. isreckoned:
  9629. description: 是否结算 - 0:未结算 1:已结算
  9630. type: integer
  9631. isvaliddata:
  9632. description: 是否有效 - 0:无效 1:有效
  9633. type: integer
  9634. listingselecttype:
  9635. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9636. type: integer
  9637. marketid:
  9638. description: 市场ID
  9639. type: integer
  9640. marketname:
  9641. description: 市场名称
  9642. type: string
  9643. matchaccountid:
  9644. description: 对手账号id
  9645. type: integer
  9646. memberuserid:
  9647. description: 会员id 个人投资者 需要填写
  9648. type: integer
  9649. opencharge:
  9650. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9651. type: number
  9652. openexchagechargevalue:
  9653. description: 建仓交易所手续费设置值
  9654. type: number
  9655. openfeealgorithm:
  9656. description: 建仓手续费收取方式 1:比率 2:固定
  9657. type: integer
  9658. openmemberchargevalue:
  9659. description: 建仓会员手续费设置值
  9660. type: number
  9661. openqty:
  9662. description: 开仓数量(先建后平操作 需要记录)
  9663. type: integer
  9664. optiontype:
  9665. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  9666. type: integer
  9667. orderid:
  9668. description: 委托单号
  9669. type: string
  9670. performanceplanid:
  9671. description: 履约计划ID[期权]
  9672. type: integer
  9673. performancestatus:
  9674. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  9675. type: integer
  9676. preexerciseprice:
  9677. description: 预申报价格
  9678. type: number
  9679. premium:
  9680. description: 权利金 - [持仓单的权利金]
  9681. type: number
  9682. relatedouttradeid:
  9683. description: 关联外部成交单ID
  9684. type: integer
  9685. status:
  9686. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  9687. type: integer
  9688. tradeamount:
  9689. description: 成交金额[账户币种,用于所有权]
  9690. type: number
  9691. tradedate:
  9692. description: 交易日(yyyyMMdd)
  9693. type: string
  9694. tradeid:
  9695. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9696. type: string
  9697. trademode:
  9698. description: 交易模式
  9699. type: integer
  9700. tradeprice:
  9701. description: 成交价格
  9702. type: number
  9703. tradeproperty:
  9704. description: 交易属性
  9705. type: integer
  9706. tradeqty:
  9707. description: 成交数量
  9708. type: integer
  9709. tradetime:
  9710. description: 成交时间
  9711. type: string
  9712. tradetype:
  9713. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  9714. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  9715. type: integer
  9716. required:
  9717. - accountid
  9718. - buyorsell
  9719. - goodsid
  9720. - histradedate
  9721. - marketid
  9722. - memberuserid
  9723. - orderid
  9724. - tradeamount
  9725. - tradedate
  9726. - tradeid
  9727. - tradeprice
  9728. - tradeqty
  9729. - tradetime
  9730. type: object
  9731. order.QueryHisTradeOrderDetailRsp:
  9732. properties:
  9733. accountid:
  9734. description: 账户ID[报价币种]
  9735. type: integer
  9736. buildtype:
  9737. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  9738. type: integer
  9739. buyorsell:
  9740. description: 买卖 - 0:买 1:卖
  9741. type: integer
  9742. cancelorderid:
  9743. description: 撤单单号(撤单时填写)
  9744. type: string
  9745. cancelqty:
  9746. description: 撤单数量
  9747. type: integer
  9748. clientordertime:
  9749. description: 客户端委托时间
  9750. type: string
  9751. clientticket:
  9752. description: 客户端流水号
  9753. type: string
  9754. clienttype:
  9755. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  9756. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9757. type: integer
  9758. closeexchagechargevalue:
  9759. description: 平仓交易所手续费设置值
  9760. type: number
  9761. closefeealgorithm:
  9762. description: 平仓手续费收取方式 1:比率 2:固定
  9763. type: integer
  9764. closefreezecharge:
  9765. description: 平仓冻结手续费(先建后平操作,需要记录)
  9766. type: number
  9767. closememberchargevalue:
  9768. description: 平仓会员手续费设置值
  9769. type: number
  9770. closeqty:
  9771. description: 平仓数量(先建后平操作 需要记录)
  9772. type: integer
  9773. closetradeqty:
  9774. description: 平仓成交数量(先建后平操作,需要记录)
  9775. type: integer
  9776. closeunfreezecharge:
  9777. description: 平仓解冻手续费(先建后平操作,需要记录)
  9778. type: number
  9779. delistingtype:
  9780. description: 摘牌类型 - 1:价格最优 2:点选成交
  9781. type: integer
  9782. freezecharge:
  9783. description: 冻结手续费
  9784. type: number
  9785. freezemargin:
  9786. description: 冻结保证金(冻结交易金额)
  9787. type: number
  9788. gcaccountid:
  9789. description: 账户ID[合约币种]
  9790. type: integer
  9791. goodscode:
  9792. description: 商品代码
  9793. type: string
  9794. goodsid:
  9795. description: 商品ID
  9796. type: integer
  9797. goodsname:
  9798. description: 商品名称
  9799. type: string
  9800. histradedate:
  9801. description: 历史交易日
  9802. type: string
  9803. isconfirmexercise:
  9804. description: 是否确认行权- 0:否 1:是
  9805. type: integer
  9806. ispreexercise:
  9807. description: 是否预申报- 0:否 1:是
  9808. type: integer
  9809. isvaliddata:
  9810. description: 是否有效 - 0:无效 1:有效
  9811. type: integer
  9812. listingselecttype:
  9813. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9814. type: integer
  9815. marginalgorithm:
  9816. description: 保证金收取方式 1:比率 2:固定
  9817. type: integer
  9818. marginvalue:
  9819. description: 即市保证金设置值
  9820. type: number
  9821. marketid:
  9822. description: 市场ID
  9823. type: integer
  9824. marketmaxsub:
  9825. description: 市价最大偏移范围
  9826. type: number
  9827. marketname:
  9828. description: 市场名称
  9829. type: string
  9830. memberuserid:
  9831. description: 所属会员UserID
  9832. type: integer
  9833. openexchagechargevalue:
  9834. description: 建仓交易所手续费设置值
  9835. type: number
  9836. openfeealgorithm:
  9837. description: 建仓手续费收取方式 1:比率 2:固定
  9838. type: integer
  9839. openfreezecharge:
  9840. description: 开仓冻结手续费(先建后平操作,需要记录)
  9841. type: number
  9842. openmemberchargevalue:
  9843. description: 建仓会员手续费设置值
  9844. type: number
  9845. openqty:
  9846. description: 开仓数量(先建后平操作,需要记录)
  9847. type: integer
  9848. opentradeqty:
  9849. description: 开仓成交数量(先建后平操作,需要记录)
  9850. type: integer
  9851. openunfreezecharge:
  9852. description: 开仓解冻手续费(先建后平操作,需要记录)
  9853. type: number
  9854. operatetype:
  9855. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  9856. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  9857. 15:管理端协议转让
  9858. type: integer
  9859. operatorid:
  9860. description: 登录账号(LoginID)
  9861. type: integer
  9862. optiontype:
  9863. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  9864. type: integer
  9865. orderid:
  9866. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9867. type: string
  9868. orderprice:
  9869. description: 委托价格
  9870. type: number
  9871. orderqty:
  9872. description: 委托数量
  9873. type: integer
  9874. ordersrc:
  9875. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  9876. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  9877. type: integer
  9878. orderstatus:
  9879. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9880. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9881. 16:成交失败违约(荷兰式竞拍专用)
  9882. type: integer
  9883. ordertime:
  9884. description: 委托时间
  9885. type: string
  9886. preexerciseprice:
  9887. description: 预申报价格
  9888. type: number
  9889. premium:
  9890. description: 权利金
  9891. type: number
  9892. preorderid:
  9893. description: 关联预埋单号(止盈止损单时填写)
  9894. type: string
  9895. pricemode:
  9896. description: '取价方式 - 1:市价 2: 限价'
  9897. type: integer
  9898. quoteid:
  9899. description: 报价单ID
  9900. type: integer
  9901. relatedid:
  9902. description: 关联单号(交割单)
  9903. type: string
  9904. retcode:
  9905. description: 错误代码
  9906. type: integer
  9907. sessionid:
  9908. description: 会话ID
  9909. type: integer
  9910. tradedate:
  9911. description: 交易日(yyyyMMdd)
  9912. type: string
  9913. trademode:
  9914. description: 交易模式
  9915. type: integer
  9916. tradeproperty:
  9917. description: 交易属性
  9918. type: integer
  9919. tradeqty:
  9920. description: 成交数量
  9921. type: integer
  9922. unfreezecharge:
  9923. description: 解冻手续费
  9924. type: number
  9925. unfreezemargin:
  9926. description: 解冻保证金
  9927. type: number
  9928. updatetime:
  9929. description: 更新时间
  9930. type: string
  9931. uuid:
  9932. description: 发起端唯一id
  9933. type: string
  9934. validtime:
  9935. description: 有效期限
  9936. type: string
  9937. validtype:
  9938. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  9939. type: integer
  9940. volumetype:
  9941. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  9942. type: integer
  9943. required:
  9944. - accountid
  9945. - buildtype
  9946. - buyorsell
  9947. - goodsid
  9948. - histradedate
  9949. - marketid
  9950. - memberuserid
  9951. - operatetype
  9952. - orderid
  9953. - orderqty
  9954. - ordertime
  9955. - pricemode
  9956. - tradedate
  9957. - validtype
  9958. type: object
  9959. order.QueryTradeDetailRsp:
  9960. properties:
  9961. accountid:
  9962. description: 账户ID[报价币种]
  9963. type: integer
  9964. buildtype:
  9965. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  9966. type: integer
  9967. buyorsell:
  9968. description: 方向 - 0:买 1:卖
  9969. type: integer
  9970. charge:
  9971. description: 手续费
  9972. type: number
  9973. closecharge:
  9974. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9975. type: number
  9976. closeexchagechargevalue:
  9977. description: 平仓交易所手续费设置值
  9978. type: number
  9979. closefeealgorithm:
  9980. description: 平仓手续费收取方式 1:比率 2:固定
  9981. type: integer
  9982. closememberchargevalue:
  9983. description: 平仓会员手续费设置值
  9984. type: number
  9985. closepl:
  9986. description: 平仓盈亏
  9987. type: number
  9988. closepl2:
  9989. description: 平仓盈亏[逐笔]
  9990. type: number
  9991. closeqty:
  9992. description: 平仓数量(先建后平操作 需要记录)
  9993. type: integer
  9994. creditamount:
  9995. description: 授信金额
  9996. type: number
  9997. gcaccountid:
  9998. description: 账户ID[合约币种]
  9999. type: integer
  10000. goodscode:
  10001. description: 商品代码
  10002. type: string
  10003. goodsid:
  10004. description: 商品ID
  10005. type: integer
  10006. goodsname:
  10007. description: 商品名称
  10008. type: string
  10009. intclosepl:
  10010. description: 整型盈亏(用于交易结算试算平衡-收益权)
  10011. type: integer
  10012. isconfirmexercise:
  10013. description: 是否确认行权- 0:否 1:是
  10014. type: integer
  10015. ismain:
  10016. description: 是否主单 - 0:不是 1:是
  10017. type: integer
  10018. ispreexercise:
  10019. description: 是否预申报- 0:否 1:是
  10020. type: integer
  10021. isreckoned:
  10022. description: 是否结算 - 0:未结算 1:已结算
  10023. type: integer
  10024. listingselecttype:
  10025. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10026. type: integer
  10027. marketid:
  10028. description: 市场ID
  10029. type: integer
  10030. marketname:
  10031. description: 市场名称
  10032. type: string
  10033. matchaccountid:
  10034. description: 对手账号id
  10035. type: integer
  10036. memberuserid:
  10037. description: 会员id 个人投资者 需要填写
  10038. type: integer
  10039. opencharge:
  10040. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10041. type: number
  10042. openexchagechargevalue:
  10043. description: 建仓交易所手续费设置值
  10044. type: number
  10045. openfeealgorithm:
  10046. description: 建仓手续费收取方式 1:比率 2:固定
  10047. type: integer
  10048. openmemberchargevalue:
  10049. description: 建仓会员手续费设置值
  10050. type: number
  10051. openqty:
  10052. description: 开仓数量(先建后平操作 需要记录)
  10053. type: integer
  10054. optiontype:
  10055. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10056. type: integer
  10057. orderid:
  10058. description: 委托单号
  10059. type: string
  10060. performanceplanid:
  10061. description: 履约计划ID[期权]
  10062. type: integer
  10063. performancestatus:
  10064. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  10065. type: integer
  10066. preexerciseprice:
  10067. description: 预申报价格
  10068. type: number
  10069. premium:
  10070. description: 权利金 - [持仓单的权利金]
  10071. type: number
  10072. relatedouttradeid:
  10073. description: 关联外部成交单ID
  10074. type: integer
  10075. status:
  10076. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  10077. type: integer
  10078. tradeamount:
  10079. description: 成交金额[账户币种,用于所有权]
  10080. type: number
  10081. tradedate:
  10082. description: 交易日(yyyyMMdd)
  10083. type: string
  10084. tradeid:
  10085. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10086. type: string
  10087. trademode:
  10088. description: 交易模式
  10089. type: integer
  10090. tradeprice:
  10091. description: 成交价格
  10092. type: number
  10093. tradeproperty:
  10094. description: 交易属性
  10095. type: integer
  10096. tradeqty:
  10097. description: 成交数量
  10098. type: integer
  10099. tradetime:
  10100. description: 成交时间
  10101. type: string
  10102. tradetype:
  10103. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  10104. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  10105. type: integer
  10106. required:
  10107. - accountid
  10108. - buyorsell
  10109. - goodsid
  10110. - marketid
  10111. - memberuserid
  10112. - orderid
  10113. - tradeamount
  10114. - tradedate
  10115. - tradeid
  10116. - tradeprice
  10117. - tradeqty
  10118. - tradetime
  10119. type: object
  10120. order.QueryTradeOrderDetailRsp:
  10121. properties:
  10122. accountid:
  10123. description: 账户ID[报价币种]
  10124. type: integer
  10125. buildtype:
  10126. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  10127. type: integer
  10128. buyorsell:
  10129. description: 买卖 - 0:买 1:卖
  10130. type: integer
  10131. cancelorderid:
  10132. description: 撤单单号(撤单时填写)
  10133. type: string
  10134. cancelqty:
  10135. description: 撤单数量
  10136. type: integer
  10137. clienttype:
  10138. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  10139. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10140. type: integer
  10141. closefreezecharge:
  10142. description: 平仓冻结手续费(先建后平操作,需要记录)
  10143. type: number
  10144. closeqty:
  10145. description: 平仓数量(先建后平操作 需要记录)
  10146. type: integer
  10147. closetradeqty:
  10148. description: 平仓成交数量(先建后平操作,需要记录)
  10149. type: integer
  10150. closeunfreezecharge:
  10151. description: 平仓解冻手续费(先建后平操作,需要记录)
  10152. type: number
  10153. delistingtype:
  10154. description: 摘牌类型 - 1:价格最优 2:点选成交
  10155. type: integer
  10156. enableqty:
  10157. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  10158. type: integer
  10159. freezecharge:
  10160. description: 冻结手续费
  10161. type: number
  10162. freezemargin:
  10163. description: 冻结保证金(冻结交易金额)
  10164. type: number
  10165. goodscode:
  10166. description: 商品代码
  10167. type: string
  10168. goodsid:
  10169. description: 商品ID
  10170. type: integer
  10171. goodsname:
  10172. description: 商品名称
  10173. type: string
  10174. listingselecttype:
  10175. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10176. type: integer
  10177. marketid:
  10178. description: 市场ID
  10179. type: integer
  10180. marketname:
  10181. description: 市场名称
  10182. type: string
  10183. openfreezecharge:
  10184. description: 开仓冻结手续费(先建后平操作,需要记录)
  10185. type: number
  10186. openqty:
  10187. description: 开仓数量(先建后平操作,需要记录)
  10188. type: integer
  10189. opentradeqty:
  10190. description: 开仓成交数量(先建后平操作,需要记录)
  10191. type: integer
  10192. openunfreezecharge:
  10193. description: 开仓解冻手续费(先建后平操作,需要记录)
  10194. type: number
  10195. operatetype:
  10196. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  10197. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  10198. 15:管理端协议转让
  10199. type: integer
  10200. operatorid:
  10201. description: 登录账号(LoginID)
  10202. type: integer
  10203. orderid:
  10204. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10205. type: string
  10206. orderprice:
  10207. description: 委托价格
  10208. type: number
  10209. orderqty:
  10210. description: 委托数量
  10211. type: integer
  10212. ordersrc:
  10213. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  10214. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  10215. type: integer
  10216. orderstatus:
  10217. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10218. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10219. 16:成交失败违约(荷兰式竞拍专用)
  10220. type: integer
  10221. ordertime:
  10222. description: 委托时间
  10223. type: string
  10224. preorderid:
  10225. description: 关联预埋单号(止盈止损单时填写)
  10226. type: string
  10227. pricemode:
  10228. description: '取价方式 - 1:市价 2: 限价'
  10229. type: integer
  10230. relatedid:
  10231. description: 关联单号(交割单)
  10232. type: string
  10233. tradedate:
  10234. description: 交易日(yyyyMMdd)
  10235. type: string
  10236. trademode:
  10237. description: 交易模式
  10238. type: integer
  10239. tradeqty:
  10240. description: 成交数量
  10241. type: integer
  10242. unfreezecharge:
  10243. description: 解冻手续费
  10244. type: number
  10245. unfreezemargin:
  10246. description: 解冻保证金
  10247. type: number
  10248. validtime:
  10249. description: 有效期限
  10250. type: string
  10251. validtype:
  10252. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  10253. type: integer
  10254. volumetype:
  10255. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  10256. type: integer
  10257. required:
  10258. - accountid
  10259. - buildtype
  10260. - buyorsell
  10261. - goodsid
  10262. - marketid
  10263. - operatetype
  10264. - orderqty
  10265. - ordertime
  10266. - pricemode
  10267. - tradedate
  10268. - validtype
  10269. type: object
  10270. order.QueryTradePositionRsp:
  10271. properties:
  10272. accountid:
  10273. description: 资金账户
  10274. type: integer
  10275. agreeunit:
  10276. description: 合约单位
  10277. type: number
  10278. averageprice:
  10279. description: 持仓均价
  10280. type: number
  10281. buyorsell:
  10282. description: 方向 - 0:买 1:卖
  10283. type: integer
  10284. closetotalqty:
  10285. description: 平仓总数量
  10286. type: integer
  10287. curholderamount:
  10288. description: 当前持仓总金额[商品币种]
  10289. type: number
  10290. curpositionqty:
  10291. description: 当前持仓总数量
  10292. type: integer
  10293. currencyid:
  10294. description: 报价货币ID
  10295. type: integer
  10296. curtdposition:
  10297. description: 期末今日头寸
  10298. type: integer
  10299. decimalplace:
  10300. description: 报价小数位
  10301. type: integer
  10302. enableqty:
  10303. description: 可用量
  10304. type: integer
  10305. fretdposition:
  10306. description: 冻结今日头寸
  10307. type: integer
  10308. frozenqty:
  10309. description: 持仓冻结数量
  10310. type: integer
  10311. goodscode:
  10312. description: 商品代码
  10313. type: string
  10314. goodsid:
  10315. description: 商品Id
  10316. type: integer
  10317. goodsname:
  10318. description: 商品名称
  10319. type: string
  10320. goodunit:
  10321. description: 报价单位
  10322. type: string
  10323. goodunitid:
  10324. description: 报价单位ID
  10325. type: integer
  10326. holderamount:
  10327. description: 期初持仓总金额[商品币种]
  10328. type: number
  10329. marketid:
  10330. description: 所属市场ID
  10331. type: integer
  10332. openreqqty:
  10333. description: 开仓申请数量(用于比较最大持仓数量)
  10334. type: integer
  10335. opentotalqty:
  10336. description: 开仓总数量
  10337. type: integer
  10338. otherfrozenqty:
  10339. description: 持仓其他冻结数量(交割冻结)
  10340. type: integer
  10341. positionqty:
  10342. description: 期初持仓数量
  10343. type: integer
  10344. tnqty:
  10345. description: T+N冻结总量
  10346. type: integer
  10347. tnusedqty:
  10348. description: T+N使用量(可以使用T+N的冻结数量)
  10349. type: integer
  10350. trademode:
  10351. description: 交易模式
  10352. type: integer
  10353. usedmargin:
  10354. description: 占用保证金[商品币种]
  10355. type: number
  10356. required:
  10357. - goodsid
  10358. type: object
  10359. quote.HistoryData:
  10360. properties:
  10361. c:
  10362. description: 收盘价
  10363. type: number
  10364. f:
  10365. description: 是否补充数据
  10366. type: boolean
  10367. h:
  10368. description: 最高价
  10369. type: number
  10370. hv:
  10371. description: 持仓量
  10372. type: integer
  10373. l:
  10374. description: 最低价
  10375. type: number
  10376. o:
  10377. description: 开盘价
  10378. type: number
  10379. s:
  10380. description: 结算价,日线周期(包括)以上才有
  10381. type: number
  10382. ts:
  10383. description: 时间
  10384. type: string
  10385. tt:
  10386. description: 总金额
  10387. type: number
  10388. tv:
  10389. description: 总量
  10390. type: integer
  10391. type: object
  10392. quote.HistoryTikData:
  10393. properties:
  10394. AV:
  10395. description: 卖量
  10396. type: integer
  10397. Ask:
  10398. description: 卖价
  10399. type: number
  10400. BV:
  10401. description: 买量
  10402. type: integer
  10403. Bid:
  10404. description: 买价
  10405. type: number
  10406. HI:
  10407. description: 单笔持仓
  10408. type: integer
  10409. HV:
  10410. description: 持仓量
  10411. type: integer
  10412. PE:
  10413. description: 现价
  10414. type: number
  10415. TDR:
  10416. description: 交易方向,0:买 1:卖
  10417. type: integer
  10418. TK:
  10419. description: 交易类型
  10420. type: integer
  10421. TS:
  10422. description: 行情时间文本
  10423. type: string
  10424. TT:
  10425. description: 现金额
  10426. type: number
  10427. Vol:
  10428. description: 现量
  10429. type: integer
  10430. type: object
  10431. quote.QueryQuoteDayRsp:
  10432. properties:
  10433. ask:
  10434. description: 卖1
  10435. type: number
  10436. ask2:
  10437. description: 卖2
  10438. type: number
  10439. ask3:
  10440. description: 卖3
  10441. type: number
  10442. ask4:
  10443. description: 卖4
  10444. type: number
  10445. ask5:
  10446. description: 卖5
  10447. type: number
  10448. ask6:
  10449. description: 卖6
  10450. type: number
  10451. ask7:
  10452. description: 卖7
  10453. type: number
  10454. ask8:
  10455. description: 卖8
  10456. type: number
  10457. ask9:
  10458. description: 卖9
  10459. type: number
  10460. ask10:
  10461. description: 卖10
  10462. type: number
  10463. askorderid:
  10464. description: 卖单号1
  10465. type: integer
  10466. askorderid2:
  10467. description: 卖单号2
  10468. type: integer
  10469. askorderid3:
  10470. description: 卖单号3
  10471. type: integer
  10472. askorderid4:
  10473. description: 卖单号4
  10474. type: integer
  10475. askorderid5:
  10476. description: 卖单号5
  10477. type: integer
  10478. askordervolume:
  10479. description: 卖单量1
  10480. type: integer
  10481. askordervolume2:
  10482. description: 卖单量2
  10483. type: integer
  10484. askordervolume3:
  10485. description: 卖单量3
  10486. type: integer
  10487. askordervolume4:
  10488. description: 卖单量4
  10489. type: integer
  10490. askordervolume5:
  10491. description: 卖单量5
  10492. type: integer
  10493. askordervolume6:
  10494. description: 卖单量6
  10495. type: integer
  10496. askordervolume7:
  10497. description: 卖单量7
  10498. type: integer
  10499. askordervolume8:
  10500. description: 卖单量8
  10501. type: integer
  10502. askordervolume9:
  10503. description: 卖单量9
  10504. type: integer
  10505. askordervolume10:
  10506. description: 卖单量10
  10507. type: integer
  10508. askqueueinfo:
  10509. description: 大利市卖港股用
  10510. type: string
  10511. askvolume:
  10512. description: 卖量1
  10513. type: integer
  10514. askvolume2:
  10515. description: 卖量2
  10516. type: integer
  10517. askvolume3:
  10518. description: 卖量3
  10519. type: integer
  10520. askvolume4:
  10521. description: 卖量4
  10522. type: integer
  10523. askvolume5:
  10524. description: 卖量5
  10525. type: integer
  10526. askvolume6:
  10527. description: 卖量6
  10528. type: integer
  10529. askvolume7:
  10530. description: 卖量7
  10531. type: integer
  10532. askvolume8:
  10533. description: 卖量8
  10534. type: integer
  10535. askvolume9:
  10536. description: 卖量9
  10537. type: integer
  10538. askvolume10:
  10539. description: 卖量10
  10540. type: integer
  10541. averageprice:
  10542. description: 均价
  10543. type: number
  10544. bid:
  10545. description: 买1
  10546. type: number
  10547. bid2:
  10548. description: 买2
  10549. type: number
  10550. bid3:
  10551. description: 买3
  10552. type: number
  10553. bid4:
  10554. description: 买4
  10555. type: number
  10556. bid5:
  10557. description: 买5
  10558. type: number
  10559. bid6:
  10560. description: 买6
  10561. type: number
  10562. bid7:
  10563. description: 买7
  10564. type: number
  10565. bid8:
  10566. description: 买8
  10567. type: number
  10568. bid9:
  10569. description: 买9
  10570. type: number
  10571. bid10:
  10572. description: 买10
  10573. type: number
  10574. bidorderid:
  10575. description: 买单号1
  10576. type: integer
  10577. bidorderid2:
  10578. description: 买单号2
  10579. type: integer
  10580. bidorderid3:
  10581. description: 买单号3
  10582. type: integer
  10583. bidorderid4:
  10584. description: 买单号4
  10585. type: integer
  10586. bidorderid5:
  10587. description: 买单号5
  10588. type: integer
  10589. bidordervolume:
  10590. description: 买单量1
  10591. type: integer
  10592. bidordervolume2:
  10593. description: 买单量2
  10594. type: integer
  10595. bidordervolume3:
  10596. description: 买单量3
  10597. type: integer
  10598. bidordervolume4:
  10599. description: 买单量4
  10600. type: integer
  10601. bidordervolume5:
  10602. description: 买单量5
  10603. type: integer
  10604. bidordervolume6:
  10605. description: 买单量6
  10606. type: integer
  10607. bidordervolume7:
  10608. description: 买单量7
  10609. type: integer
  10610. bidordervolume8:
  10611. description: 买单量8
  10612. type: integer
  10613. bidordervolume9:
  10614. description: 买单量9
  10615. type: integer
  10616. bidordervolume10:
  10617. description: 买单量10
  10618. type: integer
  10619. bidqueueinfo:
  10620. description: 大利市买港股用
  10621. type: string
  10622. bidvolume:
  10623. description: 买量1
  10624. type: integer
  10625. bidvolume2:
  10626. description: 买量2
  10627. type: integer
  10628. bidvolume3:
  10629. description: 买量3
  10630. type: integer
  10631. bidvolume4:
  10632. description: 买量4
  10633. type: integer
  10634. bidvolume5:
  10635. description: 买量5
  10636. type: integer
  10637. bidvolume6:
  10638. description: 买量6
  10639. type: integer
  10640. bidvolume7:
  10641. description: 买量7
  10642. type: integer
  10643. bidvolume8:
  10644. description: 买量8
  10645. type: integer
  10646. bidvolume9:
  10647. description: 买量9
  10648. type: integer
  10649. bidvolume10:
  10650. description: 买量10
  10651. type: integer
  10652. calloptionpremiums:
  10653. description: 认购期权1
  10654. type: integer
  10655. calloptionpremiums2:
  10656. description: 认购期权2
  10657. type: integer
  10658. calloptionpremiums3:
  10659. description: 认购期权3
  10660. type: integer
  10661. calloptionpremiums4:
  10662. description: 认购期权4
  10663. type: integer
  10664. calloptionpremiums5:
  10665. description: 认购期权5
  10666. type: integer
  10667. cleartime:
  10668. description: 清盘时间
  10669. type: integer
  10670. exchangecode:
  10671. description: 交易所代码
  10672. type: integer
  10673. exchangedate:
  10674. description: 交易日
  10675. type: integer
  10676. goodscode:
  10677. description: 商品代码
  10678. type: string
  10679. grepmarketprice:
  10680. description: 暗盘价 港股专用
  10681. type: number
  10682. highest:
  10683. description: 最高价
  10684. type: number
  10685. holdincrement:
  10686. description: 单笔持仓
  10687. type: integer
  10688. holdvolume:
  10689. description: 持仓
  10690. type: integer
  10691. iep:
  10692. description: 平衡价 港股专用
  10693. type: number
  10694. iev:
  10695. description: 平衡量 港股专用
  10696. type: number
  10697. inventory:
  10698. description: 库存
  10699. type: integer
  10700. iscleared:
  10701. description: 是否清盘标志
  10702. type: integer
  10703. issettled:
  10704. description: 是否结算标志
  10705. type: integer
  10706. last:
  10707. description: 最新价
  10708. type: number
  10709. lastlot:
  10710. description: 最新成交手数
  10711. type: integer
  10712. lasttime:
  10713. description: 行情时间(只有现价变化行情时间才变化)
  10714. type: string
  10715. lastturnover:
  10716. description: 最新成交金额
  10717. type: number
  10718. lastvolume:
  10719. description: 最新成交量
  10720. type: integer
  10721. limitdown:
  10722. description: 跌停价
  10723. type: number
  10724. limitup:
  10725. description: 涨停价
  10726. type: number
  10727. lowest:
  10728. description: 最低价
  10729. type: number
  10730. nontotalholdervolume:
  10731. description: 非交易持仓量
  10732. type: integer
  10733. nontotallot:
  10734. description: 非交易总手数
  10735. type: integer
  10736. nontotalturnover:
  10737. description: 非交易总金额
  10738. type: integer
  10739. nontotalvolume:
  10740. description: 非交易总量
  10741. type: integer
  10742. opened:
  10743. description: 开盘价
  10744. type: number
  10745. opentime:
  10746. description: 开盘时间
  10747. type: string
  10748. orderid:
  10749. description: 序号
  10750. type: integer
  10751. preclose:
  10752. description: 昨收
  10753. type: number
  10754. preholdvolume:
  10755. description: 昨持仓
  10756. type: integer
  10757. presettle:
  10758. description: 昨结价
  10759. type: number
  10760. publictradetype:
  10761. description: 公共交易标志类型 港股专用
  10762. type: string
  10763. putoptionpremiums:
  10764. description: 认沽期权1
  10765. type: integer
  10766. putoptionpremiums2:
  10767. description: 认沽期权2
  10768. type: integer
  10769. putoptionpremiums3:
  10770. description: 认沽期权3
  10771. type: integer
  10772. putoptionpremiums4:
  10773. description: 认沽期权4
  10774. type: integer
  10775. putoptionpremiums5:
  10776. description: 认沽期权5
  10777. type: integer
  10778. settle:
  10779. description: 结算价
  10780. type: number
  10781. strikeprice:
  10782. description: 发行价
  10783. type: number
  10784. totalaskvolume:
  10785. description: 内盘
  10786. type: integer
  10787. totalbidvolume:
  10788. description: 外盘
  10789. type: integer
  10790. totallot:
  10791. description: 总手数
  10792. type: integer
  10793. totalturnover:
  10794. description: 总金额
  10795. type: number
  10796. totalvolume:
  10797. description: 总量
  10798. type: integer
  10799. utclasttime:
  10800. description: utc的行情时间
  10801. type: string
  10802. type: object
  10803. quote.QueryTSDataRsp:
  10804. properties:
  10805. Count:
  10806. description: 交易日应有数据个数
  10807. type: integer
  10808. decimalPlace:
  10809. description: 小数位
  10810. type: integer
  10811. endTime:
  10812. description: 结束时间
  10813. type: string
  10814. goodsCode:
  10815. description: 商品代码
  10816. type: string
  10817. historyDatas:
  10818. description: 历史数据
  10819. items:
  10820. $ref: '#/definitions/quote.HistoryData'
  10821. type: array
  10822. outGoodsCode:
  10823. description: 外部商品代码
  10824. type: string
  10825. preSettle:
  10826. description: 昨结价
  10827. type: number
  10828. runSteps:
  10829. description: 交易日开休市计划
  10830. items:
  10831. $ref: '#/definitions/quote.TSDataRunStep'
  10832. type: array
  10833. startTime:
  10834. description: 开始时间
  10835. type: string
  10836. tradeDate:
  10837. description: 交易日
  10838. type: string
  10839. type: object
  10840. quote.TSDataRunStep:
  10841. properties:
  10842. end:
  10843. description: 真实结束时间
  10844. type: string
  10845. endflag:
  10846. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  10847. type: integer
  10848. endtime:
  10849. description: 结束时间(HH:mm)
  10850. type: string
  10851. endweekday:
  10852. description: 结束周几
  10853. type: integer
  10854. groupid:
  10855. description: 分组ID
  10856. type: integer
  10857. runstep:
  10858. description: 运行阶段 - 2:连续交易
  10859. type: integer
  10860. sectionid:
  10861. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  10862. 结束时间=结算时间 结束周几=结算周几
  10863. type: integer
  10864. start:
  10865. description: 真实开始时间
  10866. type: string
  10867. startflag:
  10868. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  10869. type: integer
  10870. starttime:
  10871. description: 起始时间(HH:mm)
  10872. type: string
  10873. startweekday:
  10874. description: 起始周几
  10875. type: integer
  10876. tradeweekday:
  10877. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  10878. type: integer
  10879. type: object
  10880. szdz.QueryConvertLogRsp:
  10881. properties:
  10882. accountid:
  10883. description: 资金账户ID
  10884. type: integer
  10885. clientticket:
  10886. description: 客户端流水号
  10887. type: string
  10888. converttype:
  10889. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  10890. type: integer
  10891. createtime:
  10892. description: 记账时间
  10893. type: string
  10894. daymaxvalue:
  10895. description: 配置当日最大转入限制
  10896. type: number
  10897. daymaxvalue2:
  10898. description: 配置当日最大转入限制(转入)
  10899. type: number
  10900. goodscode:
  10901. description: 商品代码
  10902. type: string
  10903. goodsname:
  10904. description: 商品名称
  10905. type: string
  10906. handlestatus:
  10907. description: 处理状态
  10908. type: integer
  10909. innergoodsid:
  10910. description: 内部商品ID
  10911. type: integer
  10912. inratio:
  10913. description: 配置转入比值
  10914. type: integer
  10915. invalue:
  10916. description: 目标值
  10917. type: number
  10918. logid:
  10919. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10920. type: integer
  10921. mobile:
  10922. description: 手机号码(加密存储)
  10923. type: string
  10924. outergoodscode:
  10925. description: 外部商品代码[JD\PD]
  10926. type: string
  10927. outratio:
  10928. description: 配置转出比值
  10929. type: integer
  10930. outvalue:
  10931. description: 源值
  10932. type: number
  10933. pddecimalplace:
  10934. description: PD小数位
  10935. type: integer
  10936. qty:
  10937. description: 数量
  10938. type: string
  10939. remark:
  10940. description: 备注
  10941. type: string
  10942. sessionid:
  10943. description: 会话ID
  10944. type: integer
  10945. timemaxvalue:
  10946. description: 配置单次最大转入限制
  10947. type: number
  10948. timemaxvalue2:
  10949. description: 配置单次最大转入限制(转入)
  10950. type: number
  10951. timeminvalue:
  10952. description: 配置单次最小数量限制
  10953. type: number
  10954. timeminvalue2:
  10955. description: 配置单次最小数量限制(转入)
  10956. type: number
  10957. tradedate:
  10958. description: 交易日(yyyyMMdd)
  10959. type: string
  10960. userid:
  10961. description: 用户ID
  10962. type: integer
  10963. required:
  10964. - logid
  10965. type: object
  10966. szdz.QueryGoodsPickupRsp:
  10967. properties:
  10968. accountid:
  10969. description: 账户ID
  10970. type: integer
  10971. address:
  10972. description: 提货人详细地址
  10973. type: string
  10974. auditer:
  10975. description: 审核人
  10976. type: integer
  10977. audittime:
  10978. description: 审核时间
  10979. type: string
  10980. cardnum:
  10981. description: 提货人证件号码
  10982. type: string
  10983. cardtypeid:
  10984. description: 提货人证件类型
  10985. type: integer
  10986. checkremark:
  10987. description: 审核备注
  10988. type: string
  10989. goodscode:
  10990. description: 商品代码
  10991. type: string
  10992. goodsid:
  10993. description: 商品ID
  10994. type: integer
  10995. goodsname:
  10996. description: 商品名称
  10997. type: string
  10998. handlestatus:
  10999. description: 处理状态
  11000. type: integer
  11001. marketid:
  11002. description: 市场ID
  11003. type: integer
  11004. phonenum:
  11005. description: 提货人联系方式
  11006. type: string
  11007. qty:
  11008. description: 提货数量
  11009. type: number
  11010. recivername:
  11011. description: 提货人姓名
  11012. type: string
  11013. reqtime:
  11014. description: 更新时间
  11015. type: string
  11016. takemode:
  11017. description: 提货方式 - 2:自提 3:配送
  11018. type: integer
  11019. takeorderid:
  11020. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  11021. type: string
  11022. takeorderstatus:
  11023. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  11024. type: integer
  11025. takeremark:
  11026. description: 提货备注
  11027. type: string
  11028. tradedate:
  11029. description: 交易日(yyyyMMdd)
  11030. type: string
  11031. userid:
  11032. description: 用户ID
  11033. type: integer
  11034. required:
  11035. - takeorderid
  11036. type: object
  11037. szdz.QueryRecieptOrderRsp:
  11038. properties:
  11039. accountName:
  11040. description: 所属账号名称(已脱敏)
  11041. type: string
  11042. accountid:
  11043. description: 资金账号
  11044. type: integer
  11045. buyorsell:
  11046. description: 方向 - 0:买 1:卖
  11047. type: integer
  11048. enableqty:
  11049. description: 可摘数量
  11050. type: integer
  11051. goodscode:
  11052. description: 商品代码
  11053. type: string
  11054. goodsid:
  11055. description: 商品ID
  11056. type: integer
  11057. goodsname:
  11058. description: 商品名称
  11059. type: string
  11060. orderid:
  11061. description: 委托单号
  11062. type: string
  11063. orderprice:
  11064. description: 委托价格
  11065. type: number
  11066. ordertime:
  11067. description: 委托时间
  11068. type: string
  11069. tradedate:
  11070. description: 交易日(yyyyMMdd)
  11071. type: string
  11072. required:
  11073. - ordertime
  11074. type: object
  11075. szdz.QuerySZDZTradePositionRsp:
  11076. properties:
  11077. accountid:
  11078. description: 账号Id
  11079. type: integer
  11080. agreeunit:
  11081. description: 合约单位
  11082. type: number
  11083. averageprice:
  11084. description: 持仓均价
  11085. type: number
  11086. buyorsell:
  11087. description: 方向 - 0:买 1:卖
  11088. type: integer
  11089. closetotalqty:
  11090. description: 平仓总数量
  11091. type: integer
  11092. curholderamount:
  11093. description: 当前持仓总金额
  11094. type: number
  11095. curpositionqty:
  11096. description: 当前持仓总数量
  11097. type: integer
  11098. currencyid:
  11099. description: 报价货币ID
  11100. type: integer
  11101. curtdposition:
  11102. description: 期末今日头寸
  11103. type: integer
  11104. decimalplace:
  11105. description: 报价小数位
  11106. type: integer
  11107. enableqty:
  11108. description: 可用量
  11109. type: integer
  11110. fretdposition:
  11111. description: 冻结今日头寸
  11112. type: integer
  11113. frozenqty:
  11114. description: 持仓冻结数量
  11115. type: integer
  11116. goodscode:
  11117. description: 商品代码(内部)
  11118. type: string
  11119. goodsid:
  11120. description: 商品Id
  11121. type: integer
  11122. goodsname:
  11123. description: 商品名称
  11124. type: string
  11125. goodunit:
  11126. description: 报价单位
  11127. type: string
  11128. goodunitid:
  11129. description: 报价单位ID
  11130. type: integer
  11131. holderamount:
  11132. description: 期初持仓总金额
  11133. type: number
  11134. marketid:
  11135. description: 市场ID
  11136. type: integer
  11137. openreqqty:
  11138. description: 开仓申请数量
  11139. type: integer
  11140. opentotalqty:
  11141. description: 开仓总数量
  11142. type: integer
  11143. otherfrozenqty:
  11144. description: 持仓其他冻结数量(交割冻结)
  11145. type: integer
  11146. positionqty:
  11147. description: 期初持仓数量
  11148. type: integer
  11149. szdz3freezqty:
  11150. description: 尚志大宗转换冻结总数量
  11151. type: integer
  11152. tnqty:
  11153. description: T+N冻结总量
  11154. type: integer
  11155. tnusedqty:
  11156. description: T+N使用量
  11157. type: integer
  11158. trademode:
  11159. description: 交易模式
  11160. type: integer
  11161. usedmargin:
  11162. description: 占用保证金
  11163. type: number
  11164. type: object
  11165. taaccount.QueryAmountLogRsp:
  11166. properties:
  11167. OPERATETYPENAME:
  11168. description: 资金操作类型名称
  11169. type: string
  11170. accountid:
  11171. description: 资金账户ID
  11172. type: integer
  11173. agoodscode:
  11174. description: 竞拍商品代码
  11175. type: string
  11176. agoodsname:
  11177. description: 竞拍商品名称
  11178. type: string
  11179. amount:
  11180. description: 资金金额
  11181. type: number
  11182. amountadjusttype:
  11183. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  11184. type: integer
  11185. autoid:
  11186. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  11187. type: integer
  11188. balance:
  11189. description: 期初余额
  11190. type: number
  11191. businesscode:
  11192. description: 业务编号
  11193. type: integer
  11194. createtime:
  11195. description: 发生时间
  11196. type: string
  11197. currencyid:
  11198. description: 币种ID
  11199. type: integer
  11200. currentbalance:
  11201. description: 期末余额(变动后金额)
  11202. type: number
  11203. dgoodscode:
  11204. description: 交割商品代码
  11205. type: string
  11206. dgoodsname:
  11207. description: 交割商品名称
  11208. type: string
  11209. goodscode:
  11210. description: 商品代码
  11211. type: string
  11212. goodsid:
  11213. description: 商品ID
  11214. type: integer
  11215. goodsname:
  11216. description: 商品名称
  11217. type: string
  11218. marketid:
  11219. description: 市场ID
  11220. type: integer
  11221. marketname:
  11222. description: 市场名称
  11223. type: string
  11224. moneyticket:
  11225. description: 资金流水号:银行端流水号
  11226. type: integer
  11227. operatetype:
  11228. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  11229. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  11230. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  11231. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  11232. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  11233. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  11234. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  11235. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  11236. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  11237. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  11238. type: integer
  11239. relationorderid:
  11240. description: 关联单号
  11241. type: string
  11242. remark:
  11243. description: 备注
  11244. type: string
  11245. trademode:
  11246. description: 交易模式
  11247. type: integer
  11248. required:
  11249. - accountid
  11250. - amount
  11251. - amountadjusttype
  11252. - autoid
  11253. - balance
  11254. - createtime
  11255. - currentbalance
  11256. - operatetype
  11257. type: object
  11258. taaccount.QueryHisAmountLogRsp:
  11259. properties:
  11260. OPERATETYPENAME:
  11261. description: 资金操作类型名称
  11262. type: string
  11263. accountid:
  11264. description: 资金账户ID
  11265. type: integer
  11266. agoodscode:
  11267. description: 竞拍商品代码
  11268. type: string
  11269. agoodsname:
  11270. description: 竞拍商品名称
  11271. type: string
  11272. amount:
  11273. description: 资金金额
  11274. type: number
  11275. amountadjusttype:
  11276. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  11277. type: integer
  11278. autoid:
  11279. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  11280. type: integer
  11281. balance:
  11282. description: 期初余额
  11283. type: number
  11284. businesscode:
  11285. description: 业务编号
  11286. type: integer
  11287. createtime:
  11288. description: 发生时间
  11289. type: string
  11290. currencyid:
  11291. description: 币种ID
  11292. type: integer
  11293. currentbalance:
  11294. description: 期末余额(变动后金额)
  11295. type: number
  11296. dgoodscode:
  11297. description: 交割商品代码
  11298. type: string
  11299. dgoodsname:
  11300. description: 交割商品名称
  11301. type: string
  11302. goodscode:
  11303. description: 商品代码
  11304. type: string
  11305. goodsid:
  11306. description: 商品ID
  11307. type: integer
  11308. goodsname:
  11309. description: 商品名称
  11310. type: string
  11311. histradedate:
  11312. description: 历史交易日
  11313. type: string
  11314. isvaliddata:
  11315. description: 是否有效 - 0:无效 1:有效
  11316. type: integer
  11317. marketid:
  11318. description: 市场ID
  11319. type: integer
  11320. marketname:
  11321. description: 市场名称
  11322. type: string
  11323. moneyticket:
  11324. description: 资金流水号:银行端流水号
  11325. type: integer
  11326. operatetype:
  11327. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  11328. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  11329. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  11330. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  11331. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  11332. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  11333. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  11334. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  11335. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  11336. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  11337. type: integer
  11338. relationorderid:
  11339. description: 关联单号
  11340. type: string
  11341. remark:
  11342. description: 备注
  11343. type: string
  11344. trademode:
  11345. description: 交易模式
  11346. type: integer
  11347. required:
  11348. - accountid
  11349. - amount
  11350. - amountadjusttype
  11351. - autoid
  11352. - balance
  11353. - createtime
  11354. - currentbalance
  11355. - histradedate
  11356. - operatetype
  11357. type: object
  11358. trade.QueryRecieptOrderRsp:
  11359. properties:
  11360. accountName:
  11361. description: 所属账号名称(已脱敏)
  11362. type: string
  11363. accountid:
  11364. description: 资金账号
  11365. type: integer
  11366. buyorsell:
  11367. description: 方向 - 0:买 1:卖
  11368. type: integer
  11369. enableqty:
  11370. description: 可摘数量
  11371. type: integer
  11372. goodscode:
  11373. description: 商品代码
  11374. type: string
  11375. goodsid:
  11376. description: 商品ID
  11377. type: integer
  11378. goodsname:
  11379. description: 商品名称
  11380. type: string
  11381. orderid:
  11382. description: 委托单号
  11383. type: string
  11384. orderprice:
  11385. description: 委托价格
  11386. type: number
  11387. ordertime:
  11388. description: 委托时间
  11389. type: string
  11390. tradedate:
  11391. description: 交易日(yyyyMMdd)
  11392. type: string
  11393. required:
  11394. - ordertime
  11395. type: object
  11396. user.LoginQueryRsp:
  11397. properties:
  11398. areaRoles:
  11399. description: 所属角色信息
  11400. items:
  11401. $ref: '#/definitions/models.Arearole'
  11402. type: array
  11403. externalExchanges:
  11404. description: 外部交易所
  11405. items:
  11406. $ref: '#/definitions/models.Externalexchange'
  11407. type: array
  11408. goodsgroups:
  11409. description: 商品组
  11410. items:
  11411. $ref: '#/definitions/models.Goodsgroup'
  11412. type: array
  11413. loginAccount:
  11414. $ref: '#/definitions/models.Loginaccount'
  11415. description: 登录账号
  11416. type: object
  11417. markets:
  11418. description: 市场
  11419. items:
  11420. $ref: '#/definitions/models.Market'
  11421. type: array
  11422. systemParams:
  11423. description: 系统参数
  11424. items:
  11425. $ref: '#/definitions/models.Systemparam'
  11426. type: array
  11427. userAccount:
  11428. $ref: '#/definitions/models.Useraccount'
  11429. description: 用户账号
  11430. type: object
  11431. userInfo:
  11432. $ref: '#/definitions/models.Userinfo'
  11433. description: 用户信息
  11434. type: object
  11435. username:
  11436. description: 用户姓名
  11437. type: string
  11438. type: object
  11439. info:
  11440. contact: {}
  11441. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  11442. license: {}
  11443. termsOfService: http://muchinfo.cn
  11444. title: MTP2.0 查询服务 API
  11445. version: "1.0"
  11446. paths:
  11447. /CPTrade/QueryCPTradeMyBidInfos:
  11448. get:
  11449. parameters:
  11450. - description: 资金账户
  11451. in: query
  11452. name: accountid
  11453. required: true
  11454. type: integer
  11455. - description: 预售市场ID
  11456. in: query
  11457. name: marketid
  11458. type: integer
  11459. - description: 预售商品ID
  11460. in: query
  11461. name: goodsid
  11462. type: integer
  11463. produces:
  11464. - application/json
  11465. responses:
  11466. "200":
  11467. description: OK
  11468. schema:
  11469. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  11470. "500":
  11471. description: Internal Server Error
  11472. schema:
  11473. $ref: '#/definitions/app.Response'
  11474. security:
  11475. - ApiKeyAuth: []
  11476. summary: 查询产能预售我的出价信息
  11477. tags:
  11478. - 产能预售
  11479. /CPTrade/QueryCPTradeOrderDetail:
  11480. get:
  11481. parameters:
  11482. - description: 预售商品ID
  11483. in: query
  11484. name: goodsid
  11485. type: integer
  11486. - description: 预售市场ID
  11487. in: query
  11488. name: marketid
  11489. type: integer
  11490. - description: 预售商品ID列表 - 格式:1,2,3
  11491. in: query
  11492. name: goodsids
  11493. type: string
  11494. produces:
  11495. - application/json
  11496. responses:
  11497. "200":
  11498. description: OK
  11499. schema:
  11500. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  11501. "500":
  11502. description: Internal Server Error
  11503. schema:
  11504. $ref: '#/definitions/app.Response'
  11505. security:
  11506. - ApiKeyAuth: []
  11507. summary: 查询产能预售委托单信息
  11508. tags:
  11509. - 产能预售
  11510. /CPTrade/QueryMyCPTradeGoods:
  11511. get:
  11512. parameters:
  11513. - description: 资金账户
  11514. in: query
  11515. name: accountid
  11516. required: true
  11517. type: integer
  11518. produces:
  11519. - application/json
  11520. responses:
  11521. "200":
  11522. description: OK
  11523. schema:
  11524. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  11525. "500":
  11526. description: Internal Server Error
  11527. schema:
  11528. $ref: '#/definitions/app.Response'
  11529. security:
  11530. - ApiKeyAuth: []
  11531. summary: 查询我的预售信息
  11532. tags:
  11533. - 产能预售
  11534. /CPTrade/QueryPositionCancel:
  11535. get:
  11536. parameters:
  11537. - description: 账户ID
  11538. in: query
  11539. name: userid
  11540. required: true
  11541. type: integer
  11542. - description: 注销ID
  11543. in: query
  11544. name: cancelid
  11545. type: integer
  11546. - description: 资金账户ID
  11547. in: query
  11548. name: accountid
  11549. type: integer
  11550. produces:
  11551. - application/json
  11552. responses:
  11553. "200":
  11554. description: OK
  11555. schema:
  11556. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  11557. "500":
  11558. description: Internal Server Error
  11559. schema:
  11560. $ref: '#/definitions/app.Response'
  11561. security:
  11562. - ApiKeyAuth: []
  11563. summary: 查询远期订单注销申请信息
  11564. tags:
  11565. - 产能预售
  11566. /CPTrade/QueryPreasleApply:
  11567. get:
  11568. parameters:
  11569. - description: 账户ID
  11570. in: query
  11571. name: userid
  11572. required: true
  11573. type: integer
  11574. - description: 申请ID
  11575. in: query
  11576. name: applyid
  11577. type: integer
  11578. - description: 资金账户ID
  11579. in: query
  11580. name: accountid
  11581. type: integer
  11582. produces:
  11583. - application/json
  11584. responses:
  11585. "200":
  11586. description: OK
  11587. schema:
  11588. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  11589. "500":
  11590. description: Internal Server Error
  11591. schema:
  11592. $ref: '#/definitions/app.Response'
  11593. security:
  11594. - ApiKeyAuth: []
  11595. summary: 查询产能预售申请信息
  11596. tags:
  11597. - 产能预售
  11598. /CPTrade/QueryPresaleGoodsEx:
  11599. get:
  11600. parameters:
  11601. - description: 预售商品ID
  11602. in: query
  11603. name: goodsid
  11604. type: integer
  11605. - description: 预售市场ID
  11606. in: query
  11607. name: marketid
  11608. type: integer
  11609. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  11610. in: query
  11611. name: presalemode
  11612. type: integer
  11613. - description: 预售商品ID列表 - 格式:1,2,3
  11614. in: query
  11615. name: goodsids
  11616. type: string
  11617. - description: 预售商品代码
  11618. in: query
  11619. name: goodscode
  11620. type: string
  11621. produces:
  11622. - application/json
  11623. responses:
  11624. "200":
  11625. description: OK
  11626. schema:
  11627. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  11628. "500":
  11629. description: Internal Server Error
  11630. schema:
  11631. $ref: '#/definitions/app.Response'
  11632. security:
  11633. - ApiKeyAuth: []
  11634. summary: 查询产能预售商品扩展信息
  11635. tags:
  11636. - 产能预售
  11637. /CPTrade/QueryUserGoodsData:
  11638. get:
  11639. parameters:
  11640. - description: 资金账户ID
  11641. in: query
  11642. name: accountid
  11643. required: true
  11644. type: integer
  11645. produces:
  11646. - application/json
  11647. responses:
  11648. "200":
  11649. description: OK
  11650. schema:
  11651. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  11652. "500":
  11653. description: Internal Server Error
  11654. schema:
  11655. $ref: '#/definitions/app.Response'
  11656. security:
  11657. - ApiKeyAuth: []
  11658. summary: 查询远期订单信息
  11659. tags:
  11660. - 产能预售
  11661. /Common/GetAllEnums:
  11662. get:
  11663. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  11664. parameters:
  11665. - description: 起始自增ID
  11666. in: query
  11667. name: autoid
  11668. type: integer
  11669. produces:
  11670. - application/json
  11671. responses:
  11672. "200":
  11673. description: OK
  11674. schema:
  11675. $ref: '#/definitions/models.Enumdicitem'
  11676. "500":
  11677. description: Internal Server Error
  11678. schema:
  11679. $ref: '#/definitions/app.Response'
  11680. summary: 获取所有枚举信息
  11681. tags:
  11682. - 通用服务
  11683. /Common/GetClientMenus:
  11684. get:
  11685. parameters:
  11686. - description: 登录账号
  11687. in: query
  11688. name: loginID
  11689. required: true
  11690. type: integer
  11691. - description: 终端类型,0:PC 1:Mobile
  11692. in: query
  11693. name: clientType
  11694. type: integer
  11695. produces:
  11696. - application/json
  11697. responses:
  11698. "200":
  11699. description: OK
  11700. schema:
  11701. items:
  11702. $ref: '#/definitions/common.ClientMenu'
  11703. type: array
  11704. "500":
  11705. description: Internal Server Error
  11706. schema:
  11707. $ref: '#/definitions/app.Response'
  11708. security:
  11709. - ApiKeyAuth: []
  11710. summary: 获取交易端菜单
  11711. tags:
  11712. - 通用服务
  11713. /Common/GetDivisions:
  11714. get:
  11715. produces:
  11716. - application/json
  11717. responses:
  11718. "200":
  11719. description: OK
  11720. schema:
  11721. $ref: '#/definitions/models.Division'
  11722. "500":
  11723. description: Internal Server Error
  11724. schema:
  11725. $ref: '#/definitions/app.Response'
  11726. summary: 查询区域信息
  11727. tags:
  11728. - 通用服务
  11729. /Common/GetServerTime:
  11730. get:
  11731. produces:
  11732. - application/json
  11733. responses:
  11734. "200":
  11735. description: OK
  11736. schema:
  11737. $ref: '#/definitions/app.Response'
  11738. "500":
  11739. description: Internal Server Error
  11740. schema:
  11741. $ref: '#/definitions/app.Response'
  11742. summary: 获取服务器时间
  11743. tags:
  11744. - 通用服务
  11745. /Common/NoticeReaded:
  11746. post:
  11747. parameters:
  11748. - description: 登录账号
  11749. in: query
  11750. name: loginID
  11751. required: true
  11752. type: integer
  11753. - description: 通知公告ID
  11754. in: query
  11755. name: noticeID
  11756. required: true
  11757. type: integer
  11758. produces:
  11759. - application/json
  11760. responses:
  11761. "200":
  11762. description: OK
  11763. schema:
  11764. $ref: '#/definitions/app.Response'
  11765. "500":
  11766. description: Internal Server Error
  11767. schema:
  11768. $ref: '#/definitions/app.Response'
  11769. security:
  11770. - ApiKeyAuth: []
  11771. summary: 通知公告设置已读请求
  11772. tags:
  11773. - 通用服务
  11774. /Common/QueryErrorInfos:
  11775. get:
  11776. description: 如果传入rowNumber,则返回此rowNumber后的数据
  11777. parameters:
  11778. - description: 起始行号前索引
  11779. in: query
  11780. name: rowNumber
  11781. type: string
  11782. produces:
  11783. - application/json
  11784. responses:
  11785. "200":
  11786. description: OK
  11787. schema:
  11788. $ref: '#/definitions/models.QueryErrorInfosRsp'
  11789. "500":
  11790. description: Internal Server Error
  11791. schema:
  11792. $ref: '#/definitions/app.Response'
  11793. summary: 获取数据库错误信息
  11794. tags:
  11795. - 通用服务
  11796. /Common/QueryImageConfigs:
  11797. get:
  11798. parameters:
  11799. - description: 类型 - 1:App首页轮播 2:我的
  11800. in: query
  11801. name: imageType
  11802. type: integer
  11803. produces:
  11804. - application/json
  11805. responses:
  11806. "200":
  11807. description: OK
  11808. schema:
  11809. $ref: '#/definitions/common.QueryImageConfigsRsp'
  11810. "500":
  11811. description: Internal Server Error
  11812. schema:
  11813. $ref: '#/definitions/app.Response'
  11814. summary: 查询轮播图配置信息
  11815. tags:
  11816. - 通用服务
  11817. /Common/QueryNotice:
  11818. get:
  11819. parameters:
  11820. - description: 页码
  11821. in: query
  11822. name: page
  11823. type: integer
  11824. - description: 每页条数
  11825. in: query
  11826. name: pagesize
  11827. type: integer
  11828. - description: 登录账号
  11829. in: query
  11830. name: loginID
  11831. required: true
  11832. type: integer
  11833. - description: 消息类型 - 1:公告通知 2:系统消息
  11834. in: query
  11835. name: msgType
  11836. type: integer
  11837. - description: 是否只获取未读信息
  11838. in: query
  11839. name: onlyUnRead
  11840. type: boolean
  11841. - description: 自增ID,传入后会返回这个ID后面的记录
  11842. in: query
  11843. name: lastID
  11844. type: integer
  11845. produces:
  11846. - application/json
  11847. responses:
  11848. "200":
  11849. description: OK
  11850. schema:
  11851. $ref: '#/definitions/common.QueryNoticeRsp'
  11852. "500":
  11853. description: Internal Server Error
  11854. schema:
  11855. $ref: '#/definitions/app.Response'
  11856. security:
  11857. - ApiKeyAuth: []
  11858. summary: 通知公告系统消息查询
  11859. tags:
  11860. - 通用服务
  11861. /Common/QueryProvincesAndCities:
  11862. get:
  11863. parameters:
  11864. - description: 省ID
  11865. in: query
  11866. name: provinceID
  11867. type: integer
  11868. produces:
  11869. - application/json
  11870. responses:
  11871. "200":
  11872. description: OK
  11873. schema:
  11874. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  11875. "500":
  11876. description: Internal Server Error
  11877. schema:
  11878. $ref: '#/definitions/app.Response'
  11879. summary: 查询省市信息(不包括区)
  11880. tags:
  11881. - 通用服务
  11882. /Common/QueryTableDefine:
  11883. get:
  11884. parameters:
  11885. - description: 表key
  11886. in: query
  11887. name: tableKey
  11888. type: string
  11889. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  11890. in: query
  11891. name: tableType
  11892. type: integer
  11893. produces:
  11894. - application/json
  11895. responses:
  11896. "200":
  11897. description: OK
  11898. schema:
  11899. $ref: '#/definitions/common.QueryTableDefineRsp'
  11900. "500":
  11901. description: Internal Server Error
  11902. schema:
  11903. $ref: '#/definitions/app.Response'
  11904. summary: 查询交易端列表头信息
  11905. tags:
  11906. - 通用服务
  11907. /Common/QueryTraderMenu:
  11908. get:
  11909. parameters:
  11910. - description: 登录账号
  11911. in: query
  11912. name: loginid
  11913. required: true
  11914. type: integer
  11915. produces:
  11916. - application/json
  11917. responses:
  11918. "200":
  11919. description: OK
  11920. schema:
  11921. $ref: '#/definitions/common.QueryTraderMenuRsp'
  11922. "500":
  11923. description: Internal Server Error
  11924. schema:
  11925. $ref: '#/definitions/app.Response'
  11926. summary: 查询交易端菜单
  11927. tags:
  11928. - 通用服务
  11929. /Delivery/QueryDeliveryRelation:
  11930. get:
  11931. parameters:
  11932. - description: 商品ID
  11933. in: query
  11934. name: goodsid
  11935. type: integer
  11936. - description: 品种ID
  11937. in: query
  11938. name: deliverygoodsid
  11939. type: integer
  11940. - description: 市场ID
  11941. in: query
  11942. name: marketid
  11943. type: integer
  11944. produces:
  11945. - application/json
  11946. responses:
  11947. "200":
  11948. description: OK
  11949. schema:
  11950. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  11951. "500":
  11952. description: Internal Server Error
  11953. schema:
  11954. $ref: '#/definitions/app.Response'
  11955. security:
  11956. - ApiKeyAuth: []
  11957. summary: 查询商品交割关系表
  11958. tags:
  11959. - 交割服务
  11960. /Ermcp/GetErmcpGoods:
  11961. get:
  11962. parameters:
  11963. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  11964. in: query
  11965. name: lastUpdateTime
  11966. type: string
  11967. produces:
  11968. - application/json
  11969. responses:
  11970. "200":
  11971. description: OK
  11972. schema:
  11973. $ref: '#/definitions/models.Goods'
  11974. "500":
  11975. description: Internal Server Error
  11976. schema:
  11977. $ref: '#/definitions/app.Response'
  11978. security:
  11979. - ApiKeyAuth: []
  11980. summary: 查询企业风管期货商品信息
  11981. tags:
  11982. - 企业风险管理(app)
  11983. /Ermcp/GetErmcpGoodsSortByPosition:
  11984. get:
  11985. parameters:
  11986. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  11987. in: query
  11988. name: sortIndex
  11989. type: string
  11990. produces:
  11991. - application/json
  11992. responses:
  11993. "200":
  11994. description: OK
  11995. schema:
  11996. $ref: '#/definitions/models.Goodssortbypreposition'
  11997. "500":
  11998. description: Internal Server Error
  11999. schema:
  12000. $ref: '#/definitions/app.Response'
  12001. security:
  12002. - ApiKeyAuth: []
  12003. summary: 查询企业风管期货主力、次主力商品信息
  12004. tags:
  12005. - 企业风险管理(app)
  12006. /Ermcp/GetErmcpOutAccountStatus:
  12007. get:
  12008. parameters:
  12009. - description: 登录账号
  12010. in: query
  12011. name: loginID
  12012. required: true
  12013. type: integer
  12014. produces:
  12015. - application/json
  12016. responses:
  12017. "200":
  12018. description: OK
  12019. schema:
  12020. $ref: '#/definitions/models.Hedgemarketopenlog'
  12021. "500":
  12022. description: Internal Server Error
  12023. schema:
  12024. $ref: '#/definitions/app.Response'
  12025. security:
  12026. - ApiKeyAuth: []
  12027. summary: 获取目标登录账号当前对冲账号在线状态
  12028. tags:
  12029. - 企业风险管理(app)
  12030. /Ermcp/GetErmcpRoleFuncMenuLists:
  12031. get:
  12032. parameters:
  12033. - description: 登录账号
  12034. in: query
  12035. name: loginID
  12036. required: true
  12037. type: integer
  12038. produces:
  12039. - application/json
  12040. responses:
  12041. "200":
  12042. description: OK
  12043. schema:
  12044. $ref: '#/definitions/models.Funcmenulist'
  12045. "500":
  12046. description: Internal Server Error
  12047. schema:
  12048. $ref: '#/definitions/app.Response'
  12049. security:
  12050. - ApiKeyAuth: []
  12051. summary: 获取企业风管终端权限
  12052. tags:
  12053. - 企业风险管理(app)
  12054. /Ermcp/QueryAccMgrBizGroupSet:
  12055. get:
  12056. parameters:
  12057. - description: 用户ID
  12058. in: query
  12059. name: userid
  12060. required: true
  12061. type: integer
  12062. - description: 现货商品id
  12063. in: query
  12064. name: deliverygoodsid
  12065. type: integer
  12066. produces:
  12067. - application/json
  12068. responses:
  12069. "200":
  12070. description: OK
  12071. schema:
  12072. items:
  12073. $ref: '#/definitions/models.ErmcpBizGroupEx'
  12074. type: array
  12075. "500":
  12076. description: Internal Server Error
  12077. schema:
  12078. $ref: '#/definitions/app.Response'
  12079. security:
  12080. - ApiKeyAuth: []
  12081. summary: 查询业务类型分组(账户管理/账户设置)
  12082. tags:
  12083. - 企业风险管理(app)
  12084. /Ermcp/QueryAccMgrLoginUser:
  12085. get:
  12086. parameters:
  12087. - description: 用户ID
  12088. in: query
  12089. name: userid
  12090. required: true
  12091. type: integer
  12092. - description: 用户类型 2-机构 7-企业成员
  12093. in: query
  12094. name: usertype
  12095. type: integer
  12096. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  12097. in: query
  12098. name: querytype
  12099. required: true
  12100. type: integer
  12101. produces:
  12102. - application/json
  12103. responses:
  12104. "200":
  12105. description: OK
  12106. schema:
  12107. items:
  12108. $ref: '#/definitions/models.ErmcpLoginUserEx'
  12109. type: array
  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/QueryAccMgrMainAccountInfo:
  12120. get:
  12121. parameters:
  12122. - description: 用户ID
  12123. in: query
  12124. name: userid
  12125. type: integer
  12126. - description: 主账号id
  12127. in: query
  12128. name: accountid
  12129. type: integer
  12130. produces:
  12131. - application/json
  12132. responses:
  12133. "200":
  12134. description: OK
  12135. schema:
  12136. items:
  12137. $ref: '#/definitions/models.MainAccountInfo'
  12138. type: array
  12139. "500":
  12140. description: Internal Server Error
  12141. schema:
  12142. $ref: '#/definitions/app.Response'
  12143. security:
  12144. - ApiKeyAuth: []
  12145. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  12146. tags:
  12147. - 企业风险管理(app)
  12148. /Ermcp/QueryAccMgrRole:
  12149. get:
  12150. parameters:
  12151. - description: 用户ID
  12152. in: query
  12153. name: userid
  12154. required: true
  12155. type: integer
  12156. produces:
  12157. - application/json
  12158. responses:
  12159. "200":
  12160. description: OK
  12161. schema:
  12162. items:
  12163. $ref: '#/definitions/models.ErmcpRole'
  12164. type: array
  12165. "500":
  12166. description: Internal Server Error
  12167. schema:
  12168. $ref: '#/definitions/app.Response'
  12169. security:
  12170. - ApiKeyAuth: []
  12171. summary: 查询账户管理角色设置(账户管理/角色设置)
  12172. tags:
  12173. - 企业风险管理(app)
  12174. /Ermcp/QueryAccMgrRoleMenu:
  12175. get:
  12176. parameters:
  12177. - description: 用户ID
  12178. in: query
  12179. name: userid
  12180. required: true
  12181. type: integer
  12182. - description: 角色id(可多个,逗号隔开)
  12183. in: query
  12184. name: roleid
  12185. type: string
  12186. produces:
  12187. - application/json
  12188. responses:
  12189. "200":
  12190. description: OK
  12191. schema:
  12192. items:
  12193. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  12194. type: array
  12195. "500":
  12196. description: Internal Server Error
  12197. schema:
  12198. $ref: '#/definitions/app.Response'
  12199. security:
  12200. - ApiKeyAuth: []
  12201. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  12202. tags:
  12203. - 企业风险管理(app)
  12204. /Ermcp/QueryAccMgrTaAccountInfo:
  12205. get:
  12206. parameters:
  12207. - description: 用户ID
  12208. in: query
  12209. name: userid
  12210. required: true
  12211. type: integer
  12212. - description: 账号id
  12213. in: query
  12214. name: accountid
  12215. type: integer
  12216. produces:
  12217. - application/json
  12218. responses:
  12219. "200":
  12220. description: OK
  12221. schema:
  12222. items:
  12223. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  12224. type: array
  12225. "500":
  12226. description: Internal Server Error
  12227. schema:
  12228. $ref: '#/definitions/app.Response'
  12229. security:
  12230. - ApiKeyAuth: []
  12231. summary: 查询账户管理授信(账户管理/账户设置/授信)
  12232. tags:
  12233. - 企业风险管理(app)
  12234. /Ermcp/QueryAccMgrTaaccount:
  12235. get:
  12236. parameters:
  12237. - description: 用户ID
  12238. in: query
  12239. name: userid
  12240. required: true
  12241. type: integer
  12242. produces:
  12243. - application/json
  12244. responses:
  12245. "200":
  12246. description: OK
  12247. schema:
  12248. items:
  12249. $ref: '#/definitions/models.ErmcpTaAccountEx'
  12250. type: array
  12251. "500":
  12252. description: Internal Server Error
  12253. schema:
  12254. $ref: '#/definitions/app.Response'
  12255. security:
  12256. - ApiKeyAuth: []
  12257. summary: 查询账户管理期货账号(账户管理/期货账号)
  12258. tags:
  12259. - 企业风险管理(app)
  12260. /Ermcp/QueryAvaildGoodsGroup:
  12261. get:
  12262. parameters:
  12263. - description: 所属机构ID
  12264. in: query
  12265. name: userid
  12266. required: true
  12267. type: integer
  12268. produces:
  12269. - application/json
  12270. responses:
  12271. "200":
  12272. description: OK
  12273. schema:
  12274. items:
  12275. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  12276. type: array
  12277. "500":
  12278. description: Internal Server Error
  12279. schema:
  12280. $ref: '#/definitions/app.Response'
  12281. security:
  12282. - ApiKeyAuth: []
  12283. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  12284. tags:
  12285. - 企业风险管理(app)
  12286. /Ermcp/QueryChangeLog:
  12287. get:
  12288. parameters:
  12289. - description: 合同ID
  12290. in: query
  12291. name: RelatedId
  12292. required: true
  12293. type: string
  12294. produces:
  12295. - application/json
  12296. responses:
  12297. "200":
  12298. description: OK
  12299. schema:
  12300. items:
  12301. $ref: '#/definitions/ermcp.QryOPLogRsp'
  12302. type: array
  12303. "500":
  12304. description: Internal Server Error
  12305. schema:
  12306. $ref: '#/definitions/app.Response'
  12307. security:
  12308. - ApiKeyAuth: []
  12309. summary: 查询变更记录
  12310. tags:
  12311. - 企业风险管理(app)
  12312. /Ermcp/QueryErmcpHisOrderDetails:
  12313. get:
  12314. parameters:
  12315. - description: 资金账户ID
  12316. in: query
  12317. name: accountID
  12318. required: true
  12319. type: integer
  12320. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  12321. in: query
  12322. name: startDate
  12323. type: string
  12324. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  12325. in: query
  12326. name: endDate
  12327. type: string
  12328. produces:
  12329. - application/json
  12330. responses:
  12331. "200":
  12332. description: OK
  12333. schema:
  12334. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  12335. "500":
  12336. description: Internal Server Error
  12337. schema:
  12338. $ref: '#/definitions/app.Response'
  12339. security:
  12340. - ApiKeyAuth: []
  12341. summary: 获取企业风管期货历史委托单信息
  12342. tags:
  12343. - 企业风险管理(app)
  12344. /Ermcp/QueryErmcpHisTradeDetails:
  12345. get:
  12346. parameters:
  12347. - description: 资金账户ID
  12348. in: query
  12349. name: accountID
  12350. required: true
  12351. type: integer
  12352. - description: 商品ID
  12353. in: query
  12354. name: goodsID
  12355. type: integer
  12356. - description: 买卖方向,0:买 1:卖
  12357. in: query
  12358. name: buyOrSell
  12359. type: integer
  12360. - description: 关联委托单号
  12361. in: query
  12362. name: orderID
  12363. type: integer
  12364. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  12365. in: query
  12366. name: startDate
  12367. type: string
  12368. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  12369. in: query
  12370. name: endDate
  12371. type: string
  12372. produces:
  12373. - application/json
  12374. responses:
  12375. "200":
  12376. description: OK
  12377. schema:
  12378. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  12379. "500":
  12380. description: Internal Server Error
  12381. schema:
  12382. $ref: '#/definitions/app.Response'
  12383. security:
  12384. - ApiKeyAuth: []
  12385. summary: 获取企业风管期货历史成交单信息
  12386. tags:
  12387. - 企业风险管理(app)
  12388. /Ermcp/QueryErmcpInnerHolderDetails:
  12389. get:
  12390. parameters:
  12391. - description: 资金账户ID
  12392. in: query
  12393. name: accountID
  12394. required: true
  12395. type: integer
  12396. - description: 商品ID
  12397. in: query
  12398. name: goodsID
  12399. type: integer
  12400. - description: 买卖方向,0:买 1:卖
  12401. in: query
  12402. name: buyOrSell
  12403. type: integer
  12404. produces:
  12405. - application/json
  12406. responses:
  12407. "200":
  12408. description: OK
  12409. schema:
  12410. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  12411. "500":
  12412. description: Internal Server Error
  12413. schema:
  12414. $ref: '#/definitions/app.Response'
  12415. security:
  12416. - ApiKeyAuth: []
  12417. summary: 获取企业风管期货内部持仓单信息
  12418. tags:
  12419. - 企业风险管理(app)
  12420. /Ermcp/QueryErmcpOrderDetails:
  12421. get:
  12422. parameters:
  12423. - description: 资金账户ID
  12424. in: query
  12425. name: accountID
  12426. required: true
  12427. type: integer
  12428. produces:
  12429. - application/json
  12430. responses:
  12431. "200":
  12432. description: OK
  12433. schema:
  12434. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  12435. "500":
  12436. description: Internal Server Error
  12437. schema:
  12438. $ref: '#/definitions/app.Response'
  12439. security:
  12440. - ApiKeyAuth: []
  12441. summary: 获取企业风管期货委托单信息
  12442. tags:
  12443. - 企业风险管理(app)
  12444. /Ermcp/QueryErmcpTradeDetails:
  12445. get:
  12446. parameters:
  12447. - description: 资金账户ID
  12448. in: query
  12449. name: accountID
  12450. required: true
  12451. type: integer
  12452. - description: 商品ID
  12453. in: query
  12454. name: goodsID
  12455. type: integer
  12456. - description: 买卖方向,0:买 1:卖
  12457. in: query
  12458. name: buyOrSell
  12459. type: integer
  12460. - description: 关联委托单号
  12461. in: query
  12462. name: orderID
  12463. type: integer
  12464. produces:
  12465. - application/json
  12466. responses:
  12467. "200":
  12468. description: OK
  12469. schema:
  12470. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  12471. "500":
  12472. description: Internal Server Error
  12473. schema:
  12474. $ref: '#/definitions/app.Response'
  12475. security:
  12476. - ApiKeyAuth: []
  12477. summary: 获取企业风管期货成交单信息
  12478. tags:
  12479. - 企业风险管理(app)
  12480. /Ermcp/QueryErmcpTradePosition:
  12481. get:
  12482. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  12483. parameters:
  12484. - description: 资金账户ID
  12485. in: query
  12486. name: accountID
  12487. required: true
  12488. type: integer
  12489. - description: 所属市场ID
  12490. in: query
  12491. name: marketID
  12492. type: integer
  12493. produces:
  12494. - application/json
  12495. responses:
  12496. "200":
  12497. description: OK
  12498. schema:
  12499. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  12500. "500":
  12501. description: Internal Server Error
  12502. schema:
  12503. $ref: '#/definitions/app.Response'
  12504. security:
  12505. - ApiKeyAuth: []
  12506. summary: 获取企业风管期货持仓头寸信息
  12507. tags:
  12508. - 企业风险管理(app)
  12509. /Ermcp/QueryExposureDetail:
  12510. get:
  12511. parameters:
  12512. - description: 所属机构ID
  12513. in: query
  12514. name: areaUserId
  12515. required: true
  12516. type: integer
  12517. - description: 套保商品
  12518. in: query
  12519. name: middleGoodsId
  12520. required: true
  12521. type: integer
  12522. produces:
  12523. - application/json
  12524. responses:
  12525. "200":
  12526. description: OK
  12527. schema:
  12528. items:
  12529. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  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/QueryExposureHedgePosition:
  12541. get:
  12542. parameters:
  12543. - description: 用户id
  12544. in: query
  12545. name: userid
  12546. required: true
  12547. type: integer
  12548. produces:
  12549. - application/json
  12550. responses:
  12551. "200":
  12552. description: OK
  12553. schema:
  12554. items:
  12555. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  12556. type: array
  12557. "500":
  12558. description: Internal Server Error
  12559. schema:
  12560. $ref: '#/definitions/app.Response'
  12561. security:
  12562. - ApiKeyAuth: []
  12563. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  12564. tags:
  12565. - 企业风险管理(app)
  12566. /Ermcp/QueryExposureHedgePositionDetail:
  12567. get:
  12568. parameters:
  12569. - description: 所属机构ID
  12570. in: query
  12571. name: userid
  12572. required: true
  12573. type: integer
  12574. - description: 商品id
  12575. in: query
  12576. name: goodsId
  12577. required: true
  12578. type: integer
  12579. produces:
  12580. - application/json
  12581. responses:
  12582. "200":
  12583. description: OK
  12584. schema:
  12585. items:
  12586. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  12587. type: array
  12588. "500":
  12589. description: Internal Server Error
  12590. schema:
  12591. $ref: '#/definitions/app.Response'
  12592. security:
  12593. - ApiKeyAuth: []
  12594. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  12595. tags:
  12596. - 企业风险管理(app)
  12597. /Ermcp/QueryExposureSpot:
  12598. get:
  12599. parameters:
  12600. - description: 所属机构ID
  12601. in: query
  12602. name: areaUserId
  12603. required: true
  12604. type: integer
  12605. produces:
  12606. - application/json
  12607. responses:
  12608. "200":
  12609. description: OK
  12610. schema:
  12611. items:
  12612. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  12613. type: array
  12614. "500":
  12615. description: Internal Server Error
  12616. schema:
  12617. $ref: '#/definitions/app.Response'
  12618. security:
  12619. - ApiKeyAuth: []
  12620. summary: 查询敞口现货头寸(敞口/现货头寸)
  12621. tags:
  12622. - 企业风险管理(app)
  12623. /Ermcp/QueryExposureSpotDetail:
  12624. get:
  12625. parameters:
  12626. - description: 所属机构ID
  12627. in: query
  12628. name: areaUserId
  12629. required: true
  12630. type: integer
  12631. - description: 现货品种ID
  12632. in: query
  12633. name: wrstandardId
  12634. required: true
  12635. type: integer
  12636. produces:
  12637. - application/json
  12638. responses:
  12639. "200":
  12640. description: OK
  12641. schema:
  12642. items:
  12643. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  12644. type: array
  12645. "500":
  12646. description: Internal Server Error
  12647. schema:
  12648. $ref: '#/definitions/app.Response'
  12649. security:
  12650. - ApiKeyAuth: []
  12651. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  12652. tags:
  12653. - 企业风险管理(app)
  12654. /Ermcp/QueryFuturesCompany:
  12655. get:
  12656. produces:
  12657. - application/json
  12658. responses:
  12659. "200":
  12660. description: OK
  12661. schema:
  12662. items:
  12663. $ref: '#/definitions/models.ErmcpFuturesCompany'
  12664. type: array
  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/QueryGGConvertConfig:
  12675. get:
  12676. parameters:
  12677. - description: 品种id(不填则查所有)
  12678. in: query
  12679. name: goodsgroupid
  12680. type: integer
  12681. produces:
  12682. - application/json
  12683. responses:
  12684. "200":
  12685. description: OK
  12686. schema:
  12687. items:
  12688. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  12689. type: array
  12690. "500":
  12691. description: Internal Server Error
  12692. schema:
  12693. $ref: '#/definitions/app.Response'
  12694. security:
  12695. - ApiKeyAuth: []
  12696. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  12697. tags:
  12698. - 企业风险管理(app)
  12699. /Ermcp/QueryGoodsBrand:
  12700. get:
  12701. parameters:
  12702. - description: 用户ID
  12703. in: query
  12704. name: userid
  12705. required: true
  12706. type: integer
  12707. - description: 现货商品ID
  12708. in: query
  12709. name: wrstandardid
  12710. type: integer
  12711. produces:
  12712. - application/json
  12713. responses:
  12714. "200":
  12715. description: OK
  12716. schema:
  12717. items:
  12718. $ref: '#/definitions/models.ErmcpGoodsBrand'
  12719. type: array
  12720. "500":
  12721. description: Internal Server Error
  12722. schema:
  12723. $ref: '#/definitions/app.Response'
  12724. security:
  12725. - ApiKeyAuth: []
  12726. summary: 查询商品品牌
  12727. tags:
  12728. - 企业风险管理(app)
  12729. /Ermcp/QueryGoodsModel:
  12730. get:
  12731. parameters:
  12732. - description: 用户ID
  12733. in: query
  12734. name: userid
  12735. required: true
  12736. type: integer
  12737. produces:
  12738. - application/json
  12739. responses:
  12740. "200":
  12741. description: OK
  12742. schema:
  12743. items:
  12744. $ref: '#/definitions/models.ErmcpGoodsModel'
  12745. type: array
  12746. "500":
  12747. description: Internal Server Error
  12748. schema:
  12749. $ref: '#/definitions/app.Response'
  12750. security:
  12751. - ApiKeyAuth: []
  12752. summary: 查询商品型号
  12753. tags:
  12754. - 企业风险管理(app)
  12755. /Ermcp/QueryHisExposure:
  12756. get:
  12757. parameters:
  12758. - description: 用户id
  12759. in: query
  12760. name: userid
  12761. required: true
  12762. type: integer
  12763. - description: 每个品种记录数
  12764. in: query
  12765. name: lastNum
  12766. required: true
  12767. type: integer
  12768. produces:
  12769. - application/json
  12770. responses:
  12771. "200":
  12772. description: OK
  12773. schema:
  12774. items:
  12775. $ref: '#/definitions/ermcp.HisExposureRsp'
  12776. type: array
  12777. "500":
  12778. description: Internal Server Error
  12779. schema:
  12780. $ref: '#/definitions/app.Response'
  12781. security:
  12782. - ApiKeyAuth: []
  12783. summary: 查询历史敞口(菜单:敞口/历史敞口)
  12784. tags:
  12785. - 企业风险管理(app)
  12786. /Ermcp/QueryMiddleGoods:
  12787. get:
  12788. parameters:
  12789. - description: 所属机构ID
  12790. in: query
  12791. name: userid
  12792. required: true
  12793. type: integer
  12794. - description: 状态 0-停用 1-正常
  12795. in: query
  12796. name: status
  12797. required: true
  12798. type: integer
  12799. produces:
  12800. - application/json
  12801. responses:
  12802. "200":
  12803. description: OK
  12804. schema:
  12805. items:
  12806. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  12807. type: array
  12808. "500":
  12809. description: Internal Server Error
  12810. schema:
  12811. $ref: '#/definitions/app.Response'
  12812. security:
  12813. - ApiKeyAuth: []
  12814. summary: 查询套保品种(菜单:套保品种)
  12815. tags:
  12816. - 企业风险管理(app)
  12817. /Ermcp/QueryMiddleGoodsChangeLog:
  12818. get:
  12819. parameters:
  12820. - description: 所属机构ID
  12821. in: query
  12822. name: userid
  12823. required: true
  12824. type: integer
  12825. - description: 套保品种id
  12826. in: query
  12827. name: middlegoodsid
  12828. required: true
  12829. type: integer
  12830. produces:
  12831. - application/json
  12832. responses:
  12833. "200":
  12834. description: OK
  12835. schema:
  12836. items:
  12837. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  12838. type: array
  12839. "500":
  12840. description: Internal Server Error
  12841. schema:
  12842. $ref: '#/definitions/app.Response'
  12843. security:
  12844. - ApiKeyAuth: []
  12845. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  12846. tags:
  12847. - 企业风险管理(app)
  12848. /Ermcp/QueryMiddleGoodsDetail:
  12849. get:
  12850. parameters:
  12851. - description: 所属机构ID
  12852. in: query
  12853. name: userid
  12854. required: true
  12855. type: integer
  12856. - description: 套保品种id
  12857. in: query
  12858. name: middlegoodsid
  12859. type: integer
  12860. produces:
  12861. - application/json
  12862. responses:
  12863. "200":
  12864. description: OK
  12865. schema:
  12866. items:
  12867. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  12868. type: array
  12869. "500":
  12870. description: Internal Server Error
  12871. schema:
  12872. $ref: '#/definitions/app.Response'
  12873. security:
  12874. - ApiKeyAuth: []
  12875. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  12876. tags:
  12877. - 企业风险管理(app)
  12878. /Ermcp/QueryPendingAuditInfo:
  12879. get:
  12880. parameters:
  12881. - description: 用户ID
  12882. in: query
  12883. name: UserId
  12884. required: true
  12885. type: integer
  12886. produces:
  12887. - application/json
  12888. responses:
  12889. "200":
  12890. description: OK
  12891. schema:
  12892. items:
  12893. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  12894. type: array
  12895. "500":
  12896. description: Internal Server Error
  12897. schema:
  12898. $ref: '#/definitions/app.Response'
  12899. security:
  12900. - ApiKeyAuth: []
  12901. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  12902. tags:
  12903. - 企业风险管理(app)
  12904. /Ermcp/QueryRealtimeExposure:
  12905. get:
  12906. parameters:
  12907. - description: 所属机构ID
  12908. in: query
  12909. name: userid
  12910. required: true
  12911. type: integer
  12912. produces:
  12913. - application/json
  12914. responses:
  12915. "200":
  12916. description: OK
  12917. schema:
  12918. items:
  12919. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  12920. type: array
  12921. "500":
  12922. description: Internal Server Error
  12923. schema:
  12924. $ref: '#/definitions/app.Response'
  12925. security:
  12926. - ApiKeyAuth: []
  12927. summary: 查询实时敞口
  12928. tags:
  12929. - 企业风险管理(app)
  12930. /Ermcp/QueryRealtimeExposurePosition:
  12931. get:
  12932. parameters:
  12933. - description: 用户id
  12934. in: query
  12935. name: userid
  12936. required: true
  12937. type: integer
  12938. - description: 套保商品ID
  12939. in: query
  12940. name: middleGoodsId
  12941. required: true
  12942. type: integer
  12943. produces:
  12944. - application/json
  12945. responses:
  12946. "200":
  12947. description: OK
  12948. schema:
  12949. items:
  12950. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  12951. type: array
  12952. "500":
  12953. description: Internal Server Error
  12954. schema:
  12955. $ref: '#/definitions/app.Response'
  12956. security:
  12957. - ApiKeyAuth: []
  12958. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  12959. tags:
  12960. - 企业风险管理(app)
  12961. /Ermcp/QueryTradeConfigTMP:
  12962. get:
  12963. parameters:
  12964. - description: 所属机构id
  12965. in: query
  12966. name: areauserid
  12967. type: integer
  12968. produces:
  12969. - application/json
  12970. responses:
  12971. "200":
  12972. description: OK
  12973. schema:
  12974. items:
  12975. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  12976. type: array
  12977. "500":
  12978. description: Internal Server Error
  12979. schema:
  12980. $ref: '#/definitions/app.Response'
  12981. security:
  12982. - ApiKeyAuth: []
  12983. summary: 查询交易模板配置
  12984. tags:
  12985. - 企业风险管理(app)
  12986. /Ermcp/QueryUserInfo:
  12987. get:
  12988. parameters:
  12989. - description: 所属机构用户ID
  12990. in: query
  12991. name: MemberUserID
  12992. required: true
  12993. type: integer
  12994. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  12995. in: query
  12996. name: queryType
  12997. required: true
  12998. type: integer
  12999. produces:
  13000. - application/json
  13001. responses:
  13002. "200":
  13003. description: OK
  13004. schema:
  13005. items:
  13006. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  13007. type: array
  13008. "500":
  13009. description: Internal Server Error
  13010. schema:
  13011. $ref: '#/definitions/app.Response'
  13012. security:
  13013. - ApiKeyAuth: []
  13014. summary: 查询客户资料
  13015. tags:
  13016. - 企业风险管理(app)
  13017. /Ermcp/QueryWarehouseInfo:
  13018. get:
  13019. parameters:
  13020. - description: 用户ID
  13021. in: query
  13022. name: userid
  13023. required: true
  13024. type: integer
  13025. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  13026. in: query
  13027. name: status
  13028. type: string
  13029. produces:
  13030. - application/json
  13031. responses:
  13032. "200":
  13033. description: OK
  13034. schema:
  13035. items:
  13036. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  13037. type: array
  13038. "500":
  13039. description: Internal Server Error
  13040. schema:
  13041. $ref: '#/definitions/app.Response'
  13042. security:
  13043. - ApiKeyAuth: []
  13044. summary: 查询仓库信息
  13045. tags:
  13046. - 企业风险管理(app)
  13047. /Ermcp3/QryAreaExpourseContractDetail:
  13048. get:
  13049. parameters:
  13050. - description: 用户ID
  13051. in: query
  13052. name: userid
  13053. required: true
  13054. type: integer
  13055. - description: 套保商品id
  13056. in: query
  13057. name: middlegoodsid
  13058. required: true
  13059. type: integer
  13060. - description: 交易日(格式yyyymmdd)
  13061. in: query
  13062. name: tradedate
  13063. required: true
  13064. type: string
  13065. produces:
  13066. - application/json
  13067. responses:
  13068. "200":
  13069. description: OK
  13070. schema:
  13071. items:
  13072. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  13073. type: array
  13074. "500":
  13075. description: Internal Server Error
  13076. schema:
  13077. $ref: '#/definitions/app.Response'
  13078. security:
  13079. - ApiKeyAuth: []
  13080. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  13081. tags:
  13082. - 企业风险管理v3(app)
  13083. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  13084. get:
  13085. parameters:
  13086. - description: 用户ID
  13087. in: query
  13088. name: userid
  13089. required: true
  13090. type: integer
  13091. - description: 套保商品id
  13092. in: query
  13093. name: middlegoodsid
  13094. required: true
  13095. type: integer
  13096. - description: 交易日(格式yyyymmdd)
  13097. in: query
  13098. name: tradedate
  13099. required: true
  13100. type: string
  13101. produces:
  13102. - application/json
  13103. responses:
  13104. "200":
  13105. description: OK
  13106. schema:
  13107. items:
  13108. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  13109. type: array
  13110. "500":
  13111. description: Internal Server Error
  13112. schema:
  13113. $ref: '#/definitions/app.Response'
  13114. security:
  13115. - ApiKeyAuth: []
  13116. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  13117. tags:
  13118. - 企业风险管理v3(app)
  13119. /Ermcp3/QryReckonAreaExpourse:
  13120. get:
  13121. parameters:
  13122. - description: 用户ID
  13123. in: query
  13124. name: userid
  13125. required: true
  13126. type: integer
  13127. - description: 交易日(YYYYMMDD)
  13128. in: query
  13129. name: tradedate
  13130. required: true
  13131. type: string
  13132. produces:
  13133. - application/json
  13134. responses:
  13135. "200":
  13136. description: OK
  13137. schema:
  13138. items:
  13139. $ref: '#/definitions/models.Ermcp3ReckonExpourse'
  13140. type: array
  13141. "500":
  13142. description: Internal Server Error
  13143. schema:
  13144. $ref: '#/definitions/app.Response'
  13145. security:
  13146. - ApiKeyAuth: []
  13147. summary: 查询敞口日报表(报表/敞口报表/日报表)
  13148. tags:
  13149. - 企业风险管理v3(app)
  13150. /Ermcp3/QryReckonAreaSpotPL:
  13151. get:
  13152. parameters:
  13153. - description: 用户ID
  13154. in: query
  13155. name: userid
  13156. required: true
  13157. type: integer
  13158. - description: 交易日(格式yyyymmdd)
  13159. in: query
  13160. name: tradedate
  13161. required: true
  13162. type: string
  13163. produces:
  13164. - application/json
  13165. responses:
  13166. "200":
  13167. description: OK
  13168. schema:
  13169. items:
  13170. $ref: '#/definitions/models.Ermcp3ReckonAreaSpotPL'
  13171. type: array
  13172. "500":
  13173. description: Internal Server Error
  13174. schema:
  13175. $ref: '#/definitions/app.Response'
  13176. security:
  13177. - ApiKeyAuth: []
  13178. summary: 查询现货日报表(现货报表/日报表)
  13179. tags:
  13180. - 企业风险管理v3(app)
  13181. /Ermcp3/QryReportAreaExpourse:
  13182. get:
  13183. parameters:
  13184. - description: 用户ID
  13185. in: query
  13186. name: userid
  13187. required: true
  13188. type: integer
  13189. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  13190. in: query
  13191. name: cycletype
  13192. required: true
  13193. type: integer
  13194. - description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  13195. in: query
  13196. name: cycletime
  13197. required: true
  13198. type: string
  13199. produces:
  13200. - application/json
  13201. responses:
  13202. "200":
  13203. description: OK
  13204. schema:
  13205. items:
  13206. $ref: '#/definitions/models.Ermcp3ReportExpourse'
  13207. type: array
  13208. "500":
  13209. description: Internal Server Error
  13210. schema:
  13211. $ref: '#/definitions/app.Response'
  13212. security:
  13213. - ApiKeyAuth: []
  13214. summary: 查询敞口周期报表(报表/敞口报表/周(月、季、年)报表)
  13215. tags:
  13216. - 企业风险管理v3(app)
  13217. /Ermcp3/QryReportAreaSpotPL:
  13218. get:
  13219. parameters:
  13220. - description: 用户ID
  13221. in: query
  13222. name: userid
  13223. required: true
  13224. type: integer
  13225. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  13226. in: query
  13227. name: cycletype
  13228. required: true
  13229. type: integer
  13230. - description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  13231. in: query
  13232. name: cycletime
  13233. required: true
  13234. type: string
  13235. produces:
  13236. - application/json
  13237. responses:
  13238. "200":
  13239. description: OK
  13240. schema:
  13241. items:
  13242. $ref: '#/definitions/models.Ermcp3ReportAreaSpotPL'
  13243. type: array
  13244. "500":
  13245. description: Internal Server Error
  13246. schema:
  13247. $ref: '#/definitions/app.Response'
  13248. security:
  13249. - ApiKeyAuth: []
  13250. summary: 查询现货周期报表(现货报表/周(月)报表)
  13251. tags:
  13252. - 企业风险管理v3(app)
  13253. /Ermcp3/QryReportDayFinanceFp:
  13254. get:
  13255. parameters:
  13256. - description: 用户ID
  13257. in: query
  13258. name: userid
  13259. required: true
  13260. type: integer
  13261. - description: 交易日(格式:yyyyMMdd)
  13262. in: query
  13263. name: tradedate
  13264. required: true
  13265. type: string
  13266. produces:
  13267. - application/json
  13268. responses:
  13269. "200":
  13270. description: OK
  13271. schema:
  13272. items:
  13273. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  13274. type: array
  13275. "500":
  13276. description: Internal Server Error
  13277. schema:
  13278. $ref: '#/definitions/app.Response'
  13279. security:
  13280. - ApiKeyAuth: []
  13281. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  13282. tags:
  13283. - 企业风险管理v3(app)
  13284. /Ermcp3/QryReportDayFinanceKx:
  13285. get:
  13286. parameters:
  13287. - description: 用户ID
  13288. in: query
  13289. name: userid
  13290. required: true
  13291. type: integer
  13292. - description: 交易日(格式:yyyyMMdd)
  13293. in: query
  13294. name: tradedate
  13295. required: true
  13296. type: string
  13297. produces:
  13298. - application/json
  13299. responses:
  13300. "200":
  13301. description: OK
  13302. schema:
  13303. items:
  13304. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  13305. type: array
  13306. "500":
  13307. description: Internal Server Error
  13308. schema:
  13309. $ref: '#/definitions/app.Response'
  13310. security:
  13311. - ApiKeyAuth: []
  13312. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  13313. tags:
  13314. - 企业风险管理v3(app)
  13315. /Ermcp3/QryReportDaySpot:
  13316. get:
  13317. parameters:
  13318. - description: 用户id
  13319. in: query
  13320. name: userid
  13321. required: true
  13322. type: integer
  13323. - description: 交易日(格式:yyyyMMdd)
  13324. in: query
  13325. name: reckondate
  13326. required: true
  13327. type: string
  13328. - description: 期货账户ID
  13329. in: query
  13330. name: accountid
  13331. type: integer
  13332. - description: 现货品种ID
  13333. in: query
  13334. name: deliverygoodsid
  13335. type: integer
  13336. - description: 品类ID
  13337. in: query
  13338. name: wrstandardid
  13339. type: integer
  13340. - description: 现货品牌ID
  13341. in: query
  13342. name: spotgoodsbrandid
  13343. type: integer
  13344. produces:
  13345. - application/json
  13346. responses:
  13347. "200":
  13348. description: OK
  13349. schema:
  13350. items:
  13351. $ref: '#/definitions/models.Ermcp3ReckonAreaSpotSub'
  13352. type: array
  13353. "500":
  13354. description: Internal Server Error
  13355. schema:
  13356. $ref: '#/definitions/app.Response'
  13357. security:
  13358. - ApiKeyAuth: []
  13359. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  13360. tags:
  13361. - 企业风险管理v3(app)
  13362. /Ermcp3/QryReportDaySpotDetail:
  13363. get:
  13364. parameters:
  13365. - description: 用户ID
  13366. in: query
  13367. name: userid
  13368. required: true
  13369. type: integer
  13370. - description: 现货商品id
  13371. in: query
  13372. name: deliverygoodsid
  13373. required: true
  13374. type: integer
  13375. - description: 交易日(格式:yyyyMMdd)
  13376. in: query
  13377. name: tradedate
  13378. required: true
  13379. type: string
  13380. - description: 品类ID
  13381. in: query
  13382. name: wrstandardid
  13383. type: integer
  13384. - description: 现货品牌ID
  13385. in: query
  13386. name: spotgoodsbrandid
  13387. type: integer
  13388. produces:
  13389. - application/json
  13390. responses:
  13391. "200":
  13392. description: OK
  13393. schema:
  13394. items:
  13395. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  13396. type: array
  13397. "500":
  13398. description: Internal Server Error
  13399. schema:
  13400. $ref: '#/definitions/app.Response'
  13401. security:
  13402. - ApiKeyAuth: []
  13403. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  13404. tags:
  13405. - 企业风险管理v3(app)
  13406. /Ermcp3/QryReportMonthSpot:
  13407. get:
  13408. parameters:
  13409. - description: 用户id
  13410. in: query
  13411. name: userid
  13412. required: true
  13413. type: integer
  13414. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  13415. in: query
  13416. name: cycletype
  13417. required: true
  13418. type: integer
  13419. - description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  13420. in: query
  13421. name: cycletime
  13422. required: true
  13423. type: string
  13424. - description: 期货账户ID
  13425. in: query
  13426. name: accountid
  13427. type: integer
  13428. - description: 现货品种ID
  13429. in: query
  13430. name: deliverygoodsid
  13431. type: integer
  13432. - description: 品类ID
  13433. in: query
  13434. name: wrstandardid
  13435. type: integer
  13436. - description: 现货品牌ID
  13437. in: query
  13438. name: spotgoodsbrandid
  13439. type: integer
  13440. produces:
  13441. - application/json
  13442. responses:
  13443. "200":
  13444. description: OK
  13445. schema:
  13446. items:
  13447. $ref: '#/definitions/models.Ermcp3ReportAreaSpotSub'
  13448. type: array
  13449. "500":
  13450. description: Internal Server Error
  13451. schema:
  13452. $ref: '#/definitions/app.Response'
  13453. security:
  13454. - ApiKeyAuth: []
  13455. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  13456. tags:
  13457. - 企业风险管理v3(app)
  13458. /Ermcp3/QryReportMonthSpotDetail:
  13459. get:
  13460. parameters:
  13461. - description: 用户id
  13462. in: query
  13463. name: userid
  13464. required: true
  13465. type: integer
  13466. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  13467. in: query
  13468. name: cycletype
  13469. required: true
  13470. type: integer
  13471. - description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  13472. in: query
  13473. name: cycletime
  13474. required: true
  13475. type: string
  13476. - description: 期货账户ID
  13477. in: query
  13478. name: accountid
  13479. type: integer
  13480. - description: 现货品种ID
  13481. in: query
  13482. name: deliverygoodsid
  13483. type: integer
  13484. - description: 品类ID
  13485. in: query
  13486. name: wrstandardid
  13487. type: integer
  13488. - description: 现货品牌ID
  13489. in: query
  13490. name: spotgoodsbrandid
  13491. type: integer
  13492. produces:
  13493. - application/json
  13494. responses:
  13495. "200":
  13496. description: OK
  13497. schema:
  13498. items:
  13499. $ref: '#/definitions/models.Ermcp3ReportAreaSpotSub'
  13500. type: array
  13501. "500":
  13502. description: Internal Server Error
  13503. schema:
  13504. $ref: '#/definitions/app.Response'
  13505. security:
  13506. - ApiKeyAuth: []
  13507. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  13508. tags:
  13509. - 企业风险管理v3(app)
  13510. /Ermcp3/QueryAreaStock:
  13511. get:
  13512. parameters:
  13513. - description: 用户ID
  13514. in: query
  13515. name: userid
  13516. required: true
  13517. type: integer
  13518. produces:
  13519. - application/json
  13520. responses:
  13521. "200":
  13522. description: OK
  13523. schema:
  13524. items:
  13525. $ref: '#/definitions/models.Ermcp3AreaStock'
  13526. type: array
  13527. "500":
  13528. description: Internal Server Error
  13529. schema:
  13530. $ref: '#/definitions/app.Response'
  13531. security:
  13532. - ApiKeyAuth: []
  13533. summary: 查询机构库存(库存管理/当前库存)
  13534. tags:
  13535. - 企业风险管理v3(app)
  13536. /Ermcp3/QueryAreaStockApply:
  13537. get:
  13538. parameters:
  13539. - description: 用户ID
  13540. in: query
  13541. name: userid
  13542. required: true
  13543. type: integer
  13544. - description: 现货商品ID
  13545. in: query
  13546. name: deliverygoodsid
  13547. type: integer
  13548. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  13549. in: query
  13550. name: inouttype
  13551. type: string
  13552. - description: 合同ID
  13553. in: query
  13554. name: spotcontractid
  13555. type: integer
  13556. - description: 品类ID
  13557. in: query
  13558. name: wrstandardid
  13559. type: integer
  13560. - description: 品牌ID
  13561. in: query
  13562. name: spotgoodsbrandid
  13563. type: integer
  13564. - description: 仓库ID
  13565. in: query
  13566. name: warehouseinfoid
  13567. type: integer
  13568. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13569. in: query
  13570. name: applystatus
  13571. type: string
  13572. produces:
  13573. - application/json
  13574. responses:
  13575. "200":
  13576. description: OK
  13577. schema:
  13578. items:
  13579. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  13580. type: array
  13581. "500":
  13582. description: Internal Server Error
  13583. schema:
  13584. $ref: '#/definitions/app.Response'
  13585. security:
  13586. - ApiKeyAuth: []
  13587. summary: 查询库存申请(出入库记录|库存审核)
  13588. tags:
  13589. - 企业风险管理v3(app)
  13590. /Ermcp3/QueryAreaStockApplySum:
  13591. get:
  13592. parameters:
  13593. - description: 合同ID
  13594. in: query
  13595. name: spotcontractid
  13596. type: integer
  13597. produces:
  13598. - application/json
  13599. responses:
  13600. "200":
  13601. description: OK
  13602. schema:
  13603. items:
  13604. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  13605. type: array
  13606. "500":
  13607. description: Internal Server Error
  13608. schema:
  13609. $ref: '#/definitions/app.Response'
  13610. security:
  13611. - ApiKeyAuth: []
  13612. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  13613. tags:
  13614. - 企业风险管理v3(app)
  13615. /Ermcp3/QueryAreaStockReport:
  13616. get:
  13617. parameters:
  13618. - description: 用户ID
  13619. in: query
  13620. name: userid
  13621. required: true
  13622. type: integer
  13623. - description: 查询类型 1-日报表 2-月报表
  13624. in: query
  13625. name: querytype
  13626. required: true
  13627. type: integer
  13628. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  13629. in: query
  13630. name: querydate
  13631. required: true
  13632. type: string
  13633. - description: 现货商品ID
  13634. in: query
  13635. name: deliverygoodsid
  13636. type: integer
  13637. - description: 品类ID
  13638. in: query
  13639. name: wrstandardid
  13640. type: integer
  13641. - description: 品牌ID
  13642. in: query
  13643. name: spotgoodsbrandid
  13644. type: integer
  13645. - description: 仓库ID
  13646. in: query
  13647. name: warehouseinfoid
  13648. type: integer
  13649. produces:
  13650. - application/json
  13651. responses:
  13652. "200":
  13653. description: OK
  13654. schema:
  13655. items:
  13656. $ref: '#/definitions/models.Ermcp3AreaStockReport'
  13657. type: array
  13658. "500":
  13659. description: Internal Server Error
  13660. schema:
  13661. $ref: '#/definitions/app.Response'
  13662. security:
  13663. - ApiKeyAuth: []
  13664. summary: 查询库存报表
  13665. tags:
  13666. - 企业风险管理v3(app)
  13667. /Ermcp3/QueryAreaStockReportDetail:
  13668. get:
  13669. parameters:
  13670. - description: 用户ID
  13671. in: query
  13672. name: userid
  13673. required: true
  13674. type: integer
  13675. - description: 查询类型 1-日报表明细 2-月报表明细
  13676. in: query
  13677. name: querytype
  13678. required: true
  13679. type: integer
  13680. - description: 明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)
  13681. in: query
  13682. name: detailtype
  13683. required: true
  13684. type: integer
  13685. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  13686. in: query
  13687. name: querydate
  13688. required: true
  13689. type: string
  13690. - description: 现货商品ID
  13691. in: query
  13692. name: deliverygoodsid
  13693. type: integer
  13694. - description: 品类ID
  13695. in: query
  13696. name: wrstandardid
  13697. type: integer
  13698. - description: 品牌ID
  13699. in: query
  13700. name: spotgoodsbrandid
  13701. type: integer
  13702. - description: 仓库ID
  13703. in: query
  13704. name: warehouseinfoid
  13705. type: integer
  13706. produces:
  13707. - application/json
  13708. responses:
  13709. "200":
  13710. description: OK
  13711. schema:
  13712. items:
  13713. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  13714. type: array
  13715. "500":
  13716. description: Internal Server Error
  13717. schema:
  13718. $ref: '#/definitions/app.Response'
  13719. security:
  13720. - ApiKeyAuth: []
  13721. summary: 查询库存报表明细
  13722. tags:
  13723. - 企业风险管理v3(app)
  13724. /Ermcp3/QueryDGFactoryItem:
  13725. get:
  13726. parameters:
  13727. - description: 用户id
  13728. in: query
  13729. name: userid
  13730. type: integer
  13731. - description: 用户类型 2-机构 7-企业成员
  13732. in: query
  13733. name: usertype
  13734. type: integer
  13735. - description: 选择项ID(SEQ_DGFACTORYITEM)
  13736. in: query
  13737. name: dgfactoryitemid
  13738. type: integer
  13739. - description: 现货品种ID
  13740. in: query
  13741. name: deliverygoodsid
  13742. type: integer
  13743. - description: 要素项类型
  13744. in: query
  13745. name: dgfactoryitemtypeid
  13746. type: integer
  13747. - description: 顺序
  13748. in: query
  13749. name: orderindex
  13750. type: integer
  13751. produces:
  13752. - application/json
  13753. responses:
  13754. "200":
  13755. description: OK
  13756. schema:
  13757. items:
  13758. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  13759. type: array
  13760. "500":
  13761. description: Internal Server Error
  13762. schema:
  13763. $ref: '#/definitions/app.Response'
  13764. security:
  13765. - ApiKeyAuth: []
  13766. summary: 查询品种要素定义项
  13767. tags:
  13768. - 企业风险管理v3(app)
  13769. /Ermcp3/QueryDeliveryGoods:
  13770. get:
  13771. parameters:
  13772. - description: 用户id
  13773. in: query
  13774. name: userid
  13775. required: true
  13776. type: integer
  13777. - description: 用户类型 2-机构 7-企业成员
  13778. in: query
  13779. name: usertype
  13780. type: integer
  13781. - description: 排除已配置的业务类型商品 1-套保 2-套利
  13782. in: query
  13783. name: excludecfg
  13784. type: integer
  13785. produces:
  13786. - application/json
  13787. responses:
  13788. "200":
  13789. description: OK
  13790. schema:
  13791. items:
  13792. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  13793. type: array
  13794. "500":
  13795. description: Internal Server Error
  13796. schema:
  13797. $ref: '#/definitions/app.Response'
  13798. security:
  13799. - ApiKeyAuth: []
  13800. summary: 查询现货商品
  13801. tags:
  13802. - 企业风险管理v3(app)
  13803. /Ermcp3/QueryDeliveryGoodsDetail:
  13804. get:
  13805. parameters:
  13806. - description: 用户id
  13807. in: query
  13808. name: userid
  13809. required: true
  13810. type: integer
  13811. - description: 用户类型 2-机构 7-企业成员
  13812. in: query
  13813. name: usertype
  13814. type: integer
  13815. - description: 现货商品id
  13816. in: query
  13817. name: deliverygoodsid
  13818. type: integer
  13819. produces:
  13820. - application/json
  13821. responses:
  13822. "200":
  13823. description: OK
  13824. schema:
  13825. items:
  13826. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  13827. type: array
  13828. "500":
  13829. description: Internal Server Error
  13830. schema:
  13831. $ref: '#/definitions/app.Response'
  13832. security:
  13833. - ApiKeyAuth: []
  13834. summary: 查询现货商品详情
  13835. tags:
  13836. - 企业风险管理v3(app)
  13837. /Ermcp3/QueryExposureDetail:
  13838. get:
  13839. parameters:
  13840. - description: 用户id
  13841. in: query
  13842. name: userid
  13843. required: true
  13844. type: integer
  13845. - description: 用户类型 2-机构 7-企业成员
  13846. in: query
  13847. name: usertype
  13848. type: integer
  13849. - description: 套保商品
  13850. in: query
  13851. name: middlegoodsid
  13852. required: true
  13853. type: integer
  13854. produces:
  13855. - application/json
  13856. responses:
  13857. "200":
  13858. description: OK
  13859. schema:
  13860. items:
  13861. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  13862. type: array
  13863. "500":
  13864. description: Internal Server Error
  13865. schema:
  13866. $ref: '#/definitions/app.Response'
  13867. security:
  13868. - ApiKeyAuth: []
  13869. summary: 查询敞口现货明细
  13870. tags:
  13871. - 企业风险管理v3(app)
  13872. /Ermcp3/QueryExposureSpot:
  13873. get:
  13874. parameters:
  13875. - description: 用户id
  13876. in: query
  13877. name: userid
  13878. required: true
  13879. type: integer
  13880. - description: 用户类型 2-机构 7-企业成员
  13881. in: query
  13882. name: usertype
  13883. type: integer
  13884. produces:
  13885. - application/json
  13886. responses:
  13887. "200":
  13888. description: OK
  13889. schema:
  13890. items:
  13891. $ref: '#/definitions/models.Ermcp3AreaSpot'
  13892. type: array
  13893. "500":
  13894. description: Internal Server Error
  13895. schema:
  13896. $ref: '#/definitions/app.Response'
  13897. security:
  13898. - ApiKeyAuth: []
  13899. summary: 查询敞口现货头寸(敞口/现货头寸)
  13900. tags:
  13901. - 企业风险管理v3(app)
  13902. /Ermcp3/QueryExposureSpotDetail:
  13903. get:
  13904. parameters:
  13905. - description: 用户id
  13906. in: query
  13907. name: userid
  13908. required: true
  13909. type: integer
  13910. - description: 用户类型 2-机构 7-企业成员
  13911. in: query
  13912. name: usertype
  13913. type: integer
  13914. - description: 现货品种ID
  13915. in: query
  13916. name: deliverygoodsid
  13917. required: true
  13918. type: integer
  13919. produces:
  13920. - application/json
  13921. responses:
  13922. "200":
  13923. description: OK
  13924. schema:
  13925. items:
  13926. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  13927. type: array
  13928. "500":
  13929. description: Internal Server Error
  13930. schema:
  13931. $ref: '#/definitions/app.Response'
  13932. security:
  13933. - ApiKeyAuth: []
  13934. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  13935. tags:
  13936. - 企业风险管理v3(app)
  13937. /Ermcp3/QueryGoodsGroup:
  13938. get:
  13939. parameters:
  13940. - description: 用户id
  13941. in: query
  13942. name: userid
  13943. required: true
  13944. type: integer
  13945. - description: 用户类型 2-机构 7-企业成员
  13946. in: query
  13947. name: usertype
  13948. type: integer
  13949. - description: 排除套保品中已关联的商品组 1-排除
  13950. in: query
  13951. name: excludecfg
  13952. type: integer
  13953. produces:
  13954. - application/json
  13955. responses:
  13956. "200":
  13957. description: OK
  13958. schema:
  13959. items:
  13960. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  13961. type: array
  13962. "500":
  13963. description: Internal Server Error
  13964. schema:
  13965. $ref: '#/definitions/app.Response'
  13966. security:
  13967. - ApiKeyAuth: []
  13968. summary: 查询期货商品组
  13969. tags:
  13970. - 企业风险管理v3(app)
  13971. /Ermcp3/QueryGoodsWrstandard:
  13972. get:
  13973. parameters:
  13974. - description: 用户id
  13975. in: query
  13976. name: userid
  13977. required: true
  13978. type: integer
  13979. - description: 用户类型 2-机构 7-企业成员
  13980. in: query
  13981. name: usertype
  13982. type: integer
  13983. - description: 现货商品id
  13984. in: query
  13985. name: deliverygoodsid
  13986. type: integer
  13987. produces:
  13988. - application/json
  13989. responses:
  13990. "200":
  13991. description: OK
  13992. schema:
  13993. items:
  13994. $ref: '#/definitions/models.Ermcp3Wrstandard'
  13995. type: array
  13996. "500":
  13997. description: Internal Server Error
  13998. schema:
  13999. $ref: '#/definitions/app.Response'
  14000. security:
  14001. - ApiKeyAuth: []
  14002. summary: 查询商品品类
  14003. tags:
  14004. - 企业风险管理v3(app)
  14005. /Ermcp3/QueryGoodsbrand:
  14006. get:
  14007. parameters:
  14008. - description: 用户id
  14009. in: query
  14010. name: userid
  14011. required: true
  14012. type: integer
  14013. - description: 用户类型 2-机构 7-企业成员
  14014. in: query
  14015. name: usertype
  14016. type: integer
  14017. produces:
  14018. - application/json
  14019. responses:
  14020. "200":
  14021. description: OK
  14022. schema:
  14023. items:
  14024. $ref: '#/definitions/models.Ermcp3Brand'
  14025. type: array
  14026. "500":
  14027. description: Internal Server Error
  14028. schema:
  14029. $ref: '#/definitions/app.Response'
  14030. security:
  14031. - ApiKeyAuth: []
  14032. summary: 查询商品品牌
  14033. tags:
  14034. - 企业风险管理v3(app)
  14035. /Ermcp3/QueryHedgePlan:
  14036. get:
  14037. parameters:
  14038. - description: 用户ID
  14039. in: query
  14040. name: userid
  14041. required: true
  14042. type: integer
  14043. - description: 用户类型 2-机构 7-企业成员
  14044. in: query
  14045. name: usertype
  14046. type: integer
  14047. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  14048. in: query
  14049. name: hedgeplanstatus
  14050. required: true
  14051. type: string
  14052. produces:
  14053. - application/json
  14054. responses:
  14055. "200":
  14056. description: OK
  14057. schema:
  14058. items:
  14059. $ref: '#/definitions/models.Ermcp3HedgePlan'
  14060. type: array
  14061. "500":
  14062. description: Internal Server Error
  14063. schema:
  14064. $ref: '#/definitions/app.Response'
  14065. security:
  14066. - ApiKeyAuth: []
  14067. summary: 查询套保计划
  14068. tags:
  14069. - 企业风险管理v3(app)
  14070. /Ermcp3/QueryMiddleGoodsDetail:
  14071. get:
  14072. parameters:
  14073. - description: 用户id
  14074. in: query
  14075. name: userid
  14076. required: true
  14077. type: integer
  14078. - description: 用户类型 2-机构 7-企业成员
  14079. in: query
  14080. name: usertype
  14081. type: integer
  14082. - description: 套保品种id
  14083. in: query
  14084. name: middlegoodsid
  14085. type: integer
  14086. produces:
  14087. - application/json
  14088. responses:
  14089. "200":
  14090. description: OK
  14091. schema:
  14092. items:
  14093. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  14094. type: array
  14095. "500":
  14096. description: Internal Server Error
  14097. schema:
  14098. $ref: '#/definitions/app.Response'
  14099. security:
  14100. - ApiKeyAuth: []
  14101. summary: 查询套保品种详情(套保品种/商品详情)
  14102. tags:
  14103. - 企业风险管理v3(app)
  14104. /Ermcp3/QuerySpotContract:
  14105. get:
  14106. parameters:
  14107. - description: 用户id
  14108. in: query
  14109. name: userid
  14110. required: true
  14111. type: integer
  14112. - description: 用户类型 2-机构 7-企业成员
  14113. in: query
  14114. name: usertype
  14115. type: integer
  14116. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  14117. in: query
  14118. name: querytype
  14119. required: true
  14120. type: integer
  14121. - description: 合同ID(SpotContractId)
  14122. in: query
  14123. name: contractid
  14124. type: string
  14125. produces:
  14126. - application/json
  14127. responses:
  14128. "200":
  14129. description: OK
  14130. schema:
  14131. items:
  14132. $ref: '#/definitions/models.Ermcp3Contract'
  14133. type: array
  14134. "500":
  14135. description: Internal Server Error
  14136. schema:
  14137. $ref: '#/definitions/app.Response'
  14138. security:
  14139. - ApiKeyAuth: []
  14140. summary: 查询现货合同
  14141. tags:
  14142. - 企业风险管理v3(app)
  14143. /Ermcp3/QuerySpotContractBS:
  14144. get:
  14145. parameters:
  14146. - description: 用户id
  14147. in: query
  14148. name: userid
  14149. required: true
  14150. type: integer
  14151. - description: 用户类型 2-机构 7-企业成员
  14152. in: query
  14153. name: usertype
  14154. type: integer
  14155. - description: 合同类型 1-采购, -1-销售
  14156. in: query
  14157. name: contracttype
  14158. required: true
  14159. type: integer
  14160. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  14161. in: query
  14162. name: querytype
  14163. required: true
  14164. type: integer
  14165. - description: 合同ID(SpotContractId)
  14166. in: query
  14167. name: contractid
  14168. type: string
  14169. produces:
  14170. - application/json
  14171. responses:
  14172. "200":
  14173. description: OK
  14174. schema:
  14175. items:
  14176. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  14177. type: array
  14178. "500":
  14179. description: Internal Server Error
  14180. schema:
  14181. $ref: '#/definitions/app.Response'
  14182. security:
  14183. - ApiKeyAuth: []
  14184. summary: 查询合同(采购/销售)
  14185. tags:
  14186. - 企业风险管理v3(app)
  14187. /Ermcp3/QuerySpotGoodsPrice:
  14188. get:
  14189. parameters:
  14190. - description: 用户ID
  14191. in: query
  14192. name: userid
  14193. required: true
  14194. type: integer
  14195. produces:
  14196. - application/json
  14197. responses:
  14198. "200":
  14199. description: OK
  14200. schema:
  14201. items:
  14202. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  14203. type: array
  14204. "500":
  14205. description: Internal Server Error
  14206. schema:
  14207. $ref: '#/definitions/app.Response'
  14208. security:
  14209. - ApiKeyAuth: []
  14210. summary: 查询现货市价(现货市价)
  14211. tags:
  14212. - 企业风险管理v3(app)
  14213. /Ermcp3/QuerySpotGoodsPriceLog:
  14214. get:
  14215. parameters:
  14216. - description: 用户ID
  14217. in: query
  14218. name: userid
  14219. required: true
  14220. type: integer
  14221. - description: 现货商品ID
  14222. in: query
  14223. name: deliverygoodsid
  14224. required: true
  14225. type: integer
  14226. - description: 品牌ID
  14227. in: query
  14228. name: brandid
  14229. type: integer
  14230. - description: 品类ID
  14231. in: query
  14232. name: wrstandardid
  14233. type: integer
  14234. produces:
  14235. - application/json
  14236. responses:
  14237. "200":
  14238. description: OK
  14239. schema:
  14240. items:
  14241. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  14242. type: array
  14243. "500":
  14244. description: Internal Server Error
  14245. schema:
  14246. $ref: '#/definitions/app.Response'
  14247. security:
  14248. - ApiKeyAuth: []
  14249. summary: 查询现货市价详情(现货市价/详情)
  14250. tags:
  14251. - 企业风险管理v3(app)
  14252. /Erms2/QueryArbitrageStrategy:
  14253. get:
  14254. parameters:
  14255. - description: 账户ID
  14256. in: query
  14257. name: userid
  14258. required: true
  14259. type: integer
  14260. - description: 商品组ID(品种ID)
  14261. in: query
  14262. name: goodsgroupid
  14263. type: string
  14264. produces:
  14265. - application/json
  14266. responses:
  14267. "200":
  14268. description: OK
  14269. schema:
  14270. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  14271. "500":
  14272. description: Internal Server Error
  14273. schema:
  14274. $ref: '#/definitions/app.Response'
  14275. security:
  14276. - ApiKeyAuth: []
  14277. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  14278. tags:
  14279. - 风险管理
  14280. /Erms2/QueryInnerTradeDetail:
  14281. get:
  14282. parameters:
  14283. - description: 资金账户
  14284. in: query
  14285. name: accountid
  14286. required: true
  14287. type: integer
  14288. produces:
  14289. - application/json
  14290. responses:
  14291. "200":
  14292. description: OK
  14293. schema:
  14294. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  14295. "500":
  14296. description: Internal Server Error
  14297. schema:
  14298. $ref: '#/definitions/app.Response'
  14299. security:
  14300. - ApiKeyAuth: []
  14301. summary: 查询内部成交单信息
  14302. tags:
  14303. - 风险管理
  14304. /Erms2/QuerySpotContract:
  14305. get:
  14306. parameters:
  14307. - description: 策略申请ID
  14308. in: query
  14309. name: asapplyid
  14310. required: true
  14311. type: integer
  14312. - description: 现货合同ID
  14313. in: query
  14314. name: spotcontractid
  14315. type: integer
  14316. produces:
  14317. - application/json
  14318. responses:
  14319. "200":
  14320. description: OK
  14321. schema:
  14322. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  14323. "500":
  14324. description: Internal Server Error
  14325. schema:
  14326. $ref: '#/definitions/app.Response'
  14327. security:
  14328. - ApiKeyAuth: []
  14329. summary: 查询现货合同表信息(指定策略ID、未结束的)
  14330. tags:
  14331. - 风险管理
  14332. /Erms3/AddErms2ASApply:
  14333. post:
  14334. parameters:
  14335. - description: 申请参数
  14336. in: body
  14337. name: jsonBody
  14338. required: true
  14339. schema:
  14340. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  14341. produces:
  14342. - application/json
  14343. responses:
  14344. "200":
  14345. description: OK
  14346. schema:
  14347. $ref: '#/definitions/app.Response'
  14348. "500":
  14349. description: Internal Server Error
  14350. schema:
  14351. $ref: '#/definitions/app.Response'
  14352. security:
  14353. - ApiKeyAuth: []
  14354. summary: 新增期现套利业务申请
  14355. tags:
  14356. - 风险管理v3
  14357. /Erms3/AddErms2SpotTradeApply:
  14358. post:
  14359. parameters:
  14360. - description: 申请参数
  14361. in: body
  14362. name: jsonBody
  14363. required: true
  14364. schema:
  14365. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  14366. produces:
  14367. - application/json
  14368. responses:
  14369. "200":
  14370. description: OK
  14371. schema:
  14372. $ref: '#/definitions/app.Response'
  14373. "500":
  14374. description: Internal Server Error
  14375. schema:
  14376. $ref: '#/definitions/app.Response'
  14377. security:
  14378. - ApiKeyAuth: []
  14379. summary: 新增现货贸易业务申请
  14380. tags:
  14381. - 风险管理v3
  14382. /Erms3/AddSpotContractApply:
  14383. post:
  14384. parameters:
  14385. - description: 申请参数
  14386. in: body
  14387. name: jsonBody
  14388. required: true
  14389. schema:
  14390. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  14391. produces:
  14392. - application/json
  14393. responses:
  14394. "200":
  14395. description: OK
  14396. schema:
  14397. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  14398. "500":
  14399. description: Internal Server Error
  14400. schema:
  14401. $ref: '#/definitions/app.Response'
  14402. security:
  14403. - ApiKeyAuth: []
  14404. summary: 新增现货合同申请
  14405. tags:
  14406. - 风险管理v3
  14407. /Erms3/AddUserInfoApply:
  14408. post:
  14409. parameters:
  14410. - description: 用户信息
  14411. in: body
  14412. name: jsonBody
  14413. required: true
  14414. schema:
  14415. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  14416. produces:
  14417. - application/json
  14418. responses:
  14419. "200":
  14420. description: OK
  14421. schema:
  14422. $ref: '#/definitions/app.Response'
  14423. "500":
  14424. description: Internal Server Error
  14425. schema:
  14426. $ref: '#/definitions/app.Response'
  14427. security:
  14428. - ApiKeyAuth: []
  14429. summary: 新增客户申请
  14430. tags:
  14431. - 风险管理v3
  14432. /Erms3/DeleteUserInfoApply:
  14433. get:
  14434. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  14435. parameters:
  14436. - description: 用户ID
  14437. in: query
  14438. name: userID
  14439. required: true
  14440. type: integer
  14441. produces:
  14442. - application/json
  14443. responses:
  14444. "200":
  14445. description: OK
  14446. schema:
  14447. $ref: '#/definitions/app.Response'
  14448. "500":
  14449. description: Internal Server Error
  14450. schema:
  14451. $ref: '#/definitions/app.Response'
  14452. security:
  14453. - ApiKeyAuth: []
  14454. summary: 删除客户申请
  14455. tags:
  14456. - 风险管理v3
  14457. /Erms3/ModifyUserInfoApply:
  14458. post:
  14459. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  14460. int, "userstate": 2 }'
  14461. parameters:
  14462. - description: 用户信息
  14463. in: body
  14464. name: jsonBody
  14465. required: true
  14466. schema:
  14467. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  14468. produces:
  14469. - application/json
  14470. responses:
  14471. "200":
  14472. description: OK
  14473. schema:
  14474. $ref: '#/definitions/app.Response'
  14475. "500":
  14476. description: Internal Server Error
  14477. schema:
  14478. $ref: '#/definitions/app.Response'
  14479. security:
  14480. - ApiKeyAuth: []
  14481. summary: 修改客户申请
  14482. tags:
  14483. - 风险管理v3
  14484. /Erms3/QueryBusinessInfo:
  14485. get:
  14486. parameters:
  14487. - description: 资金账号ID列表,用逗号分隔
  14488. in: query
  14489. name: accountids
  14490. required: true
  14491. type: string
  14492. - description: 状态,0为未结束 1为已结束
  14493. in: query
  14494. name: status
  14495. required: true
  14496. type: integer
  14497. produces:
  14498. - application/json
  14499. responses:
  14500. "200":
  14501. description: OK
  14502. schema:
  14503. items:
  14504. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  14505. type: array
  14506. "500":
  14507. description: Internal Server Error
  14508. schema:
  14509. $ref: '#/definitions/app.Response'
  14510. security:
  14511. - ApiKeyAuth: []
  14512. summary: 查询业务表单数据
  14513. tags:
  14514. - 风险管理v3
  14515. /Erms3/QueryPendingAuditContract:
  14516. get:
  14517. parameters:
  14518. - description: 资金账号ID列表,逗号隔开
  14519. in: query
  14520. name: accountids
  14521. required: true
  14522. type: string
  14523. - description: 合同类型 1-采购 -1-销售
  14524. in: query
  14525. name: contracttype
  14526. required: true
  14527. type: integer
  14528. - description: 合同模式 1-普通 2-回购
  14529. in: query
  14530. name: contractmode
  14531. required: true
  14532. type: integer
  14533. produces:
  14534. - application/json
  14535. responses:
  14536. "200":
  14537. description: OK
  14538. schema:
  14539. items:
  14540. $ref: '#/definitions/erms3.QryAuditContractRsp'
  14541. type: array
  14542. "500":
  14543. description: Internal Server Error
  14544. schema:
  14545. $ref: '#/definitions/app.Response'
  14546. security:
  14547. - ApiKeyAuth: []
  14548. summary: 查询待审核合同
  14549. tags:
  14550. - 风险管理v3
  14551. /Erms3/QueryPendingBusiness:
  14552. get:
  14553. parameters:
  14554. - description: 资金账号ID列表,逗号隔开
  14555. in: query
  14556. name: accountids
  14557. required: true
  14558. type: string
  14559. produces:
  14560. - application/json
  14561. responses:
  14562. "200":
  14563. description: OK
  14564. schema:
  14565. items:
  14566. $ref: '#/definitions/erms3.QryPendingBizRsp'
  14567. type: array
  14568. "500":
  14569. description: Internal Server Error
  14570. schema:
  14571. $ref: '#/definitions/app.Response'
  14572. security:
  14573. - ApiKeyAuth: []
  14574. summary: 查询待审核基差贸易业务
  14575. tags:
  14576. - 风险管理v3
  14577. /Erms3/QuerySpotContractAppleForm:
  14578. get:
  14579. parameters:
  14580. - description: 登录账号
  14581. in: query
  14582. name: loginID
  14583. required: true
  14584. type: integer
  14585. produces:
  14586. - application/json
  14587. responses:
  14588. "200":
  14589. description: OK
  14590. schema:
  14591. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  14592. "500":
  14593. description: Internal Server Error
  14594. schema:
  14595. $ref: '#/definitions/app.Response'
  14596. security:
  14597. - ApiKeyAuth: []
  14598. summary: 查询合同申请表单数据
  14599. tags:
  14600. - 风险管理v3
  14601. /Erms3/QuerySpotContractDetail:
  14602. get:
  14603. parameters:
  14604. - description: 资金账号ID列表,用逗号分隔
  14605. in: query
  14606. name: accountids
  14607. required: true
  14608. type: string
  14609. - description: 合同类型,1为采购合同 -1为销售合同
  14610. in: query
  14611. name: contracttype
  14612. required: true
  14613. type: integer
  14614. - description: 合同模式,1为普通合同 2为回购销售合同
  14615. in: query
  14616. name: contractmode
  14617. required: true
  14618. type: integer
  14619. - description: 状态,0为履约中 1为已完成
  14620. in: query
  14621. name: status
  14622. required: true
  14623. type: integer
  14624. produces:
  14625. - application/json
  14626. responses:
  14627. "200":
  14628. description: OK
  14629. schema:
  14630. items:
  14631. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  14632. type: array
  14633. "500":
  14634. description: Internal Server Error
  14635. schema:
  14636. $ref: '#/definitions/app.Response'
  14637. security:
  14638. - ApiKeyAuth: []
  14639. summary: 查询合同详细信息
  14640. tags:
  14641. - 风险管理v3
  14642. /Erms3/QueryUserInfoApplies:
  14643. get:
  14644. parameters:
  14645. - description: 页码
  14646. in: query
  14647. name: page
  14648. type: integer
  14649. - description: 每页条数
  14650. in: query
  14651. name: pagesize
  14652. type: integer
  14653. - description: 客户名称,支持模糊查询
  14654. in: query
  14655. name: userName
  14656. type: string
  14657. produces:
  14658. - application/json
  14659. responses:
  14660. "200":
  14661. description: OK
  14662. schema:
  14663. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  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/QueryUserInfos:
  14674. get:
  14675. parameters:
  14676. - description: 页码
  14677. in: query
  14678. name: page
  14679. type: integer
  14680. - description: 每页条数
  14681. in: query
  14682. name: pagesize
  14683. type: integer
  14684. - description: 客户名称,支持模糊查询
  14685. in: query
  14686. name: userName
  14687. type: string
  14688. produces:
  14689. - application/json
  14690. responses:
  14691. "200":
  14692. description: OK
  14693. schema:
  14694. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  14695. "500":
  14696. description: Internal Server Error
  14697. schema:
  14698. $ref: '#/definitions/app.Response'
  14699. security:
  14700. - ApiKeyAuth: []
  14701. summary: 客户信息查询
  14702. tags:
  14703. - 风险管理v3
  14704. /HSBY/GetHsbyMyCount:
  14705. get:
  14706. description: 说明: 不包括已完成的数量。
  14707. parameters:
  14708. - description: 资金账户列表,格式:1,2,3
  14709. in: query
  14710. name: accountIDs
  14711. required: true
  14712. type: string
  14713. produces:
  14714. - application/json
  14715. responses:
  14716. "200":
  14717. description: OK
  14718. schema:
  14719. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  14720. "500":
  14721. description: Internal Server Error
  14722. schema:
  14723. $ref: '#/definitions/app.Response'
  14724. security:
  14725. - ApiKeyAuth: []
  14726. summary: 获取我的订单与包裹数量
  14727. tags:
  14728. - 定制【海商报业】
  14729. /HSBY/QueryClientFixedADConfigs:
  14730. get:
  14731. produces:
  14732. - application/json
  14733. responses:
  14734. "200":
  14735. description: OK
  14736. schema:
  14737. $ref: '#/definitions/models.Clientfixedadconfig'
  14738. "500":
  14739. description: Internal Server Error
  14740. schema:
  14741. $ref: '#/definitions/app.Response'
  14742. security:
  14743. - ApiKeyAuth: []
  14744. summary: 获取终端固定广告配置
  14745. tags:
  14746. - 定制【海商报业】
  14747. /HSBY/QueryHsbyBuyMyTradeDetail:
  14748. get:
  14749. parameters:
  14750. - description: 页码
  14751. in: query
  14752. name: page
  14753. type: integer
  14754. - description: 每页条数
  14755. in: query
  14756. name: pagesize
  14757. type: integer
  14758. - description: 资金账户列表,格式:1,2,3
  14759. in: query
  14760. name: accountIDs
  14761. required: true
  14762. type: string
  14763. produces:
  14764. - application/json
  14765. responses:
  14766. "200":
  14767. description: OK
  14768. schema:
  14769. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  14770. "500":
  14771. description: Internal Server Error
  14772. schema:
  14773. $ref: '#/definitions/app.Response'
  14774. security:
  14775. - ApiKeyAuth: []
  14776. summary: 查询"我的订单 - 已完成"单据信息
  14777. tags:
  14778. - 定制【海商报业】
  14779. /HSBY/QueryHsbyGoodsOrderDetails:
  14780. get:
  14781. description: 说明:查询结果已按委托价格和委托时间排序
  14782. parameters:
  14783. - description: 商品ID
  14784. in: query
  14785. name: goodsID
  14786. required: true
  14787. type: integer
  14788. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  14789. in: query
  14790. name: accountIDs
  14791. type: string
  14792. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  14793. in: query
  14794. name: buyOrSell
  14795. type: integer
  14796. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  14797. in: query
  14798. name: price
  14799. type: number
  14800. - description: 档位,不传则默认为3档
  14801. in: query
  14802. name: speed
  14803. type: integer
  14804. produces:
  14805. - application/json
  14806. responses:
  14807. "200":
  14808. description: OK
  14809. schema:
  14810. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  14811. "500":
  14812. description: Internal Server Error
  14813. schema:
  14814. $ref: '#/definitions/app.Response'
  14815. security:
  14816. - ApiKeyAuth: []
  14817. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  14818. tags:
  14819. - 定制【海商报业】
  14820. /HSBY/QueryHsbyListingGoodsDetail:
  14821. get:
  14822. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  14823. parameters:
  14824. - description: 商品ID
  14825. in: query
  14826. name: goodsID
  14827. required: true
  14828. type: integer
  14829. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  14830. in: query
  14831. name: accountID
  14832. type: integer
  14833. produces:
  14834. - application/json
  14835. responses:
  14836. "200":
  14837. description: OK
  14838. schema:
  14839. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  14840. "500":
  14841. description: Internal Server Error
  14842. schema:
  14843. $ref: '#/definitions/app.Response'
  14844. security:
  14845. - ApiKeyAuth: []
  14846. summary: 查询二级市场(挂牌点选)商品信息详情
  14847. tags:
  14848. - 定制【海商报业】
  14849. /HSBY/QueryHsbyMarketGoodsDetail:
  14850. get:
  14851. parameters:
  14852. - description: 委托单号
  14853. in: query
  14854. name: orderID
  14855. required: true
  14856. type: integer
  14857. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  14858. in: query
  14859. name: accountID
  14860. type: integer
  14861. produces:
  14862. - application/json
  14863. responses:
  14864. "200":
  14865. description: OK
  14866. schema:
  14867. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  14868. "500":
  14869. description: Internal Server Error
  14870. schema:
  14871. $ref: '#/definitions/app.Response'
  14872. security:
  14873. - ApiKeyAuth: []
  14874. summary: 查询三级市场(商城)商品信息详情
  14875. tags:
  14876. - 定制【海商报业】
  14877. /HSBY/QueryHsbyMarketGoodses:
  14878. get:
  14879. parameters:
  14880. - description: 页码
  14881. in: query
  14882. name: page
  14883. type: integer
  14884. - description: 每页条数
  14885. in: query
  14886. name: pagesize
  14887. type: integer
  14888. - description: 市场ID列表,格式:1,2,3
  14889. in: query
  14890. name: marketIDs
  14891. required: true
  14892. type: string
  14893. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  14894. in: query
  14895. name: accountID
  14896. required: true
  14897. type: integer
  14898. - description: 类别ID
  14899. in: query
  14900. name: categoryID
  14901. type: integer
  14902. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  14903. in: query
  14904. name: goodsIDs
  14905. type: string
  14906. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  14907. in: query
  14908. name: couponTypeID
  14909. type: integer
  14910. produces:
  14911. - application/json
  14912. responses:
  14913. "200":
  14914. description: OK
  14915. schema:
  14916. $ref: '#/definitions/models.HsbyMarketGoods'
  14917. "500":
  14918. description: Internal Server Error
  14919. schema:
  14920. $ref: '#/definitions/app.Response'
  14921. security:
  14922. - ApiKeyAuth: []
  14923. summary: 查询特卖商品列表(三级商城)
  14924. tags:
  14925. - 定制【海商报业】
  14926. /HSBY/QueryHsbyMarkets:
  14927. get:
  14928. produces:
  14929. - application/json
  14930. responses:
  14931. "200":
  14932. description: OK
  14933. schema:
  14934. $ref: '#/definitions/models.HsbyMarketInfo'
  14935. "500":
  14936. description: Internal Server Error
  14937. schema:
  14938. $ref: '#/definitions/app.Response'
  14939. security:
  14940. - ApiKeyAuth: []
  14941. summary: 查询海商报业相关市场信息
  14942. tags:
  14943. - 定制【海商报业】
  14944. /HSBY/QueryHsbyMyBuyOrderDetails:
  14945. get:
  14946. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  14947. parameters:
  14948. - description: 资金账户列表,格式:1,2,3
  14949. in: query
  14950. name: accountIDs
  14951. required: true
  14952. type: string
  14953. produces:
  14954. - application/json
  14955. responses:
  14956. "200":
  14957. description: OK
  14958. schema:
  14959. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  14960. "500":
  14961. description: Internal Server Error
  14962. schema:
  14963. $ref: '#/definitions/app.Response'
  14964. security:
  14965. - ApiKeyAuth: []
  14966. summary: 查询“我的订单”信息
  14967. tags:
  14968. - 定制【海商报业】
  14969. /HSBY/QueryHsbyMyGoods:
  14970. get:
  14971. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  14972. parameters:
  14973. - description: 资金账户列表,格式:1,2,3
  14974. in: query
  14975. name: accountIDs
  14976. required: true
  14977. type: string
  14978. produces:
  14979. - application/json
  14980. responses:
  14981. "200":
  14982. description: OK
  14983. schema:
  14984. $ref: '#/definitions/models.HsbyMyGoods'
  14985. "500":
  14986. description: Internal Server Error
  14987. schema:
  14988. $ref: '#/definitions/app.Response'
  14989. security:
  14990. - ApiKeyAuth: []
  14991. summary: 查询“我的商品”信息
  14992. tags:
  14993. - 定制【海商报业】
  14994. /HSBY/QueryHsbyMyPackages:
  14995. get:
  14996. parameters:
  14997. - description: 资金账户列表,格式:1,2,3
  14998. in: query
  14999. name: accountIDs
  15000. required: true
  15001. type: string
  15002. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  15003. in: query
  15004. name: takeOrderStatus
  15005. type: integer
  15006. produces:
  15007. - application/json
  15008. responses:
  15009. "200":
  15010. description: OK
  15011. schema:
  15012. $ref: '#/definitions/models.HsbyMyPackage'
  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/QueryHsbyPreGoodsDetail:
  15023. get:
  15024. parameters:
  15025. - description: 商品ID
  15026. in: query
  15027. name: goodsID
  15028. required: true
  15029. type: integer
  15030. - description: 资金账户,主要用于获取预售商品购买上限
  15031. in: query
  15032. name: accountID
  15033. type: integer
  15034. produces:
  15035. - application/json
  15036. responses:
  15037. "200":
  15038. description: OK
  15039. schema:
  15040. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  15041. "500":
  15042. description: Internal Server Error
  15043. schema:
  15044. $ref: '#/definitions/app.Response'
  15045. security:
  15046. - ApiKeyAuth: []
  15047. summary: 查询一级市场(预售)商品信息详情
  15048. tags:
  15049. - 定制【海商报业】
  15050. /HSBY/QueryHsbyPreGoodses:
  15051. get:
  15052. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  15053. parameters:
  15054. - description: 页码
  15055. in: query
  15056. name: page
  15057. type: integer
  15058. - description: 每页条数
  15059. in: query
  15060. name: pagesize
  15061. type: integer
  15062. - description: 市场ID列表,格式:1,2,3
  15063. in: query
  15064. name: marketIDs
  15065. required: true
  15066. type: string
  15067. - description: 目的地(省)ID
  15068. in: query
  15069. name: descProvinceID
  15070. type: integer
  15071. - description: 目的地(市)ID
  15072. in: query
  15073. name: descCityID
  15074. type: integer
  15075. produces:
  15076. - application/json
  15077. responses:
  15078. "200":
  15079. description: OK
  15080. schema:
  15081. $ref: '#/definitions/models.HsbyPreGoods'
  15082. "500":
  15083. description: Internal Server Error
  15084. schema:
  15085. $ref: '#/definitions/app.Response'
  15086. security:
  15087. - ApiKeyAuth: []
  15088. summary: 查询新品上市商品列表(一级市场预售)
  15089. tags:
  15090. - 定制【海商报业】
  15091. /HSBY/QueryHsbySellMyDetails:
  15092. get:
  15093. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  15094. parameters:
  15095. - description: 页码
  15096. in: query
  15097. name: page
  15098. type: integer
  15099. - description: 每页条数
  15100. in: query
  15101. name: pagesize
  15102. type: integer
  15103. - description: 资金账户列表,格式:1,2,3
  15104. in: query
  15105. name: accountIDs
  15106. required: true
  15107. type: string
  15108. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  15109. in: query
  15110. name: orderType
  15111. type: integer
  15112. produces:
  15113. - application/json
  15114. responses:
  15115. "200":
  15116. description: OK
  15117. schema:
  15118. $ref: '#/definitions/models.HsbySellMyDetail'
  15119. "500":
  15120. description: Internal Server Error
  15121. schema:
  15122. $ref: '#/definitions/app.Response'
  15123. security:
  15124. - ApiKeyAuth: []
  15125. summary: 查询"我的闲置"单据信息
  15126. tags:
  15127. - 定制【海商报业】
  15128. /HSBY/QueryHsbyTopGoodses:
  15129. get:
  15130. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  15131. parameters:
  15132. - description: 页码
  15133. in: query
  15134. name: page
  15135. type: integer
  15136. - description: 每页条数
  15137. in: query
  15138. name: pagesize
  15139. type: integer
  15140. - description: 市场ID列表,格式:1,2,3
  15141. in: query
  15142. name: marketIDs
  15143. required: true
  15144. type: string
  15145. - description: 目的地(省)ID
  15146. in: query
  15147. name: descProvinceID
  15148. type: integer
  15149. - description: 目的地(市)ID
  15150. in: query
  15151. name: descCityID
  15152. type: integer
  15153. produces:
  15154. - application/json
  15155. responses:
  15156. "200":
  15157. description: OK
  15158. schema:
  15159. $ref: '#/definitions/models.HsbyTopGoods'
  15160. "500":
  15161. description: Internal Server Error
  15162. schema:
  15163. $ref: '#/definitions/app.Response'
  15164. security:
  15165. - ApiKeyAuth: []
  15166. summary: 查询热卖商品列表(二级市场挂牌点选)
  15167. tags:
  15168. - 定制【海商报业】
  15169. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  15170. get:
  15171. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  15172. parameters:
  15173. - description: 商品ID
  15174. in: query
  15175. name: goodsID
  15176. required: true
  15177. type: integer
  15178. produces:
  15179. - application/json
  15180. responses:
  15181. "200":
  15182. description: OK
  15183. schema:
  15184. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  15185. "500":
  15186. description: Internal Server Error
  15187. schema:
  15188. $ref: '#/definitions/app.Response'
  15189. security:
  15190. - ApiKeyAuth: []
  15191. summary: 查询游客三级市场(商城)商品信息详情
  15192. tags:
  15193. - 定制【海商报业】
  15194. /HSBY/QueryHsbyVisitorMarketGoodses:
  15195. get:
  15196. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  15197. parameters:
  15198. - description: 页码
  15199. in: query
  15200. name: page
  15201. type: integer
  15202. - description: 每页条数
  15203. in: query
  15204. name: pagesize
  15205. type: integer
  15206. - description: 市场ID列表,格式:1,2,3
  15207. in: query
  15208. name: marketIDs
  15209. required: true
  15210. type: string
  15211. - description: 类别ID
  15212. in: query
  15213. name: categoryID
  15214. type: integer
  15215. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  15216. in: query
  15217. name: goodsIDs
  15218. type: string
  15219. produces:
  15220. - application/json
  15221. responses:
  15222. "200":
  15223. description: OK
  15224. schema:
  15225. $ref: '#/definitions/models.HsbyMarketGoods'
  15226. "500":
  15227. description: Internal Server Error
  15228. schema:
  15229. $ref: '#/definitions/app.Response'
  15230. security:
  15231. - ApiKeyAuth: []
  15232. summary: 查询游客特卖商品列表(三级商城)
  15233. tags:
  15234. - 定制【海商报业】
  15235. /HSBY/QueryMyCollectionOrders:
  15236. get:
  15237. parameters:
  15238. - description: 页码
  15239. in: query
  15240. name: page
  15241. type: integer
  15242. - description: 每页条数
  15243. in: query
  15244. name: pagesize
  15245. type: integer
  15246. - description: 资金账户,格式:1,2,3
  15247. in: query
  15248. name: accountIDs
  15249. required: true
  15250. type: string
  15251. produces:
  15252. - application/json
  15253. responses:
  15254. "200":
  15255. description: OK
  15256. schema:
  15257. $ref: '#/definitions/models.HsbySellCollectionOrder'
  15258. "500":
  15259. description: Internal Server Error
  15260. schema:
  15261. $ref: '#/definitions/app.Response'
  15262. security:
  15263. - ApiKeyAuth: []
  15264. summary: 我的闲置中收款信息查询
  15265. tags:
  15266. - 定制【海商报业】
  15267. /HSBY/QueryMyCouponHolds:
  15268. get:
  15269. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  15270. parameters:
  15271. - description: 资金账户列表,格式:1,2,3
  15272. in: query
  15273. name: accountIDs
  15274. required: true
  15275. type: string
  15276. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  15277. in: query
  15278. name: holdStatus
  15279. type: string
  15280. produces:
  15281. - application/json
  15282. responses:
  15283. "200":
  15284. description: OK
  15285. schema:
  15286. $ref: '#/definitions/models.MyCouponHold'
  15287. "500":
  15288. description: Internal Server Error
  15289. schema:
  15290. $ref: '#/definitions/app.Response'
  15291. security:
  15292. - ApiKeyAuth: []
  15293. summary: 我的优惠卷持仓查询
  15294. tags:
  15295. - 定制【海商报业】
  15296. /HSBY/QueryMyCoupons:
  15297. get:
  15298. parameters:
  15299. - description: 资金账户列表,格式:1,2,3
  15300. in: query
  15301. name: accountIDs
  15302. required: true
  15303. type: string
  15304. - description: 商品ID, 一般与sellUserID配套传入
  15305. in: query
  15306. name: goodsID
  15307. type: integer
  15308. - description: 卖方UserID
  15309. in: query
  15310. name: sellUserID
  15311. type: integer
  15312. produces:
  15313. - application/json
  15314. responses:
  15315. "200":
  15316. description: OK
  15317. schema:
  15318. $ref: '#/definitions/models.MyCoupon'
  15319. "500":
  15320. description: Internal Server Error
  15321. schema:
  15322. $ref: '#/definitions/app.Response'
  15323. security:
  15324. - ApiKeyAuth: []
  15325. summary: 我的优惠卷查询
  15326. tags:
  15327. - 定制【海商报业】
  15328. /HSBY/QueryMyPayOrders:
  15329. get:
  15330. parameters:
  15331. - description: 页码
  15332. in: query
  15333. name: page
  15334. type: integer
  15335. - description: 每页条数
  15336. in: query
  15337. name: pagesize
  15338. type: integer
  15339. - description: 资金账户列表,格式:1,2,3
  15340. in: query
  15341. name: accountIDs
  15342. required: true
  15343. type: string
  15344. - description: 买方委托单号
  15345. in: query
  15346. name: buyOrderID
  15347. type: integer
  15348. - description: 卖方委托单号
  15349. in: query
  15350. name: sellOrderID
  15351. type: integer
  15352. produces:
  15353. - application/json
  15354. responses:
  15355. "200":
  15356. description: OK
  15357. schema:
  15358. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  15359. "500":
  15360. description: Internal Server Error
  15361. schema:
  15362. $ref: '#/definitions/app.Response'
  15363. security:
  15364. - ApiKeyAuth: []
  15365. summary: 获取我的订单中待付款信息
  15366. tags:
  15367. - 定制【海商报业】
  15368. /HSBY/QueryMyUsedCoupon:
  15369. get:
  15370. parameters:
  15371. - description: 资金账户列表,格式:1,2,3
  15372. in: query
  15373. name: accountIDs
  15374. required: true
  15375. type: string
  15376. produces:
  15377. - application/json
  15378. responses:
  15379. "200":
  15380. description: OK
  15381. schema:
  15382. $ref: '#/definitions/models.MyUsedCoupon'
  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/QueryProvincesAndCities:
  15393. get:
  15394. description: 查询结果只包括二级市场商品已关连的省市信息。
  15395. parameters:
  15396. - description: 省ID
  15397. in: query
  15398. name: provinceID
  15399. type: integer
  15400. produces:
  15401. - application/json
  15402. responses:
  15403. "200":
  15404. description: OK
  15405. schema:
  15406. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  15407. "500":
  15408. description: Internal Server Error
  15409. schema:
  15410. $ref: '#/definitions/app.Response'
  15411. security:
  15412. - ApiKeyAuth: []
  15413. summary: 查询省市信息(不包括区)
  15414. tags:
  15415. - 定制【海商报业】
  15416. /HSBY/SetHsbyMyPackagesStatus:
  15417. post:
  15418. parameters:
  15419. - description: 提货单号
  15420. in: query
  15421. name: takeOrderID
  15422. required: true
  15423. type: string
  15424. - description: 资金账号
  15425. in: query
  15426. name: accountID
  15427. required: true
  15428. type: integer
  15429. produces:
  15430. - application/json
  15431. responses:
  15432. "200":
  15433. description: OK
  15434. schema:
  15435. $ref: '#/definitions/app.Response'
  15436. "500":
  15437. description: Internal Server Error
  15438. schema:
  15439. $ref: '#/definitions/app.Response'
  15440. security:
  15441. - ApiKeyAuth: []
  15442. summary: 设置我的包裹已收货状态
  15443. tags:
  15444. - 定制【海商报业】
  15445. /Market/QueryGoodsesByLoginID:
  15446. get:
  15447. parameters:
  15448. - description: 登录账号
  15449. in: query
  15450. name: loginID
  15451. required: true
  15452. type: integer
  15453. - description: 市场ID列表,格式:1,2,3
  15454. in: query
  15455. name: marketIDs
  15456. type: string
  15457. produces:
  15458. - application/json
  15459. responses:
  15460. "200":
  15461. description: OK
  15462. schema:
  15463. $ref: '#/definitions/models.Goods'
  15464. "500":
  15465. description: Internal Server Error
  15466. schema:
  15467. $ref: '#/definitions/app.Response'
  15468. security:
  15469. - ApiKeyAuth: []
  15470. summary: 获取登录账号有权限的商品信息
  15471. tags:
  15472. - 通用市场
  15473. /Market/QueryMarketRun:
  15474. get:
  15475. parameters:
  15476. - description: 市场ID,不传返回所有
  15477. in: query
  15478. name: marketID
  15479. type: integer
  15480. produces:
  15481. - application/json
  15482. responses:
  15483. "200":
  15484. description: OK
  15485. schema:
  15486. $ref: '#/definitions/models.Marketrun'
  15487. "500":
  15488. description: Internal Server Error
  15489. schema:
  15490. $ref: '#/definitions/app.Response'
  15491. security:
  15492. - ApiKeyAuth: []
  15493. summary: 查询市场运行信息
  15494. tags:
  15495. - 通用市场
  15496. /Market/QueryMarketsByLoginID:
  15497. get:
  15498. parameters:
  15499. - description: 登录账号
  15500. in: query
  15501. name: loginID
  15502. required: true
  15503. type: integer
  15504. produces:
  15505. - application/json
  15506. responses:
  15507. "200":
  15508. description: OK
  15509. schema:
  15510. $ref: '#/definitions/models.Market'
  15511. "500":
  15512. description: Internal Server Error
  15513. schema:
  15514. $ref: '#/definitions/app.Response'
  15515. security:
  15516. - ApiKeyAuth: []
  15517. summary: 获取登录账号有权限的市场信息
  15518. tags:
  15519. - 通用市场
  15520. /Order/QueryHisTradeDetail:
  15521. get:
  15522. parameters:
  15523. - description: 资金账户 - 格式:1,2,3
  15524. in: query
  15525. name: accountID
  15526. required: true
  15527. type: string
  15528. - description: 成交单号
  15529. in: query
  15530. name: tradeID
  15531. type: integer
  15532. - description: 委托单号
  15533. in: query
  15534. name: orderID
  15535. type: integer
  15536. - description: 交易模式 - 格式:1,2,3
  15537. in: query
  15538. name: tradeMode
  15539. type: string
  15540. - description: 委托单据类型
  15541. in: query
  15542. name: buildType
  15543. type: integer
  15544. - description: 成交类别 - 格式:1,2,3
  15545. in: query
  15546. name: tradeType
  15547. type: string
  15548. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  15549. in: query
  15550. name: startDate
  15551. type: string
  15552. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  15553. in: query
  15554. name: endDate
  15555. type: string
  15556. produces:
  15557. - application/json
  15558. responses:
  15559. "200":
  15560. description: OK
  15561. schema:
  15562. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  15563. "500":
  15564. description: Internal Server Error
  15565. schema:
  15566. $ref: '#/definitions/app.Response'
  15567. security:
  15568. - ApiKeyAuth: []
  15569. summary: 历史成交单查询(合约市场)
  15570. tags:
  15571. - 通用单据
  15572. /Order/QueryHisTradeOrderDetail:
  15573. get:
  15574. parameters:
  15575. - description: 资金账户 - 格式:1,2,3
  15576. in: query
  15577. name: accountID
  15578. required: true
  15579. type: string
  15580. - description: 交易模式 - 格式:1,2,3
  15581. in: query
  15582. name: tradeMode
  15583. type: string
  15584. - description: 委托状态 - 格式:1,2,3
  15585. in: query
  15586. name: orderStatus
  15587. type: string
  15588. - description: 委托单号
  15589. in: query
  15590. name: orderID
  15591. type: integer
  15592. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  15593. in: query
  15594. name: startDate
  15595. type: string
  15596. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  15597. in: query
  15598. name: endDate
  15599. type: string
  15600. produces:
  15601. - application/json
  15602. responses:
  15603. "200":
  15604. description: OK
  15605. schema:
  15606. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  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/QueryTradeDetail:
  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. produces:
  15645. - application/json
  15646. responses:
  15647. "200":
  15648. description: OK
  15649. schema:
  15650. $ref: '#/definitions/order.QueryTradeDetailRsp'
  15651. "500":
  15652. description: Internal Server Error
  15653. schema:
  15654. $ref: '#/definitions/app.Response'
  15655. security:
  15656. - ApiKeyAuth: []
  15657. summary: 成交单查询(合约市场)
  15658. tags:
  15659. - 通用单据
  15660. /Order/QueryTradeOrderDetail:
  15661. get:
  15662. parameters:
  15663. - description: 资金账户 - 格式:1,2,3
  15664. in: query
  15665. name: accountID
  15666. required: true
  15667. type: string
  15668. - description: 交易模式 - 格式:1,2,3
  15669. in: query
  15670. name: tradeMode
  15671. type: string
  15672. - description: 委托状态 - 格式:1,2,3
  15673. in: query
  15674. name: orderStatus
  15675. type: string
  15676. - description: 委托单号
  15677. in: query
  15678. name: orderID
  15679. type: integer
  15680. produces:
  15681. - application/json
  15682. responses:
  15683. "200":
  15684. description: OK
  15685. schema:
  15686. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  15687. "500":
  15688. description: Internal Server Error
  15689. schema:
  15690. $ref: '#/definitions/app.Response'
  15691. security:
  15692. - ApiKeyAuth: []
  15693. summary: 委托单查询请求(合约市场)
  15694. tags:
  15695. - 通用单据
  15696. /Order/QueryTradePosition:
  15697. get:
  15698. parameters:
  15699. - description: 资金账户 - 格式:1,2,3
  15700. in: query
  15701. name: accountID
  15702. required: true
  15703. type: string
  15704. - description: 交易模式 - 格式:1,2,3
  15705. in: query
  15706. name: tradeMode
  15707. type: string
  15708. produces:
  15709. - application/json
  15710. responses:
  15711. "200":
  15712. description: OK
  15713. schema:
  15714. $ref: '#/definitions/order.QueryTradePositionRsp'
  15715. "500":
  15716. description: Internal Server Error
  15717. schema:
  15718. $ref: '#/definitions/app.Response'
  15719. security:
  15720. - ApiKeyAuth: []
  15721. summary: 持仓汇总查询(合约市场)
  15722. tags:
  15723. - 通用单据
  15724. /Quote/QueryHistoryDatas:
  15725. get:
  15726. parameters:
  15727. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  15728. 日线'
  15729. in: query
  15730. name: cycleType
  15731. required: true
  15732. type: integer
  15733. - description: 商品代码
  15734. in: query
  15735. name: goodsCode
  15736. required: true
  15737. type: string
  15738. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  15739. in: query
  15740. name: startTime
  15741. type: string
  15742. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  15743. in: query
  15744. name: endTime
  15745. type: string
  15746. - description: 条数
  15747. in: query
  15748. name: count
  15749. type: integer
  15750. - description: 是否按时间顺序排序(默认为时间倒序排序)
  15751. in: query
  15752. name: isAsc
  15753. type: boolean
  15754. produces:
  15755. - application/json
  15756. responses:
  15757. "200":
  15758. description: OK
  15759. schema:
  15760. $ref: '#/definitions/quote.HistoryData'
  15761. "500":
  15762. description: Internal Server Error
  15763. schema:
  15764. $ref: '#/definitions/app.Response'
  15765. security:
  15766. - ApiKeyAuth: []
  15767. summary: 查询行情历史数据
  15768. tags:
  15769. - 行情服务
  15770. /Quote/QueryHistoryTikDatas:
  15771. get:
  15772. parameters:
  15773. - description: 商品代码
  15774. in: query
  15775. name: goodsCode
  15776. required: true
  15777. type: string
  15778. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  15779. in: query
  15780. name: startTime
  15781. type: string
  15782. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  15783. in: query
  15784. name: endTime
  15785. type: string
  15786. - description: 条数
  15787. in: query
  15788. name: count
  15789. type: integer
  15790. - description: 是否按时间顺序排序(默认为时间倒序排序)
  15791. in: query
  15792. name: isAsc
  15793. type: boolean
  15794. produces:
  15795. - application/json
  15796. responses:
  15797. "200":
  15798. description: OK
  15799. schema:
  15800. $ref: '#/definitions/quote.HistoryTikData'
  15801. "500":
  15802. description: Internal Server Error
  15803. schema:
  15804. $ref: '#/definitions/app.Response'
  15805. security:
  15806. - ApiKeyAuth: []
  15807. summary: 查询行情Tik数据
  15808. tags:
  15809. - 行情服务
  15810. /Quote/QueryQuoteDay:
  15811. get:
  15812. parameters:
  15813. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  15814. in: query
  15815. name: goodsCodes
  15816. required: true
  15817. type: string
  15818. produces:
  15819. - application/json
  15820. responses:
  15821. "200":
  15822. description: OK
  15823. schema:
  15824. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  15825. "500":
  15826. description: Internal Server Error
  15827. schema:
  15828. $ref: '#/definitions/app.Response'
  15829. security:
  15830. - ApiKeyAuth: []
  15831. summary: 获取商品盘面信息
  15832. tags:
  15833. - 行情服务
  15834. /Quote/QueryTSData:
  15835. get:
  15836. parameters:
  15837. - description: 商品代码
  15838. in: query
  15839. name: goodsCode
  15840. required: true
  15841. type: string
  15842. produces:
  15843. - application/json
  15844. responses:
  15845. "200":
  15846. description: OK
  15847. schema:
  15848. $ref: '#/definitions/quote.QueryTSDataRsp'
  15849. "500":
  15850. description: Internal Server Error
  15851. schema:
  15852. $ref: '#/definitions/app.Response'
  15853. security:
  15854. - ApiKeyAuth: []
  15855. summary: 分时图数据查询
  15856. tags:
  15857. - 行情服务
  15858. /SZDZ/QueryConvertConfig:
  15859. get:
  15860. parameters:
  15861. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  15862. 6:交易转花生米(不设置)
  15863. in: query
  15864. name: convertType
  15865. type: integer
  15866. - description: 外部商品代码[JD\PD]
  15867. in: query
  15868. name: outerGoodsCode
  15869. type: string
  15870. - description: 内部商品ID列表[交易],格式:1,2,3
  15871. in: query
  15872. name: innerGoodsIDs
  15873. type: string
  15874. produces:
  15875. - application/json
  15876. responses:
  15877. "200":
  15878. description: OK
  15879. schema:
  15880. $ref: '#/definitions/models.Szdz3convertconfig'
  15881. "500":
  15882. description: Internal Server Error
  15883. schema:
  15884. $ref: '#/definitions/app.Response'
  15885. security:
  15886. - ApiKeyAuth: []
  15887. summary: 查询交易系统转换设置
  15888. tags:
  15889. - 定制【尚志大宗】
  15890. /SZDZ/QueryConvertLog:
  15891. get:
  15892. parameters:
  15893. - description: 资金账户 - 格式:1,2,3
  15894. in: query
  15895. name: accountID
  15896. required: true
  15897. type: string
  15898. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  15899. in: query
  15900. name: startDate
  15901. type: string
  15902. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  15903. in: query
  15904. name: endDate
  15905. type: string
  15906. produces:
  15907. - application/json
  15908. responses:
  15909. "200":
  15910. description: OK
  15911. schema:
  15912. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  15913. "500":
  15914. description: Internal Server Error
  15915. schema:
  15916. $ref: '#/definitions/app.Response'
  15917. security:
  15918. - ApiKeyAuth: []
  15919. summary: 交易系统转换流水查询
  15920. tags:
  15921. - 定制【尚志大宗】
  15922. /SZDZ/QueryGoodsPickup:
  15923. get:
  15924. parameters:
  15925. - description: 资金账户 - 格式:1,2,3
  15926. in: query
  15927. name: accountID
  15928. required: true
  15929. type: string
  15930. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  15931. in: query
  15932. name: takeOrderStatus
  15933. type: integer
  15934. produces:
  15935. - application/json
  15936. responses:
  15937. "200":
  15938. description: OK
  15939. schema:
  15940. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  15941. "500":
  15942. description: Internal Server Error
  15943. schema:
  15944. $ref: '#/definitions/app.Response'
  15945. security:
  15946. - ApiKeyAuth: []
  15947. summary: 商品提货单查询
  15948. tags:
  15949. - 定制【尚志大宗】
  15950. /SZDZ/QueryRecieptOrder:
  15951. get:
  15952. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  15953. parameters:
  15954. - description: 页码
  15955. in: query
  15956. name: page
  15957. type: integer
  15958. - description: 每页条数
  15959. in: query
  15960. name: pagesize
  15961. type: integer
  15962. - description: 商品ID
  15963. in: query
  15964. name: goodsID
  15965. required: true
  15966. type: integer
  15967. - description: 所属账户名称
  15968. in: query
  15969. name: accountName
  15970. type: string
  15971. - description: 市场ID
  15972. in: query
  15973. name: marketID
  15974. type: integer
  15975. - description: 方向 - 0:买 1:卖
  15976. in: query
  15977. name: buyorsell
  15978. required: true
  15979. type: integer
  15980. produces:
  15981. - application/json
  15982. responses:
  15983. "200":
  15984. description: OK
  15985. schema:
  15986. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  15987. "500":
  15988. description: Internal Server Error
  15989. schema:
  15990. $ref: '#/definitions/app.Response'
  15991. security:
  15992. - ApiKeyAuth: []
  15993. summary: 点选挂牌委托单据查询(摘牌大厅)
  15994. tags:
  15995. - 定制【尚志大宗】
  15996. /SZDZ/QuerySZDZTradePosition:
  15997. get:
  15998. parameters:
  15999. - description: 资金账户
  16000. in: query
  16001. name: accountID
  16002. required: true
  16003. type: integer
  16004. produces:
  16005. - application/json
  16006. responses:
  16007. "200":
  16008. description: OK
  16009. schema:
  16010. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  16011. "500":
  16012. description: Internal Server Error
  16013. schema:
  16014. $ref: '#/definitions/app.Response'
  16015. security:
  16016. - ApiKeyAuth: []
  16017. summary: 持仓汇总查询(尚志大宗)
  16018. tags:
  16019. - 定制【尚志大宗】
  16020. /SZDZ/SearchWhite:
  16021. get:
  16022. parameters:
  16023. - description: 用户ID
  16024. in: query
  16025. name: userID
  16026. required: true
  16027. type: integer
  16028. produces:
  16029. - application/json
  16030. responses:
  16031. "200":
  16032. description: OK
  16033. schema:
  16034. $ref: '#/definitions/models.Szdz3searchwhitelist'
  16035. "500":
  16036. description: Internal Server Error
  16037. schema:
  16038. $ref: '#/definitions/app.Response'
  16039. security:
  16040. - ApiKeyAuth: []
  16041. summary: 搜索白名单
  16042. tags:
  16043. - 定制【尚志大宗】
  16044. /Search/SearchGoodses:
  16045. get:
  16046. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  16047. parameters:
  16048. - description: 检索内容
  16049. in: query
  16050. name: content
  16051. required: true
  16052. type: string
  16053. - description: 交易模式,格式:1,2,3
  16054. in: query
  16055. name: tradeModes
  16056. type: string
  16057. produces:
  16058. - application/json
  16059. responses:
  16060. "200":
  16061. description: OK
  16062. schema:
  16063. $ref: '#/definitions/models.SearchGoods'
  16064. "500":
  16065. description: Internal Server Error
  16066. schema:
  16067. $ref: '#/definitions/app.Response'
  16068. summary: 检索商品信息
  16069. tags:
  16070. - 检索服务
  16071. /TaAccount/GetTaAccounts:
  16072. get:
  16073. parameters:
  16074. - description: 登录账户
  16075. in: query
  16076. name: loginID
  16077. required: true
  16078. type: integer
  16079. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  16080. in: query
  16081. name: taAccountType
  16082. type: integer
  16083. produces:
  16084. - application/json
  16085. responses:
  16086. "200":
  16087. description: OK
  16088. schema:
  16089. $ref: '#/definitions/models.Taaccount'
  16090. "500":
  16091. description: Internal Server Error
  16092. schema:
  16093. $ref: '#/definitions/app.Response'
  16094. security:
  16095. - ApiKeyAuth: []
  16096. summary: 获取资金账户信息
  16097. tags:
  16098. - 资金账户
  16099. /TaAccount/QueryAmountLog:
  16100. get:
  16101. parameters:
  16102. - description: 页码
  16103. in: query
  16104. name: page
  16105. type: integer
  16106. - description: 每页条数
  16107. in: query
  16108. name: pagesize
  16109. type: integer
  16110. - description: 资金账户 - 格式:1,2,3
  16111. in: query
  16112. name: accountID
  16113. required: true
  16114. type: string
  16115. - description: 资金操作类型 - 格式:1,2,3
  16116. in: query
  16117. name: OperateType
  16118. type: string
  16119. produces:
  16120. - application/json
  16121. responses:
  16122. "200":
  16123. description: OK
  16124. schema:
  16125. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  16126. "500":
  16127. description: Internal Server Error
  16128. schema:
  16129. $ref: '#/definitions/app.Response'
  16130. security:
  16131. - ApiKeyAuth: []
  16132. summary: 资金流水查询(当前)
  16133. tags:
  16134. - 资金账户
  16135. /TaAccount/QueryHisAmountLog:
  16136. get:
  16137. parameters:
  16138. - description: 页码
  16139. in: query
  16140. name: page
  16141. type: integer
  16142. - description: 每页条数
  16143. in: query
  16144. name: pagesize
  16145. type: integer
  16146. - description: 资金账户 - 格式:1,2,3
  16147. in: query
  16148. name: accountID
  16149. required: true
  16150. type: string
  16151. - description: 资金操作类型 - 格式:1,2,3
  16152. in: query
  16153. name: OperateType
  16154. type: string
  16155. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16156. in: query
  16157. name: startDate
  16158. type: string
  16159. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16160. in: query
  16161. name: endDate
  16162. type: string
  16163. produces:
  16164. - application/json
  16165. responses:
  16166. "200":
  16167. description: OK
  16168. schema:
  16169. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  16170. "500":
  16171. description: Internal Server Error
  16172. schema:
  16173. $ref: '#/definitions/app.Response'
  16174. security:
  16175. - ApiKeyAuth: []
  16176. summary: 资金流水查询(历史)
  16177. tags:
  16178. - 资金账户
  16179. /Trade/QueryRecieptOrder:
  16180. get:
  16181. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  16182. parameters:
  16183. - description: 页码
  16184. in: query
  16185. name: page
  16186. type: integer
  16187. - description: 每页条数
  16188. in: query
  16189. name: pagesize
  16190. type: integer
  16191. - description: 商品ID
  16192. in: query
  16193. name: goodsID
  16194. required: true
  16195. type: integer
  16196. - description: 所属账户名称
  16197. in: query
  16198. name: accountName
  16199. type: string
  16200. - description: 市场ID
  16201. in: query
  16202. name: marketID
  16203. type: integer
  16204. - description: 方向 - 0:买 1:卖
  16205. in: query
  16206. name: buyorsell
  16207. required: true
  16208. type: integer
  16209. produces:
  16210. - application/json
  16211. responses:
  16212. "200":
  16213. description: OK
  16214. schema:
  16215. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  16216. "500":
  16217. description: Internal Server Error
  16218. schema:
  16219. $ref: '#/definitions/app.Response'
  16220. security:
  16221. - ApiKeyAuth: []
  16222. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  16223. tags:
  16224. - 通用交易
  16225. /User/AddMessageBoard:
  16226. post:
  16227. parameters:
  16228. - description: 用户ID
  16229. in: query
  16230. name: userID
  16231. required: true
  16232. type: integer
  16233. - description: 留言信息
  16234. in: query
  16235. name: message
  16236. required: true
  16237. type: string
  16238. - description: 联系电话
  16239. in: query
  16240. name: contactNum
  16241. required: true
  16242. type: string
  16243. produces:
  16244. - application/json
  16245. responses:
  16246. "200":
  16247. description: OK
  16248. schema:
  16249. $ref: '#/definitions/app.Response'
  16250. "500":
  16251. description: Internal Server Error
  16252. schema:
  16253. $ref: '#/definitions/app.Response'
  16254. security:
  16255. - ApiKeyAuth: []
  16256. summary: 添加用户留言板信息
  16257. tags:
  16258. - 用户信息
  16259. /User/AddUserFavoriteGoods:
  16260. post:
  16261. parameters:
  16262. - description: 用户ID
  16263. in: query
  16264. name: userID
  16265. required: true
  16266. type: integer
  16267. - description: 商品ID
  16268. in: query
  16269. name: goodsID
  16270. required: true
  16271. type: integer
  16272. produces:
  16273. - application/json
  16274. responses:
  16275. "200":
  16276. description: OK
  16277. schema:
  16278. $ref: '#/definitions/app.Response'
  16279. "500":
  16280. description: Internal Server Error
  16281. schema:
  16282. $ref: '#/definitions/app.Response'
  16283. security:
  16284. - ApiKeyAuth: []
  16285. summary: 添加用户商品收藏信息
  16286. tags:
  16287. - 用户信息
  16288. /User/GetLoginID:
  16289. get:
  16290. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  16291. parameters:
  16292. - description: 登录代码
  16293. in: query
  16294. name: username
  16295. required: true
  16296. type: string
  16297. produces:
  16298. - application/json
  16299. responses:
  16300. "200":
  16301. description: OK
  16302. schema:
  16303. $ref: '#/definitions/app.Response'
  16304. "500":
  16305. description: Internal Server Error
  16306. schema:
  16307. $ref: '#/definitions/app.Response'
  16308. summary: 获取登录ID
  16309. tags:
  16310. - 用户信息
  16311. /User/GetUserAccount:
  16312. get:
  16313. parameters:
  16314. - description: 用户ID
  16315. in: query
  16316. name: userID
  16317. required: true
  16318. type: integer
  16319. produces:
  16320. - application/json
  16321. responses:
  16322. "200":
  16323. description: OK
  16324. schema:
  16325. $ref: '#/definitions/models.Useraccount'
  16326. "500":
  16327. description: Internal Server Error
  16328. schema:
  16329. $ref: '#/definitions/app.Response'
  16330. security:
  16331. - ApiKeyAuth: []
  16332. summary: 获取用户账号信息
  16333. tags:
  16334. - 用户信息
  16335. /User/GetUserAuthStatus:
  16336. get:
  16337. parameters:
  16338. - description: 用户ID
  16339. in: query
  16340. name: userID
  16341. required: true
  16342. type: integer
  16343. produces:
  16344. - application/json
  16345. responses:
  16346. "200":
  16347. description: OK
  16348. schema:
  16349. $ref: '#/definitions/app.Response'
  16350. "500":
  16351. description: Internal Server Error
  16352. schema:
  16353. $ref: '#/definitions/app.Response'
  16354. security:
  16355. - ApiKeyAuth: []
  16356. summary: 获取用户实名认证状态
  16357. tags:
  16358. - 用户信息
  16359. /User/LoginQuery:
  16360. get:
  16361. parameters:
  16362. - description: 登录账号
  16363. in: query
  16364. name: loginID
  16365. required: true
  16366. type: integer
  16367. produces:
  16368. - application/json
  16369. responses:
  16370. "200":
  16371. description: OK
  16372. schema:
  16373. $ref: '#/definitions/user.LoginQueryRsp'
  16374. "500":
  16375. description: Internal Server Error
  16376. schema:
  16377. $ref: '#/definitions/app.Response'
  16378. security:
  16379. - ApiKeyAuth: []
  16380. summary: 账户登录后信息查询
  16381. tags:
  16382. - 用户信息
  16383. /User/QueryMessageBoard:
  16384. get:
  16385. parameters:
  16386. - description: 用户ID
  16387. in: query
  16388. name: userID
  16389. required: true
  16390. type: integer
  16391. produces:
  16392. - application/json
  16393. responses:
  16394. "200":
  16395. description: OK
  16396. schema:
  16397. $ref: '#/definitions/models.Messageboard'
  16398. "500":
  16399. description: Internal Server Error
  16400. schema:
  16401. $ref: '#/definitions/app.Response'
  16402. security:
  16403. - ApiKeyAuth: []
  16404. summary: 获取用户留言板信息
  16405. tags:
  16406. - 用户信息
  16407. /User/QueryUserFavoriteGoodses:
  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.Userfavoritegoods'
  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/QueryUserInfo:
  16432. get:
  16433. parameters:
  16434. - description: 用户ID
  16435. in: query
  16436. name: userID
  16437. required: true
  16438. type: integer
  16439. - description: 是否解密
  16440. in: query
  16441. name: isDecrypt
  16442. type: boolean
  16443. produces:
  16444. - application/json
  16445. responses:
  16446. "200":
  16447. description: OK
  16448. schema:
  16449. $ref: '#/definitions/models.Userinfo'
  16450. "500":
  16451. description: Internal Server Error
  16452. schema:
  16453. $ref: '#/definitions/app.Response'
  16454. security:
  16455. - ApiKeyAuth: []
  16456. summary: 获取用户信息
  16457. tags:
  16458. - 用户信息
  16459. /User/QueryUserReferNum:
  16460. get:
  16461. parameters:
  16462. - description: 用户ID
  16463. in: query
  16464. name: userID
  16465. required: true
  16466. type: integer
  16467. produces:
  16468. - application/json
  16469. responses:
  16470. "200":
  16471. description: OK
  16472. schema:
  16473. $ref: '#/definitions/app.Response'
  16474. "500":
  16475. description: Internal Server Error
  16476. schema:
  16477. $ref: '#/definitions/app.Response'
  16478. summary: 获取用户邀请码
  16479. tags:
  16480. - 用户信息
  16481. /User/RemoveUserFavoriteGoods:
  16482. post:
  16483. parameters:
  16484. - description: 用户ID
  16485. in: query
  16486. name: userID
  16487. required: true
  16488. type: integer
  16489. - description: 商品ID
  16490. in: query
  16491. name: goodsID
  16492. required: true
  16493. type: integer
  16494. produces:
  16495. - application/json
  16496. responses:
  16497. "200":
  16498. description: OK
  16499. schema:
  16500. $ref: '#/definitions/app.Response'
  16501. "500":
  16502. description: Internal Server Error
  16503. schema:
  16504. $ref: '#/definitions/app.Response'
  16505. security:
  16506. - ApiKeyAuth: []
  16507. summary: 移除用户商品收藏信息
  16508. tags:
  16509. - 用户信息
  16510. /User/UpdateUserAccountStatus:
  16511. post:
  16512. parameters:
  16513. - description: 用户ID
  16514. in: query
  16515. name: userID
  16516. required: true
  16517. type: integer
  16518. - description: 账户状态 - 4:正常 6:注销(停用)
  16519. in: query
  16520. name: accountStatus
  16521. required: true
  16522. type: integer
  16523. produces:
  16524. - application/json
  16525. responses:
  16526. "200":
  16527. description: OK
  16528. schema:
  16529. $ref: '#/definitions/app.Response'
  16530. "500":
  16531. description: Internal Server Error
  16532. schema:
  16533. $ref: '#/definitions/app.Response'
  16534. security:
  16535. - ApiKeyAuth: []
  16536. summary: 更新用户状态
  16537. tags:
  16538. - 用户信息
  16539. /WRTrade/GetAllDeliveryGoods:
  16540. get:
  16541. produces:
  16542. - application/json
  16543. - application/json
  16544. responses:
  16545. "200":
  16546. description: OK
  16547. schema:
  16548. $ref: '#/definitions/app.Response'
  16549. "500":
  16550. description: Internal Server Error
  16551. schema:
  16552. $ref: '#/definitions/app.Response'
  16553. security:
  16554. - ApiKeyAuth: []
  16555. - ApiKeyAuth: []
  16556. summary: 获取带仓单分类的种类信息
  16557. tags:
  16558. - 仓单贸易
  16559. - 仓单贸易
  16560. securityDefinitions:
  16561. ApiKeyAuth:
  16562. in: header
  16563. name: Authorization
  16564. type: apiKey
  16565. swagger: "2.0"